maxmind / mmdbinspect

look up records for one or more IPs/networks in one or more .mmdb databases
Apache License 2.0
135 stars 14 forks source link

Is there a way to find all the records? Similar to select * #27

Closed 7hong closed 2 years ago

7hong commented 2 years ago

Is there a way to find all the records? Similar to select *

oschwald commented 2 years ago

If you use a prefix length of 0, e.g., ::/0, it will display all networks. However, it appears that it loads everything into memory before it outputs anything. As such, this is only useful on very small databases. On a full database, it would likely just use all your available memory.