[ckan-dev] Preview from datastore, count(*) takes very long time on large resources.

Henrik Aagaard Sørensen BU1G at tmf.kk.dk
Wed Dec 11 09:00:13 UTC 2013


I've got several large resources where the datastore contains 8-11 mio. rows.

Previewing those takes a very long time, which seems to be caused by the:
count(*) over() AS "_full_count"
which occurs in the SQL called.

Could this call be placed elsewhere or could something else be done?

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.okfn.org/pipermail/ckan-dev/attachments/20131211/a4bdc6f5/attachment-0002.html>


More information about the ckan-dev mailing list