Stop right there. You are working with 2.2 million records, and you
expecting built in pagination to work? Its not even recommended
except for the simplest cases. Even if you get the method override
working, you will have other issues down the road.
I suggest you go custom or take a look at some of the plugins
available for pagination.