Исходный код СУБД RuDB — свободной СУБД с открытым исходным кодом на базе PostgreSQL
rudb
2026-04-30 9f2ef60949ced4fab4d077a7e1c6d913f3620c9b
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
Module makes an analyze call immediately after INSERT/UPDATE/DELETE/SELECT INTO
for affected table(s).
 
Supported versions of PostgreSQL: 8.4.*, 9.0.*, 9.1.*, 9.2.*, 9.3.*, 9.4*, 9.5*,
          9.6*
 
Usage: LOAD 'online_analyze';
 
Custom variables (defaults values are shown):
online_analyze.enable = on  
    Enables on-line analyze
 
online_analyze.local_tracking = off
    Per backend tracking for temp tables (do not use system statistic)
 
online_analyze.verbose = on
    Execute ANALYZE VERBOSE
 
online_analyze.scale_factor = 0.1
    Fraction of table size to start on-line analyze (similar to
    autovacuum_analyze_scale_factor)
 
online_analyze.threshold = 50
    Min number of row updates before on-line analyze (similar to
    autovacuum_analyze_threshold)
 
online_analyze.min_interval = 10000
    Minimum time interval between analyze call per table (in milliseconds)
 
online_analyze.lower_limit = 0
    Min number of rows in table to analyze
 
online_analyze.table_type = "all"
    Type(s) of table for online analyze: all, persistent, temporary, none
 
online_analyze.exclude_tables = ""
    List of tables which will not online analyze
 
online_analyze.include_tables = ""
    List of tables which will online analyze
    online_analyze.include_tables overwrites online_analyze.exclude_tables.
 
online_analyze.capacity_threshold = 100000
    Maximum number of temporary tables to store in local cache
 
Author: Teodor Sigaev <teodor@sigaev.ru>