Mercurial > libervia-backend
view .hgignore @ 2787:298408833ec2
memory (sqlite): optimizations
indexes were missing on foreign keys for "message", "subject" and "thread" tables, seriously impacting performances.
In addition to those indexes, two indexes have been added to speed ordering by timestamp on "history", and one on "files" table.
history.rowid is not used anymore as there is an index on (profile_id, received_timestamp) which will speed up the query.
Primary keys order has been changed to use automatic index in most common cases (filtering by profile_id then namespace).
author | Goffi <goffi@goffi.org> |
---|---|
date | Sat, 19 Jan 2019 22:49:32 +0100 |
parents | f2cb99b196b1 |
children | 9f599ccbea4e |
line wrap: on
line source
syntax: glob *.pyc *.pyv *.swp *.swo tags twistd.log twistd.pid bridge_constructor/generated _trial_temp/ sat.egg-info *.un~ dist MANIFEST build ctags_links/ Session.vim