How to extend the 2000 data query limit

How to extend the 2000 data query limit is there any plan we can buy or how does it works.