I have a database file with 21.5 GB and I am trying to do some queries on the data but it is not responsive. It is stuck in processing the query without any result eventually. Even a simple query to count the number of rows in the table doesn't work.
When limiting the query to a small number it work fine. Something like this
select * from Table limit 30.
The problem is when trying perform a query on the whole table. It gets stuck. I am wondering if there is any optimization I can do so I can query the whole data set.
Anybody knows a better way to query such a large file?
Thank you in advance.