pg_profile version 0.3.6
Server name: local
Report interval: 2026-07-14 04:00:02+02 - 2026-07-15 03:00:02+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 | 60746 | 10 | 96.08 | 994905 | 24402513 | 108529188 | 23863204 | 1381529 | 26119 | 133515 | 3123 MB | -1376 kB | |||
| postgres | 11867 | 99.81 | 1313 | 703075 | 1985005 | 365335 | 2012 | 866 | 1772 | 6463 kB | |||||
| Total | 72613 | 10 | 96.18 | 996218 | 25105588 | 110514193 | 24228539 | 1383541 | 26985 | 135287 | 3129 MB | -1376 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 | 358126 | 414.73 | 7.35 | 36310625 | 375363 | 8879 | ||||||||
| postgres | 5619 | 10.70 | 127633 | 233 | 349 | |||||||||
| template1 | 6350 | 8.16 | 47848 | 234 | 278 | |||||||||
| Total | 370095 | 433.58 | 7.35 | 36486106 | 375830 | 9506 | ||||||||
| Metric | Value |
|---|---|
| Scheduled checkpoints | 275 |
| Requested checkpoints | 1 |
| Checkpoint write time (s) | 2430.66 |
| Checkpoint sync time (s) | 0.62 |
| Checkpoints buffers written | 162230 |
| Background buffers written | 2925 |
| Backend buffers written | 514188 |
| Backend fsync count | |
| Bgwriter interrupts (too many buffers) | 1 |
| Number of buffers allocated | 996054 |
| WAL generated | 3363 MB |
| WAL segments archived | |
| WAL segments archive failed |
| Tablespace | Path | Size | Growth |
|---|---|---|---|
| pg_default | 3143 MB | -1424 kB | |
| pg_global | 542 kB |
| Query ID | Database | Exec (s) | %Total | Rows | Execution times (ms) | Executions | |||
|---|---|---|---|---|---|---|---|---|---|
| Mean | Min | Max | StdErr | ||||||
[cd9c0fd2] | etendo | 191.65 | 44.20 | 903 | 191650.426 | 191650.426 | 191650.426 | 1 | |
[948be82f] | etendo | 80.26 | 18.51 | 80256.319 | 80256.319 | 80256.319 | 1 | ||
[165cfe9e] | etendo | 23.84 | 5.50 | 23 | 1036.410 | 920.983 | 1771.302 | 180.347 | 23 |
[5bf034e8] | etendo | 23.83 | 5.50 | 1036.219 | 920.852 | 1771.115 | 180.348 | 23 | |
[32078409] | etendo | 9.50 | 2.19 | 243.664 | 42.341 | 832.028 | 192.271 | 39 | |
[11efae27] | etendo | 6.33 | 1.46 | 392 | 16.155 | 15.080 | 45.925 | 2.249 | 392 |
[fb4a8a01] | etendo | 6.17 | 1.42 | 375 | 16.447 | 15.264 | 55.614 | 2.690 | 375 |
[3f26be12] | etendo | 5.73 | 1.32 | 351 | 16.337 | 15.297 | 26.835 | 1.776 | 351 |
[9829805d] | etendo | 5.53 | 1.27 | 54326 | 120.150 | 23.618 | 540.793 | 112.110 | 46 |
[ec3901fa] | etendo | 5.09 | 1.17 | 31671 | 110.648 | 25.430 | 313.909 | 84.879 | 46 |
[ea3ffc6b] | etendo | 4.94 | 1.14 | 531599 | 3.380 | 2.569 | 14.068 | 0.692 | 1461 |
[6ff0b59f] | etendo | 3.63 | 0.84 | 188 | 19.331 | 17.546 | 43.610 | 2.911 | 188 |
[22217272] | etendo | 3.57 | 0.82 | 51244 | 155.367 | 114.380 | 485.239 | 81.348 | 23 |
[58bd0761] | etendo | 3.51 | 0.81 | 1389 | 2.528 | 1.298 | 14.089 | 1.060 | 1389 |
[6d193752] | etendo | 3.36 | 0.77 | 29647 | 145.941 | 133.388 | 192.300 | 12.115 | 23 |
[dccac99b] | template1 | 2.69 | 0.62 | 264 | 10.195 | 0.103 | 10.593 | 0.885 | 264 |
[ac17e023] | postgres | 2.65 | 0.61 | 264 | 10.054 | 0.115 | 10.908 | 1.517 | 264 |
[a8855ea7] | template1 | 2.58 | 0.59 | 252 | 10.220 | 0.114 | 10.476 | 0.641 | 252 |
[d6e97f55] | postgres | 2.56 | 0.59 | 504 | 10.139 | 0.111 | 11.060 | 1.273 | 252 |
[6bb4764a] | etendo | 2.47 | 0.57 | 145 | 17.025 | 16.003 | 27.393 | 1.421 | 145 |
| Query ID | Database | Executions | %Total | Rows | Mean(ms) | Min(ms) | Max(ms) | StdErr(ms) | Elapsed(s) |
|---|---|---|---|---|---|---|---|---|---|
[e0488e43] | etendo | 97527 | 26.35 | 97527 | 0.004 | 0.002 | 12.366 | 0.040 | 0.4 |
[4ef2b412] | etendo | 35406 | 9.57 | 35406 | 0.004 | 0.002 | 18.568 | 0.101 | 0.2 |
[30e34f7a] | etendo | 22699 | 6.13 | 0.004 | 0.003 | 0.053 | 0.001 | 0.1 | |
[bb90fd8a] | etendo | 18880 | 5.10 | 18880 | 0.015 | 0.008 | 0.361 | 0.008 | 0.3 |
[8aff38a8] | etendo | 11738 | 3.17 | 9114 | 0.002 | 0.002 | 0.191 | 0.002 | 0.0 |
[a0abb6c3] | etendo | 8448 | 2.28 | 8448 | 0.013 | 0.008 | 0.064 | 0.004 | 0.1 |
[141ca58a] | etendo | 5914 | 1.60 | 5914 | 0.004 | 0.002 | 2.007 | 0.026 | 0.0 |
[6f9b1a85] | etendo | 5517 | 1.49 | 0.002 | 0.000 | 0.062 | 0.002 | 0.0 | |
[2049516b] | etendo | 5507 | 1.49 | 0.001 | 0.000 | 0.041 | 0.001 | 0.0 | |
[a38abef0] | etendo | 5297 | 1.43 | 5297 | 0.004 | 0.002 | 0.082 | 0.003 | 0.0 |
[cdfab523] | etendo | 4224 | 1.14 | 21120 | 0.017 | 0.011 | 0.074 | 0.005 | 0.1 |
[708934a0] | etendo | 4224 | 1.14 | 4224 | 0.009 | 0.006 | 0.076 | 0.003 | 0.0 |
[f8bb1c8e] | etendo | 4224 | 1.14 | 4224 | 0.007 | 0.004 | 0.041 | 0.002 | 0.0 |
[31bc0d20] | etendo | 3605 | 0.97 | 3596 | 0.006 | 0.002 | 0.094 | 0.008 | 0.0 |
[90d234b8] | template1 | 2640 | 0.71 | 0.011 | 0.009 | 0.298 | 0.006 | 0.0 | |
[13286d05] | etendo | 2404 | 0.65 | 2404 | 0.003 | 0.001 | 0.042 | 0.001 | 0.0 |
[f4beae22] | etendo | 2350 | 0.63 | 0.003 | 0.002 | 0.039 | 0.002 | 0.0 | |
[d553b28a] | etendo | 2280 | 0.62 | 2280 | 0.101 | 0.057 | 0.267 | 0.026 | 0.2 |
[2dd25169] | etendo | 2280 | 0.62 | 2280 | 0.026 | 0.015 | 0.411 | 0.013 | 0.1 |
[2ee0a16b] | etendo | 1824 | 0.49 | 1824 | 0.512 | 0.298 | 2.153 | 0.191 | 0.9 |
| Query ID | Database | blks fetched | %Total | Hits(%) | Elapsed(s) | Rows | Executions |
|---|---|---|---|---|---|---|---|
[948be82f] | etendo | 6599888 | 18.09 | 88.76 | 80.3 | 1 | |
[165cfe9e] | etendo | 4653196 | 12.75 | 99.99 | 23.8 | 23 | 23 |
[5bf034e8] | etendo | 4653058 | 12.75 | 99.99 | 23.8 | 23 | |
[ea3ffc6b] | etendo | 2649331 | 7.26 | 100.00 | 4.9 | 531599 | 1461 |
[1c089a92] | etendo | 2341194 | 6.42 | 100.00 | 2.1 | 2585 | 23 |
[22217272] | etendo | 1629895 | 4.47 | 100.00 | 3.6 | 51244 | 23 |
[11efae27] | etendo | 1504075 | 4.12 | 99.74 | 6.3 | 392 | 392 |
[fb4a8a01] | etendo | 1447904 | 3.97 | 99.73 | 6.2 | 375 | 375 |
[3f26be12] | etendo | 1355767 | 3.72 | 99.99 | 5.7 | 351 | 351 |
[32078409] | etendo | 1150387 | 3.15 | 99.94 | 9.5 | 39 | |
[6ff0b59f] | etendo | 800595 | 2.19 | 99.88 | 3.6 | 188 | 188 |
[6d193752] | etendo | 795548 | 2.18 | 100.00 | 3.4 | 29647 | 23 |
[6bb4764a] | etendo | 577954 | 1.58 | 99.97 | 2.5 | 145 | 145 |
[9829805d] | etendo | 339604 | 0.93 | 99.99 | 5.5 | 54326 | 46 |
[cd9c0fd2] | etendo | 319108 | 0.87 | 32.58 | 191.7 | 903 | 1 |
[3c3a10c1] | etendo | 313986 | 0.86 | 100.00 | 0.4 | 264 | 22 |
[ec3901fa] | etendo | 295013 | 0.81 | 99.98 | 5.1 | 31671 | 46 |
[505cb7c7] | etendo | 231609 | 0.63 | 99.99 | 0.9 | 49 | 9 |
[e0488e43] | etendo | 195054 | 0.53 | 100.00 | 0.4 | 97527 | 97527 |
[a0d7ccb9] | etendo | 191296 | 0.52 | 99.98 | 0.2 | 588 | 196 |
| Query ID | Database | Reads | %Total | Hits(%) | Elapsed(s) | Rows | Executions |
|---|---|---|---|---|---|---|---|
[948be82f] | etendo | 741933 | 73.50 | 88.76 | 80.3 | 1 | |
[cd9c0fd2] | etendo | 215146 | 21.31 | 32.58 | 191.7 | 903 | 1 |
[ee6bcd7b] | etendo | 8932 | 0.88 | 0.26 | 0.8 | 116185 | 1 |
[63a051b4] | etendo | 4241 | 0.42 | 0.21 | 0.4 | 125152 | 1 |
[fb4a8a01] | etendo | 3977 | 0.39 | 99.73 | 6.2 | 375 | 375 |
[11efae27] | etendo | 3900 | 0.39 | 99.74 | 6.3 | 392 | 392 |
[e026ac6e] | etendo | 3897 | 0.39 | 58.61 | 0.1 | 2 | 2 |
[b523722f] | etendo | 3875 | 0.38 | 80.58 | 0.1 | 5 | 5 |
[34618be5] | etendo | 3275 | 0.32 | 0.30 | 0.4 | 86810 | 1 |
[9874a2f8] | etendo | 1214 | 0.12 | 0.0 | 36930 | 1 | |
[948be82f] | template1 | 1056 | 0.10 | 97.40 | 2.1 | 1 | |
[948be82f] | postgres | 1056 | 0.10 | 97.41 | 2.1 | 1 | |
[6ff0b59f] | etendo | 990 | 0.10 | 99.88 | 3.6 | 188 | 188 |
[51d43ddf] | etendo | 837 | 0.08 | 0.71 | 0.0 | 25640 | 1 |
[5015950f] | etendo | 705 | 0.07 | 0.14 | 0.0 | 24513 | 1 |
[14a0b57d] | etendo | 704 | 0.07 | 0.42 | 0.0 | 24521 | 1 |
[32078409] | etendo | 639 | 0.06 | 99.94 | 9.5 | 39 | |
[165cfe9e] | etendo | 627 | 0.06 | 99.99 | 23.8 | 23 | 23 |
[5bf034e8] | etendo | 627 | 0.06 | 99.99 | 23.8 | 23 | |
[c2b69e40] | etendo | 596 | 0.06 | 97.23 | 0.1 | 201 | 201 |
| Query ID | Database | Dirtied | %Total | Hits(%) | Elapsed(s) | Rows | Executions |
|---|---|---|---|---|---|---|---|
[948be82f] | etendo | 319266 | 84.95 | 88.76 | 80.3 | 1 | |
[165cfe9e] | etendo | 15435 | 4.11 | 99.99 | 23.8 | 23 | 23 |
[5bf034e8] | etendo | 15435 | 4.11 | 99.99 | 23.8 | 23 | |
[9829805d] | etendo | 4177 | 1.11 | 99.99 | 5.5 | 54326 | 46 |
[ec3901fa] | etendo | 3087 | 0.82 | 99.98 | 5.1 | 31671 | 46 |
[a2b1d8b5] | etendo | 1778 | 0.47 | 99.68 | 1.0 | 23 | 23 |
[dbbb08c5] | etendo | 1625 | 0.43 | 99.53 | 0.1 | 285 | 285 |
[d422fd3a] | etendo | 1115 | 0.30 | 99.94 | 1.0 | 46 | |
[6ff0b59f] | etendo | 883 | 0.23 | 99.88 | 3.6 | 188 | 188 |
[2a7c06f1] | etendo | 577 | 0.15 | 97.92 | 0.1 | 201 | 201 |
[c2b69e40] | etendo | 577 | 0.15 | 97.23 | 0.1 | 201 | 201 |
[b8b908b] | etendo | 545 | 0.15 | 99.88 | 0.3 | 3590 | 22 |
[7de5e657] | etendo | 534 | 0.14 | 100.00 | 0.1 | 47240 | 20 |
[bdc71c7e] | etendo | 462 | 0.12 | 99.11 | 0.1 | 497 | 497 |
[7e502be6] | etendo | 442 | 0.12 | 99.90 | 0.8 | 44 | |
[b746d230] | etendo | 393 | 0.10 | 99.92 | 0.2 | 23 | 16 |
[2c3218e3] | etendo | 373 | 0.10 | 99.99 | 0.5 | 5166 | 42 |
[31bc0d20] | etendo | 337 | 0.09 | 100.00 | 0.0 | 3596 | 3605 |
[1c089a92] | etendo | 277 | 0.07 | 100.00 | 2.1 | 2585 | 23 |
[948be82f] | template1 | 234 | 0.06 | 97.40 | 2.1 | 1 |
| Query ID | Database | Written | %Total | %BackendW | Hits(%) | Elapsed(s) | Rows | Executions |
|---|---|---|---|---|---|---|---|---|
[948be82f] | etendo | 175163 | 25.78 | 34.07 | 88.76 | 80.3 | 1 | |
[948be82f] | template1 | 55 | 0.01 | 0.01 | 97.40 | 2.1 | 1 | |
[948be82f] | postgres | 55 | 0.01 | 0.01 | 97.41 | 2.1 | 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) |
| 82e3327dfb | SELECT coalesce(sum(mpl.movementqty * coalesce(m_get_cost(mpl.m_product_id, TO_DATE(p_date), $3, $4, $5, $6, $7, $8),$9)),$10) FROM M_ProductionLine mpl LEFT JOIN M_Productionplan mpp on mpp.m_productionplan_id = mpl.m_productionplan_id LEFT JOIN ma_wrphase mwrph on mwrph.ma_wrphase_id = mpp.ma_wrphase_id where mwrph.ma_workrequirement_id = p_workrequirement_id |
| 18dfa40a69 | SELECT $1 FROM DUAL |
| 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 |
| 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) |
| 9b785e47a4 | INSERT INTO C_ORDERLINETAX ( C_OrderLineTax_ID, C_OrderLine_ID, C_Order_ID, C_Tax_ID, AD_Client_ID, AD_Org_ID, IsActive, Created, CreatedBy, Updated, UpdatedBy, TaxBaseAmt, TaxAmt, Line) VALUES ( GET_UUID(), p_orderline_id, p_order_id, p_tax_id, v_Client_ID, p_org_id, $20, TO_DATE(NOW()), p_user_id, TO_DATE(NOW()), p_user_id, v_TaxBaseAmount, ROUND(ROUND(v_TaxBaseAmount, p_StdPrecision) * v_Rate/$21, p_StdPrecision), v_LineNo) |
| 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 ) |
| 1794fad412 | SELECT coalesce ((SELECT COALESCE(TO_CHAR(MAX(TT.Name)), TO_CHAR(T.Name)) FROM AD_Window_Trl TT WHERE TT.AD_Window_ID=T.AD_Window_ID AND TT.AD_LANGUAGE=L.AD_LANGUAGE), $1) AS COLUMN_IDENTIFIER FROM (SELECT AD_LANGUAGE FROM AD_LANGUAGE WHERE AD_LANGUAGE=$2) L, AD_Window T WHERE AD_Window_ID=$3 |
| 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 |
| 6c3324a757 | select this_.AD_Sequence_Config_ID as AD_Seque1_112_0_, this_.AD_Client_ID as AD_Clien2_112_0_, this_.AD_Org_ID as AD_Org_I3_112_0_, this_.Isactive as Isactive4_112_0_, this_.Created as Created5_112_0_, this_.Createdby as Createdb6_112_0_, this_.Updated as Updated7_112_0_, this_.Updatedby as Updatedb8_112_0_, this_.Generator as Generato9_112_0_, this_.AD_Reference_ID as AD_Refe10_112_0_, this_.DB_Sequence_Name as DB_Sequ11_112_0_, this_.DB_Sequence_Initial as DB_Sequ12_112_0_, this_.DB_Sequence_Increment as DB_Sequ13_112_0_ from ad_sequence_config this_ where this_.AD_Reference_ID=$1 and this_.AD_Org_ID in ($2, $3, $4) and this_.AD_Client_ID in ($5, $6) and this_.Isactive=$7 |
| 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 |
| 63598c4dc1 | select workrequir0_.MA_Workrequirement_ID as MA_Workr1_572_0_, workrequir0_.AD_Client_ID as AD_Clien2_572_0_, workrequir0_.AD_Org_ID as AD_Org_I3_572_0_, (select workrequir0_.closed from dual) as formula23_0_, (select mi.movementdate from m_inoutline minl LEFT JOIN m_inout mi on minl.m_inout_id = mi.m_inout_id where mi.issotrx = $51 and minl.em_man_repairnumber = workrequir0_.documentno and minl.m_product_id = workrequir0_.em_man_product_id) as formula24_0_, (select mi.documentno from m_inoutline minl LEFT JOIN m_inout mi on minl.m_inout_id = mi.m_inout_id where mi.issotrx = $52 and minl.em_man_repairnumber = workrequir0_.documentno and minl.m_product_id = workrequir0_.em_man_product_id) as formula25_0_, (select mi.documentno from m_inout mi left join m_inoutline on mi.m_inout_id=m_inoutline.m_inout_id where m_inoutline.EM_Man_M_Workrequeriment_ID = workrequir0_.ma_workrequirement_id and mi.issotrx = $53 and mi.docstatus != $54) as formula26_0_, (select mi.dateacct from m_inout mi left join m_inoutline on mi.m_inout_id=m_inoutline.m_inout_id where m_inoutline.EM_Man_M_Workrequeriment_ID = workrequir0_.ma_workrequirement_id and mi.issotrx = $55 and mi.docstatus != $56) as formula27_0_ from MA_WorkRequirement workrequir0_ where workrequir0_.MA_Workrequirement_ID in ($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, $47, $48, $49, $50) |
| 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) |
| fb78e2110c | select man_get_benefit_wk(new.ma_workrequirement_id) |
| 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 |
| 823682fddf | SELECT distinct ma_workrequirement.ma_workrequirement_id, m_product.m_product_id AS lisonId, m_product.value AS lison, m_product.NAME AS lisonName, m_product_category.NAME AS categoryname, m_attributevalue.value AS lisonNo, COALESCE(modWk.documentno, $1) AS nameMod, ma_process.NAME AS procName, ma_process.ma_process_id AS procId, ma_wrphase.ma_wrphase_id AS procWrPhaseId, COALESCE(modWk.man_product_modifications_id, $2) AS idMod, COALESCE( (SELECT String_agg(ad_user.NAME, $3) FROM m_productionplan LEFT JOIN ad_user ON m_productionplan.createdby = ad_user.ad_user_id WHERE m_productionplan.ma_wrphase_id = ma_wrphase.ma_wrphase_id), $4) AS users, COALESCE(modProc.documentno, $5) AS nameModProc, COALESCE(modProc.man_product_modifications_id, $6) AS idModProc, ma_wrphase.em_man_control_quality AS controlQuality, string_agg(COALESCE(M_ProductionPlan.M_ProductionPlan_ID, $7),$8) AS idProductionPlan, COALESCE(M_ProductionPlan.rejectedquantity, $9) AS qtyRealizada, ma_process.em_man_invoice_method as invoicemethod, coalesce(ma_process.em_man_qtyprocess,$10) as qtyprocess, coalesce(ma_workrequirement.em_man_description,$11) as description, CASE WHEN man_modification_processes.description = $12 then $13 ELSE COALESCE(man_modification_processes.description, $14) end AS descriptionModWk, CASE WHEN (select count(*) from man_wr_times where man_wr_times.ma_workrequirement_id = ma_workrequirement.ma_workrequirement_id and time_end is not null) > $15 then $16 ELSE $17 end AS haveTimeWk FROM ma_workrequirement LEFT JOIN m_product ON m_product.m_product_id = ma_workrequirement.em_man_product_id LEFT JOIN m_product_category ON m_product.m_product_category_id = m_product_category.m_product_category_id LEFT JOIN m_attributevalue ON m_attributevalue.m_attributevalue_id = ma_workrequirement.em_man_attributevalue_id LEFT JOIN man_product_modifications modWk ON modWk.man_product_modifications_id = ma_workrequirement.em_man_product_modif_id LEFT JOIN ma_wrphase ON ma_workrequirement.ma_workrequirement_id = ma_wrphase.ma_workrequirement_id LEFT JOIN M_ProductionPlan ON M_ProductionPlan.ma_wrphase_id = ma_wrphase.ma_wrphase_id LEFT JOIN ma_process ON ma_process.ma_process_id = ma_wrphase.ma_process_id LEFT JOIN man_product_modifications modProc ON ma_wrphase.em_man_modification_id = modProc.man_product_modifications_id left join man_modification_processes ON man_modification_processes.ma_process_id = ma_process.ma_process_id and man_modification_processes.man_product_modifications_id = modProc.man_product_modifications_id where ma_workrequirement.documentno = $18group by ma_workrequirement.ma_workrequirement_id, m_product.m_product_id , m_product.value, m_product.NAME, m_product_category.NAME , m_attributevalue.value , COALESCE(modWk.documentno, '') , ma_process.NAME, ma_process.ma_process_id, ma_wrphase.ma_wrphase_id, COALESCE(modWk.man_product_modifications_id, ''), COALESCE(modProc.documentno, ''), ma_wrphase.em_man_control_quality, COALESCE(modProc.man_product_modifications_id, ''), COALESCE(M_ProductionPlan.rejectedquantity, 0), ma_process.em_man_invoice_method, coalesce(ma_process.em_man_qtyprocess,1), man_modification_processes.description |
| 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 |
| 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 |
| 189e1713fc | insert into man_wr_voces (AD_Client_ID, AD_Org_ID, Isactive, Created, Createdby, Updated, Updatedby, MA_Workrequirement_ID, M_Product_ID, QTY_Fact_Voz, MAN_Wr_Voces_ID) values ($1, $2, $3, $4, $5, $6, $7, $8, $9, $10, $11) |
| 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 |
| ffbe6ea696 | insert into C_OrderLine (AD_Client_ID, AD_Org_ID, IsActive, Created, CreatedBy, Updated, UpdatedBy, C_Order_ID, Line, C_BPartner_ID, C_BPartner_Location_ID, DateOrdered, M_Product_ID, M_Warehouse_ID, DirectShip, C_UOM_ID, QtyOrdered, QtyDelivered, QtyInvoiced, C_Currency_ID, PriceList, PriceActual, Discount, ChargeAmt, C_Tax_ID, IsDescription, PriceStd, CANCELPRICEAD, Iseditlinenetamt, Gross_Unit_Price, Line_Gross_Amount, grosspricestd, Manage_Reservation, Manage_Prereservation, Explode, Print_Description, Relate_Orderline, EM_Man_Inoutline_ID, EM_Man_Ma_Workrequirement_ID, C_OrderLine_ID) values ($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) |
| 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 |
| ab52f02a40 | DELETE FROM last_stat_indexes WHERE server_id=sserver_id AND sample_id != s_id |
| 3cf9d838f3 | ANALYZE last_stat_indexes |
| 7531c1665f | SELECT LEVELNO FROM AD_ORG_TREE WHERE AD_ORG_ID = p_orgid AND AD_PARENT_ORG_ID = p_parentorgid AND AD_CLIENT_ID = p_clientid |
| 0395cd7d8f | SHOW server_version |
| db39064583 | SHOW server_version |
| 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 |
| 5b7953819f | (SELECT t.C_Tax_ID, $23 AS billToC_Location_ID, $24 AS IsTaxExempt FROM (SELECT C_Tax_ID, C_Country_ID, C_Region_ID, To_Country_Id, To_Region_ID, ValidFrom, C_TaxCategory_ID, Parent_Tax_ID, C_BP_TaxCategory_ID, SoPoType, c_Tax.ad_org_id,c_Tax.ad_client_id,IsDefault, isCashVAT, isWithholdingTax, rate FROM c_Tax WHERE c_Tax.isActive = $25 UNION SELECT tz.C_Tax_ID, tz.From_Country_ID, tz.From_Region_ID, tz.To_Country_ID, tz.To_Region_ID, ValidFrom, C_TaxCategory_ID, Parent_Tax_Id, C_BP_TaxCategory_ID, ct.SoPoType, ct.ad_org_id,ct.ad_client_id,ct.IsDefault, ct.isCashVAT, ct.isWithholdingTax, ct.rate FROM c_Tax_Zone tz, c_Tax ct WHERE tz.C_Tax_ID = ct.C_Tax_ID AND ct.isActive = $26 AND tz.isActive = $27 ) t, C_Location lf, C_Location lt WHERE t.Parent_Tax_ID IS NULL AND t.C_TaxCategory_ID = v_TaxCategoryID AND lf.C_Location_ID = v_billFrom AND(t.C_Country_ID = lf.C_Country_ID OR(t.C_Country_ID IS NULL)) AND(t.C_Region_ID = lf.C_Region_ID OR(t.C_Region_ID IS NULL)) AND lt.C_Location_ID = v_shipTo AND(t.To_Country_ID = lt.C_Country_ID OR(t.To_Country_ID IS NULL)) AND(t.To_Region_ID = lt.C_Region_ID OR(t.To_Region_ID IS NULL)) AND t.ValidFrom <= p_shipDate AND ad_isorgincluded(p_org_id, t.ad_org_id,t.ad_client_id) <> $28 -- AND ((t.C_BP_TaxCategory_ID = v_BPTaxCategory) OR (v_BPTaxCategory IS NULL)) AND ((t.C_BP_TaxCategory_ID IS NOT NULL AND t.C_BP_TaxCategory_ID = v_BPTaxCategory) OR (t.C_BP_TaxCategory_ID IS NULL)) AND (SoPoType = $29 OR (SoPoType =(case when p_IsSOTrx=$30 then $31 else $32 end))) AND (t.isCashVAT = v_IsCashVAT OR (t.isCashVAT = $33 and (t.isWithholdingTax = $34 or t.rate=$35))) ORDER BY ad_isorgincluded(p_org_id, t.ad_org_id,t.ad_client_id),t.C_BP_TaxCategory_ID, t.IsDefault DESC,t.C_Country_ID, t.To_Country_ID, t.C_Region_ID, t.To_Region_ID, t.ValidFrom DESC ) |
| 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 |
| 8b427a054d | select man_get_benefit_wk(new.ma_workrequirement_id) |
| 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 |
| 9a7a52ef63 | INSERT INTO ad_session_usage_audit (ad_session_usage_audit_id, ad_client_id, ad_org_id, createdby, updatedby, ad_session_id, object_id, ad_module_id, command, classname, object_type, process_time) VALUES (get_uuid(),$10,$11,$1,$2,$3,$4,$5,$6,$7,$8,to_number($9)) |
| efbdf5f84a | SELECT C_ORDERLINETAX_INSERT(new.AD_Org_ID, new.C_Order_ID, new.C_OrderLine_ID, new.UpdatedBy, new.C_Tax_ID, new.C_Tax_ID, v_newLineNetAmt, v_newLineAlternate, v_Prec) |
| 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 |
| abcc32ea62 | SELECT REPLACE(REPLACE(SQL_RECORD_IDENTIFIER, ':c_language', '''' || p_Language || ''''), ':c_ID', p_Record_ID) FROM AD_TABLE WHERE UPPER(TABLENAME)=UPPER(p_TableName) |
| 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 |
| 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 |
| 565618e880 | update man_wr_times set Updated=$1, Time_End=$2 where MAN_Wr_Times_ID=$3 |
| 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 |
| 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 ) |
| 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 |
| adfb201448 | select this_.M_Product_Trl_ID as M_Produc1_478_0_, this_.M_Product_ID as M_Produc2_478_0_, this_.AD_Language as AD_Langu3_478_0_, this_.AD_Client_ID as AD_Clien4_478_0_, this_.AD_Org_ID as AD_Org_I5_478_0_, this_.IsActive as IsActive6_478_0_, this_.Created as Created7_478_0_, this_.CreatedBy as CreatedB8_478_0_, this_.Updated as Updated9_478_0_, this_.UpdatedBy as Updated10_478_0_, this_.Name as Name11_478_0_, this_.DocumentNote as Documen12_478_0_, this_.IsTranslated as IsTrans13_478_0_ from M_Product_Trl this_ where this_.M_Product_ID=$1 and this_.AD_Language=$2 and this_.IsActive=$3 limit $4 |
| 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 |
| 078231c619 | select (select man_get_costot_vocesorder_wk(p_workrequirement_id)) -((select man_get_costotoalwokrefortwk(p_workrequirement_id,v_created)) +(select man_get_costotoal_mats_wk(p_workrequirement_id,v_created)) +(select mp.em_man_fixedcost from m_product mp where mp.m_product_id = v_product_id)) |
| DB | Tablespace | Schema | Table | ~SeqBytes | SeqScan | IxScan | IxFet | Ins | Upd | Del | Upd(HOT) |
|---|---|---|---|---|---|---|---|---|---|---|---|
| etendo | pg_default | public | m_productionplan | 12 GB | 411 | 236 | 376 | 14 | |||
| m_productionplan(TOAST) | |||||||||||
| etendo | pg_default | pg_catalog | pg_class | 3949 MB | 5946 | 594232 | 584585 | 1801 | 6578 | 1801 | 1327 |
| etendo | pg_default | pg_catalog | pg_proc | 2592 MB | 1430 | 75309 | 106464 | ||||
| pg_proc(TOAST) | 1873 | 4908 | |||||||||
| etendo | pg_default | profile | last_stat_database | 2201 MB | 93998 | 88 | 88 | ||||
| etendo | pg_default | public | ma_workrequirement | 1728 MB | 218 | 3522 | 60359 | 1 | 451 | 400 | |
| ma_workrequirement(TOAST) | |||||||||||
| etendo | pg_default | public | c_orderline | 909 MB | 13 | 2286 | 4576 | 188 | 13 | 1 | |
| c_orderline(TOAST) | |||||||||||
| etendo | pg_default | public | c_location | 763 MB | 48861 | 29 | 29 | ||||
| c_location(TOAST) | |||||||||||
| etendo | pg_default | profile | last_stat_tablespaces | 531 MB | 33984 | 44 | 44 | ||||
| last_stat_tablespaces(TOAST) | |||||||||||
| postgres | pg_default | pg_catalog | pg_class | 374 MB | 3680 | 32363 | 32119 | 107 | 388 | 107 | 124 |
| etendo | pg_default | pg_catalog | pg_attribute | 327 MB | 81 | 258071 | 1141255 | 23177 | 23177 | ||
| etendo | pg_default | profile | last_stat_indexes | 278 MB | 186 | 33531 | 327471 | 54326 | 1515 | 54326 | 1 |
| etendo | pg_default | public | m_inoutline | 216 MB | 14 | 10873 | 4201235 | 35 | 2 | 1 | 1 |
| m_inoutline(TOAST) | |||||||||||
| etendo | pg_default | public | m_transaction | 214 MB | 12 | 34 | |||||
| m_transaction(TOAST) | |||||||||||
| etendo | pg_default | profile | last_stat_tables | 210 MB | 186 | 8462 | 2746597 | 31671 | 3735 | 31671 | 69 |
| etendo | pg_default | public | ad_table | 197 MB | 360 | 582 | 582 | ||||
| ad_table(TOAST) | |||||||||||
| etendo | pg_default | public | c_orderlinetax | 189 MB | 5 | 239 | 26 | 201 | 13 | ||
| c_orderlinetax(TOAST) | |||||||||||
| etendo | pg_default | profile | sample_stat_tables | 185 MB | 25 | 153 | 4258 | 3735 | 3972 | ||
| etendo | pg_default | profile | sample_statements | 136 MB | 49 | 117 | 1511 | 1435 | 1511 | ||
| sample_statements(TOAST) | |||||||||||
| etendo | pg_default | public | ad_sequence_config | 132 MB | 8439 | ||||||
| ad_sequence_config(TOAST) | |||||||||||
| etendo | pg_default | public | ad_image | 111 MB | 3 | ||||||
| ad_image(TOAST) | 1800 | 2487788 | |||||||||
| DB | Tablespace | Schema | Table | Heap | Ix | TOAST | TOAST-Ix | ||||
|---|---|---|---|---|---|---|---|---|---|---|---|
| Blks | %Total | Blks | %Total | Blks | %Total | Blks | %Total | ||||
| etendo | pg_default | profile | last_stat_tables | 3142186 | 14.58 | 104592 | 0.49 | ||||
| etendo | pg_default | pg_catalog | pg_class | 1085860 | 5.04 | 1243081 | 5.77 | ||||
| etendo | pg_default | public | m_productionplan | 1573641 | 7.30 | 796 | 0.00 | ||||
| etendo | pg_default | public | m_inoutline | 1205279 | 5.59 | 63955 | 0.30 | ||||
| etendo | pg_default | pg_catalog | pg_attribute | 423682 | 1.97 | 617163 | 2.86 | ||||
| etendo | pg_default | profile | last_stat_indexes | 576156 | 2.67 | 207010 | 0.96 | ||||
| etendo | pg_default | public | ad_image | 124 | 0.00 | 623328 | 2.89 | 14790 | 0.07 | ||
| etendo | pg_default | pg_catalog | pg_proc | 414910 | 1.93 | 161508 | 0.75 | 2273 | 0.01 | 7612 | 0.04 |
| etendo | pg_default | pg_catalog | pg_index | 193572 | 0.90 | 370637 | 1.72 | ||||
| etendo | pg_default | pg_catalog | pg_type | 152207 | 0.71 | 326694 | 1.52 | ||||
| etendo | pg_default | pg_catalog | pg_operator | 312888 | 1.45 | 115363 | 0.54 | ||||
| etendo | pg_default | pg_catalog | pg_cast | 44878 | 0.21 | 316113 | 1.47 | ||||
| etendo | pg_default | public | ma_workrequirement | 286558 | 1.33 | 11697 | 0.05 | ||||
| etendo | pg_default | pg_catalog | pg_statistic | 69643 | 0.32 | 138330 | 0.64 | 14642 | 0.07 | 20380 | 0.09 |
| etendo | pg_default | pg_catalog | pg_namespace | 111530 | 0.52 | 124821 | 0.58 | ||||
| etendo | pg_default | pg_catalog | pg_constraint | 137509 | 0.64 | 76849 | 0.36 | ||||
| etendo | pg_default | pg_catalog | pg_trigger | 144460 | 0.67 | 59557 | 0.28 | ||||
| etendo | pg_default | profile | last_stat_database | 187931 | 0.87 | 111 | 0.00 | ||||
| etendo | pg_default | public | ad_textinterfaces_trl | 156600 | 0.73 | 4500 | 0.02 | ||||
| etendo | pg_default | pg_catalog | pg_depend | 50387 | 0.23 | 103087 | 0.48 | ||||
| DB | Tablespace | Schema | Table | Heap | Ix | TOAST | TOAST-Ix | Hit(%) | ||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|
| Blks | %Total | Blks | %Total | Blks | %Total | Blks | %Total | |||||
| etendo | pg_default | public | ad_image | 78 | 0.01 | 522722 | 76.87 | 8094 | 1.19 | 16.82 | ||
| etendo | pg_default | public | c_orderline | 17948 | 2.64 | 386 | 0.06 | 87.39 | ||||
| etendo | pg_default | public | c_orderlinetax | 9694 | 1.43 | 591 | 0.09 | 69.51 | ||||
| etendo | pg_default | public | man_wr_voces | 8511 | 1.25 | 182 | 0.03 | 59.77 | ||||
| etendo | pg_default | public | m_transaction | 4562 | 0.67 | 123 | 0.02 | 84.85 | ||||
| etendo | pg_default | public | m_productionplan | 3830 | 0.56 | 37 | 0.01 | 99.75 | ||||
| etendo | pg_default | public | ad_ref_data_loaded | 2428 | 0.36 | 50.00 | ||||||
| etendo | pg_default | pg_catalog | pg_attribute | 1878 | 0.28 | 532 | 0.08 | 99.77 | ||||
| etendo | pg_default | public | ad_process_run | 2057 | 0.30 | 73 | 0.01 | 14 | 0.00 | 20 | 0.00 | 95.69 |
| etendo | pg_default | profile | sample_stat_tables | 2021 | 0.30 | 105 | 0.02 | 96.16 | ||||
| etendo | pg_default | public | ad_column | 1869 | 0.27 | 202 | 0.03 | 88.01 | ||||
| etendo | pg_default | pg_catalog | pg_statistic | 991 | 0.15 | 83 | 0.01 | 558 | 0.08 | 21 | 0.00 | 99.32 |
| etendo | pg_default | public | ma_weemployee | 1412 | 0.21 | 12 | 0.00 | 50.23 | ||||
| etendo | pg_default | pg_catalog | pg_trigger | 831 | 0.12 | 286 | 0.04 | 99.45 | ||||
| etendo | pg_default | pg_catalog | pg_depend | 806 | 0.12 | 154 | 0.02 | 99.37 | ||||
| etendo | pg_default | profile | last_stat_indexes | 850 | 0.12 | 81 | 0.01 | 99.88 | ||||
| etendo | pg_default | pg_catalog | pg_constraint | 833 | 0.12 | 77 | 0.01 | 99.58 | ||||
| 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 | 747 | 0.11 | 90 | 0.01 | 97.68 | ||||
| etendo | pg_default | profile | last_stat_tables | 727 | 0.11 | 42 | 0.01 | 99.98 | ||||
| DB | Tablespace | Schema | Table | Ins | Upd | Del | Upd(HOT) | SeqScan | SeqFet | IxScan | IxFet |
|---|---|---|---|---|---|---|---|---|---|---|---|
| etendo | pg_default | profile | last_stat_indexes | 54326 | 1515 | 54326 | 1 | 186 | 873940 | 33531 | 327471 |
| etendo | pg_default | profile | last_stat_tables | 31671 | 3735 | 31671 | 69 | 186 | 509490 | 8462 | 2746597 |
| etendo | pg_default | pg_catalog | pg_attribute | 23177 | 23177 | 81 | 90860 | 258071 | 1141255 | ||
| etendo | pg_default | pg_catalog | pg_statistic | 11872 | 9898 | 2 | 12873 | 65118 | 49239 | ||
| pg_statistic(TOAST) | 1260 | 1259 | 7859 | 11647 | |||||||
| etendo | pg_default | profile | last_stat_user_functions | 5658 | 622 | 5658 | 30 | 389 | 168510 | ||
| last_stat_user_functions(TOAST) | |||||||||||
| etendo | pg_default | pg_catalog | pg_class | 1801 | 6578 | 1801 | 1327 | 5946 | 17300258 | 594232 | 584585 |
| etendo | pg_default | pg_catalog | pg_depend | 4358 | 4358 | 12 | 206740 | 42327 | 48054 | ||
| etendo | pg_default | profile | sample_stat_tables | 3735 | 3972 | 25 | 689193 | 153 | 4258 | ||
| etendo | pg_default | pg_catalog | pg_type | 2066 | 2066 | 12 | 29189 | 155301 | 147116 | ||
| etendo | pg_default | profile | sample_stat_indexes | 1515 | 1585 | 25 | 276705 | 175 | 1712 | ||
| etendo | pg_default | profile | sample_statements | 1435 | 1511 | 49 | 514047 | 117 | 1511 | ||
| sample_statements(TOAST) | |||||||||||
| postgres | pg_default | pg_catalog | pg_attribute | 1215 | 1215 | 37 | 8016 | 39401 | 85329 | ||
| postgres | pg_global | pg_catalog | pg_shdepend | 671 | 671 | 9 | 15479 | 5310 | 1586 | ||
| etendo | pg_global | pg_catalog | pg_shdepend | 671 | 671 | 9 | 15479 | 5310 | 1586 | ||
| etendo | pg_default | profile | sample_stat_user_functions | 622 | 666 | 25 | 106395 | 96 | 666 | ||
| etendo | pg_default | pg_catalog | pg_index | 512 | 512 | 170 | 265212 | 178181 | 204947 | ||
| postgres | pg_default | pg_catalog | pg_class | 107 | 388 | 107 | 124 | 3680 | 949447 | 32363 | 32119 |
| etendo | pg_default | public | ad_process_run | 285 | 285 | 7 | 37467 | 10131 | 8219 | ||
| ad_process_run(TOAST) | 10 | 50 | |||||||||
| postgres | pg_default | pg_catalog | pg_depend | 259 | 259 | 10 | 22052 | 2420 | 2203 | ||
| postgres | pg_default | pg_catalog | pg_statistic | 478 | 344 | 2 | 838 | 2196 | 1487 | ||
| pg_statistic(TOAST) | 15 | 15 | 58 | 67 | |||||||
| DB | Tablespace | Schema | Table | Upd | Upd(HOT) | Del | Vacuum | AutoVacuum | Analyze | AutoAnalyze |
|---|---|---|---|---|---|---|---|---|---|---|
| etendo | pg_default | profile | last_stat_indexes | 1515 | 1 | 54326 | 29 | 47 | 23 | |
| etendo | pg_default | profile | last_stat_tables | 3735 | 69 | 31671 | 29 | 47 | 23 | |
| etendo | pg_default | pg_catalog | pg_attribute | 23177 | 1 | 1 | 1 | |||
| etendo | pg_default | pg_catalog | pg_statistic | 11872 | 9898 | 2 | ||||
| pg_statistic(TOAST) | 1259 | 3 | ||||||||
| etendo | pg_default | pg_catalog | pg_class | 6578 | 1327 | 1801 | 1 | 1 | 1 | |
| etendo | pg_default | profile | last_stat_user_functions | 622 | 30 | 5658 | 29 | 47 | 23 | |
| last_stat_user_functions(TOAST) | ||||||||||
| etendo | pg_default | pg_catalog | pg_depend | 4358 | 1 | 1 | ||||
| etendo | pg_default | profile | sample_stat_tables | 3972 | 1 | 2 | ||||
| etendo | pg_default | pg_catalog | pg_type | 2066 | 1 | 1 | 1 | |||
| etendo | pg_default | profile | sample_stat_indexes | 1585 | 1 | 2 | ||||
| etendo | pg_default | profile | sample_statements | 1511 | 1 | 2 | ||||
| sample_statements(TOAST) | ||||||||||
| postgres | pg_default | pg_catalog | pg_attribute | 1215 | 1 | 1 | 1 | |||
| postgres | pg_global | pg_catalog | pg_shdepend | 671 | 3 | |||||
| etendo | pg_global | pg_catalog | pg_shdepend | 671 | 3 | |||||
| etendo | pg_default | profile | sample_stat_user_functions | 666 | 1 | 2 | ||||
| etendo | pg_default | pg_catalog | pg_index | 512 | 1 | 1 | 1 | |||
| postgres | pg_default | pg_catalog | pg_class | 388 | 124 | 107 | 1 | 1 | 1 | |
| postgres | pg_default | pg_catalog | pg_statistic | 478 | 344 | 1 | ||||
| pg_statistic(TOAST) | 15 | |||||||||
| etendo | pg_default | public | ma_workrequirement | 451 | 400 | |||||
| ma_workrequirement(TOAST) | ||||||||||
| etendo | pg_default | public | ad_process_run | 285 | 1 | 1 | ||||
| ad_process_run(TOAST) | ||||||||||
| DB | Tablespace | Schema | Table | Size | Growth | Ins | Upd | Del | Upd(HOT) |
|---|---|---|---|---|---|---|---|---|---|
| etendo | pg_default | public | ad_process_run | 4240 kB | 232 kB | 285 | 285 | ||
| ad_process_run(TOAST) | 56 kB | ||||||||
| etendo | pg_default | public | c_orderline | 70 MB | 112 kB | 188 | 13 | 1 | |
| c_orderline(TOAST) | |||||||||
| etendo | pg_default | pg_catalog | pg_statistic | 2568 kB | 32 kB | 11872 | 9898 | ||
| pg_statistic(TOAST) | 2168 kB | 40 kB | 1260 | 1259 | |||||
| etendo | pg_default | public | c_orderlinetax | 38 MB | 64 kB | 201 | 13 | ||
| c_orderlinetax(TOAST) | |||||||||
| etendo | pg_default | public | man_wr_voces | 33 MB | 40 kB | 148 | 2 | 1 | |
| man_wr_voces(TOAST) | |||||||||
| etendo | pg_default | public | m_transaction | 18 MB | 16 kB | 34 | |||
| m_transaction(TOAST) | |||||||||
| DB | Tablespace | Schema | Table | Index | Scans | Blks | %Total |
|---|---|---|---|---|---|---|---|
| etendo | pg_default | pg_catalog | pg_class | pg_class_oid_index | 571430 | 1164706 | 5.40 |
| etendo | pg_default | pg_catalog | pg_attribute | pg_attribute_relid_attnum_index | 257931 | 570209 | 2.65 |
| etendo | pg_default | pg_catalog | pg_cast | pg_cast_source_target_index | 312907 | 316112 | 1.47 |
| etendo | pg_default | pg_catalog | pg_type | pg_type_oid_index | 148607 | 306161 | 1.42 |
| etendo | pg_default | pg_catalog | pg_index | pg_index_indexrelid_index | 148028 | 303519 | 1.41 |
| etendo | pg_default | profile | last_stat_indexes | pk_last_stat_indexes | 33531 | 207010 | 0.96 |
| etendo | pg_default | pg_catalog | pg_statistic | pg_statistic_relid_att_inh_index | 65118 | 138330 | 0.64 |
| etendo | pg_default | pg_catalog | pg_proc | pg_proc_oid_index | 63436 | 131633 | 0.61 |
| etendo | pg_default | pg_catalog | pg_namespace | pg_namespace_oid_index | 104507 | 109057 | 0.51 |
| etendo | pg_default | profile | last_stat_tables | pk_last_stat_tables | 8462 | 104592 | 0.49 |
| postgres | pg_default | pg_catalog | pg_attribute | pg_attribute_relid_attnum_index | 39401 | 86004 | 0.40 |
| etendo | pg_default | pg_catalog | pg_depend | pg_depend_reference_index | 33615 | 76762 | 0.36 |
| etendo | pg_default | pg_catalog | pg_index | pg_index_indrelid_index | 28732 | 64012 | 0.30 |
| etendo | pg_default | pg_catalog | pg_constraint | pg_constraint_conrelid_index | 29857 | 62424 | 0.29 |
| etendo | pg_default | pg_catalog | pg_operator | pg_operator_oprname_l_r_n_index | 25617 | 56579 | 0.26 |
| etendo | pg_default | pg_catalog | pg_trigger | pg_trigger_tgrelid_tgname_index | 25431 | 55929 | 0.26 |
| postgres | pg_global | pg_catalog | pg_db_role_setting | pg_db_role_setting_databaseid_rol_index | 53956 | 53998 | 0.25 |
| etendo | pg_global | pg_catalog | pg_db_role_setting | pg_db_role_setting_databaseid_rol_index | 51340 | 51359 | 0.24 |
| etendo | pg_default | pg_catalog | pg_operator | pg_operator_oid_index | 22192 | 47797 | 0.22 |
| etendo | pg_default | pg_catalog | pg_attribute | pg_attribute_relid_attnam_index | 16 | 46701 | 0.22 |
| DB | Tablespace | Schema | Table | Index | Scans | Blk Reads | %Total | Hits(%) |
|---|---|---|---|---|---|---|---|---|
| etendo | pg_default | public | ad_image(TOAST) | pg_toast_117268_index | 1800 | 8094 | 1.19 | 45.27 |
| etendo | pg_default | pg_catalog | pg_attribute | pg_attribute_relid_attnum_index | 257931 | 293 | 0.04 | 99.95 |
| etendo | pg_default | pg_catalog | pg_trigger | pg_trigger_tgrelid_tgname_index | 25431 | 280 | 0.04 | 99.50 |
| etendo | pg_default | public | m_inoutline | m_inoutline_product | 4597 | 271 | 0.04 | 99.38 |
| etendo | pg_default | public | m_inoutline | em_man_wkreq_il_idx | 5170 | 252 | 0.04 | 98.39 |
| etendo | pg_default | pg_catalog | pg_attribute | pg_attribute_relid_attnam_index | 16 | 228 | 0.03 | 99.51 |
| etendo | pg_default | public | c_orderlinetax | c_orderlinetax_derline_tax_un | 199 | 0.03 | 67.11 | |
| etendo | pg_default | public | c_orderlinetax | c_orderlinetax_key | 13 | 188 | 0.03 | 70.85 |
| etendo | pg_default | public | c_orderline | c_orderline_key | 421 | 178 | 0.03 | 87.48 |
| etendo | pg_default | public | c_orderlinetax | c_orderlinetax_orderline | 214 | 178 | 0.03 | 85.78 |
| etendo | pg_default | pg_catalog | pg_class | pg_class_relname_nsp_index | 4236 | 146 | 0.02 | 99.37 |
| etendo | pg_default | public | ma_workrequirement | ma_workrequirement_key | 3515 | 140 | 0.02 | 98.80 |
| etendo | pg_default | public | man_wr_voces | man_wr_voces_key | 435 | 132 | 0.02 | 92.42 |
| etendo | pg_default | profile | sample_stat_tables | pk_sample_stat_tables | 141 | 104 | 0.02 | 98.72 |
| etendo | pg_default | public | ad_column | ad_column_name | 2 | 85 | 0.01 | 50.29 |
| etendo | pg_default | pg_catalog | pg_statistic | pg_statistic_relid_att_inh_index | 65118 | 83 | 0.01 | 99.94 |
| etendo | pg_default | profile | last_stat_indexes | pk_last_stat_indexes | 33531 | 81 | 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 | 75 | 0.01 | 99.71 |
| etendo | pg_default | pg_catalog | pg_class | pg_class_oid_index | 571430 | 70 | 0.01 | 99.99 |
| DB | Tablespace | Schema | Table | Index | Index | Table | |||
|---|---|---|---|---|---|---|---|---|---|
| Size | Growth | Ins | Upd | Del | |||||
| etendo | pg_default | public | c_orderlinetax | c_orderlinetax_derline_tax_un | 11 MB | 16 kB | 201 | 13 | |
| etendo | pg_default | public | c_orderline | em_man_inoutline_order_idx | 6552 kB | 16 kB | 188 | 5 | |
| etendo | pg_default | pg_catalog | pg_statistic | pg_statistic_relid_att_inh_index | 216 kB | 8192 bytes | 1974 | ||
| etendo | pg_default | pg_catalog | pg_depend | pg_depend_depender_index | 1704 kB | 8192 bytes | 4358 | 4358 | |
| etendo | pg_default | pg_catalog | pg_depend | pg_depend_reference_index | 1688 kB | 8192 bytes | 4358 | 4358 | |
| etendo | pg_default | pg_catalog | pg_type | pg_type_oid_index | 96 kB | 8192 bytes | 2066 | 2066 | |
| etendo | pg_default | public | c_orderlinetax | c_orderlinetax_key | 6720 kB | 8192 bytes | 201 | 13 | |
| etendo | pg_default | public | c_orderlinetax | c_orderlinetax_orderline | 6720 kB | 8192 bytes | 201 | 13 | |
| etendo | pg_default | public | c_orderline | em_man_ol_ma_wkreq_id_idx | 6720 kB | 8192 bytes | 188 | 12 | |
| etendo | pg_default | public | c_orderline | c_orderline_key | 6720 kB | 8192 bytes | 188 | 5 | |
| etendo | pg_default | public | man_wr_voces | man_wr_voces_key | 7240 kB | 8192 bytes | 145 | ||
| etendo | pg_default | public | man_wr_voces | man_wr_voces_ma_wkrequ_id_idx | 7240 kB | 8192 bytes | 145 | ||
| etendo | pg_default | public | m_transaction | m_transaction_product_trxprdt | 3072 kB | 8192 bytes | 34 | ||
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 | 5251 | 1801 | |
| postgres | pg_default | pg_catalog | pg_class | pg_class_tblspc_relfilenode_index | 16 kB | 107 | 264 | 107 | |
| etendo | pg_default | public | ad_process_run | ad_process_run_ould_be_killed | 8192 bytes | 272 | 272 | ||
| etendo | pg_default | public | m_transaction | m_transaction_product_trxprdt | 3072 kB | 8192 bytes | 34 | ||
| DB | Schema | Function | Executions | Time (s) | |||
|---|---|---|---|---|---|---|---|
| Total | Self | Mean | Mean self | ||||
| etendo | profile | take_sample | 23 | 23.84 | 0.02 | 1.036 | 0.001 |
| etendo | profile | take_sample_subset | 23 | 23.81 | 0.06 | 1.035 | 0.003 |
| etendo | profile | take_sample | 23 | 23.75 | 2.49 | 1.033 | 0.108 |
| etendo | profile | collect_obj_stats | 23 | 13.44 | 4.02 | 0.584 | 0.175 |
| etendo | profile | dblink | 621 | 10.74 | 10.74 | 0.017 | 0.017 |
| etendo | public | equal | 4214146 | 8.23 | 2.87 | 0.000 | 0.000 |
| etendo | public | man_get_costotoal_mats_wk | 392 | 6.36 | 6.35 | 0.016 | 0.016 |
| etendo | public | man_get_benefit_wk | 375 | 6.18 | 0.02 | 0.016 | 0.000 |
| etendo | profile | sample_dbobj_delta | 23 | 5.65 | 5.65 | 0.246 | 0.246 |
| etendo | public | to_number | 4222913 | 5.39 | 5.39 | 0.000 | 0.000 |
| etendo | public | ad_column_identifier | 2760 | 1.08 | 1.06 | 0.000 | 0.000 |
| etendo | profile | collect_pg_stat_statements_stats | 23 | 1.03 | 0.53 | 0.045 | 0.023 |
| etendo | public | ma_workeffort_validate | 4 | 0.53 | 0.03 | 0.133 | 0.009 |
| etendo | public | c_gettax | 204 | 0.32 | 0.00 | 0.002 | 0.000 |
| etendo | public | c_gettax | 204 | 0.32 | 0.26 | 0.002 | 0.001 |
| etendo | public | obequals | 292812 | 0.31 | 0.31 | 0.000 | 0.000 |
| etendo | profile | dblink_connect | 66 | 0.29 | 0.29 | 0.004 | 0.004 |
| etendo | public | c_gettax | 188 | 0.28 | 0.00 | 0.002 | 0.000 |
| etendo | public | c_gettax | 188 | 0.28 | 0.00 | 0.002 | 0.000 |
| etendo | public | to_char | 404725 | 0.20 | 0.20 | 0.000 | 0.000 |
| DB | Schema | Function | Executions | Time (s) | |||
|---|---|---|---|---|---|---|---|
| Total | Self | Mean | Mean self | ||||
| etendo | public | to_number | 4222913 | 5.39 | 5.39 | 0.000 | 0.000 |
| etendo | public | equal | 4214146 | 8.23 | 2.87 | 0.000 | 0.000 |
| etendo | public | to_char | 404725 | 0.20 | 0.20 | 0.000 | 0.000 |
| etendo | public | obequals | 292812 | 0.31 | 0.31 | 0.000 | 0.000 |
| etendo | public | ad_isorgincluded | 12184 | 0.15 | 0.15 | 0.000 | 0.000 |
| etendo | public | ad_org_isinnaturaltree | 5244 | 0.11 | 0.03 | 0.000 | 0.000 |
| etendo | public | to_char | 4654 | 0.01 | 0.01 | 0.000 | 0.000 |
| etendo | public | ad_istriggerenabled | 3117 | 0.07 | 0.07 | 0.000 | 0.000 |
| etendo | public | ad_column_identifier | 2760 | 1.08 | 1.06 | 0.000 | 0.000 |
| etendo | public | uuid_generate_v4 | 2292 | 0.02 | 0.02 | 0.000 | 0.000 |
| etendo | public | round | 1828 | 0.00 | 0.00 | 0.000 | 0.000 |
| etendo | public | to_date | 1063 | 0.01 | 0.01 | 0.000 | 0.000 |
| etendo | public | to_date | 858 | 0.00 | 0.00 | 0.000 | 0.000 |
| etendo | public | get_uuid | 764 | 0.04 | 0.02 | 0.000 | 0.000 |
| etendo | public | man_get_import_voz | 665 | 0.04 | 0.04 | 0.000 | 0.000 |
| etendo | public | lowerequaltimestamp | 654 | 0.00 | 0.00 | 0.000 | 0.000 |
| etendo | profile | dblink | 621 | 10.74 | 10.74 | 0.017 | 0.017 |
| etendo | public | man_get_costot_vocesorder_wk | 576 | 0.02 | 0.02 | 0.000 | 0.000 |
| etendo | public | add_days | 553 | 0.00 | 0.00 | 0.000 | 0.000 |
| etendo | public | man_get_costotoal_mats_wk | 392 | 6.36 | 6.35 | 0.016 | 0.016 |
| DB | Schema | Function | Executions | Time (s) | |||
|---|---|---|---|---|---|---|---|
| Total | Self | Mean | Mean self | ||||
| etendo | public | man_orderline_after_trg | 201 | 3.36 | 0.04 | 0.017 | 0.000 |
| etendo | public | man_wr_voces_trg | 150 | 2.51 | 0.04 | 0.017 | 0.000 |
| etendo | public | man_ma_wrphase_trg | 17 | 0.56 | 0.01 | 0.033 | 0.000 |
| etendo | public | c_orderline_trg2 | 201 | 0.30 | 0.11 | 0.001 | 0.001 |
| etendo | public | man_wr_times_trg | 7 | 0.18 | 0.00 | 0.025 | 0.001 |
| etendo | public | c_orderlinetax_trg | 214 | 0.08 | 0.05 | 0.000 | 0.000 |
| etendo | public | intr_c_orderline_trg | 201 | 0.05 | 0.01 | 0.000 | 0.000 |
| etendo | public | c_orderline_trg | 201 | 0.05 | 0.04 | 0.000 | 0.000 |
| etendo | public | ad_process_request_trg | 300 | 0.04 | 0.02 | 0.000 | 0.000 |
| etendo | public | m_transaction_trg | 36 | 0.04 | 0.01 | 0.001 | 0.000 |
| etendo | public | m_inoutline_trg | 38 | 0.03 | 0.01 | 0.001 | 0.000 |
| etendo | public | c_orderline2_trg | 201 | 0.03 | 0.02 | 0.000 | 0.000 |
| etendo | public | c_ordertax_trg | 214 | 0.02 | 0.01 | 0.000 | 0.000 |
| etendo | public | c_ordline_chk_restrictions_trg | 201 | 0.02 | 0.02 | 0.000 | 0.000 |
| etendo | public | m_productionline_trg | 2 | 0.02 | 0.00 | 0.008 | 0.002 |
| etendo | public | intr_m_inoutline_trg | 37 | 0.01 | 0.00 | 0.000 | 0.000 |
| etendo | public | c_order_chk_restrinctions_trg | 227 | 0.01 | 0.01 | 0.000 | 0.000 |
| etendo | public | c_order_trg2 | 215 | 0.01 | 0.01 | 0.000 | 0.000 |
| etendo | public | ad_preference_mod_trg | 30 | 0.01 | 0.01 | 0.000 | 0.000 |
| etendo | public | c_order_trg | 201 | 0.01 | 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 | 29 | 31671 | 3735 | 31671 | 69 | |
| etendo | pg_default | profile | last_stat_indexes | 29 | 54326 | 1515 | 54326 | 1 | |
| etendo | pg_default | profile | last_stat_user_functions | 29 | 5658 | 622 | 5658 | 30 | |
| etendo | pg_default | pg_catalog | pg_statistic | 2 | 11872 | 9898 | |||
| 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 | 124 | |
| postgres | pg_default | pg_catalog | pg_statistic | 1 | 478 | 344 | |||
| 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 | 1327 | |
| etendo | pg_default | pg_catalog | pg_index | 1 | 512 | 512 | |||
| etendo | pg_default | profile | last_stat_database | 1 | 88 | 88 |
| DB | Tablespace | Schema | Table | Analyze count | Autoanalyze count | Ins | Upd | Del | Upd(HOT) |
|---|---|---|---|---|---|---|---|---|---|
| etendo | pg_default | profile | last_stat_tables | 47 | 23 | 31671 | 3735 | 31671 | 69 |
| etendo | pg_default | profile | last_stat_indexes | 47 | 23 | 54326 | 1515 | 54326 | 1 |
| etendo | pg_default | profile | last_stat_user_functions | 47 | 23 | 5658 | 622 | 5658 | 30 |
| etendo | pg_default | profile | last_stat_tablespaces | 22 | 44 | 44 | |||
| 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 | |||||
| postgres | pg_global | pg_catalog | pg_subscription | 3 | |||||
| etendo | pg_global | pg_catalog | pg_pltemplate | 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 |
| 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 | 12 MB | 29 | 416 kB | 1536 kB | |
| etendo | pg_default | profile | last_stat_tables | pk_last_stat_tables | 5888 kB | 29 | 202 kB | 1160 kB | |
| etendo | pg_default | pg_catalog | pg_attribute | pg_attribute_relid_attnam_index | 960 kB | 1 | 960 kB | 4128 kB | |
| etendo | pg_default | pg_catalog | pg_attribute | pg_attribute_relid_attnum_index | 632 kB | 1 | 632 kB | 4128 kB | |
| etendo | pg_default | pg_catalog | pg_statistic | pg_statistic_relid_att_inh_index | 432 kB | 2 | 216 kB | 2804 kB | |
| etendo | pg_default | pg_catalog | pg_type | pg_type_typname_nsp_index | 184 kB | 1 | 184 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 | 2148 kB | |
| postgres | pg_default | pg_catalog | pg_attribute | pg_attribute_relid_attnam_index | 144 kB | 1 | 144 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 | |
| postgres | pg_default | pg_catalog | pg_attribute | pg_attribute_relid_attnum_index | 96 kB | 1 | 96 kB | 408 kB | |
| etendo | pg_default | pg_catalog | pg_type | pg_type_oid_index | 96 kB | 1 | 96 kB | 472 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 | |
| postgres | pg_default | pg_catalog | pg_type | pg_type_typname_nsp_index | 40 kB | 1 | 40 kB | 104 kB | |
| postgres | pg_default | pg_catalog | pg_statistic | pg_statistic_relid_att_inh_index | 40 kB | 1 | 40 kB | 248 kB | |
| postgres | pg_default | pg_catalog | pg_type | pg_type_oid_index | 32 kB | 1 | 32 kB | 104 kB | |
| postgres | pg_default | pg_catalog | pg_class | pg_class_relname_nsp_index | 32 kB | 1 | 32 kB | 104 kB | |
| postgres | pg_default | pg_catalog | pg_class | pg_class_oid_index | 16 kB | 1 | 16 kB | 104 kB |
Data in this section is not differential. This data is valid for last report sample only.
No data in this section
Table shows modified tuples statistics since last analyze.
Data in this section is not differential. This data is valid for last report sample only.
No data in this section
| 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-14 02:00:04.136929+02 | |||
| pg_conf_load_time | 2026-07-15 02:00:03.797725+02 | 2026-07-15 03:00:02+02 | ||
| pg_postmaster_start_time | 2026-07-14 02:00:04.238903+02 | |||
| pg_postmaster_start_time | 2026-07-15 02:00:03.907461+02 | 2026-07-15 03:00:02+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 | |||