Skip to content

Commit 904dfc7

Browse files
committed
more aggressive autovac
1 parent e420054 commit 904dfc7

1 file changed

Lines changed: 7 additions & 7 deletions

File tree

hive/db/schema.py

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -340,14 +340,14 @@ def reset_autovac(db):
340340

341341
autovac_config = { # vacuum analyze
342342
'hive_accounts': (50000, 100000),
343-
'hive_posts_cache': (25000, 25000),
343+
'hive_posts_cache': (10000, 25000),
344344
'hive_posts': (2500, 10000),
345-
'hive_post_tags': (5000, 10000),
346-
'hive_follows': (5000, 5000),
347-
'hive_feed_cache': (5000, 5000),
348-
'hive_blocks': (5000, 25000),
349-
'hive_reblogs': (5000, 5000),
350-
'hive_payments': (5000, 5000),
345+
'hive_post_tags': (2500, 10000),
346+
'hive_follows': (2500, 5000),
347+
'hive_feed_cache': (2500, 5000),
348+
'hive_blocks': (2500, 25000),
349+
'hive_reblogs': (2500, 5000),
350+
'hive_payments': (2500, 5000),
351351
}
352352

353353
for table, (n_vacuum, n_analyze) in autovac_config.items():

0 commit comments

Comments
 (0)