24
1
mirror of https://github.com/processone/ejabberd.git synced 2024-06-08 21:43:07 +02:00
xmpp.chapril.org-ejabberd/sql
Mark Zealey 22d49ad2fe Improve Postgres SQL schema
- Conversion of UNIQUE KEY constraints to PRIMARY KEY - in pg a PRIMARY
  KEY is a UNIQUE KEY where all columns are non-null, so this patch
  makes it more explicit.
- Removal of useless indexes - a btree index of (A,B,C) implies fast
  indexing of (A,B) and (A) but directly specifying these indexes
  causes much IO overhead on record modification
- Allow more than 2b items in spool/pubsub by switching SERIAL to
  BIGSERIAL
- Add some TODOs where it looks like columns should be marked NOT NULL
  but are not actually. As I'm not particularly familiar with the
  ejabberd I don't know if this should change or not.
2022-07-08 10:15:19 +01:00
..
lite.new.sql Fix sqlite schema 2022-02-18 16:24:34 +01:00
lite.sql Fix sqlite schema 2022-02-18 16:24:34 +01:00
mssql.sql Optimize room_unused_* commands 2022-02-18 14:02:04 +01:00
mysql.new.sql Optimize room_unused_* commands 2022-02-18 14:02:04 +01:00
mysql.old-to-new.sql Add indexes from 95fa43aa to the old-to-new MySQL schema update script 2021-09-27 16:33:23 +02:00
mysql.sql Optimize room_unused_* commands 2022-02-18 14:02:04 +01:00
pg.new.sql Sync old-to-new schema script with reality (#3790) 2022-03-08 13:56:27 +01:00
pg.sql Improve Postgres SQL schema 2022-07-08 10:15:19 +01:00