clld / glottolog3

glottolog2 re-implemented as CLLD app
MIT License
110 stars 27 forks source link

drop updated as primary sort criterion for references datatable #86

Closed xflr6 closed 6 years ago

xflr6 commented 6 years ago

As we rebuild the whole db now every time we relase a new version, the updated column values are all the same (start time of the transaction: we could in principle switch to statement_timestamp() or clock_timestamp() but that would just give us the same order as pk).

Dropping it from the order_by halves the query time for http://glottolog.org/langdoc on my installation (order stays the same).