Mercurial > libervia-backend
view INSTALL @ 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 | e7bd2945518f |
children | 457ae6381e2a |
line wrap: on
line source
You'll find install instructions on the following link: http://wiki.goffi.org/wiki/Salut_%C3%A0_Toi If you need help, come the SàT official XMPP room: sat@chat.jabberfr.org or join us with a web browser via https://chat.jabberfr.org/converse.js/sat@chat.jabberfr.org