activate icon indicating copy to clipboard operation
activate copied to clipboard

numberOfResults causing performance issue with PaginationNavigator

Open spry-rproud opened this issue 9 years ago • 0 comments

paginatedQuery is slowed down quite a bit by the query used to populate numberOfResults. The current query generated is :

select '1' from Foo where (...)

With large tables this query is quite slow and would be improved with:

select count(1) from Foo where (...)

This will require counting support in Activate.

spry-rproud avatar Mar 31 '15 12:03 spry-rproud