pg_profile version 0.3.6
Server name: local
Report interval: 2026-07-18 04:00:02+02 - 2026-07-19 03:00:01+02
Warning!Report includes 23 sample(s) with setting pg_stat_statements.track = all.Value of %Total columns may be incorrect.
| Database | Transactions | Block statistics | Tuples | Temp files | Size | Growth | |||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| Commits | Rollbacks | Deadlocks | Hit(%) | Read | Hit | Ret | Fet | Ins | Upd | Del | Size | Files | |||
| etendo | 61977 | 1 | 95.89 | 986629 | 23003161 | 71570903 | 27457990 | 1380178 | 24835 | 135415 | 3122 MB | -3848 kB | |||
| postgres | 11865 | 99.81 | 1303 | 702745 | 1984049 | 365321 | 2012 | 866 | 1772 | 6383 kB | -32 kB | ||||
| Total | 73842 | 1 | 96.00 | 987932 | 23705906 | 73554952 | 27823311 | 1382190 | 25701 | 137187 | 3129 MB | -3880 kB | |||
| Database | Calls | Time (s) | Fetched (blk) | Dirtied (blk) | Temp (blk) | Local (blk) | Statements | |||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| Exec | Read | Write | Trg | Shared | Local | Shared | Local | Read | Write | Read | Write | |||
| etendo | 300998 | 376.24 | 0.04 | 30074897 | 371280 | 6666 | ||||||||
| postgres | 5619 | 10.77 | 127485 | 224 | 349 | |||||||||
| template1 | 6350 | 8.08 | 47760 | 232 | 278 | |||||||||
| Total | 312967 | 395.09 | 0.04 | 30250142 | 371736 | 7293 | ||||||||
| Metric | Value |
|---|---|
| Scheduled checkpoints | 275 |
| Requested checkpoints | 1 |
| Checkpoint write time (s) | 2280.12 |
| Checkpoint sync time (s) | 0.67 |
| Checkpoints buffers written | 159152 |
| Background buffers written | 3935 |
| Backend buffers written | 514510 |
| Backend fsync count | |
| Bgwriter interrupts (too many buffers) | 11 |
| Number of buffers allocated | 988139 |
| WAL generated | 3358 MB |
| WAL segments archived | |
| WAL segments archive failed |
| Tablespace | Path | Size | Growth |
|---|---|---|---|
| pg_default | 3142 MB | -3840 kB | |
| pg_global | 542 kB |
| Query ID | Database | Exec (s) | %Total | Rows | Execution times (ms) | Executions | |||
|---|---|---|---|---|---|---|---|---|---|
| Mean | Min | Max | StdErr | ||||||
[cd9c0fd2] | etendo | 190.29 | 48.16 | 903 | 190291.487 | 190291.487 | 190291.487 | 1 | |
[948be82f] | etendo | 80.56 | 20.39 | 80560.418 | 80560.418 | 80560.418 | 1 | ||
[165cfe9e] | etendo | 23.12 | 5.85 | 23 | 1005.386 | 887.975 | 1415.701 | 102.156 | 23 |
[5bf034e8] | etendo | 23.12 | 5.85 | 1005.147 | 887.724 | 1415.527 | 102.170 | 23 | |
[ea3ffc6b] | etendo | 9.40 | 2.38 | 1006096 | 3.400 | 2.816 | 8.179 | 0.583 | 2764 |
[58bd0761] | etendo | 8.17 | 2.07 | 2764 | 2.957 | 1.266 | 10.779 | 0.648 | 2764 |
[9829805d] | etendo | 5.22 | 1.32 | 54326 | 113.501 | 24.868 | 519.302 | 97.790 | 46 |
[ec3901fa] | etendo | 5.02 | 1.27 | 31671 | 109.220 | 25.759 | 223.815 | 81.143 | 46 |
[6d193752] | etendo | 3.34 | 0.85 | 29647 | 145.258 | 112.435 | 169.935 | 12.152 | 23 |
[22217272] | etendo | 3.32 | 0.84 | 51244 | 144.528 | 107.128 | 455.343 | 67.006 | 23 |
[d6e97f55] | postgres | 2.85 | 0.72 | 552 | 10.308 | 10.200 | 11.264 | 0.091 | 276 |
[ac17e023] | postgres | 2.80 | 0.71 | 276 | 10.145 | 0.108 | 10.767 | 1.219 | 276 |
[a8855ea7] | template1 | 2.72 | 0.69 | 264 | 10.285 | 10.148 | 14.426 | 0.263 | 264 |
[dccac99b] | template1 | 2.65 | 0.67 | 264 | 10.046 | 0.101 | 10.485 | 1.515 | 264 |
[ec61c564] | postgres | 2.23 | 0.56 | 1104 | 8.087 | 6.727 | 106.541 | 6.062 | 276 |
[948be82f] | postgres | 2.15 | 0.55 | 2154.406 | 2154.406 | 2154.406 | 1 | ||
[948be82f] | template1 | 2.08 | 0.53 | 2076.805 | 2076.805 | 2076.805 | 1 | ||
[1c089a92] | etendo | 2.07 | 0.52 | 2696 | 89.967 | 59.264 | 120.869 | 18.644 | 23 |
[92e68786] | etendo | 1.59 | 0.40 | 132 | 12.034 | 11.408 | 13.618 | 0.320 | 132 |
[2ee0a16b] | etendo | 1.01 | 0.26 | 2016 | 0.500 | 0.295 | 2.146 | 0.190 | 2016 |
| Query ID | Database | Executions | %Total | Rows | Mean(ms) | Min(ms) | Max(ms) | StdErr(ms) | Elapsed(s) |
|---|---|---|---|---|---|---|---|---|---|
[e0488e43] | etendo | 97410 | 31.12 | 97410 | 0.004 | 0.002 | 2.273 | 0.011 | 0.4 |
[4ef2b412] | etendo | 35491 | 11.34 | 35491 | 0.003 | 0.002 | 0.400 | 0.004 | 0.1 |
[bb90fd8a] | etendo | 35376 | 11.30 | 35376 | 0.015 | 0.008 | 0.315 | 0.006 | 0.5 |
[a0abb6c3] | etendo | 8832 | 2.82 | 8832 | 0.012 | 0.008 | 0.070 | 0.004 | 0.1 |
[141ca58a] | etendo | 6077 | 1.94 | 6077 | 0.004 | 0.002 | 0.180 | 0.004 | 0.0 |
[a38abef0] | etendo | 5569 | 1.78 | 5569 | 0.004 | 0.002 | 0.091 | 0.003 | 0.0 |
[6f9b1a85] | etendo | 5469 | 1.75 | 0.002 | 0.000 | 0.028 | 0.002 | 0.0 | |
[2049516b] | etendo | 5468 | 1.75 | 0.001 | 0.000 | 0.020 | 0.000 | 0.0 | |
[cdfab523] | etendo | 4416 | 1.41 | 22080 | 0.017 | 0.011 | 0.133 | 0.005 | 0.1 |
[708934a0] | etendo | 4416 | 1.41 | 4416 | 0.008 | 0.006 | 0.065 | 0.002 | 0.0 |
[f8bb1c8e] | etendo | 4416 | 1.41 | 4416 | 0.007 | 0.004 | 0.036 | 0.002 | 0.0 |
[31bc0d20] | etendo | 3835 | 1.23 | 3835 | 0.007 | 0.002 | 0.101 | 0.008 | 0.0 |
[43179118] | etendo | 3327 | 1.06 | 3327 | 0.015 | 0.011 | 0.083 | 0.003 | 0.0 |
[90d234b8] | template1 | 2904 | 0.93 | 0.011 | 0.009 | 0.088 | 0.003 | 0.0 | |
[ea3ffc6b] | etendo | 2764 | 0.88 | 1006096 | 3.400 | 2.816 | 8.179 | 0.583 | 9.4 |
[58bd0761] | etendo | 2764 | 0.88 | 2764 | 2.957 | 1.266 | 10.779 | 0.648 | 8.2 |
[77376af6] | etendo | 2167 | 0.69 | 0.022 | 0.015 | 1.217 | 0.026 | 0.0 | |
[48a57613] | etendo | 2073 | 0.66 | 0.003 | 0.002 | 0.052 | 0.002 | 0.0 | |
[b0813584] | etendo | 2073 | 0.66 | 0.001 | 0.001 | 0.014 | 0.000 | 0.0 | |
[2ee0a16b] | etendo | 2016 | 0.64 | 2016 | 0.500 | 0.295 | 2.146 | 0.190 | 1.0 |
| Query ID | Database | blks fetched | %Total | Hits(%) | Elapsed(s) | Rows | Executions |
|---|---|---|---|---|---|---|---|
[948be82f] | etendo | 6599507 | 21.82 | 88.76 | 80.6 | 1 | |
[ea3ffc6b] | etendo | 5013908 | 16.57 | 100.00 | 9.4 | 1006096 | 2764 |
[165cfe9e] | etendo | 4690231 | 15.50 | 99.99 | 23.1 | 23 | 23 |
[5bf034e8] | etendo | 4690093 | 15.50 | 99.99 | 23.1 | 23 | |
[1c089a92] | etendo | 2409858 | 7.97 | 100.00 | 2.1 | 2696 | 23 |
[22217272] | etendo | 1629895 | 5.39 | 100.00 | 3.3 | 51244 | 23 |
[6d193752] | etendo | 795388 | 2.63 | 100.00 | 3.3 | 29647 | 23 |
[58bd0761] | etendo | 345576 | 1.14 | 99.96 | 8.2 | 2764 | 2764 |
[9829805d] | etendo | 339008 | 1.12 | 99.99 | 5.2 | 54326 | 46 |
[cd9c0fd2] | etendo | 319108 | 1.05 | 33.99 | 190.3 | 903 | 1 |
[3c3a10c1] | etendo | 302510 | 1.00 | 100.00 | 0.4 | 217 | 23 |
[ec3901fa] | etendo | 295176 | 0.98 | 100.00 | 5.0 | 31671 | 46 |
[bb90fd8a] | etendo | 206728 | 0.68 | 99.99 | 0.5 | 35376 | 35376 |
[e0488e43] | etendo | 194820 | 0.64 | 100.00 | 0.4 | 97410 | 97410 |
[d3e6328] | etendo | 162754 | 0.54 | 100.00 | 0.5 | 1312 | 22 |
[ea4f5bb9] | etendo | 127319 | 0.42 | 99.99 | 0.3 | 864 | 22 |
[b8b908b] | etendo | 116783 | 0.39 | 99.88 | 0.3 | 3820 | 23 |
[7cf22f68] | etendo | 95326 | 0.32 | 99.97 | 0.3 | 1473 | 23 |
[4ef2b412] | etendo | 70982 | 0.23 | 100.00 | 0.1 | 35491 | 35491 |
[c63e499] | etendo | 68137 | 0.23 | 100.00 | 0.1 | 80 | 20 |
| Query ID | Database | Reads | %Total | Hits(%) | Elapsed(s) | Rows | Executions |
|---|---|---|---|---|---|---|---|
[948be82f] | etendo | 741881 | 75.11 | 88.76 | 80.6 | 1 | |
[cd9c0fd2] | etendo | 210657 | 21.33 | 33.99 | 190.3 | 903 | 1 |
[ee6bcd7b] | etendo | 8962 | 0.91 | 0.8 | 116298 | 1 | |
[63a051b4] | etendo | 4253 | 0.43 | 0.4 | 125222 | 1 | |
[8e6e719a] | etendo | 3828 | 0.39 | 0.4 | 82325 | 1 | |
[34618be5] | etendo | 3285 | 0.33 | 0.4 | 86810 | 1 | |
[9874a2f8] | etendo | 1214 | 0.12 | 0.1 | 36930 | 1 | |
[948be82f] | template1 | 1052 | 0.11 | 97.41 | 2.1 | 1 | |
[948be82f] | postgres | 1045 | 0.11 | 97.42 | 2.2 | 1 | |
[51d43ddf] | etendo | 843 | 0.09 | 0.0 | 25642 | 1 | |
[14a0b57d] | etendo | 707 | 0.07 | 0.0 | 24523 | 1 | |
[5015950f] | etendo | 706 | 0.07 | 0.0 | 24515 | 1 | |
[5605bb18] | etendo | 607 | 0.06 | 96.01 | 0.1 | 2072 | 1 |
[c7b7b73b] | etendo | 607 | 0.06 | 0.0 | 14950 | 1 | |
[8d9c7ac8] | etendo | 552 | 0.06 | 0.0 | 15363 | 1 | |
[165cfe9e] | etendo | 460 | 0.05 | 99.99 | 23.1 | 23 | 23 |
[5bf034e8] | etendo | 460 | 0.05 | 99.99 | 23.1 | 23 | |
[15e80a0c] | etendo | 445 | 0.05 | 74.50 | 0.0 | 1694 | 77 |
[b144b45b] | etendo | 411 | 0.04 | 40.43 | 0.0 | 6517 | 1 |
[d72dce4a] | etendo | 364 | 0.04 | 0.0 | 12718 | 1 |
| Query ID | Database | Dirtied | %Total | Hits(%) | Elapsed(s) | Rows | Executions |
|---|---|---|---|---|---|---|---|
[948be82f] | etendo | 319120 | 85.85 | 88.76 | 80.6 | 1 | |
[165cfe9e] | etendo | 15404 | 4.14 | 99.99 | 23.1 | 23 | 23 |
[5bf034e8] | etendo | 15404 | 4.14 | 99.99 | 23.1 | 23 | |
[9829805d] | etendo | 3979 | 1.07 | 99.99 | 5.2 | 54326 | 46 |
[ec3901fa] | etendo | 3161 | 0.85 | 100.00 | 5.0 | 31671 | 46 |
[a2b1d8b5] | etendo | 1764 | 0.47 | 99.70 | 0.9 | 23 | 23 |
[dbbb08c5] | etendo | 1581 | 0.43 | 99.33 | 0.1 | 281 | 281 |
[d422fd3a] | etendo | 1056 | 0.28 | 99.92 | 0.9 | 46 | |
[7de5e657] | etendo | 772 | 0.21 | 100.00 | 0.1 | 54326 | 23 |
[b8b908b] | etendo | 575 | 0.15 | 99.88 | 0.3 | 3820 | 23 |
[423e83ff] | etendo | 533 | 0.14 | 97.76 | 0.1 | 1 | |
[7e502be6] | etendo | 463 | 0.12 | 99.92 | 0.8 | 46 | |
[b746d230] | etendo | 403 | 0.11 | 99.89 | 0.2 | 22 | 18 |
[2c3218e3] | etendo | 392 | 0.11 | 100.00 | 0.5 | 5658 | 46 |
[31bc0d20] | etendo | 354 | 0.10 | 100.00 | 0.0 | 3835 | 3835 |
[1c089a92] | etendo | 299 | 0.08 | 100.00 | 2.1 | 2696 | 23 |
[7cf22f68] | etendo | 284 | 0.08 | 99.97 | 0.3 | 1473 | 23 |
[fe32196] | etendo | 240 | 0.06 | 100.00 | 0.1 | 257 | 257 |
[f9eb6039] | etendo | 237 | 0.06 | 100.00 | 0.0 | 266 | 266 |
[948be82f] | template1 | 232 | 0.06 | 97.41 | 2.1 | 1 |
| Query ID | Database | Written | %Total | %BackendW | Hits(%) | Elapsed(s) | Rows | Executions |
|---|---|---|---|---|---|---|---|---|
[948be82f] | etendo | 175731 | 25.93 | 34.16 | 88.76 | 80.6 | 1 | |
[948be82f] | template1 | 55 | 0.01 | 0.01 | 97.41 | 2.1 | 1 | |
[948be82f] | postgres | 55 | 0.01 | 0.01 | 97.42 | 2.2 | 1 |
No data in this section
| QueryID | Query Text |
|---|---|
| 627abb38ab | INSERT INTO sample_stat_tables ( server_id, sample_id, datid, relid, tablespaceid, seq_scan, seq_tup_read, idx_scan, idx_tup_fetch, n_tup_ins, n_tup_upd, n_tup_del, n_tup_hot_upd, n_live_tup, n_dead_tup, n_mod_since_analyze, n_ins_since_vacuum, last_vacuum, last_autovacuum, last_analyze, last_autoanalyze, vacuum_count, autovacuum_count, analyze_count, autoanalyze_count, heap_blks_read, heap_blks_hit, idx_blks_read, idx_blks_hit, toast_blks_read, toast_blks_hit, tidx_blks_read, tidx_blks_hit, relsize, relsize_diff, relpages_bytes, relpages_bytes_diff ) SELECT cur.server_id AS server_id, cur.sample_id AS sample_id, cur.datid AS datid, cur.relid AS relid, cur.tablespaceid AS tablespaceid, cur.seq_scan - COALESCE(lst.seq_scan,$4) AS seq_scan, cur.seq_tup_read - COALESCE(lst.seq_tup_read,$5) AS seq_tup_read, cur.idx_scan - COALESCE(lst.idx_scan,$6) AS idx_scan, cur.idx_tup_fetch - COALESCE(lst.idx_tup_fetch,$7) AS idx_tup_fetch, cur.n_tup_ins - COALESCE(lst.n_tup_ins,$8) AS n_tup_ins, cur.n_tup_upd - COALESCE(lst.n_tup_upd,$9) AS n_tup_upd, cur.n_tup_del - COALESCE(lst.n_tup_del,$10) AS n_tup_del, cur.n_tup_hot_upd - COALESCE(lst.n_tup_hot_upd,$11) AS n_tup_hot_upd, cur.n_live_tup AS n_live_tup, cur.n_dead_tup AS n_dead_tup, cur.n_mod_since_analyze AS n_mod_since_analyze, cur.n_ins_since_vacuum AS n_ins_since_vacuum, cur.last_vacuum AS last_vacuum, cur.last_autovacuum AS last_autovacuum, cur.last_analyze AS last_analyze, cur.last_autoanalyze AS last_autoanalyze, cur.vacuum_count - COALESCE(lst.vacuum_count,$12) AS vacuum_count, cur.autovacuum_count - COALESCE(lst.autovacuum_count,$13) AS autovacuum_count, cur.analyze_count - COALESCE(lst.analyze_count,$14) AS analyze_count, cur.autoanalyze_count - COALESCE(lst.autoanalyze_count,$15) AS autoanalyze_count, cur.heap_blks_read - COALESCE(lst.heap_blks_read,$16) AS heap_blks_read, cur.heap_blks_hit - COALESCE(lst.heap_blks_hit,$17) AS heap_blks_hit, cur.idx_blks_read - COALESCE(lst.idx_blks_read,$18) AS idx_blks_read, cur.idx_blks_hit - COALESCE(lst.idx_blks_hit,$19) AS idx_blks_hit, cur.toast_blks_read - COALESCE(lst.toast_blks_read,$20) AS toast_blks_read, cur.toast_blks_hit - COALESCE(lst.toast_blks_hit,$21) AS toast_blks_hit, cur.tidx_blks_read - COALESCE(lst.tidx_blks_read,$22) AS tidx_blks_read, cur.tidx_blks_hit - COALESCE(lst.tidx_blks_hit,$23) AS tidx_blks_hit, cur.relsize AS relsize, cur.relsize - COALESCE(lst.relsize,$24) AS relsize_diff, cur.relpages_bytes AS relpages_bytes, cur.relpages_bytes - COALESCE(lst.relpages_bytes,$25) AS relpages_bytes_diff FROM last_stat_tables cur JOIN last_stat_database dbcur USING (server_id, sample_id, datid) LEFT JOIN last_stat_database dblst ON (dblst.server_id, dblst.sample_id, dblst.datid, dblst.stats_reset) = (dbcur.server_id, dbcur.sample_id - $26, dbcur.datid, dbcur.stats_reset) LEFT OUTER JOIN last_stat_tables lst ON (lst.server_id, lst.sample_id, lst.datid, lst.relid) = (dblst.server_id, dblst.sample_id, dblst.datid, cur.relid) WHERE (cur.server_id, cur.sample_id, cur.in_sample) = (sserver_id, s_id, $27) |
| 6b0c73616a | DELETE FROM last_stat_database WHERE server_id = sserver_id AND sample_id != s_id |
| 1907114f96 | UPDATE last_stat_indexes uli SET in_sample = $5 FROM (SELECT cur.server_id, cur.sample_id, cur.datid, cur.indexrelid, -- Index ranks row_number() OVER (ORDER BY cur.idx_blks_read - COALESCE(lst.idx_blks_read,$6) DESC) read_rank, row_number() OVER (ORDER BY cur.idx_blks_read+cur.idx_blks_hit- COALESCE(lst.idx_blks_read+lst.idx_blks_hit,$7) DESC) gets_rank, row_number() OVER (PARTITION BY cur.idx_scan - COALESCE(lst.idx_scan,$8) = $9 ORDER BY tblcur.n_tup_ins - COALESCE(tbllst.n_tup_ins,$10) + tblcur.n_tup_upd - COALESCE(tbllst.n_tup_upd,$11) + tblcur.n_tup_del - COALESCE(tbllst.n_tup_del,$12) DESC) dml_unused_rank, row_number() OVER (ORDER BY (tblcur.vacuum_count - COALESCE(tbllst.vacuum_count,$13) + tblcur.autovacuum_count - COALESCE(tbllst.autovacuum_count,$14)) * -- Coalesce is used here in case of skipped size collection COALESCE(cur.relsize,lst.relsize) DESC) vacuum_bytes_rank FROM last_stat_indexes cur JOIN last_stat_tables tblcur USING (server_id, sample_id, datid, relid) JOIN last_stat_database dbcur USING (server_id, sample_id, datid) LEFT OUTER JOIN last_stat_database dblst ON (dblst.server_id, dblst.datid, dblst.sample_id, dblst.stats_reset) = (dbcur.server_id, dbcur.datid, dbcur.sample_id - $15, dbcur.stats_reset) LEFT OUTER JOIN last_stat_indexes lst ON (lst.server_id, lst.sample_id, lst.datid, lst.relid, lst.indexrelid) = (dblst.server_id, dblst.sample_id, dblst.datid, cur.relid, cur.indexrelid) LEFT OUTER JOIN last_stat_tables tbllst ON (tbllst.server_id, tbllst.sample_id, tbllst.datid, tbllst.relid) = (dblst.server_id, dblst.sample_id, dblst.datid, lst.relid) WHERE (cur.server_id, cur.sample_id) = (sserver_id, s_id) ) diff WHERE (least( read_rank, gets_rank, vacuum_bytes_rank ) <= topn OR (dml_unused_rank <= topn AND idx_scan = $16)) AND (uli.server_id, uli.sample_id, uli.datid, uli.indexrelid, uli.in_sample) = (diff.server_id, diff.sample_id, diff.datid, diff.indexrelid, $17) |
| 218b1cd7d6 | UPDATE AD_Process_Request SET Updatedby = $1, AD_User_ID = $2, Status = $3, Channel = $4, Previous_Fire_Time = TO_TIMESTAMP($5, $6), Next_Fire_Time = TO_TIMESTAMP($7, $8), Scheduled_Finish = TO_TIMESTAMP($9, $10), Ob_Context = $11, Updated = NOW() WHERE AD_Process_Request_ID = $12 |
| 0773a44802 | SELECT $4 FROM ONLY "profile"."sample_stat_database" x WHERE "server_id" OPERATOR(pg_catalog.=) $1 AND "sample_id" OPERATOR(pg_catalog.=) $2 AND "datid" OPERATOR(pg_catalog.=) $3 FOR KEY SHARE OF x |
| fb03d4bd20 | COPY public.m_production (m_production_id, ad_client_id, ad_org_id, isactive, created, createdby, updated, updatedby, name, description, movementdate, iscreated, posted, processed, processing, ad_orgtrx_id, c_project_id, c_campaign_id, c_activity_id, user1_id, user2_id, documentno, endtime, issotrx, starttime, validating, c_costcenter_id, a_asset_id) TO stdout |
| bbb18aaa85 | select column0_.ad_column_id as ad_colum1_0_, column0_.isactive as isactive2_0_, column0_.name as name3_0_, column0_.columnName as columnNa4_0_, column0_.fieldLength as fieldLen5_0_, column0_.defaultValue as defaultV6_0_, column0_.issessionattr as issessio7_0_, column0_.iskey as iskey8_0_, column0_.issecondarykey as issecond9_0_, column0_.isparent as isparen10_0_, column0_.isupdateable as isupdat11_0_, column0_.isidentifier as isident12_0_, column0_.ismandatory as ismanda13_0_, column0_.isencrypted as isencry14_0_, column0_.isdesencryptable as isdesen15_0_, column0_.istranslated as istrans16_0_, column0_.valueMin as valueMi17_0_, column0_.valueMax as valueMa18_0_, column0_.position as positio19_0_, column0_.seqno as seqno20_0_, column0_.sqlLogic as sqlLogi21_0_, column0_.isusedsequence as isuseds22_0_, column0_.ad_table_id as ad_tabl23_0_, column0_.ad_reference_id as ad_refe24_0_, column0_.ad_reference_value_id as ad_refe25_0_, column0_.istransient as istrans26_0_, column0_.istransientcondition as istrans27_0_, column0_.allowed_cross_org_link as allowed28_0_, column0_.is_child_property_in_parent as is_chil29_0_, column0_.ad_module_id as ad_modu30_0_, column0_.updated as updated31_0_ from ad_column column0_ where column0_.ad_table_id=$1 order by column0_.position asc |
| e72111fc0b | SELECT profile.take_sample() |
| 53f041022a | UPDATE last_stat_tables ulst SET in_sample = $5 FROM ( SELECT cur.server_id AS server_id, cur.sample_id AS sample_id, cur.datid AS datid, cur.relid AS relid, tcur.relid AS toastrelid, -- Seq. scanned blocks rank row_number() OVER (ORDER BY (cur.seq_scan - COALESCE(lst.seq_scan,$6)) * cur.relsize + (tcur.seq_scan - COALESCE(tlst.seq_scan,$7)) * tcur.relsize DESC) scan_rank, row_number() OVER (ORDER BY cur.n_tup_ins + cur.n_tup_upd + cur.n_tup_del - COALESCE(lst.n_tup_ins + lst.n_tup_upd + lst.n_tup_del, $8) + COALESCE(tcur.n_tup_ins + tcur.n_tup_upd + tcur.n_tup_del, $9) - COALESCE(tlst.n_tup_ins + tlst.n_tup_upd + tlst.n_tup_del, $10) DESC) dml_rank, row_number() OVER (ORDER BY cur.n_tup_upd+cur.n_tup_del - COALESCE(lst.n_tup_upd + lst.n_tup_del, $11) + COALESCE(tcur.n_tup_upd + tcur.n_tup_del, $12) - COALESCE(tlst.n_tup_upd + tlst.n_tup_del, $13) DESC) vacuum_dml_rank, row_number() OVER (ORDER BY cur.n_dead_tup / NULLIF(cur.n_live_tup+cur.n_dead_tup, $14) DESC NULLS LAST) dead_pct_rank, row_number() OVER (ORDER BY cur.n_mod_since_analyze / NULLIF(cur.n_live_tup, $15) DESC NULLS LAST) mod_pct_rank, -- Read rank row_number() OVER (ORDER BY cur.heap_blks_read - COALESCE(lst.heap_blks_read,$16) + cur.idx_blks_read - COALESCE(lst.idx_blks_read,$17) + cur.toast_blks_read - COALESCE(lst.toast_blks_read,$18) + cur.tidx_blks_read - COALESCE(lst.tidx_blks_read,$19) DESC) read_rank, -- Page processing rank row_number() OVER (ORDER BY cur.heap_blks_read+cur.heap_blks_hit+cur.idx_blks_read+cur.idx_blks_hit+ cur.toast_blks_read+cur.toast_blks_hit+cur.tidx_blks_read+cur.tidx_blks_hit- COALESCE(lst.heap_blks_read+lst.heap_blks_hit+lst.idx_blks_read+lst.idx_blks_hit+ lst.toast_blks_read+lst.toast_blks_hit+lst.tidx_blks_read+lst.tidx_blks_hit, $20) DESC) gets_rank, -- Vacuum rank row_number() OVER (ORDER BY cur.vacuum_count - COALESCE(lst.vacuum_count, $21) + cur.autovacuum_count - COALESCE(lst.autovacuum_count, $22) DESC) vacuum_rank, row_number() OVER (ORDER BY cur.analyze_count - COALESCE(lst.analyze_count,$23) + cur.autoanalyze_count - COALESCE(lst.autoanalyze_count,$24) DESC) analyze_rank FROM -- main relations diff last_stat_tables cur JOIN last_stat_database dbcur USING (server_id, sample_id, datid) LEFT OUTER JOIN last_stat_database dblst ON (dblst.server_id, dblst.datid, dblst.sample_id, dblst.stats_reset) = (dbcur.server_id, dbcur.datid, dbcur.sample_id - $25, dbcur.stats_reset) LEFT OUTER JOIN last_stat_tables lst ON (lst.server_id, lst.sample_id, lst.datid, lst.relid) = (dblst.server_id, dblst.sample_id, dblst.datid, cur.relid) -- toast relations diff LEFT OUTER JOIN last_stat_tables tcur ON (tcur.server_id, tcur.sample_id, tcur.datid, tcur.relid) = (dbcur.server_id, dbcur.sample_id, dbcur.datid, cur.reltoastrelid) LEFT OUTER JOIN last_stat_tables tlst ON (tlst.server_id, tlst.sample_id, tlst.datid, tlst.relid) = (dblst.server_id, dblst.sample_id, dblst.datid, lst.reltoastrelid) WHERE (cur.server_id, cur.sample_id, cur.in_sample) = (sserver_id, s_id, $26) AND cur.relkind IN ($27,$28)) diff WHERE least( scan_rank, dml_rank, dead_pct_rank, mod_pct_rank, vacuum_dml_rank, read_rank, gets_rank, vacuum_rank, analyze_rank ) <= topn AND (ulst.server_id, ulst.sample_id, ulst.datid, ulst.in_sample) = (diff.server_id, diff.sample_id, diff.datid, $29) AND (ulst.relid = diff.relid OR ulst.relid = diff.toastrelid) |
| ae36bf3fd6 | COMMIT |
| 579c04f6a4 | SELECT st.*,stio.idx_blks_read,stio.idx_blks_hit,CASE l.relation WHEN st.indexrelid THEN $1 ELSE pg_relation_size(st.indexrelid) END relsize,$2,pg_class.reltablespace as tablespaceid,(ix.indisunique OR con.conindid IS NOT NULL) AS indisunique,pg_class.relpages::bigint * current_setting($3)::bigint AS relpages_bytes,$4 AS relpages_bytes_diff FROM pg_catalog.pg_stat_all_indexes st JOIN pg_catalog.pg_statio_all_indexes stio USING (relid, indexrelid, schemaname, relname, indexrelname) JOIN pg_catalog.pg_index ix ON (ix.indexrelid = st.indexrelid) JOIN pg_catalog.pg_class ON (pg_class.oid = st.indexrelid) LEFT OUTER JOIN pg_catalog.pg_constraint con ON (con.conindid = ix.indexrelid AND con.contype in ($5,$6)) LEFT OUTER JOIN LATERAL (SELECT relation FROM pg_catalog.pg_locks WHERE (relation = st.indexrelid AND granted AND locktype = $7 AND mode=$8)) l ON (l.relation = st.indexrelid) |
| 5695e7218b | INSERT INTO last_stat_user_functions( server_id, sample_id, datid, funcid, schemaname, funcname, funcargs, calls, total_time, self_time, trg_fn ) SELECT sserver_id, s_id, qres.datid, funcid, schemaname, funcname, funcargs, dbl.calls AS calls, dbl.total_time AS total_time, dbl.self_time AS self_time, dbl.trg_fn FROM dblink($18, t_query) AS dbl ( funcid oid, schemaname name, funcname name, funcargs text, calls bigint, total_time double precision, self_time double precision, trg_fn boolean ) |
| 1b91850b4b | SELECT (case when ad_table.po_window_id is null then '' else ad_column_identifier('AD_Window',TO_CHAR(ad_table.po_window_id),$1) end)|| (case when ad_table.po_window_id is null then '' else ' - ' end)|| ad_column_identifier('AD_Window',TO_CHAR(ad_table.ad_window_id),$2) FROM AD_TABLE WHERE AD_TABLE_ID = $3 |
| 74c239e6b0 | SELECT $4 FROM ONLY "profile"."tables_list" x WHERE "server_id" OPERATOR(pg_catalog.=) $1 AND "datid" OPERATOR(pg_catalog.=) $2 AND "relid" OPERATOR(pg_catalog.=) $3 FOR KEY SHARE OF x |
| cb65787e2e | COPY public.ma_wrphase (ma_wrphase_id, ad_client_id, ad_org_id, isactive, created, createdby, updated, updatedby, ma_workrequirement_id, ma_process_id, quantity, donequantity, costcenteruse, preptime, closed, seqno, noqty, groupuse, ma_sequence_id, name, description, outsourced, startdate, enddate, estimatedtime, runtime, usedmaterial, em_man_modification_id, em_man_control_quality) TO stdout |
| efb10843fa | UPDATE last_stat_tables ulst SET in_sample = $5 FROM ( SELECT cur.server_id AS server_id, cur.sample_id AS sample_id, cur.datid AS datid, cur.relid AS relid, tcur.relid AS toastrelid, cur.relsize IS NOT NULL AS relsize_avail, cur.relpages_bytes IS NOT NULL AS relpages_avail, row_number() OVER (ORDER BY cur.relsize - COALESCE(lst.relsize, $6) + COALESCE(tcur.relsize,$7) - COALESCE(tlst.relsize, $8) DESC NULLS LAST) growth_rank, row_number() OVER (ORDER BY cur.relpages_bytes - COALESCE(lst.relpages_bytes, $9) + COALESCE(tcur.relpages_bytes,$10) - COALESCE(tlst.relpages_bytes, $11) DESC NULLS LAST) pagegrowth_rank FROM -- main relations diff last_stat_tables cur LEFT OUTER JOIN last_stat_tables lst ON (lst.server_id, lst.sample_id, lst.datid, lst.relid) = (cur.server_id, cur.sample_id - $12, cur.datid, cur.relid) -- toast relations diff LEFT OUTER JOIN last_stat_tables tcur ON (tcur.server_id, tcur.sample_id, tcur.datid, tcur.relid) = (cur.server_id, cur.sample_id, cur.datid, cur.reltoastrelid) LEFT OUTER JOIN last_stat_tables tlst ON (tlst.server_id, tlst.sample_id, tlst.datid, tlst.relid) = (lst.server_id, lst.sample_id, lst.datid, lst.reltoastrelid) WHERE cur.sample_id=s_id AND cur.server_id=sserver_id AND cur.relkind IN ($13,$14)) diff WHERE ((relsize_avail AND growth_rank <= topn) OR ((NOT relsize_avail) AND relpages_avail AND pagegrowth_rank <= topn)) AND (ulst.server_id, ulst.sample_id, ulst.datid, in_sample) = (diff.server_id, diff.sample_id, diff.datid, $15) AND (ulst.relid = diff.relid OR ulst.relid = diff.toastrelid) |
| 7af0999483 | vacuum analyze AD_Process_Run |
| 790e624f67 | select adlanguage0_.AD_Language_ID as AD_Langu1_52_0_, adlanguage0_.AD_Language as AD_Langu2_52_0_, adlanguage0_.AD_Client_ID as AD_Clien3_52_0_, adlanguage0_.AD_Org_ID as AD_Org_I4_52_0_, adlanguage0_.IsActive as IsActive5_52_0_, adlanguage0_.Created as Created6_52_0_, adlanguage0_.CreatedBy as CreatedB7_52_0_, adlanguage0_.Updated as Updated8_52_0_, adlanguage0_.UpdatedBy as UpdatedB9_52_0_, adlanguage0_.Name as Name10_52_0_, adlanguage0_.LanguageISO as Languag11_52_0_, adlanguage0_.CountryCode as Country12_52_0_, adlanguage0_.IsBaseLanguage as IsBaseL13_52_0_, adlanguage0_.IsSystemLanguage as IsSyste14_52_0_, adlanguage0_.Processing as Process15_52_0_, adlanguage0_.Pixelsize as Pixelsi16_52_0_, adlanguage0_.Translatedby as Transla17_52_0_, adlanguage0_.Isrtl as Isrtl18_52_0_ from AD_Language adlanguage0_ where adlanguage0_.AD_Language=$1 |
| dd76d8db65 | SELECT $2 FROM ONLY "public"."ad_process_run" x WHERE "ad_process_run_id"::pg_catalog.text OPERATOR(pg_catalog.=) $1::pg_catalog.text FOR KEY SHARE OF x |
| 47521f7ce5 | SELECT $4 FROM ONLY "profile"."last_stat_tablespaces" x WHERE "server_id" OPERATOR(pg_catalog.=) $1 AND "sample_id" OPERATOR(pg_catalog.=) $2 AND "tablespaceid" OPERATOR(pg_catalog.=) $3 FOR KEY SHARE OF x |
| 421633828b | COPY public.ma_weemployee (ma_weemployee_id, ad_client_id, ad_org_id, isactive, created, createdby, updated, updatedby, m_production_id, c_bpartner_id) TO stdout |
| dd164d7c5b | COPY public.man_wr_times (man_wr_times_id, ad_client_id, ad_org_id, isactive, created, createdby, updated, updatedby, ma_workrequirement_id, ad_user_id, time_start, time_end, time_pause, time_total_pause) TO stdout |
| 5572118e7c | delete from AD_Process_Run where Created<now()-$1 and Status=$2 |
| 780c1676b8 | select adsystem0_.AD_System_ID as AD_Syste1_115_0_, adsystem0_.AD_Client_ID as AD_Clien2_115_0_, adsystem0_.AD_Org_ID as AD_Org_I3_115_0_, adsystem0_.IsActive as IsActive4_115_0_, adsystem0_.Created as Created5_115_0_, adsystem0_.CreatedBy as CreatedB6_115_0_, adsystem0_.Updated as Updated7_115_0_, adsystem0_.UpdatedBy as UpdatedB8_115_0_, adsystem0_.Name as Name9_115_0_, adsystem0_.Info as Info10_115_0_, adsystem0_.Version as Version11_115_0_, adsystem0_.ReleaseNo as Release12_115_0_, adsystem0_.TAD_Recordrange as TAD_Rec13_115_0_, adsystem0_.TAD_Recordrange_Info as TAD_Rec14_115_0_, adsystem0_.TAD_Transactionalrange as TAD_Tra15_115_0_, adsystem0_.TAD_Theme as TAD_The16_115_0_, adsystem0_.Instance_Key as Instanc17_115_0_, adsystem0_.Activation_Key as Activat18_115_0_ from AD_System adsystem0_ where adsystem0_.AD_System_ID=$1 |
| 8b95a6d8be | SELECT * FROM take_sample_subset(1,0) |
| 8653e9fcc7 | COPY public.man_wr_voces (man_wr_voces_id, ad_client_id, ad_org_id, isactive, created, createdby, updated, updatedby, ma_workrequirement_id, m_product_id, man_product_modifications_id, qty_fact_voz) TO stdout |
| a5e40a232d | SELECT st.relid,st.schemaname,st.relname,st.seq_scan,st.seq_tup_read,st.idx_scan,st.idx_tup_fetch,st.n_tup_ins,st.n_tup_upd,st.n_tup_del,st.n_tup_hot_upd,st.n_live_tup,st.n_dead_tup,st.n_mod_since_analyze,$1 as n_ins_since_vacuum,st.last_vacuum,st.last_autovacuum,st.last_analyze,st.last_autoanalyze,st.vacuum_count,st.autovacuum_count,st.analyze_count,st.autoanalyze_count,stio.heap_blks_read,stio.heap_blks_hit,stio.idx_blks_read,stio.idx_blks_hit,stio.toast_blks_read,stio.toast_blks_hit,stio.tidx_blks_read,stio.tidx_blks_hit,CASE locked.objid WHEN st.relid THEN $2 ELSE pg_catalog.pg_table_size(st.relid) - coalesce(pg_catalog.pg_relation_size(class.reltoastrelid),$3) END relsize,$4 relsize_diff,class.reltablespace AS tablespaceid,class.reltoastrelid,class.relkind,class.relpages::bigint * current_setting($5)::bigint AS relpages_bytes,$6 AS relpages_bytes_diff FROM pg_catalog.pg_stat_all_tables st JOIN pg_catalog.pg_statio_all_tables stio USING (relid, schemaname, relname) JOIN pg_catalog.pg_class class ON (st.relid = class.oid) LEFT OUTER JOIN LATERAL (WITH RECURSIVE deps (objid) AS (SELECT relation FROM pg_catalog.pg_locks WHERE granted AND locktype = $7 AND mode=$8 UNION SELECT refobjid FROM pg_catalog.pg_depend d JOIN deps dd ON (d.objid = dd.objid)) SELECT objid FROM deps) AS locked ON (st.relid = locked.objid) |
| 4fcdb10468 | BEGIN |
| 52730573e2 | SELECT Name,GAAP,IsAccrual,CostingMethod,C_Currency_ID,HasAlias, IsTradeDiscountPosted, IsDiscountCorrectsTax, AD_Client_ID, '' as UseSuspenseBalancing, '' as SuspenseBalancing_Acct, '' as UseSuspenseError, '' as SuspenseError_Acct, '' as UseCurrencyBalancing, '' as CurrencyBalancing_Acct, '' as RetainedEarning_Acct, '' as IncomeSummary_Acct, '' as InterCompanyDueTo_Acct, '' as InterCompanyDueFrom_Acct, '' as C_AcctSchema_ID FROM C_AcctSchema WHERE C_AcctSchema_ID=$1 |
| 81fe7b492c | select adpreferen0_.AD_Preference_ID as AD_Prefe1_83_, adpreferen0_.AD_Client_ID as AD_Clien2_83_, adpreferen0_.AD_Org_ID as AD_Org_I3_83_, adpreferen0_.IsActive as IsActive4_83_, adpreferen0_.Created as Created5_83_, adpreferen0_.CreatedBy as CreatedB6_83_, adpreferen0_.Updated as Updated7_83_, adpreferen0_.UpdatedBy as UpdatedB8_83_, adpreferen0_.AD_Window_ID as AD_Windo9_83_, adpreferen0_.AD_User_ID as AD_User10_83_, adpreferen0_.Attribute as Attribu11_83_, adpreferen0_.Value as Value12_83_, adpreferen0_.Property as Propert13_83_, adpreferen0_.IsPropertyList as IsPrope14_83_, adpreferen0_.VisibleAt_Client_ID as Visible15_83_, adpreferen0_.VisibleAt_Org_ID as Visible16_83_, adpreferen0_.VisibleAt_Role_ID as Visible17_83_, adpreferen0_.Selected as Selecte18_83_, adpreferen0_.AD_Module_ID as AD_Modu19_83_, adpreferen0_.Inherited_From as Inherit20_83_ from AD_Preference adpreferen0_ where coalesce(adpreferen0_.VisibleAt_Client_ID, '0')='0' and (adpreferen0_.VisibleAt_Role_ID is null) and (coalesce(adpreferen0_.VisibleAt_Org_ID, '0') in ($1)) and (adpreferen0_.AD_User_ID is null) and (adpreferen0_.AD_Window_ID is null) and adpreferen0_.IsPropertyList=$2 and adpreferen0_.Property=$3 and (adpreferen0_.AD_Org_ID in ($4)) and (adpreferen0_.AD_Client_ID in ($5)) and adpreferen0_.IsActive='Y' order by adpreferen0_.AD_Preference_ID |
| def99b80b7 | INSERT INTO sample_stat_indexes ( server_id, sample_id, datid, indexrelid, tablespaceid, idx_scan, idx_tup_read, idx_tup_fetch, idx_blks_read, idx_blks_hit, relsize, relsize_diff, indisunique, relpages_bytes, relpages_bytes_diff ) SELECT cur.server_id AS server_id, cur.sample_id AS sample_id, cur.datid AS datid, cur.indexrelid AS indexrelid, cur.tablespaceid AS tablespaceid, cur.idx_scan - COALESCE(lst.idx_scan,$4) AS idx_scan, cur.idx_tup_read - COALESCE(lst.idx_tup_read,$5) AS idx_tup_read, cur.idx_tup_fetch - COALESCE(lst.idx_tup_fetch,$6) AS idx_tup_fetch, cur.idx_blks_read - COALESCE(lst.idx_blks_read,$7) AS idx_blks_read, cur.idx_blks_hit - COALESCE(lst.idx_blks_hit,$8) AS idx_blks_hit, cur.relsize, cur.relsize - COALESCE(lst.relsize,$9) AS relsize_diff, cur.indisunique, cur.relpages_bytes AS relpages_bytes, cur.relpages_bytes - COALESCE(lst.relpages_bytes,$10) AS relpages_bytes_diff FROM last_stat_indexes cur JOIN last_stat_database dbcur USING (server_id, sample_id, datid) LEFT JOIN last_stat_database dblst ON (dblst.server_id, dblst.sample_id, dblst.datid, dblst.stats_reset) = (dbcur.server_id, dbcur.sample_id - $11, dbcur.datid, dbcur.stats_reset) LEFT OUTER JOIN last_stat_indexes lst ON (lst.server_id, lst.sample_id, lst.datid, lst.indexrelid) = (dblst.server_id, dblst.sample_id, dblst.datid, cur.indexrelid) WHERE (cur.server_id, cur.sample_id, cur.in_sample) = (sserver_id, s_id, $12) |
| ab52f02a40 | DELETE FROM last_stat_indexes WHERE server_id=sserver_id AND sample_id != s_id |
| 3cf9d838f3 | ANALYZE last_stat_indexes |
| fbc203961c | COPY public.man_product_processes (man_product_processes_id, m_product_id, ad_client_id, ad_org_id, isactive, created, createdby, updated, updatedby, ma_process_id, description) TO stdout |
| 180c3d57ae | COPY public.m_productionplan (m_productionplan_id, ad_client_id, ad_org_id, isactive, created, createdby, updated, updatedby, m_production_id, line, m_product_id, productionqty, m_locator_id, description, conversionrate, ma_costcenteruse, ma_wrphase_id, neededquantity, processed, rejectedquantity, secondaryqty, secondaryunit, usedmaterial, calccost, ma_costcenter_version_id, outsourced, starttime, endtime, estimatedtime, runtime, closephase, validating, productionplandate) TO stdout |
| 0395cd7d8f | SHOW server_version |
| 236f42a0f2 | SELECT SUM(n_dead_tup) AS total_dead_tuples FROM pg_stat_user_tables WHERE n_dead_tup > $1 |
| 0c247acdf0 | VACUUM (FULL, VERBOSE, ANALYZE) |
| 2e0b729b87 | VACUUM (FULL, VERBOSE, ANALYZE) |
| 9fab4770a7 | VACUUM (FULL, VERBOSE, ANALYZE) |
| 5205357fc7 | INSERT INTO last_stat_indexes( server_id, sample_id, datid, relid, indexrelid, schemaname, relname, indexrelname, idx_scan, idx_tup_read, idx_tup_fetch, idx_blks_read, idx_blks_hit, relsize, relsize_diff, tablespaceid, indisunique, in_sample, relpages_bytes, relpages_bytes_diff ) SELECT sserver_id, s_id, qres.datid, relid, indexrelid, schemaname, relname, indexrelname, dbl.idx_scan AS idx_scan, dbl.idx_tup_read AS idx_tup_read, dbl.idx_tup_fetch AS idx_tup_fetch, dbl.idx_blks_read AS idx_blks_read, dbl.idx_blks_hit AS idx_blks_hit, dbl.relsize AS relsize, dbl.relsize_diff AS relsize_diff, CASE WHEN tablespaceid=$19 THEN qres.tablespaceid ELSE tablespaceid END tablespaceid, indisunique, $20, dbl.relpages_bytes, dbl.relpages_bytes_diff FROM dblink($21, t_query) AS dbl ( relid oid, indexrelid oid, schemaname name, relname name, indexrelname name, idx_scan bigint, idx_tup_read bigint, idx_tup_fetch bigint, idx_blks_read bigint, idx_blks_hit bigint, relsize bigint, relsize_diff bigint, tablespaceid oid, indisunique bool, relpages_bytes bigint, relpages_bytes_diff bigint ) |
| 5d2713997e | COPY public.ad_ref_data_loaded (ad_ref_data_loaded_id, ad_client_id, ad_org_id, isactive, created, createdby, updated, updatedby, ad_module_id, generic_id, specific_id, ad_table_id) TO stdout |
| fe26995756 | SELECT AD_CLIENT_ID,AD_ORG_ID, ISACTIVE, UPDATED,UPDATEDBY,ALIAS, COMBINATION, DESCRIPTION, ISFULLYQUALIFIED, C_ACCTSCHEMA_ID, ACCOUNT_ID, M_PRODUCT_ID, C_BPARTNER_ID,AD_ORGTRX_ID, C_LOCFROM_ID, C_LOCTO_ID, C_SALESREGION_ID, C_PROJECT_ID, C_CAMPAIGN_ID, C_ACTIVITY_ID, USER1_ID,USER2_ID, '' as UseSuspenseBalancing, '' as SuspenseBalancing_Acct, '' as UseSuspenseError, '' as SuspenseError_Acct, '' as UseCurrencyBalancing, '' as CurrencyBalancing_Acct, '' as RetainedEarning_Acct, '' as IncomeSummary_Acct, '' as InterCompanyDueTo_Acct, '' as InterCompanyDueFrom_Acct FROM C_ValidCombination WHERE C_ValidCombination_ID=$1 |
| 860971ea70 | SELECT collect_pg_stat_statements_stats(server_properties, sserver_id, s_id, topn) |
| c33f21cc29 | SELECT $4 FROM ONLY "profile"."sample_stat_tablespaces" x WHERE "server_id" OPERATOR(pg_catalog.=) $1 AND "sample_id" OPERATOR(pg_catalog.=) $2 AND "tablespaceid" OPERATOR(pg_catalog.=) $3 FOR KEY SHARE OF x |
| 8ce5c7c2fd | SELECT checkpoints_timed,checkpoints_req FROM pg_stat_bgwriter |
| 09dd3ceb9c | SELECT sum(blks_read) AS blks_read,sum(blks_hit) AS blks_hit FROM pg_stat_database |
| f39953a026 | SELECT $2 FROM ONLY "public"."ad_process_run" x WHERE $1::pg_catalog.text OPERATOR(pg_catalog.=) "ad_process_run_group_id"::pg_catalog.text FOR KEY SHARE OF x |
| 65c1fa73a0 | COPY public.ad_process_run (ad_process_run_id, ad_client_id, ad_org_id, isactive, created, createdby, updated, updatedby, status, start_time, runtime, result, ad_process_request_id, report, end_time, log, ad_process_run_group_id, scheduler_instance, should_be_killed) TO stdout |
| fae50d9c18 | DELETE FROM samples s USING servers n WHERE n.server_id = s.server_id AND s.server_id = sserver_id AND s.sample_time < now() - (COALESCE(n.max_sample_age,ret) || $7)::interval AND (s.server_id,s.sample_id) NOT IN (SELECT server_id,sample_id FROM bl_samples WHERE server_id = sserver_id) |
| b5ae6f04c1 | SELECT coalesce(t.MSGTEXT, m.MSGTEXT) AS MSGTEXT FROM AD_MESSAGE m left join AD_MESSAGE_TRL t on m.AD_MESSAGE_ID = t.AD_MESSAGE_ID and t.AD_LANGUAGE = $1 WHERE m.VALUE=$2 |
| e4e07d6aaa | COPY public.ad_field_trl (ad_field_trl_id, ad_field_id, ad_language, ad_client_id, ad_org_id, isactive, created, createdby, updated, updatedby, name, description, help, istranslated) TO stdout |
| 95572914af | COPY public.ad_image (ad_image_id, ad_client_id, ad_org_id, isactive, created, createdby, updated, updatedby, name, imageurl, binarydata, width, height, mimetype) TO stdout |
| 23c054b2cf | SELECT C_AcctSchema_Element_ID,SeqNo,Name,ElementType,C_Element_ID,IsMandatory,IsBalanced, Org_ID,C_ElementValue_ID,C_BPartner_ID,M_Product_ID,C_Activity_ID,C_Location_ID, C_Campaign_ID,C_Project_ID,C_SalesRegion_ID FROM C_AcctSchema_Element WHERE C_AcctSchema_ID=$1 AND IsActive='Y' ORDER BY SeqNo |
| bfac77ea29 | ANALYZE last_stat_tables |
| 94981812f5 | SELECT $1,sum(pg_stat_get_db_xact_commit(oid)) FROM pg_database UNION ALL SELECT $2,sum(pg_stat_get_db_xact_rollback(oid)) FROM pg_database |
| 6fb557c71c | COPY public.obtl_tax_parameter (obtl_tax_parameter_id, ad_client_id, ad_org_id, created, createdby, updated, updatedby, isactive, c_tax_id, obtl_tax_report_parameter_id) TO stdout |
| bbb5ea7d4a | INSERT INTO AD_Process_Run (AD_Org_ID, AD_Client_ID, Isactive, Created, Createdby, Updated, UpdatedBy, AD_Process_Run_ID, Status, Start_Time, Runtime, Log, AD_Process_Request_ID, Scheduler_Instance) VALUES ($1, $2, 'Y', NOW(), $3, NOW(), $4, $5, $6, NOW(), $7, $8, $9, $10) |
| 6e1c6d0949 | SELECT buffers_checkpoint,buffers_clean,buffers_backend,buffers_alloc FROM pg_stat_bgwriter |
| 09a13047d0 | SELECT $4 FROM ONLY "profile"."last_stat_database" x WHERE "server_id" OPERATOR(pg_catalog.=) $1 AND "sample_id" OPERATOR(pg_catalog.=) $2 AND "datid" OPERATOR(pg_catalog.=) $3 FOR KEY SHARE OF x |
| ab75f0d002 | select text.filename as filename, text.text as text, text.isused as isUsed, text.ad_module_id as moduleId, texttrl.ad_language as trlLang, texttrl.text as trlText, texttrl.istranslated as isTranslated, 1 as orderSeq from ad_textinterfaces text, ad_textinterfaces_trl texttrl where text.ad_textinterfaces_id = texttrl.ad_textinterfaces_id and text.filename = '/org/openbravo/erpCommon/security/Login.html' and text.isused = 'Y' and texttrl.ad_language = 'es_ES' UNION select text.filename as filename, text.text as text, text.isused as isUsed, text.ad_module_id as moduleId, texttrl.ad_language as trlLang, texttrl.text as trlText, texttrl.istranslated as isTranslated, 3 as orderSeq from ad_textinterfaces text, ad_textinterfaces_trl texttrl where text.ad_textinterfaces_id = texttrl.ad_textinterfaces_id and text.filename is null and text.isused = 'Y' and texttrl.ad_language = 'es_ES' UNION select text.filename as filename, text.text as text, text.isused as isUsed, text.ad_module_id as moduleId, 'es_ES' as trlLang, text.text as trlText, 'N' as isTranslated, 2 as orderSeq from ad_textinterfaces text where text.ad_textinterfaces_id NOT IN (SELECT t.ad_textinterfaces_id FROM ad_textInterfaces t, ad_textinterfaces_trl trl WHERE t.ad_textinterfaces_id = trl.ad_textinterfaces_id and trl.ad_language = 'es_ES') and (text.filename is null OR text.filename = '/org/openbravo/erpCommon/security/Login.html' ) and text.isused = 'Y' order by orderSeq |
| 8c80a5ed96 | UPDATE last_stat_tables ulst SET in_sample = $4 FROM last_stat_indexes ix JOIN last_stat_tables tbl USING (server_id, sample_id, datid, relid) LEFT JOIN last_stat_tables mtbl ON (mtbl.server_id, mtbl.sample_id, mtbl.datid, mtbl.reltoastrelid) = (tbl.server_id, tbl.sample_id, tbl.datid, tbl.relid) WHERE (ix.server_id, ix.sample_id, ix.in_sample) = (sserver_id, s_id, $5) AND (ulst.server_id, ulst.sample_id, ulst.datid, ulst.in_sample) = (tbl.server_id, tbl.sample_id, tbl.datid, $6) AND ulst.relid IN (tbl.relid, tbl.reltoastrelid, mtbl.relid) |
| 7bbf8dc24b | INSERT INTO last_stat_tables( server_id, sample_id, datid, relid, schemaname, relname, seq_scan, seq_tup_read, idx_scan, idx_tup_fetch, n_tup_ins, n_tup_upd, n_tup_del, n_tup_hot_upd, n_live_tup, n_dead_tup, n_mod_since_analyze, n_ins_since_vacuum, last_vacuum, last_autovacuum, last_analyze, last_autoanalyze, vacuum_count, autovacuum_count, analyze_count, autoanalyze_count, heap_blks_read, heap_blks_hit, idx_blks_read, idx_blks_hit, toast_blks_read, toast_blks_hit, tidx_blks_read, tidx_blks_hit, relsize, relsize_diff, tablespaceid, reltoastrelid, relkind, in_sample, relpages_bytes, relpages_bytes_diff ) SELECT sserver_id, s_id, qres.datid, dbl.relid, dbl.schemaname, dbl.relname, dbl.seq_scan AS seq_scan, dbl.seq_tup_read AS seq_tup_read, dbl.idx_scan AS idx_scan, dbl.idx_tup_fetch AS idx_tup_fetch, dbl.n_tup_ins AS n_tup_ins, dbl.n_tup_upd AS n_tup_upd, dbl.n_tup_del AS n_tup_del, dbl.n_tup_hot_upd AS n_tup_hot_upd, dbl.n_live_tup AS n_live_tup, dbl.n_dead_tup AS n_dead_tup, dbl.n_mod_since_analyze AS n_mod_since_analyze, dbl.n_ins_since_vacuum AS n_ins_since_vacuum, dbl.last_vacuum, dbl.last_autovacuum, dbl.last_analyze, dbl.last_autoanalyze, dbl.vacuum_count AS vacuum_count, dbl.autovacuum_count AS autovacuum_count, dbl.analyze_count AS analyze_count, dbl.autoanalyze_count AS autoanalyze_count, dbl.heap_blks_read AS heap_blks_read, dbl.heap_blks_hit AS heap_blks_hit, dbl.idx_blks_read AS idx_blks_read, dbl.idx_blks_hit AS idx_blks_hit, dbl.toast_blks_read AS toast_blks_read, dbl.toast_blks_hit AS toast_blks_hit, dbl.tidx_blks_read AS tidx_blks_read, dbl.tidx_blks_hit AS tidx_blks_hit, dbl.relsize AS relsize, dbl.relsize_diff AS relsize_diff, CASE WHEN dbl.tablespaceid=$19 THEN qres.tablespaceid ELSE dbl.tablespaceid END AS tablespaceid, dbl.reltoastrelid, dbl.relkind, $20, dbl.relpages_bytes, dbl.relpages_bytes_diff FROM dblink($21, t_query) AS dbl ( relid oid, schemaname name, relname name, seq_scan bigint, seq_tup_read bigint, idx_scan bigint, idx_tup_fetch bigint, n_tup_ins bigint, n_tup_upd bigint, n_tup_del bigint, n_tup_hot_upd bigint, n_live_tup bigint, n_dead_tup bigint, n_mod_since_analyze bigint, n_ins_since_vacuum bigint, last_vacuum timestamp with time zone, last_autovacuum timestamp with time zone, last_analyze timestamp with time zone, last_autoanalyze timestamp with time zone, vacuum_count bigint, autovacuum_count bigint, analyze_count bigint, autoanalyze_count bigint, heap_blks_read bigint, heap_blks_hit bigint, idx_blks_read bigint, idx_blks_hit bigint, toast_blks_read bigint, toast_blks_hit bigint, tidx_blks_read bigint, tidx_blks_hit bigint, relsize bigint, relsize_diff bigint, tablespaceid oid, reltoastrelid oid, relkind char, relpages_bytes bigint, relpages_bytes_diff bigint ) |
| 7dfdbbb662 | SELECT datname,pg_database_size(oid) FROM pg_database ORDER BY 1 |
| 819231741d | COPY public.c_orderline (c_orderline_id, ad_client_id, ad_org_id, isactive, created, createdby, updated, updatedby, c_order_id, line, c_bpartner_id, c_bpartner_location_id, dateordered, datepromised, datedelivered, dateinvoiced, description, m_product_id, m_warehouse_id, directship, c_uom_id, qtyordered, qtyreserved, qtydelivered, qtyinvoiced, m_shipper_id, c_currency_id, pricelist, priceactual, pricelimit, linenetamt, discount, freightamt, c_charge_id, chargeamt, c_tax_id, s_resourceassignment_id, ref_orderline_id, m_attributesetinstance_id, isdescription, quantityorder, m_product_uom_id, m_offer_id, pricestd, cancelpricead, c_order_discount_id, iseditlinenetamt, taxbaseamt, m_inoutline_id, c_return_reason_id, gross_unit_price, line_gross_amount, grosspricelist, c_costcenter_id, grosspricestd, a_asset_id, m_warehouse_rule_id, user1_id, quotationline_id, user2_id, create_reservation, c_project_id, so_res_status, manage_reservation, manage_prereservation, explode, bom_parent_id, print_description, overdue_return_days, relate_orderline, replacedorderline_id, c_aum, aumqty, returnline, em_man_inoutline_id, em_man_product_modifi_id, em_man_ma_workrequirement_id) TO stdout |
| e30a458893 | SELECT UseSuspenseBalancing,SuspenseBalancing_Acct, UseSuspenseError,SuspenseError_Acct, UseCurrencyBalancing, CurrencyBalancing_Acct, RetainedEarning_Acct,IncomeSummary_Acct, InterCompanyDueTo_Acct,InterCompanyDueFrom_Acct FROM C_AcctSchema_GL WHERE C_AcctSchema_ID=$1 |
| 85648edf27 | SELECT 1 FROM ONLY "public"."ad_org" x WHERE "ad_org_id"::pg_catalog.text OPERATOR(pg_catalog.=) $1::pg_catalog.text FOR KEY SHARE OF x |
| DB | Tablespace | Schema | Table | ~SeqBytes | SeqScan | IxScan | IxFet | Ins | Upd | Del | Upd(HOT) |
|---|---|---|---|---|---|---|---|---|---|---|---|
| etendo | pg_default | pg_catalog | pg_class | 3945 MB | 5941 | 590481 | 581305 | 1801 | 6578 | 1801 | 1326 |
| etendo | pg_default | pg_catalog | pg_proc | 2597 MB | 1433 | 74629 | 105459 | ||||
| pg_proc(TOAST) | 1799 | 4726 | |||||||||
| etendo | pg_default | profile | last_stat_database | 2231 MB | 98170 | 92 | 92 | ||||
| etendo | pg_default | public | ad_textinterfaces_trl | 987 MB | 2526 | 12630 | 6208908 | ||||
| ad_textinterfaces_trl(TOAST) | |||||||||||
| etendo | pg_default | profile | last_stat_tablespaces | 532 MB | 34041 | 44 | 44 | ||||
| last_stat_tablespaces(TOAST) | |||||||||||
| etendo | pg_default | public | ad_table | 459 MB | 840 | 1358 | 1358 | ||||
| ad_table(TOAST) | |||||||||||
| postgres | pg_default | pg_catalog | pg_class | 423 MB | 4164 | 36351 | 36103 | 107 | 388 | 107 | 128 |
| etendo | pg_default | pg_catalog | pg_attribute | 282 MB | 70 | 246822 | 1118031 | 23177 | 23177 | ||
| etendo | pg_default | profile | last_stat_indexes | 278 MB | 186 | 33489 | 327429 | 54326 | 1473 | 54326 | |
| etendo | pg_default | profile | last_stat_tables | 213 MB | 186 | 8593 | 2786811 | 31671 | 3820 | 31671 | 52 |
| etendo | pg_default | profile | sample_stat_tables | 188 MB | 25 | 132 | 3989 | 3820 | 3723 | ||
| etendo | pg_default | profile | sample_statements | 136 MB | 49 | 91 | 1328 | 1407 | 1328 | ||
| sample_statements(TOAST) | |||||||||||
| etendo | pg_default | public | ad_image | 111 MB | 3 | ||||||
| ad_image(TOAST) | 1800 | 2487788 | |||||||||
| etendo | pg_default | pg_catalog | pg_index | 74 MB | 163 | 176105 | 201940 | 512 | 512 | ||
| etendo | pg_default | profile | last_stat_user_functions | 67 MB | 386 | 5658 | 462 | 5658 | 25 | ||
| last_stat_user_functions(TOAST) | |||||||||||
| etendo | pg_default | pg_catalog | pg_constraint | 57 MB | 25 | 32419 | 258505 | ||||
| pg_constraint(TOAST) | |||||||||||
| etendo | pg_default | public | man_product_containers | 43 MB | 1 | ||||||
| etendo | pg_default | public | ad_column | 39 MB | 8 | 513 | 3556 | ||||
| ad_column(TOAST) | |||||||||||
| etendo | pg_default | profile | sample_stat_indexes | 38 MB | 25 | 132 | 1529 | 1473 | 1408 | ||
| etendo | pg_default | public | ad_process_run | 36 MB | 9 | 14268 | 8158 | 281 | 281 | 2073 | |
| ad_process_run(TOAST) | 10 | 50 | 5 | ||||||||
| DB | Tablespace | Schema | Table | Heap | Ix | TOAST | TOAST-Ix | ||||
|---|---|---|---|---|---|---|---|---|---|---|---|
| Blks | %Total | Blks | %Total | Blks | %Total | Blks | %Total | ||||
| etendo | pg_default | profile | last_stat_tables | 3189079 | 15.83 | 104713 | 0.52 | ||||
| etendo | pg_default | pg_catalog | pg_class | 1082640 | 5.37 | 1235556 | 6.13 | ||||
| etendo | pg_default | public | ad_textinterfaces_trl | 2197620 | 10.91 | 63150 | 0.31 | ||||
| etendo | pg_default | pg_catalog | pg_attribute | 409993 | 2.04 | 594777 | 2.95 | ||||
| etendo | pg_default | profile | last_stat_indexes | 574774 | 2.85 | 205590 | 1.02 | ||||
| etendo | pg_default | public | ad_image | 124 | 0.00 | 623328 | 3.09 | 14790 | 0.07 | ||
| etendo | pg_default | pg_catalog | pg_proc | 414764 | 2.06 | 160136 | 0.79 | 2183 | 0.01 | 7310 | 0.04 |
| etendo | pg_default | pg_catalog | pg_index | 191153 | 0.95 | 366475 | 1.82 | ||||
| etendo | pg_default | pg_catalog | pg_type | 152114 | 0.76 | 326368 | 1.62 | ||||
| etendo | pg_default | pg_catalog | pg_operator | 312117 | 1.55 | 114839 | 0.57 | ||||
| etendo | pg_default | pg_catalog | pg_cast | 44783 | 0.22 | 315495 | 1.57 | ||||
| etendo | pg_default | pg_catalog | pg_namespace | 111526 | 0.55 | 124810 | 0.62 | ||||
| etendo | pg_default | public | ad_textinterfaces | 216106 | 1.07 | 6292 | 0.03 | ||||
| etendo | pg_default | pg_catalog | pg_statistic | 62354 | 0.31 | 117691 | 0.58 | 12014 | 0.06 | 18912 | 0.09 |
| etendo | pg_default | profile | last_stat_database | 196273 | 0.97 | 116 | 0.00 | ||||
| etendo | pg_default | pg_catalog | pg_constraint | 119030 | 0.59 | 67278 | 0.33 | ||||
| etendo | pg_default | pg_catalog | pg_depend | 50399 | 0.25 | 103079 | 0.51 | ||||
| postgres | pg_default | pg_catalog | pg_attribute | 43222 | 0.21 | 88443 | 0.44 | ||||
| postgres | pg_default | pg_catalog | pg_class | 74788 | 0.37 | 46998 | 0.23 | ||||
| etendo | pg_default | public | ad_message | 33997 | 0.17 | 69924 | 0.35 | ||||
| DB | Tablespace | Schema | Table | Heap | Ix | TOAST | TOAST-Ix | Hit(%) | ||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|
| Blks | %Total | Blks | %Total | Blks | %Total | Blks | %Total | |||||
| etendo | pg_default | public | ad_image | 80 | 0.01 | 518314 | 77.16 | 8011 | 1.19 | 17.52 | ||
| etendo | pg_default | public | ad_process_run | 2115 | 0.31 | 150 | 0.02 | 24 | 0.00 | 30 | 0.00 | 96.76 |
| etendo | pg_default | pg_catalog | pg_attribute | 1799 | 0.27 | 514 | 0.08 | 99.77 | ||||
| etendo | pg_default | profile | sample_stat_tables | 2054 | 0.31 | 29 | 0.00 | 96.21 | ||||
| etendo | pg_default | public | ad_column | 1869 | 0.28 | 71 | 0.01 | 77.66 | ||||
| etendo | pg_default | pg_catalog | pg_statistic | 993 | 0.15 | 88 | 0.01 | 520 | 0.08 | 20 | 0.00 | 99.23 |
| etendo | pg_default | public | ad_process_request | 1354 | 0.20 | 17 | 0.00 | 93.99 | ||||
| etendo | pg_default | pg_catalog | pg_trigger | 815 | 0.12 | 271 | 0.04 | 98.94 | ||||
| etendo | pg_default | pg_catalog | pg_depend | 806 | 0.12 | 153 | 0.02 | 99.38 | ||||
| etendo | pg_default | profile | last_stat_indexes | 851 | 0.13 | 82 | 0.01 | 99.88 | ||||
| etendo | pg_default | pg_catalog | pg_constraint | 816 | 0.12 | 77 | 0.01 | 99.52 | ||||
| etendo | pg_default | pg_catalog | pg_proc | 681 | 0.10 | 68 | 0.01 | 120 | 0.02 | 10 | 0.00 | 99.85 |
| etendo | pg_default | profile | sample_statements | 746 | 0.11 | 84 | 0.01 | 97.64 | ||||
| etendo | pg_default | profile | last_stat_tables | 691 | 0.10 | 45 | 0.01 | 99.98 | ||||
| etendo | pg_default | pg_catalog | pg_attrdef | 602 | 0.09 | 37 | 0.01 | 97.30 | ||||
| etendo | pg_default | pg_catalog | pg_class | 271 | 0.04 | 279 | 0.04 | 99.98 | ||||
| etendo | pg_default | profile | sample_stat_indexes | 409 | 0.06 | 11 | 0.00 | 97.42 | ||||
| etendo | pg_default | public | ad_session_usage_audit | 291 | 0.04 | 17 | 0.00 | 71.13 | ||||
| etendo | pg_default | pg_catalog | pg_index | 169 | 0.03 | 54 | 0.01 | 99.96 | ||||
| etendo | pg_default | pg_catalog | pg_type | 133 | 0.02 | 75 | 0.01 | 99.96 | ||||
| DB | Tablespace | Schema | Table | Ins | Upd | Del | Upd(HOT) | SeqScan | SeqFet | IxScan | IxFet |
|---|---|---|---|---|---|---|---|---|---|---|---|
| etendo | pg_default | profile | last_stat_indexes | 54326 | 1473 | 54326 | 186 | 873940 | 33489 | 327429 | |
| etendo | pg_default | profile | last_stat_tables | 31671 | 3820 | 31671 | 52 | 186 | 509490 | 8593 | 2786811 |
| etendo | pg_default | pg_catalog | pg_attribute | 23177 | 23177 | 70 | 89842 | 246822 | 1118031 | ||
| etendo | pg_default | pg_catalog | pg_statistic | 11902 | 9877 | 2 | 12827 | 54758 | 41858 | ||
| pg_statistic(TOAST) | 1270 | 1271 | 7110 | 10175 | |||||||
| etendo | pg_default | profile | last_stat_user_functions | 5658 | 462 | 5658 | 25 | 386 | 167034 | ||
| last_stat_user_functions(TOAST) | |||||||||||
| etendo | pg_default | pg_catalog | pg_class | 1801 | 6578 | 1801 | 1326 | 5941 | 17322507 | 590481 | 581305 |
| etendo | pg_default | pg_catalog | pg_depend | 4358 | 4358 | 8 | 206771 | 42327 | 48054 | ||
| etendo | pg_default | profile | sample_stat_tables | 3820 | 3723 | 25 | 697584 | 132 | 3989 | ||
| etendo | pg_default | pg_catalog | pg_type | 2066 | 2066 | 12 | 29176 | 155137 | 147010 | ||
| etendo | pg_default | profile | sample_stat_indexes | 1473 | 1408 | 25 | 272899 | 132 | 1529 | ||
| etendo | pg_default | profile | sample_statements | 1407 | 1328 | 49 | 512016 | 91 | 1328 | ||
| sample_statements(TOAST) | |||||||||||
| etendo | pg_default | public | ad_process_run | 281 | 281 | 2073 | 9 | 44220 | 14268 | 8158 | |
| ad_process_run(TOAST) | 5 | 10 | 50 | ||||||||
| postgres | pg_default | pg_catalog | pg_attribute | 1215 | 1215 | 37 | 8088 | 39399 | 85324 | ||
| postgres | pg_global | pg_catalog | pg_shdepend | 671 | 671 | 9 | 15601 | 5310 | 1586 | ||
| etendo | pg_global | pg_catalog | pg_shdepend | 671 | 671 | 9 | 15601 | 5310 | 1586 | ||
| etendo | pg_default | pg_catalog | pg_index | 512 | 512 | 163 | 265191 | 176105 | 201940 | ||
| etendo | pg_default | profile | sample_stat_user_functions | 439 | 440 | 22 | 86437 | 88 | 440 | ||
| etendo | pg_default | public | ad_session_usage_audit | 734 | 1 | 6854 | 10 | 734 | |||
| ad_session_usage_audit(TOAST) | |||||||||||
| postgres | pg_default | pg_catalog | pg_class | 107 | 388 | 107 | 128 | 4164 | 1075852 | 36351 | 36103 |
| postgres | pg_default | pg_catalog | pg_depend | 259 | 259 | 8 | 22056 | 2420 | 2203 |
| DB | Tablespace | Schema | Table | Upd | Upd(HOT) | Del | Vacuum | AutoVacuum | Analyze | AutoAnalyze |
|---|---|---|---|---|---|---|---|---|---|---|
| etendo | pg_default | profile | last_stat_indexes | 1473 | 54326 | 28 | 47 | 23 | ||
| etendo | pg_default | profile | last_stat_tables | 3820 | 52 | 31671 | 28 | 47 | 23 | |
| etendo | pg_default | pg_catalog | pg_attribute | 23177 | 1 | 1 | 1 | |||
| etendo | pg_default | pg_catalog | pg_statistic | 11902 | 9877 | 2 | ||||
| pg_statistic(TOAST) | 1271 | 3 | ||||||||
| etendo | pg_default | pg_catalog | pg_class | 6578 | 1326 | 1801 | 1 | 1 | 1 | |
| etendo | pg_default | profile | last_stat_user_functions | 462 | 25 | 5658 | 28 | 47 | 23 | |
| last_stat_user_functions(TOAST) | ||||||||||
| etendo | pg_default | pg_catalog | pg_depend | 4358 | 1 | 1 | ||||
| etendo | pg_default | profile | sample_stat_tables | 3723 | 1 | 2 | ||||
| etendo | pg_default | public | ad_process_run | 281 | 2073 | 1 | 6 | 2 | 1 | |
| ad_process_run(TOAST) | 5 | 1 | ||||||||
| etendo | pg_default | pg_catalog | pg_type | 2066 | 1 | 1 | 1 | |||
| etendo | pg_default | profile | sample_stat_indexes | 1408 | 1 | 2 | ||||
| etendo | pg_default | profile | sample_statements | 1328 | 1 | 2 | ||||
| sample_statements(TOAST) | ||||||||||
| postgres | pg_default | pg_catalog | pg_attribute | 1215 | 1 | 1 | 1 | |||
| etendo | pg_default | public | ad_session_usage_audit | 734 | ||||||
| ad_session_usage_audit(TOAST) | ||||||||||
| postgres | pg_global | pg_catalog | pg_shdepend | 671 | 3 | |||||
| etendo | pg_global | pg_catalog | pg_shdepend | 671 | 3 | |||||
| etendo | pg_default | pg_catalog | pg_index | 512 | 1 | 1 | 1 | |||
| postgres | pg_default | pg_catalog | pg_class | 388 | 128 | 107 | 1 | 1 | 1 | |
| postgres | pg_default | pg_catalog | pg_statistic | 478 | 356 | 1 | ||||
| pg_statistic(TOAST) | 15 | |||||||||
| etendo | pg_default | profile | sample_stat_user_functions | 440 | 2 |
| DB | Tablespace | Schema | Table | Size | Growth | Ins | Upd | Del | Upd(HOT) |
|---|---|---|---|---|---|---|---|---|---|
| etendo | pg_default | pg_catalog | pg_statistic | 2632 kB | 32 kB | 11902 | 9877 | ||
| pg_statistic(TOAST) | 2312 kB | 104 kB | 1270 | 1271 | |||||
| DB | Tablespace | Schema | Table | Index | Scans | Blks | %Total |
|---|---|---|---|---|---|---|---|
| etendo | pg_default | pg_catalog | pg_class | pg_class_oid_index | 568757 | 1159352 | 5.76 |
| etendo | pg_default | pg_catalog | pg_attribute | pg_attribute_relid_attnum_index | 246819 | 548001 | 2.72 |
| etendo | pg_default | pg_catalog | pg_cast | pg_cast_source_target_index | 312293 | 315494 | 1.57 |
| etendo | pg_default | pg_catalog | pg_type | pg_type_oid_index | 148524 | 305989 | 1.52 |
| etendo | pg_default | pg_catalog | pg_index | pg_index_indexrelid_index | 146497 | 300456 | 1.49 |
| etendo | pg_default | profile | last_stat_indexes | pk_last_stat_indexes | 33489 | 205590 | 1.02 |
| etendo | pg_default | pg_catalog | pg_proc | pg_proc_oid_index | 62980 | 130720 | 0.65 |
| etendo | pg_default | pg_catalog | pg_statistic | pg_statistic_relid_att_inh_index | 54758 | 117691 | 0.58 |
| etendo | pg_default | pg_catalog | pg_namespace | pg_namespace_oid_index | 104506 | 109051 | 0.54 |
| etendo | pg_default | profile | last_stat_tables | pk_last_stat_tables | 8593 | 104713 | 0.52 |
| postgres | pg_default | pg_catalog | pg_attribute | pg_attribute_relid_attnum_index | 39399 | 85990 | 0.43 |
| etendo | pg_default | pg_catalog | pg_depend | pg_depend_reference_index | 33615 | 76759 | 0.38 |
| etendo | pg_default | public | ad_message | ad_message_value_un | 33864 | 69842 | 0.35 |
| etendo | pg_default | pg_catalog | pg_index | pg_index_indrelid_index | 29608 | 66019 | 0.33 |
| etendo | pg_default | public | ad_message_trl | ad_message_trl_message_lang_un | 32340 | 64680 | 0.32 |
| etendo | pg_default | public | ad_textinterfaces_trl | ad_textinterfaces_trl_un_key | 12630 | 63150 | 0.31 |
| etendo | pg_default | pg_catalog | pg_operator | pg_operator_oprname_l_r_n_index | 26930 | 59487 | 0.30 |
| etendo | pg_global | pg_catalog | pg_db_role_setting | pg_db_role_setting_databaseid_rol_index | 56820 | 56841 | 0.28 |
| postgres | pg_global | pg_catalog | pg_db_role_setting | pg_db_role_setting_databaseid_rol_index | 56816 | 56837 | 0.28 |
| etendo | pg_default | pg_catalog | pg_constraint | pg_constraint_conrelid_index | 24700 | 51643 | 0.26 |
| DB | Tablespace | Schema | Table | Index | Scans | Blk Reads | %Total | Hits(%) |
|---|---|---|---|---|---|---|---|---|
| etendo | pg_default | public | ad_image(TOAST) | pg_toast_117268_index | 1800 | 8011 | 1.19 | 45.84 |
| etendo | pg_default | pg_catalog | pg_attribute | pg_attribute_relid_attnum_index | 246819 | 291 | 0.04 | 99.95 |
| etendo | pg_default | pg_catalog | pg_trigger | pg_trigger_tgrelid_tgname_index | 12901 | 265 | 0.04 | 99.06 |
| etendo | pg_default | pg_catalog | pg_attribute | pg_attribute_relid_attnam_index | 1 | 222 | 0.03 | 99.53 |
| etendo | pg_default | pg_catalog | pg_class | pg_class_relname_nsp_index | 4287 | 146 | 0.02 | 99.37 |
| etendo | pg_default | pg_catalog | pg_statistic | pg_statistic_relid_att_inh_index | 54758 | 88 | 0.01 | 99.93 |
| etendo | pg_default | profile | last_stat_indexes | pk_last_stat_indexes | 33489 | 82 | 0.01 | 99.96 |
| etendo | pg_default | pg_catalog | pg_depend | pg_depend_reference_index | 33615 | 79 | 0.01 | 99.90 |
| etendo | pg_default | pg_catalog | pg_depend | pg_depend_depender_index | 8712 | 74 | 0.01 | 99.72 |
| etendo | pg_default | public | ad_process_run | ad_process_run_ad_prequest_id | 7608 | 71 | 0.01 | 99.63 |
| etendo | pg_default | pg_catalog | pg_class | pg_class_oid_index | 568757 | 70 | 0.01 | 99.99 |
| etendo | pg_default | public | ad_field | ad_field_column | 474 | 70 | 0.01 | 92.68 |
| etendo | pg_default | pg_catalog | pg_class | pg_class_tblspc_relfilenode_index | 63 | 0.01 | 99.56 | |
| etendo | pg_default | profile | sample_statements | ix_sample_stmts_qid | 3 | 60 | 0.01 | 97.55 |
| etendo | pg_default | pg_catalog | pg_constraint | pg_constraint_conrelid_index | 24700 | 55 | 0.01 | 99.89 |
| etendo | pg_default | pg_catalog | pg_type | pg_type_typname_nsp_index | 2450 | 48 | 0.01 | 99.49 |
| etendo | pg_default | profile | last_stat_tables | pk_last_stat_tables | 8593 | 45 | 0.01 | 99.96 |
| etendo | pg_default | pg_catalog | pg_proc | pg_proc_proname_args_nsp_index | 1312 | 39 | 0.01 | 98.74 |
| etendo | pg_default | public | ad_process_run | ad_process_run_key | 2342 | 39 | 0.01 | 99.52 |
| etendo | pg_default | pg_catalog | pg_attrdef | pg_attrdef_adrelid_adnum_index | 6638 | 36 | 0.01 | 99.73 |
| DB | Tablespace | Schema | Table | Index | Index | Table | |||
|---|---|---|---|---|---|---|---|---|---|
| Size | Growth | Ins | Upd | Del | |||||
| etendo | pg_default | pg_catalog | pg_attribute | pg_attribute_relid_attnam_index | 1064 kB | 24 kB | 23177 | 23177 | |
| etendo | pg_default | pg_catalog | pg_attribute | pg_attribute_relid_attnum_index | 696 kB | 16 kB | 23177 | 23177 | |
| etendo | pg_default | pg_catalog | pg_depend | pg_depend_reference_index | 1712 kB | 8192 bytes | 4358 | 4358 | |
This table contains non-scanned indexes (during report period), ordered by number of DML operations on underlying tables. Constraint indexes are excluded.
| DB | Tablespaces | Schema | Table | Index | Index | Table | |||
|---|---|---|---|---|---|---|---|---|---|
| Size | Growth | Ins | Upd | Del | |||||
| etendo | pg_default | pg_catalog | pg_class | pg_class_tblspc_relfilenode_index | 104 kB | 1801 | 5252 | 1801 | |
| etendo | pg_default | public | ad_process_run | ad_process_run_ould_be_killed | 8192 bytes | 281 | 281 | 2073 | |
| postgres | pg_default | pg_catalog | pg_class | pg_class_tblspc_relfilenode_index | 16 kB | 107 | 260 | 107 | |
| DB | Schema | Function | Executions | Time (s) | |||
|---|---|---|---|---|---|---|---|
| Total | Self | Mean | Mean self | ||||
| etendo | profile | take_sample | 23 | 23.12 | 0.03 | 1.005 | 0.001 |
| etendo | profile | take_sample_subset | 23 | 23.09 | 0.07 | 1.004 | 0.003 |
| etendo | profile | take_sample | 23 | 23.03 | 2.39 | 1.001 | 0.104 |
| etendo | profile | collect_obj_stats | 23 | 13.00 | 3.86 | 0.565 | 0.168 |
| etendo | profile | dblink | 621 | 10.41 | 10.41 | 0.017 | 0.017 |
| etendo | profile | sample_dbobj_delta | 23 | 5.50 | 5.50 | 0.239 | 0.239 |
| etendo | public | ad_column_identifier | 2760 | 1.05 | 1.04 | 0.000 | 0.000 |
| etendo | profile | collect_pg_stat_statements_stats | 23 | 0.93 | 0.52 | 0.041 | 0.023 |
| etendo | profile | dblink_connect | 69 | 0.31 | 0.31 | 0.005 | 0.005 |
| etendo | public | obequals | 292596 | 0.31 | 0.31 | 0.000 | 0.000 |
| etendo | public | pg_stat_statements | 69 | 0.07 | 0.07 | 0.001 | 0.001 |
| etendo | public | ad_isorgincluded | 249 | 0.02 | 0.02 | 0.000 | 0.000 |
| etendo | profile | dblink_disconnect | 69 | 0.02 | 0.02 | 0.000 | 0.000 |
| etendo | public | to_char | 5528 | 0.02 | 0.02 | 0.000 | 0.000 |
| etendo | public | ad_istriggerenabled | 307 | 0.01 | 0.01 | 0.000 | 0.000 |
| etendo | profile | get_connstr | 23 | 0.01 | 0.01 | 0.000 | 0.000 |
| etendo | public | to_char | 2760 | 0.01 | 0.01 | 0.000 | 0.000 |
| etendo | public | substract_days | 6718 | 0.01 | 0.01 | 0.000 | 0.000 |
| etendo | public | pg_stat_statements_reset | 23 | 0.00 | 0.00 | 0.000 | 0.000 |
| etendo | public | ad_sequence_doctype | 6 | 0.00 | 0.00 | 0.001 | 0.001 |
| DB | Schema | Function | Executions | Time (s) | |||
|---|---|---|---|---|---|---|---|
| Total | Self | Mean | Mean self | ||||
| etendo | public | obequals | 292596 | 0.31 | 0.31 | 0.000 | 0.000 |
| etendo | public | substract_days | 6718 | 0.01 | 0.01 | 0.000 | 0.000 |
| etendo | public | to_char | 5528 | 0.02 | 0.02 | 0.000 | 0.000 |
| etendo | public | ad_column_identifier | 2760 | 1.05 | 1.04 | 0.000 | 0.000 |
| etendo | public | to_char | 2760 | 0.01 | 0.01 | 0.000 | 0.000 |
| etendo | profile | dblink | 621 | 10.41 | 10.41 | 0.017 | 0.017 |
| etendo | public | ad_istriggerenabled | 307 | 0.01 | 0.01 | 0.000 | 0.000 |
| etendo | public | ad_isorgincluded | 249 | 0.02 | 0.02 | 0.000 | 0.000 |
| etendo | public | pg_stat_statements | 69 | 0.07 | 0.07 | 0.001 | 0.001 |
| etendo | profile | dblink_connect | 69 | 0.31 | 0.31 | 0.005 | 0.005 |
| etendo | profile | dblink_disconnect | 69 | 0.02 | 0.02 | 0.000 | 0.000 |
| etendo | profile | dblink_get_connections | 46 | 0.00 | 0.00 | 0.000 | 0.000 |
| etendo | public | pg_stat_statements_reset | 23 | 0.00 | 0.00 | 0.000 | 0.000 |
| etendo | profile | get_connstr | 23 | 0.01 | 0.01 | 0.000 | 0.000 |
| etendo | profile | collect_pg_stat_statements_stats | 23 | 0.93 | 0.52 | 0.041 | 0.023 |
| etendo | profile | take_sample | 23 | 23.03 | 2.39 | 1.001 | 0.104 |
| etendo | profile | take_sample_subset | 23 | 23.09 | 0.07 | 1.004 | 0.003 |
| etendo | profile | take_sample | 23 | 23.12 | 0.03 | 1.005 | 0.001 |
| etendo | profile | collect_obj_stats | 23 | 13.00 | 3.86 | 0.565 | 0.168 |
| etendo | profile | sample_dbobj_delta | 23 | 5.50 | 5.50 | 0.239 | 0.239 |
| DB | Schema | Function | Executions | Time (s) | |||
|---|---|---|---|---|---|---|---|
| Total | Self | Mean | Mean self | ||||
| etendo | public | ad_process_request_trg | 289 | 0.03 | 0.02 | 0.000 | 0.000 |
| etendo | public | c_order_trg2 | 6 | 0.00 | 0.00 | 0.000 | 0.000 |
| etendo | public | c_order_chk_restrinctions_trg | 12 | 0.00 | 0.00 | 0.000 | 0.000 |
| DB | Tablespace | Schema | Table | Vacuum count | Autovacuum count | Ins | Upd | Del | Upd(HOT) |
|---|---|---|---|---|---|---|---|---|---|
| etendo | pg_default | profile | last_stat_tables | 28 | 31671 | 3820 | 31671 | 52 | |
| etendo | pg_default | profile | last_stat_indexes | 28 | 54326 | 1473 | 54326 | ||
| etendo | pg_default | profile | last_stat_user_functions | 28 | 5658 | 462 | 5658 | 25 | |
| etendo | pg_default | public | ad_pinstance | 1 | 6 | 89 | |||
| etendo | pg_default | public | ad_process_run | 1 | 6 | 281 | 281 | 2073 | |
| etendo | pg_default | pg_catalog | pg_statistic | 2 | 11902 | 9877 | |||
| postgres | pg_default | pg_catalog | pg_type | 1 | 157 | 157 | |||
| postgres | pg_default | pg_catalog | pg_attribute | 1 | 1215 | 1215 | |||
| postgres | pg_default | pg_catalog | pg_class | 1 | 107 | 388 | 107 | 128 | |
| postgres | pg_default | pg_catalog | pg_statistic | 1 | 478 | 356 | |||
| etendo | pg_default | pg_catalog | pg_type | 1 | 2066 | 2066 | |||
| etendo | pg_default | pg_catalog | pg_attribute | 1 | 23177 | 23177 | |||
| etendo | pg_default | pg_catalog | pg_class | 1 | 1801 | 6578 | 1801 | 1326 | |
| etendo | pg_default | pg_catalog | pg_index | 1 | 512 | 512 | |||
| etendo | pg_default | public | ad_session | 1 | 10 | ||||
| etendo | pg_default | profile | last_stat_database | 1 | 92 | 92 |
| DB | Tablespace | Schema | Table | Analyze count | Autoanalyze count | Ins | Upd | Del | Upd(HOT) |
|---|---|---|---|---|---|---|---|---|---|
| etendo | pg_default | profile | last_stat_tables | 47 | 23 | 31671 | 3820 | 31671 | 52 |
| etendo | pg_default | profile | last_stat_indexes | 47 | 23 | 54326 | 1473 | 54326 | |
| etendo | pg_default | profile | last_stat_user_functions | 47 | 23 | 5658 | 462 | 5658 | 25 |
| etendo | pg_default | profile | last_stat_tablespaces | 22 | 44 | 44 | |||
| etendo | pg_default | profile | last_stat_database | 1 | 3 | 92 | 92 | ||
| postgres | pg_global | pg_catalog | pg_pltemplate | 3 | |||||
| postgres | pg_global | pg_catalog | pg_tablespace | 3 | |||||
| postgres | pg_global | pg_catalog | pg_shdepend | 3 | 671 | 671 | |||
| postgres | pg_global | pg_catalog | pg_authid | 3 | |||||
| postgres | pg_global | pg_catalog | pg_auth_members | 3 | |||||
| postgres | pg_global | pg_catalog | pg_database | 3 | |||||
| postgres | pg_global | pg_catalog | pg_shdescription | 3 | |||||
| postgres | pg_global | pg_catalog | pg_db_role_setting | 3 | |||||
| postgres | pg_global | pg_catalog | pg_shseclabel | 3 | |||||
| postgres | pg_global | pg_catalog | pg_replication_origin | 3 | |||||
| etendo | pg_global | pg_catalog | pg_tablespace | 3 | |||||
| etendo | pg_global | pg_catalog | pg_shdepend | 3 | 671 | 671 | |||
| etendo | pg_global | pg_catalog | pg_authid | 3 | |||||
| etendo | pg_global | pg_catalog | pg_auth_members | 3 | |||||
| etendo | pg_global | pg_catalog | pg_shdescription | 3 |
| DB | Tablespace | Schema | Table | Index | ~Vacuum bytes | Vacuum cnt | Autovacuum cnt | IX size | Relsize |
|---|---|---|---|---|---|---|---|---|---|
| etendo | pg_default | profile | last_stat_indexes | pk_last_stat_indexes | 11 MB | 28 | 414 kB | 1540 kB | |
| etendo | pg_default | profile | last_stat_tables | pk_last_stat_tables | 5848 kB | 28 | 207 kB | 1181 kB | |
| etendo | pg_default | public | ad_process_run | ad_process_run_key | 3360 kB | 1 | 6 | 480 kB | 5176 kB |
| etendo | pg_default | public | ad_process_run | ad_process_run_ad_prequest_id | 2912 kB | 1 | 6 | 416 kB | 5176 kB |
| etendo | pg_default | public | ad_process_run | ad_process_run_status | 1176 kB | 1 | 6 | 168 kB | 5176 kB |
| etendo | pg_default | pg_catalog | pg_attribute | pg_attribute_relid_attnam_index | 1064 kB | 1 | 1064 kB | 4112 kB | |
| etendo | pg_default | pg_catalog | pg_attribute | pg_attribute_relid_attnum_index | 696 kB | 1 | 696 kB | 4112 kB | |
| etendo | pg_default | pg_catalog | pg_statistic | pg_statistic_relid_att_inh_index | 472 kB | 2 | 236 kB | 2856 kB | |
| etendo | pg_default | public | ad_pinstance | ad_pinstance_key | 224 kB | 1 | 6 | 32 kB | 80 kB |
| etendo | pg_default | public | ad_pinstance | ad_pinstance_record | 224 kB | 1 | 6 | 32 kB | 80 kB |
| etendo | pg_default | pg_catalog | pg_type | pg_type_typname_nsp_index | 192 kB | 1 | 192 kB | 472 kB | |
| etendo | pg_default | pg_catalog | pg_class | pg_class_relname_nsp_index | 184 kB | 1 | 184 kB | 680 kB | |
| etendo | pg_default | pg_catalog | pg_statistic(TOAST) | pg_toast_2619_index | 168 kB | 3 | 56 kB | 2260 kB | |
| postgres | pg_default | pg_catalog | pg_attribute | pg_attribute_relid_attnam_index | 112 kB | 1 | 112 kB | 408 kB | |
| etendo | pg_default | pg_catalog | pg_class | pg_class_oid_index | 104 kB | 1 | 104 kB | 680 kB | |
| etendo | pg_default | pg_catalog | pg_class | pg_class_tblspc_relfilenode_index | 104 kB | 1 | 104 kB | 680 kB | |
| etendo | pg_default | pg_catalog | pg_type | pg_type_oid_index | 96 kB | 1 | 96 kB | 472 kB | |
| postgres | pg_default | pg_catalog | pg_attribute | pg_attribute_relid_attnum_index | 80 kB | 1 | 80 kB | 408 kB | |
| etendo | pg_default | pg_catalog | pg_index | pg_index_indrelid_index | 72 kB | 1 | 72 kB | 464 kB | |
| etendo | pg_default | pg_catalog | pg_index | pg_index_indexrelid_index | 72 kB | 1 | 72 kB | 464 kB |
Data in this section is not differential. This data is valid for last report sample only.
| DB | Schema | Table | Live | Dead | %Dead | Last AV | Size |
|---|---|---|---|---|---|---|---|
| etendo | public | ad_process_request | 4737 | 11 | 0 | 5440 kB |
Table shows modified tuples statistics since last analyze.
Data in this section is not differential. This data is valid for last report sample only.
| DB | Schema | Table | Live | Dead | Mod | %Mod | Last AA | Size |
|---|---|---|---|---|---|---|---|---|
| etendo | public | ad_process_request | 4737 | 11 | 20 | 0 | 2026-05-12 12:12:32.032373+02 | 5440 kB |
| Defined settings | ||||
|---|---|---|---|---|
| Setting | reset_val | Unit | Source | Notes |
| checkpoint_completion_target | 0.9 | /etc/postgresql/10/main/postgresql.conf:211 | ||
| client_encoding | UTF8 | |||
| cluster_name | 10/main | /etc/postgresql/10/main/postgresql.conf:477 | ||
| config_file | /etc/postgresql/10/main/postgresql.conf | |||
| data_checksums | on | |||
| data_directory | /var/lib/postgresql/10/main | |||
| DateStyle | ISO, DMY | /etc/postgresql/10/main/postgresql.conf:566 | ||
| default_text_search_config | pg_catalog.spanish | /etc/postgresql/10/main/postgresql.conf:588 | ||
| effective_cache_size | 786432 | 8kB | /etc/postgresql/10/main/postgresql.conf:315 | |
| effective_io_concurrency | 200 | /etc/postgresql/10/main/postgresql.conf:164 | ||
| external_pid_file | /var/run/postgresql/10-main.pid | /etc/postgresql/10/main/postgresql.conf:49 | ||
| hba_file | /etc/postgresql/10/main/pg_hba.conf | |||
| ident_file | /etc/postgresql/10/main/pg_ident.conf | |||
| lc_collate | es_ES.UTF-8 | |||
| lc_ctype | es_ES.UTF-8 | |||
| lc_messages | en_US.UTF-8 | /etc/postgresql/10/main/conf.d/15-pgbadger.conf:11 | ||
| lc_monetary | es_ES.UTF-8 | /etc/postgresql/10/main/postgresql.conf:583 | ||
| lc_numeric | en_US.UTF-8 | /etc/postgresql/10/main/conf.d/01-openbravo-standard-postgres10.conf:38 | ||
| lc_time | es_ES.UTF-8 | /etc/postgresql/10/main/postgresql.conf:585 | ||
| log_autovacuum_min_duration | 0 | ms | /etc/postgresql/10/main/conf.d/15-pgbadger.conf:9 | |
| log_checkpoints | on | /etc/postgresql/10/main/conf.d/01-openbravo-standard-postgres10.conf:26 | ||
| log_connections | on | /etc/postgresql/10/main/conf.d/15-pgbadger.conf:1 | ||
| log_disconnections | on | /etc/postgresql/10/main/conf.d/15-pgbadger.conf:2 | ||
| log_line_prefix | %t [%p]:[%l-1] db=%d,user=%u,app=%a,client=%h | /etc/postgresql/10/main/conf.d/15-pgbadger.conf:4 | ||
| log_lock_waits | on | /etc/postgresql/10/main/conf.d/15-pgbadger.conf:5 | ||
| log_min_duration_statement | 1000 | ms | /etc/postgresql/10/main/conf.d/15-pgbadger.conf:10 | |
| log_temp_files | 0 | kB | /etc/postgresql/10/main/conf.d/15-pgbadger.conf:7 | |
| log_timezone | localtime | /etc/postgresql/10/main/conf.d/01-openbravo-standard-postgres10.conf:22 | ||
| maintenance_work_mem | 524288 | kB | /etc/postgresql/10/main/postgresql.conf:123 | |
| max_locks_per_transaction | 128 | /etc/postgresql/10/main/conf.d/01-openbravo-standard-postgres10.conf:17 | ||
| max_stack_depth | 2048 | kB | ||
| max_wal_size | 4096 | MB | /etc/postgresql/10/main/postgresql.conf:209 | |
| min_wal_size | 1024 | MB | /etc/postgresql/10/main/postgresql.conf:210 | |
| pg_conf_load_time | 2026-07-18 02:00:04.388267+02 | |||
| pg_conf_load_time | 2026-07-19 02:00:03.950027+02 | 2026-07-19 03:00:01+02 | ||
| pg_postmaster_start_time | 2026-07-18 02:00:04.504754+02 | |||
| pg_postmaster_start_time | 2026-07-19 02:00:04.062259+02 | 2026-07-19 03:00:01+02 | ||
| pg_stat_statements.max | 10000 | /etc/postgresql/10/main/postgresql.conf:660 | ||
| pg_stat_statements.track | all | /etc/postgresql/10/main/postgresql.conf:661 | ||
| random_page_cost | 1.1 | /etc/postgresql/10/main/postgresql.conf:307 | ||
| server_encoding | UTF8 | |||
| shared_buffers | 262144 | 8kB | /etc/postgresql/10/main/postgresql.conf:113 | |
| shared_preload_libraries | $libdir/pg_stat_statements | /etc/postgresql/10/main/postgresql.conf:659 | ||
| ssl | on | /etc/postgresql/10/main/postgresql.conf:79 | ||
| ssl_cert_file | /etc/ssl/certs/ssl-cert-snakeoil.pem | /etc/postgresql/10/main/postgresql.conf:84 | ||
| ssl_key_file | /etc/ssl/private/ssl-cert-snakeoil.key | /etc/postgresql/10/main/postgresql.conf:85 | ||
| stats_temp_directory | /var/run/postgresql/10-main.pg_stat_tmp | /etc/postgresql/10/main/postgresql.conf:493 | ||
| TimeZone | localtime | /etc/postgresql/10/main/conf.d/01-openbravo-standard-postgres10.conf:23 | ||
| timezone_abbreviations | Default | |||
| track_functions | all | /etc/postgresql/10/main/conf.d/15-pgbadger.conf:8 | ||
| version | PostgreSQL 10.23 (Ubuntu 10.23-0ubuntu0.18.04.2) on x86_64-pc-linux-gnu, compiled by gcc (Ubuntu 7.5.0-3ubuntu1~18.04) 7.5.0, 64-bit | |||
| wal_buffers | 2048 | 8kB | /etc/postgresql/10/main/postgresql.conf:198 | |
| work_mem | 5242 | kB | /etc/postgresql/10/main/postgresql.conf:122 | |
| Default settings | ||||
| Setting | reset_val | Unit | Source | Notes |
| allow_in_place_tablespaces | off | |||
| allow_system_table_mods | off | |||
| application_name | ||||
| archive_command | ||||
| archive_mode | off | |||
| archive_timeout | 0 | s | ||
| array_nulls | on | |||
| authentication_timeout | 60 | s | ||
| autovacuum | on | |||
| autovacuum_analyze_scale_factor | 0.1 | |||
| autovacuum_analyze_threshold | 50 | |||
| autovacuum_freeze_max_age | 200000000 | |||
| autovacuum_max_workers | 3 | |||
| autovacuum_multixact_freeze_max_age | 400000000 | |||
| autovacuum_naptime | 60 | s | ||
| autovacuum_vacuum_cost_delay | 20 | ms | ||
| autovacuum_vacuum_cost_limit | -1 | |||
| autovacuum_vacuum_scale_factor | 0.2 | |||
| autovacuum_vacuum_threshold | 50 | |||
| autovacuum_work_mem | -1 | kB | ||
| backend_flush_after | 0 | 8kB | ||
| backslash_quote | safe_encoding | |||
| bgwriter_delay | 200 | ms | ||
| bgwriter_flush_after | 64 | 8kB | ||
| bgwriter_lru_maxpages | 100 | |||
| bgwriter_lru_multiplier | 2 | |||
| block_size | 8192 | |||
| bonjour | off | |||
| bonjour_name | ||||
| bytea_output | hex | |||
| check_function_bodies | on | |||
| checkpoint_flush_after | 32 | 8kB | ||
| checkpoint_timeout | 300 | s | ||
| checkpoint_warning | 30 | s | ||
| client_min_messages | notice | |||
| commit_delay | 0 | |||
| commit_siblings | 5 | |||
| constraint_exclusion | partition | |||
| cpu_index_tuple_cost | 0.005 | |||
| cpu_operator_cost | 0.0025 | |||
| cpu_tuple_cost | 0.01 | |||
| cursor_tuple_fraction | 0.1 | |||
| data_sync_retry | off | |||
| db_user_namespace | off | |||
| deadlock_timeout | 1000 | ms | ||
| debug_assertions | off | |||
| debug_pretty_print | on | |||
| debug_print_parse | off | |||
| debug_print_plan | off | |||
| debug_print_rewritten | off | |||
| default_statistics_target | 100 | /etc/postgresql/10/main/postgresql.conf:329 | ||
| default_tablespace | ||||
| default_transaction_deferrable | off | |||
| default_transaction_isolation | read committed | |||
| default_transaction_read_only | off | |||
| default_with_oids | off | |||
| dynamic_library_path | $libdir | |||
| dynamic_shared_memory_type | posix | /etc/postgresql/10/main/postgresql.conf:127 | ||
| enable_bitmapscan | on | |||
| enable_gathermerge | on | |||
| enable_hashagg | on | |||
| enable_hashjoin | on | |||
| enable_indexonlyscan | on | |||
| enable_indexscan | on | |||
| enable_material | on | |||
| enable_mergejoin | on | |||
| enable_nestloop | on | |||
| enable_seqscan | on | |||
| enable_sort | on | |||
| enable_tidscan | on | |||
| escape_string_warning | on | |||
| event_source | PostgreSQL | |||
| exit_on_error | off | |||
| extra_float_digits | 0 | |||
| force_parallel_mode | off | |||
| from_collapse_limit | 8 | |||
| fsync | on | |||
| full_page_writes | on | |||
| geqo | on | |||
| geqo_effort | 5 | |||
| geqo_generations | 0 | |||
| geqo_pool_size | 0 | |||
| geqo_seed | 0 | |||
| geqo_selection_bias | 2 | |||
| geqo_threshold | 12 | |||
| gin_fuzzy_search_limit | 0 | |||
| gin_pending_list_limit | 4096 | kB | ||
| hot_standby | on | |||
| hot_standby_feedback | off | |||
| huge_pages | try | |||
| idle_in_transaction_session_timeout | 0 | ms | ||
| ignore_checksum_failure | off | |||
| ignore_system_indexes | off | |||
| integer_datetimes | on | |||
| IntervalStyle | postgres | |||
| join_collapse_limit | 8 | |||
| krb_caseins_users | off | |||
| krb_server_keyfile | FILE:/etc/postgresql-common/krb5.keytab | |||
| listen_addresses | localhost | |||
| local_preload_libraries | ||||
| lock_timeout | 0 | ms | ||
| lo_compat_privileges | off | |||
| log_destination | stderr | |||
| log_directory | log | |||
| log_duration | off | /etc/postgresql/10/main/conf.d/15-pgbadger.conf:3 | ||
| log_error_verbosity | default | |||
| log_executor_stats | off | |||
| log_file_mode | 384 | |||
| log_filename | postgresql-%Y-%m-%d_%H%M%S.log | |||
| logging_collector | off | |||
| log_hostname | off | |||
| log_min_error_statement | error | |||
| log_min_messages | warning | |||
| log_parser_stats | off | |||
| log_planner_stats | off | |||
| log_replication_commands | off | |||
| log_rotation_age | 1440 | min | ||
| log_rotation_size | 10240 | kB | ||
| log_statement | none | /etc/postgresql/10/main/conf.d/15-pgbadger.conf:6 | ||
| log_statement_stats | off | |||
| log_truncate_on_rotation | off | |||
| max_connections | 100 | /etc/postgresql/10/main/postgresql.conf:64 | ||
| max_files_per_process | 1000 | |||
| max_function_args | 100 | |||
| max_identifier_length | 63 | |||
| max_index_keys | 32 | |||
| max_logical_replication_workers | 4 | |||
| max_parallel_workers | 8 | |||
| max_parallel_workers_per_gather | 2 | |||
| max_pred_locks_per_page | 2 | |||
| max_pred_locks_per_relation | -2 | |||
| max_pred_locks_per_transaction | 64 | |||
| max_prepared_transactions | 0 | |||
| max_replication_slots | 10 | |||
| max_standby_archive_delay | 30000 | ms | ||
| max_standby_streaming_delay | 30000 | ms | ||
| max_sync_workers_per_subscription | 2 | |||
| max_wal_senders | 10 | |||
| max_worker_processes | 8 | |||
| min_parallel_index_scan_size | 64 | 8kB | ||
| min_parallel_table_scan_size | 1024 | 8kB | ||
| old_snapshot_threshold | -1 | min | ||
| operator_precedence_warning | off | |||
| parallel_setup_cost | 1000 | |||
| parallel_tuple_cost | 0.1 | |||
| password_encryption | md5 | |||
| pg_profile.topn | 20 | |||
| pg_stat_statements.save | on | |||
| pg_stat_statements.track_utility | on | |||
| port | 5432 | /etc/postgresql/10/main/postgresql.conf:63 | ||
| post_auth_delay | 0 | s | ||
| pre_auth_delay | 0 | s | ||
| quote_all_identifiers | off | |||
| replacement_sort_tuples | 150000 | |||
| restart_after_crash | on | |||
| row_security | on | |||
| search_path | "$user", public | |||
| segment_size | 131072 | 8kB | ||
| seq_page_cost | 1 | |||
| server_version | 10.23 (Ubuntu 10.23-0ubuntu0.18.04.2) | |||
| server_version_num | 100023 | |||
| session_preload_libraries | ||||
| session_replication_role | origin | |||
| ssl_ca_file | ||||
| ssl_ciphers | HIGH:MEDIUM:+3DES:!aNULL | |||
| ssl_crl_file | ||||
| ssl_dh_params_file | ||||
| ssl_ecdh_curve | prime256v1 | |||
| ssl_prefer_server_ciphers | on | |||
| standard_conforming_strings | on | |||
| statement_timeout | 0 | ms | ||
| superuser_reserved_connections | 3 | |||
| synchronize_seqscans | on | |||
| synchronous_commit | on | |||
| synchronous_standby_names | ||||
| syslog_facility | local0 | |||
| syslog_ident | postgres | |||
| syslog_sequence_numbers | on | |||
| syslog_split_messages | on | |||
| system_identifier | 6876315319645054122 | |||
| tcp_keepalives_count | 0 | |||
| tcp_keepalives_idle | 0 | s | ||
| tcp_keepalives_interval | 0 | s | ||
| temp_buffers | 1024 | 8kB | ||
| temp_file_limit | -1 | kB | ||
| temp_tablespaces | ||||
| trace_notify | off | |||
| trace_recovery_messages | log | |||
| trace_sort | off | |||
| track_activities | on | |||
| track_activity_query_size | 1024 | |||
| track_commit_timestamp | off | |||
| track_counts | on | |||
| track_io_timing | off | |||
| transaction_deferrable | off | |||
| transaction_isolation | default | |||
| transaction_read_only | off | |||
| transform_null_equals | off | |||
| unix_socket_directories | /var/run/postgresql | /etc/postgresql/10/main/postgresql.conf:66 | ||
| unix_socket_group | ||||
| unix_socket_permissions | 511 | |||
| update_process_title | on | |||
| vacuum_cost_delay | 0 | ms | ||
| vacuum_cost_limit | 200 | |||
| vacuum_cost_page_dirty | 20 | |||
| vacuum_cost_page_hit | 1 | |||
| vacuum_cost_page_miss | 10 | |||
| vacuum_defer_cleanup_age | 0 | |||
| vacuum_freeze_min_age | 50000000 | |||
| vacuum_freeze_table_age | 150000000 | |||
| vacuum_multixact_freeze_min_age | 5000000 | |||
| vacuum_multixact_freeze_table_age | 150000000 | |||
| wal_block_size | 8192 | |||
| wal_compression | off | |||
| wal_consistency_checking | ||||
| wal_keep_segments | 0 | |||
| wal_level | replica | |||
| wal_log_hints | off | |||
| wal_receiver_status_interval | 10 | s | ||
| wal_receiver_timeout | 60000 | ms | ||
| wal_retrieve_retry_interval | 5000 | ms | ||
| wal_segment_size | 2048 | 8kB | ||
| wal_sender_timeout | 60000 | ms | ||
| wal_sync_method | fdatasync | |||
| wal_writer_delay | 200 | ms | ||
| wal_writer_flush_after | 128 | 8kB | ||
| xmlbinary | base64 | |||
| xmloption | content | |||
| zero_damaged_pages | off | |||