]> git.openstreetmap.org Git - chef.git/blob - cookbooks/db/files/default/monthly-reindex.sql
Run a monthly reindex of the smaller database tables
[chef.git] / cookbooks / db / files / default / monthly-reindex.sql
1 REINDEX (VERBOSE) TABLE CONCURRENTLY acls;
2 REINDEX (VERBOSE) TABLE CONCURRENTLY active_storage_attachments;
3 REINDEX (VERBOSE) TABLE CONCURRENTLY active_storage_blobs;
4 REINDEX (VERBOSE) TABLE CONCURRENTLY active_storage_variant_records;
5 REINDEX (VERBOSE) TABLE CONCURRENTLY ar_internal_metadata;
6 REINDEX (VERBOSE) TABLE CONCURRENTLY changeset_comments;
7 REINDEX (VERBOSE) TABLE CONCURRENTLY changeset_tags;
8 REINDEX (VERBOSE) TABLE CONCURRENTLY changesets;
9 REINDEX (VERBOSE) TABLE CONCURRENTLY changesets_subscribers;
10 REINDEX (VERBOSE) TABLE CONCURRENTLY client_applications;
11 REINDEX (VERBOSE) TABLE CONCURRENTLY current_relation_members;
12 REINDEX (VERBOSE) TABLE CONCURRENTLY delayed_jobs;
13 REINDEX (VERBOSE) TABLE CONCURRENTLY diary_comments;
14 REINDEX (VERBOSE) TABLE CONCURRENTLY diary_entries;
15 REINDEX (VERBOSE) TABLE CONCURRENTLY diary_entry_subscriptions;
16 REINDEX (VERBOSE) TABLE CONCURRENTLY friends;
17 REINDEX (VERBOSE) TABLE CONCURRENTLY issue_comments;
18 REINDEX (VERBOSE) TABLE CONCURRENTLY issues;
19 REINDEX (VERBOSE) TABLE CONCURRENTLY languages;
20 REINDEX (VERBOSE) TABLE CONCURRENTLY messages;
21 REINDEX (VERBOSE) TABLE CONCURRENTLY note_comments;
22 REINDEX (VERBOSE) TABLE CONCURRENTLY notes;
23 REINDEX (VERBOSE) TABLE CONCURRENTLY oauth_access_grants;
24 REINDEX (VERBOSE) TABLE CONCURRENTLY oauth_access_tokens;
25 REINDEX (VERBOSE) TABLE CONCURRENTLY oauth_applications;
26 REINDEX (VERBOSE) TABLE CONCURRENTLY oauth_nonces;
27 REINDEX (VERBOSE) TABLE CONCURRENTLY oauth_tokens;
28 REINDEX (VERBOSE) TABLE CONCURRENTLY redactions;
29 REINDEX (VERBOSE) TABLE CONCURRENTLY reports;
30 REINDEX (VERBOSE) TABLE CONCURRENTLY schema_migrations;
31 REINDEX (VERBOSE) TABLE CONCURRENTLY user_blocks;
32 REINDEX (VERBOSE) TABLE CONCURRENTLY user_preferences;
33 REINDEX (VERBOSE) TABLE CONCURRENTLY user_roles;
34 REINDEX (VERBOSE) TABLE CONCURRENTLY user_tokens;
35 REINDEX (VERBOSE) TABLE CONCURRENTLY users;