Skip to content

Conversation

wardi
Copy link
Contributor

@wardi wardi commented Mar 6, 2017

This PR separates the total rows calculation from the select statement in datastore_search, which for large tables can give a significant speed improvement. It also adds an include_total parameter to datastore_search (default True for backwards compatibility) that allows skipping the calculation completely.

@amercader
Copy link
Member

This looks great but can you merge master @wardi? There is a conflict involving the new stuff you've worked on that I'd prefer you checked first.

@wardi
Copy link
Contributor Author

wardi commented Mar 24, 2017

@amercader done

@amercader amercader merged commit af2f061 into master Mar 24, 2017
@amercader amercader deleted the 3467-datastore-total branch March 24, 2017 12:44
wardi added a commit to wardi/ckan that referenced this pull request Mar 28, 2017
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants