forked-synapse/synapse/storage/schema/delta
Erik Johnston 483ba85c7a Analyze user_ips before running deduplication
Due to the table locks taken out by the naive upsert, the table
statistics may be out of date. During deduplication it is important that
the correct index is used as otherwise a full table scan may be
incorrectly used, which can end up thrashing the database badly.
2019-02-12 11:55:27 +00:00
..
12 copyrights 2016-01-07 04:26:29 +00:00
13 copyrights 2016-01-07 04:26:29 +00:00
14 Use simplejson throughout 2018-03-29 22:45:52 +01:00
15 copyrights 2016-01-07 04:26:29 +00:00
16 Use TEXT instead of VARCHAR(n), since PostgreSQL treats them the same except for a limit 2015-04-28 12:41:33 +01:00
17 copyrights 2016-01-07 04:26:29 +00:00
18 copyrights 2016-01-07 04:26:29 +00:00
19 copyrights 2016-01-07 04:26:29 +00:00
20 Don't require config to create database 2016-04-06 14:15:45 +01:00
21 copyrights 2016-01-07 04:26:29 +00:00
22 Add comments to existing schema deltas that used "CREATE INDEX" directly 2016-09-12 11:00:26 +01:00
23 Remove the last vestiges of refresh_tokens 2017-10-31 20:35:58 +00:00
24 copyrights 2016-01-07 04:26:29 +00:00
25 run isort 2018-07-09 16:09:20 +10:00
26 copyrights 2016-01-07 04:26:29 +00:00
27 run isort 2018-07-09 16:09:20 +10:00
28 Add comments to existing schema deltas that used "CREATE INDEX" directly 2016-09-12 11:00:26 +01:00
29 Add comments to existing schema deltas that used "CREATE INDEX" directly 2016-09-12 11:00:26 +01:00
30 run isort 2018-07-09 16:09:20 +10:00
31 run isort 2018-07-09 16:09:20 +10:00
32 Remove topics table 2016-05-13 14:40:38 +01:00
33 run isort 2018-07-09 16:09:20 +10:00
34 Drop sent_transactions 2018-12-01 23:07:35 -06:00
35 Drop some unused indices 2016-10-17 11:08:19 +01:00
36 Latest delta is now 37 2016-10-19 11:40:35 +01:00
37 run isort 2018-07-09 16:09:20 +10:00
38 move search reindex to schema 47 2018-02-13 16:44:46 +00:00
39 Merge pull request #1676 from matrix-org/erikj/room_list 2016-12-12 17:00:10 +00:00
40 Add unique indexes to a couple of tables 2018-11-02 10:36:13 +00:00
41 Add an index to event_search 2017-05-11 12:05:22 +01:00
42 run isort 2018-07-09 16:09:20 +10:00
43 s/popualte/populate/ 2017-11-04 19:35:33 +00:00
44 Fix error on sqlite 3.7 2017-11-21 11:14:17 +00:00
45 Fix schema delta versions 2017-10-11 13:23:15 +01:00
46 WIP e2e key backups 2018-09-13 17:02:59 +01:00
47 Comments 2018-02-16 11:35:01 +00:00
48 Merge pull request #3213 from matrix-org/rav/consent_handler 2018-05-16 07:19:18 +01:00
49 Send users a server notice about consent 2018-05-22 11:54:51 +01:00
50 api into monthly_active_users table 2018-07-31 16:36:24 +01:00
51 Don't reuse backup versions 2018-10-05 15:08:36 +01:00
52 Merge remote-tracking branch 'origin/develop' into dbkr/e2e_backup_versions_are_numbers 2018-11-09 18:35:02 +00:00
53 Analyze user_ips before running deduplication 2019-02-12 11:55:27 +00:00