I have millions (30-100 millions) of records with multiple columns. I need to sort this data on multiple columns and display them in pages. What is the best way to store this data?
Let us say if there is a table with columns T(id, c1,c2 ... cn). In MYSQL this query looks something like this:
select id from T order by cx, cy limit 1000, 1000
I can assume it is a read only table, but I need fast response.
Is there any advantage for this problem with NoSQL databases?