pg_profile version 0.3.6
Server name: local
Report interval: 2026-07-19 04:00:01+02 - 2026-07-20 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 | 198668 | 20 | 99.74 | 506519 | 195492976 | 210741876 | 38460918 | 666390 | 321707 | 429505 | 2855 MB | -11 MB | |||
| postgres | 11869 | 99.83 | 1165 | 703207 | 1985078 | 365311 | 2012 | 866 | 1772 | 6399 kB | 40 kB | ||||
| Total | 210537 | 20 | 99.74 | 507684 | 196196183 | 212726954 | 38826229 | 668402 | 322573 | 431277 | 2861 MB | -11 MB | |||
| 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 | 16784400 | 908.77 | 46.73 | 151130434 | 66065289 | 208160 | 2416 | 2426 | 14507 | |||||
| postgres | 5619 | 12.96 | 127526 | 235 | 349 | |||||||||
| template1 | 6346 | 9.04 | 47468 | 237 | 278 | |||||||||
| Total | 16796365 | 930.76 | 46.73 | 151305428 | 66065289 | 208632 | 2416 | 2426 | 15134 | |||||
| Metric | Value |
|---|---|
| Scheduled checkpoints | 275 |
| Requested checkpoints | 1 |
| Checkpoint write time (s) | 9376.25 |
| Checkpoint sync time (s) | 6.68 |
| Checkpoints buffers written | 112727 |
| Background buffers written | |
| Backend buffers written | 142706 |
| Backend fsync count | |
| Bgwriter interrupts (too many buffers) | |
| Number of buffers allocated | 501637 |
| WAL generated | 3670 MB |
| WAL segments archived | |
| WAL segments archive failed |
| Tablespace | Path | Size | Growth |
|---|---|---|---|
| pg_default | 2875 MB | -11 MB | |
| pg_global | 542 kB |
| Query ID | Database | Exec (s) | %Total | Rows | Execution times (ms) | Executions | |||
|---|---|---|---|---|---|---|---|---|---|
| Mean | Min | Max | StdErr | ||||||
[ca2988bd] | etendo | 361.24 | 38.81 | 4635 | 909.913 | 803.086 | 1691.995 | 87.200 | 397 |
[948be82f] | etendo | 125.30 | 13.46 | 125298.419 | 125298.419 | 125298.419 | 1 | ||
[f410d7e7] | etendo | 76.72 | 8.24 | 288322 | 0.266 | 0.133 | 6.702 | 0.090 | 288322 |
[de5cc8a] | etendo | 35.37 | 3.80 | 9019099 | 0.003 | 0.002 | 5.767 | 0.003 | 13528346 |
[cd9c0fd2] | etendo | 33.72 | 3.62 | 13499 | 33716.668 | 33716.668 | 33716.668 | 1 | |
[82c041c2] | etendo | 21.93 | 2.36 | 75620 | 0.290 | 0.003 | 2.938 | 0.142 | 75621 |
[47df1ade] | etendo | 17.33 | 1.86 | 23 | 753.631 | 669.363 | 1232.961 | 130.033 | 23 |
[eb812a48] | etendo | 17.33 | 1.86 | 753.438 | 669.201 | 1232.791 | 130.030 | 23 | |
[12d7a4ea] | etendo | 16.98 | 1.82 | 62950 | 0.270 | 0.008 | 2.962 | 0.134 | 62950 |
[c63702b7] | etendo | 16.61 | 1.78 | 63031 | 0.264 | 0.007 | 5.034 | 0.126 | 63031 |
[faf3330c] | etendo | 15.84 | 1.70 | 203 | 719.911 | 697.212 | 774.577 | 19.164 | 22 |
[1c4d8fed] | etendo | 11.26 | 1.21 | 2774 | 4.059 | 1.672 | 14.320 | 1.595 | 2774 |
[66c83919] | etendo | 8.54 | 0.92 | 1903867 | 8535.866 | 8535.866 | 8535.866 | 1 | |
[9d1e690d] | etendo | 8.11 | 0.87 | 37837 | 0.214 | 0.007 | 2.919 | 0.109 | 37837 |
[d34207c3] | etendo | 6.06 | 0.65 | 253552 | 0.021 | 0.005 | 0.820 | 0.010 | 289369 |
[7318d810] | etendo | 5.20 | 0.56 | 674558 | 5196.875 | 5196.875 | 5196.875 | 1 | |
[92946197] | etendo | 4.73 | 0.51 | 694 | 205.833 | 194.832 | 220.107 | 6.483 | 23 |
[ad3afc69] | etendo | 4.47 | 0.48 | 1030431 | 1.579 | 0.903 | 8.820 | 0.846 | 2831 |
[37eecc4] | etendo | 4.46 | 0.48 | 8.846 | 7.234 | 19.856 | 1.633 | 504 | |
[a0544a5f] | etendo | 3.74 | 0.40 | 32878 | 81.335 | 21.891 | 200.882 | 56.696 | 46 |
| Query ID | Database | Executions | %Total | Rows | Mean(ms) | Min(ms) | Max(ms) | StdErr(ms) | Elapsed(s) |
|---|---|---|---|---|---|---|---|---|---|
[de5cc8a] | etendo | 13528346 | 80.54 | 9019099 | 0.003 | 0.002 | 5.767 | 0.003 | 35.4 |
[b7edb1a4] | etendo | 289694 | 1.72 | 289694 | 0.010 | 0.007 | 1.023 | 0.005 | 2.9 |
[d34207c3] | etendo | 289369 | 1.72 | 253552 | 0.021 | 0.005 | 0.820 | 0.010 | 6.1 |
[4ed26d58] | etendo | 289369 | 1.72 | 31293 | 0.010 | 0.006 | 0.970 | 0.005 | 3.0 |
[f410d7e7] | etendo | 288322 | 1.72 | 288322 | 0.266 | 0.133 | 6.702 | 0.090 | 76.7 |
[39cec726] | etendo | 256404 | 1.53 | 256404 | 0.009 | 0.007 | 2.655 | 0.007 | 2.4 |
[a00bdbff] | etendo | 208095 | 1.24 | 0.006 | 0.004 | 0.499 | 0.003 | 1.3 | |
[9cb9259b] | etendo | 162886 | 0.97 | 162886 | 0.018 | 0.012 | 0.404 | 0.007 | 2.9 |
[5a0bb3c] | etendo | 100772 | 0.60 | 100772 | 0.003 | 0.002 | 0.061 | 0.001 | 0.3 |
[82c041c2] | etendo | 75621 | 0.45 | 75620 | 0.290 | 0.003 | 2.938 | 0.142 | 21.9 |
[58eaeec5] | etendo | 75621 | 0.45 | 75621 | 0.005 | 0.003 | 0.422 | 0.005 | 0.4 |
[51919d48] | etendo | 63040 | 0.38 | 63040 | 0.005 | 0.003 | 0.993 | 0.006 | 0.3 |
[c63702b7] | etendo | 63031 | 0.38 | 63031 | 0.264 | 0.007 | 5.034 | 0.126 | 16.6 |
[d2ee2fda] | etendo | 62954 | 0.37 | 62954 | 0.005 | 0.003 | 0.497 | 0.005 | 0.3 |
[12d7a4ea] | etendo | 62950 | 0.37 | 62950 | 0.270 | 0.008 | 2.962 | 0.134 | 17.0 |
[381eb299] | etendo | 53805 | 0.32 | 53805 | 0.014 | 0.011 | 2.499 | 0.012 | 0.8 |
[c1b84187] | etendo | 49312 | 0.29 | 359375 | 0.040 | 0.015 | 1.020 | 0.038 | 2.0 |
[2f2197e3] | etendo | 49312 | 0.29 | 30751 | 0.014 | 0.006 | 0.323 | 0.008 | 0.7 |
[b23cd0f0] | etendo | 37843 | 0.23 | 37843 | 0.005 | 0.003 | 0.461 | 0.005 | 0.2 |
[9d1e690d] | etendo | 37837 | 0.23 | 37837 | 0.214 | 0.007 | 2.919 | 0.109 | 8.1 |
| Query ID | Database | blks fetched | %Total | Hits(%) | Elapsed(s) | Rows | Executions |
|---|---|---|---|---|---|---|---|
[ca2988bd] | etendo | 82888376 | 54.78 | 100.00 | 361.2 | 4635 | 397 |
[de5cc8a] | etendo | 13528346 | 8.94 | 100.00 | 35.4 | 9019099 | 13528346 |
[f410d7e7] | etendo | 9547139 | 6.31 | 99.97 | 76.7 | 288322 | 288322 |
[faf3330c] | etendo | 6478885 | 4.28 | 100.00 | 15.8 | 203 | 22 |
[47df1ade] | etendo | 4791039 | 3.17 | 99.98 | 17.3 | 23 | 23 |
[eb812a48] | etendo | 4790901 | 3.17 | 99.98 | 17.3 | 23 | |
[948be82f] | etendo | 3040595 | 2.01 | 84.22 | 125.3 | 1 | |
[303fdc1e] | etendo | 2322797 | 1.54 | 100.00 | 1.3 | 2403 | 23 |
[92946197] | etendo | 1636096 | 1.08 | 99.97 | 4.7 | 694 | 23 |
[22217272] | etendo | 1618119 | 1.07 | 100.00 | 2.1 | 51037 | 23 |
[ad3afc69] | etendo | 1255527 | 0.83 | 100.00 | 4.5 | 1030431 | 2831 |
[61e12bc8] | etendo | 1176910 | 0.78 | 99.92 | 3.0 | 11 | 4 |
[b7edb1a4] | etendo | 908624 | 0.60 | 100.00 | 2.9 | 289694 | 289694 |
[4ed26d58] | etendo | 906956 | 0.60 | 100.00 | 3.0 | 31293 | 289369 |
[d34207c3] | etendo | 831347 | 0.55 | 100.00 | 6.1 | 253552 | 289369 |
[39cec726] | etendo | 776500 | 0.51 | 100.00 | 2.4 | 256404 | 256404 |
[37eecc4] | etendo | 758520 | 0.50 | 100.00 | 4.5 | 504 | |
[6d193752] | etendo | 633562 | 0.42 | 100.00 | 2.0 | 25487 | 19 |
[24aa4a29] | etendo | 560371 | 0.37 | 100.00 | 1.8 | 2162 | 2155 |
[9cb9259b] | etendo | 489670 | 0.32 | 100.00 | 2.9 | 162886 | 162886 |
| Query ID | Database | Reads | %Total | Hits(%) | Elapsed(s) | Rows | Executions |
|---|---|---|---|---|---|---|---|
[948be82f] | etendo | 479876 | 94.16 | 84.22 | 125.3 | 1 | |
[23e506a2] | etendo | 3288 | 0.65 | 0.66 | 0.0 | 43 | 1 |
[f410d7e7] | etendo | 2480 | 0.49 | 99.97 | 76.7 | 288322 | 288322 |
[b54ea3e2] | etendo | 2151 | 0.42 | 99.44 | 2.1 | 60 | |
[7eea2aca] | etendo | 1988 | 0.39 | 98.79 | 0.5 | 17799 | 17799 |
[61e12bc8] | etendo | 992 | 0.19 | 99.92 | 3.0 | 11 | 4 |
[948be82f] | template1 | 977 | 0.19 | 97.58 | 2.8 | 1 | |
[948be82f] | postgres | 949 | 0.19 | 97.66 | 3.0 | 1 | |
[47df1ade] | etendo | 934 | 0.18 | 99.98 | 17.3 | 23 | 23 |
[eb812a48] | etendo | 934 | 0.18 | 99.98 | 17.3 | 23 | |
[262cee45] | etendo | 588 | 0.12 | 99.52 | 1.5 | 13 | 13 |
[61de0adf] | etendo | 588 | 0.12 | 99.52 | 1.5 | 13 | 13 |
[532de794] | etendo | 565 | 0.11 | 98.69 | 0.5 | 1501 | 1501 |
[4ec9dd54] | etendo | 534 | 0.10 | 90.34 | 0.1 | 6 | 6 |
[92946197] | etendo | 497 | 0.10 | 99.97 | 4.7 | 694 | 23 |
[da3ad8a5] | etendo | 434 | 0.09 | 96.68 | 0.2 | 120 | 120 |
[c94f617e] | etendo | 381 | 0.07 | 97.82 | 0.1 | 107 | 107 |
[cbb8c03] | etendo | 373 | 0.07 | 99.78 | 1.6 | 49 | 49 |
[2c476950] | etendo | 347 | 0.07 | 96.98 | 0.2 | 120 | 120 |
[5b6852b2] | etendo | 344 | 0.07 | 98.07 | 0.2 | 129 | 129 |
| Query ID | Database | Dirtied | %Total | Hits(%) | Elapsed(s) | Rows | Executions |
|---|---|---|---|---|---|---|---|
[f410d7e7] | etendo | 69610 | 33.36 | 99.97 | 76.7 | 288322 | 288322 |
[948be82f] | etendo | 62376 | 29.90 | 84.22 | 125.3 | 1 | |
[47df1ade] | etendo | 15893 | 7.62 | 99.98 | 17.3 | 23 | 23 |
[eb812a48] | etendo | 15893 | 7.62 | 99.98 | 17.3 | 23 | |
[3b0e4e8a] | etendo | 4053 | 1.94 | 99.96 | 3.6 | 54119 | 46 |
[a0544a5f] | etendo | 3252 | 1.56 | 99.97 | 3.7 | 32878 | 46 |
[532de794] | etendo | 1949 | 0.93 | 98.69 | 0.5 | 1501 | 1501 |
[59d1e156] | etendo | 1703 | 0.82 | 99.52 | 0.9 | 22 | 22 |
[262cee45] | etendo | 1499 | 0.72 | 99.52 | 1.5 | 13 | 13 |
[61de0adf] | etendo | 1499 | 0.72 | 99.52 | 1.5 | 13 | 13 |
[d2f1c69a] | etendo | 1394 | 0.67 | 99.22 | 0.1 | 265 | 265 |
[5a960627] | etendo | 1024 | 0.49 | 99.80 | 1.7 | 29 | 29 |
[655cd7a1] | etendo | 1024 | 0.49 | 99.80 | 1.7 | 29 | 29 |
[f574fa6a] | etendo | 1024 | 0.49 | 99.80 | 1.7 | 29 | 29 |
[cbb8c03] | etendo | 868 | 0.42 | 99.78 | 1.6 | 49 | 49 |
[6f2d0383] | etendo | 804 | 0.39 | 100.00 | 0.3 | 1345 | 1345 |
[d422fd3a] | etendo | 749 | 0.36 | 100.00 | 0.5 | 34 | |
[c94f617e] | etendo | 638 | 0.31 | 97.82 | 0.1 | 107 | 107 |
[2424fc9a] | etendo | 635 | 0.30 | 99.68 | 1.0 | 13 | 13 |
[f6f43f8d] | etendo | 587 | 0.28 | 100.00 | 0.0 | 35295 | 15 |
| Query ID | Database | Written | %Total | %BackendW | Hits(%) | Elapsed(s) | Rows | Executions |
|---|---|---|---|---|---|---|---|---|
[948be82f] | etendo | 58383 | 22.86 | 40.91 | 84.22 | 125.3 | 1 | |
[948be82f] | template1 | 55 | 0.02 | 0.04 | 97.58 | 2.8 | 1 | |
[948be82f] | postgres | 55 | 0.02 | 0.04 | 97.66 | 3.0 | 1 |
| Query ID | Database | Local fetched | Hits(%) | Local (blk) | Temp (blk) | Elapsed(s) | Rows | Executions | ||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| Write | %Total | Read | %Total | Write | %Total | Read | %Total | |||||||
[58eaeec5] | etendo | 77496 | 99.19 | 628 | 25.89 | 0.4 | 75621 | 75621 | ||||||
[51919d48] | etendo | 64612 | 99.18 | 527 | 21.72 | 0.3 | 63040 | 63040 | ||||||
[d2ee2fda] | etendo | 64514 | 99.19 | 523 | 21.56 | 0.3 | 62954 | 62954 | ||||||
[b23cd0f0] | etendo | 38788 | 99.18 | 318 | 13.11 | 0.2 | 37843 | 37843 | ||||||
[155c5d36] | etendo | 12943 | 99.17 | 108 | 4.45 | 0.1 | 12628 | 12628 | ||||||
[3ce2fef5] | etendo | 12960 | 99.17 | 108 | 4.45 | 0.1 | 12645 | 12645 | ||||||
[e8f7715e] | etendo | 12914 | 99.17 | 107 | 4.41 | 0.1 | 12602 | 12602 | ||||||
[ce05bc80] | etendo | 12902 | 99.18 | 106 | 4.37 | 0.1 | 12590 | 12590 | ||||||
[23248c6] | etendo | 11 | 90.91 | 1 | 0.04 | 0.0 | 11 | 11 | ||||||
| QueryID | Query Text |
|---|---|
| 2b694e3baa | insert into ad_context_info (ad_user_id, ad_session_id, processType, processId) values ($1, $2, $3, $4) |
| 7c49e0fca3 | select 1 as id from dual where exists ( select 1 from ( SELECT a.DateAcct as dateacct FROM M_InOut a WHERE a.ad_client_id = $1 AND a.ad_org_id in ('0', '1000003', 'E5C644C994CA4E6DB384AF0325704F1E', '1000002') AND a.posted = 'N' AND a.processed = 'Y' AND (a.processing = 'N' OR a.processing IS NULL) AND EXISTS ( SELECT 1 FROM c_period p WHERE a.DateAcct >= p.StartDate AND a.DateAcct < p.EndDate + 1 AND EXISTS ( SELECT 1 FROM c_periodcontrol pc WHERE pc.c_period_id = p.c_period_id AND ad_org_getperiodcontrolallow(a.ad_org_id) = pc.ad_org_id AND pc.docbasetype = $2 AND pc.periodstatus = 'O' ) )) b where 1=1 ) |
| 891e82e5c1 | 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 |
| 24a71b82fd | SELECT AD_EXTENSION_POINT_HANDLER(v_ep_instance, v_extension_point_id) |
| c9e2eb425b | 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 |
| 5c87b0f400 | delete from ad_context_info |
| b5b8008cb0 | insert into ad_context_info (ad_user_id, ad_session_id, processType, processId) values ($1, $2, $3, $4) |
| 1d911b5cd9 | 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 |
| 5fa24dc926 | 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) |
| e3ffffd609 | select psat_check0_.Psat_Checklist_Result_ID as Psat_Che1_730_, psat_check0_.AD_Client_ID as AD_Clien2_730_, psat_check0_.AD_Org_ID as AD_Org_I3_730_, psat_check0_.Isactive as Isactive4_730_, psat_check0_.Created as Created5_730_, psat_check0_.Createdby as Createdb6_730_, psat_check0_.Updated as Updated7_730_, psat_check0_.Updatedby as Updatedb8_730_, psat_check0_.Advcrm_Activity_ID as Advcrm_A9_730_, psat_check0_.Result as Result10_730_, psat_check0_.Psat_Check_Type_ID as Psat_Ch11_730_, psat_check0_.Psat_Checklist_Group_ID as Psat_Ch12_730_, psat_check0_.AD_Image_ID as AD_Imag13_730_, psat_check0_.Description as Descrip14_730_ from psat_checklist_result psat_check0_ where psat_check0_.Advcrm_Activity_ID=$1 and (psat_check0_.AD_Org_ID in ($2 , $3 , $4 , $5)) and (psat_check0_.AD_Client_ID in ($6 , $7)) order by psat_check0_.Result, psat_check0_.Psat_Checklist_Result_ID limit $8 |
| 5a01956e14 | SELECT C_INVOICE_POST($3, p_Invoice_ID) |
| 7e97660189 | select t.ad_tab_id from ad_tab t where t.ad_window_id = $1 and t.seqno = ( select max(seqno) from ad_tab where ad_window_id = t.ad_window_id and tabLevel = (TO_NUMBER($2)-$4) and seqno < TO_NUMBER($3) ) |
| 3db6ec29e3 | SELECT * FROM C_Invoice_Create0($1) |
| db982ac21b | 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) |
| ebd66f2e50 | select financialm0_.C_Settlement_Generate_ID as C_Settl11_218_1_, financialm0_.C_Debt_Payment_ID as C_Debt_P1_218_1_, financialm0_.C_Debt_Payment_ID as C_Debt_P1_218_0_, financialm0_.AD_Client_ID as AD_Clien2_218_0_, financialm0_.AD_Org_ID as AD_Org_I3_218_0_, financialm0_.IsActive as IsActive4_218_0_, financialm0_.Created as Created5_218_0_, financialm0_.CreatedBy as CreatedB6_218_0_, financialm0_.Updated as Updated7_218_0_, financialm0_.UpdatedBy as UpdatedB8_218_0_, financialm0_.IsReceipt as IsReceip9_218_0_, financialm0_.C_Settlement_Cancel_ID as C_Settl10_218_0_, financialm0_.C_Settlement_Generate_ID as C_Settl11_218_0_, financialm0_.Description as Descrip12_218_0_, financialm0_.C_Invoice_ID as C_Invoi13_218_0_, financialm0_.C_BPartner_ID as C_BPart14_218_0_, financialm0_.C_Currency_ID as C_Curre15_218_0_, financialm0_.C_CashLine_ID as C_CashL16_218_0_, financialm0_.C_BankAccount_ID as C_BankA17_218_0_, financialm0_.C_CashBook_ID as C_CashB18_218_0_, financialm0_.PaymentRule as Payment19_218_0_, financialm0_.IsPaid as IsPaid20_218_0_, financialm0_.Amount as Amount21_218_0_, financialm0_.WriteOffAmt as WriteOf22_218_0_, financialm0_.Dateplanned as Datepla23_218_0_, financialm0_.IsManual as IsManua24_218_0_, financialm0_.IsValid as IsValid25_218_0_, financialm0_.C_BankStatementLine_ID as C_BankS26_218_0_, financialm0_.Changesettlementcancel as Changes27_218_0_, financialm0_.Cancel_Processed as Cancel_28_218_0_, financialm0_.Generate_Processed as Generat29_218_0_, financialm0_.GLItemAmt as GLItemA30_218_0_, financialm0_.Isdirectposting as Isdirec31_218_0_, financialm0_.C_Glitem_ID as C_Glite32_218_0_, financialm0_.C_Order_ID as C_Order33_218_0_, financialm0_.C_Project_ID as C_Proje34_218_0_, financialm0_.IsAutomaticGenerated as IsAutom35_218_0_, financialm0_.Status as Status36_218_0_, financialm0_.Status_Initial as Status_37_218_0_, financialm0_.C_Withholding_ID as C_Withh38_218_0_, financialm0_.Withholdingamount as Withhol39_218_0_ from C_Debt_Payment financialm0_ where financialm0_.C_Settlement_Generate_ID=$1 |
| 58d3d7b94c | 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) |
| 5c208ba241 | 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 |
| 9ea37f4950 | select max(this_.Lastpayment) as y0_ from FIN_Payment_Sched_Inv_V this_ where this_.C_Invoice_ID=$1 and this_.Isactive=$2 limit $3 |
| fdd1193fad | 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 ) |
| 71c019dfbe | insert into ad_context_info (ad_user_id, ad_session_id, processType, processId) values ($1, $2, $3, $4) |
| 0c133f89fa | SELECT profile.take_sample() |
| cbb0d2e65e | insert into advcrm_activity (AD_Client_ID, AD_Org_ID, Created, Createdby, Updated, Updatedby, Isactive, Type_Activity, Name, Date_Start, Date_End, Status, AD_User_ID, Duration_Hours, Direction_Call, Visibility, Priority, Isallday, Istemplate, EM_Psat_Activity_Category_ID, EM_Psat_Request_ID, EM_Advcrm1_Newso, EM_Psat_Add_Consumption, EM_Psat_Lineno, em_psat_create_order, EM_Psat_Addmaterials, EM_Psat_Checklist_ID, EM_Psat_Invoicerule, EM_Psat_Finish_Activity, Advcrm_Activity_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) |
| 0c13a0abe2 | select finpayment0_.C_Invoice_ID as C_Invoic8_373_1_, finpayment0_.Fin_Payment_Schedule_ID as Fin_Paym1_373_1_, finpayment0_.Fin_Payment_Schedule_ID as Fin_Paym1_373_0_, finpayment0_.AD_Client_ID as AD_Clien2_373_0_, finpayment0_.AD_Org_ID as AD_Org_I3_373_0_, finpayment0_.Created as Created4_373_0_, finpayment0_.Createdby as Createdb5_373_0_, finpayment0_.Updated as Updated6_373_0_, finpayment0_.Updatedby as Updatedb7_373_0_, finpayment0_.C_Invoice_ID as C_Invoic8_373_0_, finpayment0_.C_Order_ID as C_Order_9_373_0_, finpayment0_.Duedate as Duedate10_373_0_, finpayment0_.Fin_Paymentmethod_ID as Fin_Pay11_373_0_, finpayment0_.C_Currency_ID as C_Curre12_373_0_, finpayment0_.Amount as Amount13_373_0_, finpayment0_.Paidamt as Paidamt14_373_0_, finpayment0_.Outstandingamt as Outstan15_373_0_, finpayment0_.Isactive as Isactiv16_373_0_, finpayment0_.FIN_Payment_Priority_ID as FIN_Pay17_373_0_, finpayment0_.Update_Payment_Plan as Update_18_373_0_, finpayment0_.OrigDueDate as OrigDue19_373_0_, finpayment0_.Description as Descrip20_373_0_, finpayment0_.EM_Aprm_Modif_Paym_Sched as EM_Aprm21_373_0_, finpayment0_.EM_Aprm_Modif_Paym_Out_Sched as EM_Aprm22_373_0_, finpayment0_.ExpectedDate as Expecte23_373_0_ from FIN_Payment_Schedule finpayment0_ where finpayment0_.C_Invoice_ID=$1 |
| 753e2f546e | insert into ad_context_info (ad_user_id, ad_session_id, processType, processId) values ($1, $2, $3, $4) |
| b8b9950890 | 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)) |
| 31575b9c84 | insert into ad_context_info (ad_user_id, ad_session_id, processType, processId) values ($1, $2, $3, $4) |
| 140f3eb685 | SELECT collect_pg_stat_statements_stats(server_properties, sserver_id, s_id, topn) |
| f2247347b1 | SELECT C_ORDER_POST1(p_PInstance_ID, $2) |
| 3712ef7645 | SELECT C_INVOICELINETAX_INSERT(new.AD_Org_ID, new.C_Invoice_ID, new.C_InvoiceLine_ID, new.UpdatedBy, new.C_Tax_ID, new.C_Tax_ID, v_newLineNetAmt, v_newLineAlternate, v_Prec) |
| ce6a86d8e2 | SELECT * FROM C_Invoice_Create(p_PInstance_ID, $2) |
| 11b3a7981f | select invoicecan0_.C_Order_ID as col_0_0_, organizati2_.Name as col_1_0_, invoicecan0_.C_Doctype_ID as col_2_0_, invoicecan0_.Documentno as col_3_0_, businesspa3_.Name as col_4_0_, invoicecan0_.Dateordered as col_5_0_, case when $5=$6 then invoicecan0_.Amountlinesgross else invoicecan0_.Amountlines end as col_6_0_, case when invoicecan0_.Term=$7 then $8 when invoicecan0_.Term=$9 and invoicecan0_.Qtydelivered<invoicecan0_.Qtyordered then case when $10=$11 then invoicecan0_.Amountlinesgross else invoicecan0_.Amountlines end else case when $12=$13 then invoicecan0_.Notinvoicedlinesgross else invoicecan0_.Notinvoicedlines end end as col_7_0_, invoicecan0_.Term as col_8_0_, case when invoicecan0_.Term=$14 then $15 when invoicecan0_.Term=$16 then case when invoicecan0_.Term=$17 then $18 when invoicecan0_.Term=$19 and invoicecan0_.Qtydelivered<invoicecan0_.Qtyordered then case when $20=$21 then invoicecan0_.Amountlinesgross else invoicecan0_.Amountlines end else case when $22=$23 then invoicecan0_.Notinvoicedlinesgross else invoicecan0_.Notinvoicedlines end end when invoicecan0_.Term=$24 and invoicecan0_.Qtydelivered<invoicecan0_.Qtyordered then $25 else invoicecan0_.Pendinglines end as col_9_0_, invoicecan0_.Qtyordered as col_10_0_, invoicecan0_.Qtydelivered as col_11_0_, case when $26=$27 then invoicecan0_.Amountlinesgross else invoicecan0_.Amountlines end-(case when $28=$29 then invoicecan0_.Notinvoicedlinesgross else invoicecan0_.Notinvoicedlines end) as col_12_0_, invoicecan0_.Amountlinesgross as col_13_0_, invoicecan0_.Created as col_14_0_, invoicecan0_.Createdby as col_15_0_, invoicecan0_.Updated as col_16_0_, invoicecan0_.Updatedby as col_17_0_, documentty4_.C_DocType_ID as C_DocTyp1_225_0_, aduser5_.AD_User_ID as AD_User_1_129_1_, aduser6_.AD_User_ID as AD_User_1_129_2_, documentty4_.AD_Client_ID as AD_Clien2_225_0_, documentty4_.AD_Org_ID as AD_Org_I3_225_0_, documentty4_.IsActive as IsActive4_225_0_, documentty4_.Created as Created5_225_0_, documentty4_.CreatedBy as CreatedB6_225_0_, documentty4_.Updated as Updated7_225_0_, documentty4_.UpdatedBy as UpdatedB8_225_0_, documentty4_.Name as Name9_225_0_, documentty4_.PrintName as PrintNa10_225_0_, documentty4_.Description as Descrip11_225_0_, documentty4_.DocBaseType as DocBase12_225_0_, documentty4_.IsSOTrx as IsSOTrx13_225_0_, documentty4_.DocSubTypeSO as DocSubT14_225_0_, documentty4_.C_DocTypeShipment_ID as C_DocTy15_225_0_, documentty4_.C_DocTypeInvoice_ID as C_DocTy16_225_0_, documentty4_.IsDocNoControlled as IsDocNo17_225_0_, documentty4_.DocNoSequence_ID as DocNoSe18_225_0_, documentty4_.GL_Category_ID as GL_Cate19_225_0_, documentty4_.DocumentNote as Documen20_225_0_, documentty4_.IsDefault as IsDefau21_225_0_, documentty4_.DocumentCopies as Documen22_225_0_, documentty4_.AD_Table_ID as AD_Tabl23_225_0_, documentty4_.Orgfiltered as Orgfilt24_225_0_, documentty4_.C_Doctype_Reversed_ID as C_Docty25_225_0_, documentty4_.IsExpense as IsExpen26_225_0_, documentty4_.Isreversal as Isrever27_225_0_, documentty4_.IsReturn as IsRetur28_225_0_, documentty4_.C_Doctypeorder_ID as C_Docty29_225_0_, documentty4_.C_Doctypesimpinvoice_ID as C_Docty30_225_0_, documentty4_.EM_OBWPL_Useoutbound as EM_OBWP31_225_0_, documentty4_.EM_Prouti_C_Doctypeorder_ID as EM_Prou32_225_0_, documentty4_.C_Doctypeaggrinvoice_ID as C_Docty33_225_0_, documentty4_.EM_OBWPL_IsGroup as EM_OBWP34_225_0_, documentty4_.EM_OBWPL_GenerateShipment as EM_OBWP35_225_0_, documentty4_.EM_OBWPL_Shipmentdoctype_ID as EM_OBWP36_225_0_, documentty4_.EM_Pruti_Inforeport2 as EM_Prut37_225_0_, documentty4_.EM_Pruti_Inforeport as EM_Prut38_225_0_, aduser5_.AD_Client_ID as AD_Clien2_129_1_, aduser5_.AD_Org_ID as AD_Org_I3_129_1_, aduser5_.IsActive as IsActive4_129_1_, aduser5_.Created as Created5_129_1_, aduser5_.CreatedBy as CreatedB6_129_1_, aduser5_.Updated as Updated7_129_1_, aduser5_.UpdatedBy as UpdatedB8_129_1_, aduser5_.Name as Name9_129_1_, aduser5_.Description as Descrip10_129_1_, aduser5_.Password as Passwor11_129_1_, aduser5_.Email as Email12_129_1_, aduser5_.Supervisor_ID as Supervi13_129_1_, aduser5_.C_BPartner_ID as C_BPart14_129_1_, aduser5_.Processing as Process15_129_1_, aduser5_.EmailUser as EmailUs16_129_1_, aduser5_.EmailUserPW as EmailUs17_129_1_, aduser5_.C_BPartner_Location_ID as C_BPart18_129_1_, aduser5_.C_Greeting_ID as C_Greet19_129_1_, aduser5_.Title as Title20_129_1_, aduser5_.Comments as Comment21_129_1_, aduser5_.Phone as Phone22_129_1_, aduser5_.Phone2 as Phone23_129_1_, aduser5_.Fax as Fax24_129_1_, aduser5_.LastContact as LastCon25_129_1_, aduser5_.LastResult as LastRes26_129_1_, aduser5_.Birthday as Birthda27_129_1_, aduser5_.AD_OrgTrx_ID as AD_OrgT28_129_1_, aduser5_.Firstname as Firstna29_129_1_, aduser5_.Lastname as Lastnam30_129_1_, aduser5_.UserName as UserNam31_129_1_, aduser5_.Default_Ad_Client_ID as Default32_129_1_, aduser5_.Default_Ad_Language as Default33_129_1_, aduser5_.Default_Ad_Org_ID as Default34_129_1_, aduser5_.Default_Ad_Role_ID as Default35_129_1_, aduser5_.Default_M_Warehouse_ID as Default36_129_1_, aduser5_.IsLocked as IsLocke37_129_1_, aduser5_.AD_Image_ID as AD_Imag38_129_1_, aduser5_.Grant_Portal_Access as Grant_P39_129_1_, aduser5_.LastPasswordUpdate as LastPas40_129_1_, aduser5_.Isexpiredpassword as Isexpir41_129_1_, aduser5_.Commercialauth as Commerc42_129_1_, aduser5_.Viasms as Viasms43_129_1_, aduser5_.EM_Sgpcrm_Securitygroups_ID as EM_Sgpc44_129_1_, aduser5_.Viaemail as Viaemai45_129_1_, aduser5_.EM_Pruti_Isbillingcontact as EM_Prut46_129_1_, aduser5_.EM_Advcrm_Newsletter as EM_Advc47_129_1_, aduser5_.EM_Pruti_Isordercontact as EM_Prut48_129_1_, aduser5_.EM_Smfsws_Default_Ws_Role_ID as EM_Smfs49_129_1_, aduser5_.EM_Advcrm_sat_user as EM_Advc50_129_1_, aduser6_.AD_Client_ID as AD_Clien2_129_2_, aduser6_.AD_Org_ID as AD_Org_I3_129_2_, aduser6_.IsActive as IsActive4_129_2_, aduser6_.Created as Created5_129_2_, aduser6_.CreatedBy as CreatedB6_129_2_, aduser6_.Updated as Updated7_129_2_, aduser6_.UpdatedBy as UpdatedB8_129_2_, aduser6_.Name as Name9_129_2_, aduser6_.Description as Descrip10_129_2_, aduser6_.Password as Passwor11_129_2_, aduser6_.Email as Email12_129_2_, aduser6_.Supervisor_ID as Supervi13_129_2_, aduser6_.C_BPartner_ID as C_BPart14_129_2_, aduser6_.Processing as Process15_129_2_, aduser6_.EmailUser as EmailUs16_129_2_, aduser6_.EmailUserPW as EmailUs17_129_2_, aduser6_.C_BPartner_Location_ID as C_BPart18_129_2_, aduser6_.C_Greeting_ID as C_Greet19_129_2_, aduser6_.Title as Title20_129_2_, aduser6_.Comments as Comment21_129_2_, aduser6_.Phone as Phone22_129_2_, aduser6_.Phone2 as Phone23_129_2_, aduser6_.Fax as Fax24_129_2_, aduser6_.LastContact as LastCon25_129_2_, aduser6_.LastResult as LastRes26_129_2_, aduser6_.Birthday as Birthda27_129_2_, aduser6_.AD_OrgTrx_ID as AD_OrgT28_129_2_, aduser6_.Firstname as Firstna29_129_2_, aduser6_.Lastname as Lastnam30_129_2_, aduser6_.UserName as UserNam31_129_2_, aduser6_.Default_Ad_Client_ID as Default32_129_2_, aduser6_.Default_Ad_Language as Default33_129_2_, aduser6_.Default_Ad_Org_ID as Default34_129_2_, aduser6_.Default_Ad_Role_ID as Default35_129_2_, aduser6_.Default_M_Warehouse_ID as Default36_129_2_, aduser6_.IsLocked as IsLocke37_129_2_, aduser6_.AD_Image_ID as AD_Imag38_129_2_, aduser6_.Grant_Portal_Access as Grant_P39_129_2_, aduser6_.LastPasswordUpdate as LastPas40_129_2_, aduser6_.Isexpiredpassword as Isexpir41_129_2_, aduser6_.Commercialauth as Commerc42_129_2_, aduser6_.Viasms as Viasms43_129_2_, aduser6_.EM_Sgpcrm_Securitygroups_ID as EM_Sgpc44_129_2_, aduser6_.Viaemail as Viaemai45_129_2_, aduser6_.EM_Pruti_Isbillingcontact as EM_Prut46_129_2_, aduser6_.EM_Advcrm_Newsletter as EM_Advc47_129_2_, aduser6_.EM_Pruti_Isordercontact as EM_Prut48_129_2_, aduser6_.EM_Smfsws_Default_Ws_Role_ID as EM_Smfs49_129_2_, aduser6_.EM_Advcrm_sat_user as EM_Advc50_129_2_ from c_invoice_candidate_v invoicecan0_ inner join C_Order order1_ on invoicecan0_.C_Order_ID=order1_.C_Order_ID inner join AD_Org organizati2_ on invoicecan0_.AD_Org_ID=organizati2_.AD_Org_ID inner join C_BPartner businesspa3_ on invoicecan0_.C_Bpartner_ID=businesspa3_.C_BPartner_ID inner join C_DocType documentty4_ on invoicecan0_.C_Doctype_ID=documentty4_.C_DocType_ID inner join AD_User aduser5_ on invoicecan0_.Createdby=aduser5_.AD_User_ID inner join AD_User aduser6_ on invoicecan0_.Updatedby=aduser6_.AD_User_ID where (invoicecan0_.Term=$30 and invoicecan0_.Qtydelivered<>$31 and ($32=$33 and (exists (select $34 from C_OrderLine orderline7_ where orderline7_.C_Order_ID=order1_.C_Order_ID and orderline7_.QtyDelivered-orderline7_.QtyInvoiced<>$35)) or $36=$37) or invoicecan0_.Term=$38 and (exists (select $39 from C_OrderLine orderline8_ where orderline8_.C_Order_ID=order1_.C_Order_ID and orderline8_.QtyOrdered-orderline8_.QtyInvoiced<>$40)) or invoicecan0_.Term=$41 and (exists (select $42 from C_OrderLine orderline9_ where orderline9_.C_Order_ID=order1_.C_Order_ID and orderline9_.QtyDelivered<>$43 and orderline9_.QtyOrdered<>orderline9_.QtyInvoiced))) and (invoicecan0_.AD_Client_ID in ($44 , $1)) and (invoicecan0_.AD_Org_ID in ($2 , $3)) order by organizati2_.Name, businesspa3_.Name, invoicecan0_.Dateordered limit $4 |
| 2e4c60dda8 | SELECT C_ORDER_POST1($1, $2, $3) |
| 671fe12038 | COPY public.ad_audit_trail (ad_audit_trail_id, ad_client_id, ad_org_id, isactive, created, createdby, updated, updatedby, ad_table_id, record_id, record_revision, ad_user_id, event_time, processtype, process_id, action, ad_column_id, old_char, new_char, old_nchar, new_nchar, old_number, new_number, old_date, new_date, old_text, new_text) TO stdout |
| 0f194ad1e6 | 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) |
| 4813705ddb | update C_Invoice set Updated=$1, DaysTillDue=$2, LastCalculatedOnDate=$3 where C_Invoice_ID=$4 |
| 0b651ca53d | COPY public.fact_acct (fact_acct_id, ad_client_id, ad_org_id, isactive, created, createdby, updated, updatedby, c_acctschema_id, account_id, datetrx, dateacct, c_period_id, ad_table_id, record_id, line_id, gl_category_id, c_tax_id, m_locator_id, postingtype, c_currency_id, amtsourcedr, amtsourcecr, amtacctdr, amtacctcr, c_uom_id, qty, 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, description, a_asset_id, fact_acct_group_id, seqno, factaccttype, docbasetype, acctvalue, acctdescription, record_id2, c_withholding_id, c_doctype_id, c_costcenter_id, ismodify, datebalanced) TO stdout |
| 12a81791af | SELECT coalesce(( select ol.qtyordered - coalesce(sum(abs(coalesce(( select sum(il.movementqty) from m_inoutline il left join m_inout i on i.m_inout_id=il.m_inout_id where i.docstatus<>$2 and il.c_orderline_id=ol.c_orderline_id ),$3))), $4) restante from c_orderline ol where ol.c_orderline_id=p_record_id group by ol.c_orderline_id), $5) |
| a3313bd40b | delete from ad_context_info |
| 785a907bc3 | select invoice0_.C_Invoice_ID as C_Invoic1_249_, invoice0_.AD_Client_ID as AD_Clien2_249_, invoice0_.AD_Org_ID as AD_Org_I3_249_, invoice0_.IsActive as IsActive4_249_, invoice0_.Created as Created5_249_, invoice0_.CreatedBy as CreatedB6_249_, invoice0_.Updated as Updated7_249_, invoice0_.UpdatedBy as UpdatedB8_249_, invoice0_.IsSOTrx as IsSOTrx9_249_, invoice0_.DocumentNo as Documen10_249_, invoice0_.DocStatus as DocStat11_249_, invoice0_.DocAction as DocActi12_249_, invoice0_.Processing as Process13_249_, invoice0_.Processed as Process14_249_, invoice0_.Posted as Posted15_249_, invoice0_.C_DocType_ID as C_DocTy16_249_, invoice0_.C_DocTypeTarget_ID as C_DocTy17_249_, invoice0_.C_Order_ID as C_Order18_249_, invoice0_.Description as Descrip19_249_, invoice0_.IsPrinted as IsPrint20_249_, invoice0_.SalesRep_ID as SalesRe21_249_, invoice0_.DateInvoiced as DateInv22_249_, invoice0_.DatePrinted as DatePri23_249_, invoice0_.DateAcct as DateAcc24_249_, invoice0_.C_BPartner_ID as C_BPart25_249_, invoice0_.C_BPartner_Location_ID as C_BPart26_249_, invoice0_.POReference as PORefer27_249_, invoice0_.IsDiscountPrinted as IsDisco28_249_, invoice0_.DateOrdered as DateOrd29_249_, invoice0_.C_Currency_ID as C_Curre30_249_, invoice0_.C_PaymentTerm_ID as C_Payme31_249_, invoice0_.C_Charge_ID as C_Charg32_249_, invoice0_.ChargeAmt as ChargeA33_249_, invoice0_.TotalLines as TotalLi34_249_, invoice0_.GrandTotal as GrandTo35_249_, invoice0_.M_PriceList_ID as M_Price36_249_, invoice0_.IsTaxIncluded as IsTaxIn37_249_, invoice0_.C_Campaign_ID as C_Campa38_249_, invoice0_.C_Project_ID as C_Proje39_249_, invoice0_.C_Activity_ID as C_Activ40_249_, invoice0_.CreateFrom as CreateF41_249_, invoice0_.GenerateTo as Generat42_249_, invoice0_.AD_User_ID as AD_User43_249_, invoice0_.CopyFrom as CopyFro44_249_, invoice0_.IsSelfService as IsSelfS45_249_, invoice0_.AD_OrgTrx_ID as AD_OrgT46_249_, invoice0_.User1_ID as User47_249_, invoice0_.User2_ID as User48_249_, invoice0_.Withholdingamount as Withhol49_249_, invoice0_.Taxdate as Taxdate50_249_, invoice0_.C_Withholding_ID as C_Withh51_249_, invoice0_.Ispaid as Ispaid52_249_, invoice0_.EM_Einv_Generated as EM_Einv53_249_, invoice0_.Totalpaid as Totalpa54_249_, invoice0_.EM_Einv_Sent as EM_Einv55_249_, invoice0_.OutstandingAmt as Outstan56_249_, invoice0_.DaysTillDue as DaysTil57_249_, invoice0_.DueAmt as DueAmt58_249_, invoice0_.LastCalculatedOnDate as LastCal59_249_, invoice0_.FIN_Paymentmethod_ID as FIN_Pay60_249_, invoice0_.FIN_Payment_Priority_ID as FIN_Pay61_249_, invoice0_.Finalsettlement as Finalse62_249_, invoice0_.Daysoutstanding as Daysout63_249_, invoice0_.Percentageoverdue as Percent64_249_, invoice0_.C_Costcenter_ID as C_Costc65_249_, invoice0_.Calculate_Promotions as Calcula66_249_, invoice0_.A_Asset_ID as A_Asset67_249_, invoice0_.EM_APRM_Addpayment as EM_APRM68_249_, invoice0_.Iscashvat as Iscashv69_249_, invoice0_.EM_APRM_Processinvoice as EM_APRM70_249_, invoice0_.EM_Obcma_C_Poc_Email_ID as EM_Obcm71_249_, invoice0_.Prepaymentamt as Prepaym72_249_, invoice0_.Createfromorders as Createf73_249_, invoice0_.Createfrominouts as Createf74_249_, invoice0_.EM_Advcrm_Newactivity as EM_Advc75_249_, invoice0_.Paidamtatinvoicing as Paidamt76_249_, invoice0_.BPartner_ExtRef as BPartne77_249_, invoice0_.EM_Sgpcrm_Securitygroups_ID as EM_Sgpc78_249_, invoice0_.EM_Prouti_Recalculate_Price as EM_Prou79_249_, invoice0_.EM_Ml_Select_Product as EM_Ml_S80_249_, invoice0_.EM_Prouti_Pricecalculatetdate as EM_Prou81_249_, invoice0_.EM_Prouti_Totalizations as EM_Prou82_249_ from C_Invoice invoice0_ left outer join FIN_Payment_Schedule finpayment1_ on invoice0_.C_Invoice_ID=finpayment1_.C_Invoice_ID where invoice0_.Processed=$7 and (invoice0_.Ispaid=$8 or finpayment1_.Updated>=invoice0_.LastCalculatedOnDate or invoice0_.OutstandingAmt<>$9 or invoice0_.Finalsettlement is null) and (invoice0_.AD_Org_ID in ($1 , $2 , $3 , $4)) and (invoice0_.AD_Client_ID in ($5 , $6)) and invoice0_.IsActive=$10 |
| 0c247acdf0 | VACUUM (FULL, VERBOSE, ANALYZE) |
| 2e0b729b87 | VACUUM (FULL, VERBOSE, ANALYZE) |
| adb1c31f79 | VACUUM (FULL, VERBOSE, ANALYZE) |
| df99961951 | select financialm0_.C_Settlement_ID as C_Settle1_310_0_, financialm0_.AD_Client_ID as AD_Clien2_310_0_, financialm0_.AD_Org_ID as AD_Org_I3_310_0_, financialm0_.IsActive as IsActive4_310_0_, financialm0_.Created as Created5_310_0_, financialm0_.CreatedBy as CreatedB6_310_0_, financialm0_.Updated as Updated7_310_0_, financialm0_.UpdatedBy as UpdatedB8_310_0_, financialm0_.DocumentNo as Document9_310_0_, financialm0_.DateTrx as DateTrx10_310_0_, financialm0_.C_DocType_ID as C_DocTy11_310_0_, financialm0_.Processing as Process12_310_0_, financialm0_.Processed as Process13_310_0_, financialm0_.Posted as Posted14_310_0_, financialm0_.C_Project_ID as C_Proje15_310_0_, financialm0_.C_Campaign_ID as C_Campa16_310_0_, financialm0_.C_Activity_ID as C_Activ17_310_0_, financialm0_.User1_ID as User18_310_0_, financialm0_.User2_ID as User19_310_0_, financialm0_.CreateFrom as CreateF20_310_0_, financialm0_.C_Currency_ID as C_Curre21_310_0_, financialm0_.Cancelednotchargeamt as Cancele22_310_0_, financialm0_.Generatedamt as Generat23_310_0_, financialm0_.Chargedamt as Charged24_310_0_, financialm0_.Description as Descrip25_310_0_, financialm0_.CreateFile as CreateF26_310_0_, financialm0_.DateAcct as DateAcc27_310_0_, financialm0_.Settlementtype as Settlem28_310_0_, financialm0_.SettlementOpen as Settlem29_310_0_, financialm0_.CopyFrom as CopyFro30_310_0_, financialm0_.IsGenerated as IsGener31_310_0_, financialm0_.IsTemplate as IsTempl32_310_0_ from C_Settlement financialm0_ where financialm0_.C_Settlement_ID=$1 |
| 8d70b1244b | delete from ad_context_info |
| 1b3d7b3f6d | 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, $5) and this_.AD_Client_ID in ($6, $7) and this_.Isactive=$8 |
| d0b36135c7 | 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 ) |
| c2b6cfc2bf | 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 = 'en_US' 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 = 'en_US' UNION select text.filename as filename, text.text as text, text.isused as isUsed, text.ad_module_id as moduleId, 'en_US' 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 = 'en_US') and (text.filename is null OR text.filename = '/org/openbravo/erpCommon/security/Login.html' ) and text.isused = 'Y' order by orderSeq |
| a28450b83c | insert into ad_context_info (ad_user_id, ad_session_id, processType, processId) values ($1, $2, $3, $4) |
| 50b8978166 | select order_comp0_.C_Order_ID as C_Order_1_265_0_, order_comp0_.AD_Client_ID as AD_Clien2_265_0_, order_comp0_.AD_Org_ID as AD_Org_I3_265_0_, (coalesce((select case when sum(abs(ol.qtyordered)) = $51 or order_comp0_.iscancelled = $52 or order_comp0_.cancelledorder_id is not null then $53 else round(coalesce(sum(abs(ol.qtydelivered)), $54)/sum(abs(ol.qtyordered)) * $55, $56) end from c_orderline ol where ol.c_order_id=order_comp0_.c_order_id and ol.c_order_discount_id is null),$57)) as formula28_0_, (coalesce(prouti_delavailablewithoutres(order_comp0_.c_order_id),$58)) as formula29_0_, (coalesce(prouti_deliveryavailable(order_comp0_.c_order_id),$59)) as formula30_0_, (select sum(prouti_qtyremainingorderline(ol.c_orderline_id)) from c_orderline ol where ol.c_order_id = order_comp0_.c_order_id) as formula31_0_, (select case when sum(ol.qtyordered)=$60 then $61 else trunc((sum(least(ol.qtyordered, coalesce(pool.qtyordered,$62))) / sum(ol.qtyordered) ) * $63) end from c_orderline ol left join c_orderline pool on pool.em_prouti_orderline_id=ol.c_orderline_id where ol.c_order_id=order_comp0_.c_order_id) as formula32_0_, (coalesce((select case when sum(abs(ol.qtyordered)) = $64 or order_comp0_.iscancelled = $65 or order_comp0_.cancelledorder_id is not null then $66 else round(coalesce(sum(abs(ol.qtyinvoiced)), $67)/sum(abs(ol.qtyordered)) * $68, $69) end from c_orderline ol where ol.c_order_id=order_comp0_.c_order_id and ol.c_order_discount_id is null), $70)) as formula33_0_, (coalesce((select case when sum(fps.amount) = $71 then $72 else round(sum(fps.paidamt)/sum(fps.amount) * $73, $74) end from FIN_Payment_Schedule fps where fps.c_order_id=order_comp0_.c_order_id),$75)) as formula34_0_ from C_Order order_comp0_ where order_comp0_.C_Order_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) |
| 9625146448 | select min(this_.Duedate) as y0_ from FIN_Payment_Schedule this_ where this_.C_Invoice_ID=$1 and this_.Outstandingamt<>$2 and this_.Isactive=$3 limit $4 |
| fa1b74d06f | select financialm0_.C_Settlement_Cancel_ID as C_Settl10_218_1_, financialm0_.C_Debt_Payment_ID as C_Debt_P1_218_1_, financialm0_.C_Debt_Payment_ID as C_Debt_P1_218_0_, financialm0_.AD_Client_ID as AD_Clien2_218_0_, financialm0_.AD_Org_ID as AD_Org_I3_218_0_, financialm0_.IsActive as IsActive4_218_0_, financialm0_.Created as Created5_218_0_, financialm0_.CreatedBy as CreatedB6_218_0_, financialm0_.Updated as Updated7_218_0_, financialm0_.UpdatedBy as UpdatedB8_218_0_, financialm0_.IsReceipt as IsReceip9_218_0_, financialm0_.C_Settlement_Cancel_ID as C_Settl10_218_0_, financialm0_.C_Settlement_Generate_ID as C_Settl11_218_0_, financialm0_.Description as Descrip12_218_0_, financialm0_.C_Invoice_ID as C_Invoi13_218_0_, financialm0_.C_BPartner_ID as C_BPart14_218_0_, financialm0_.C_Currency_ID as C_Curre15_218_0_, financialm0_.C_CashLine_ID as C_CashL16_218_0_, financialm0_.C_BankAccount_ID as C_BankA17_218_0_, financialm0_.C_CashBook_ID as C_CashB18_218_0_, financialm0_.PaymentRule as Payment19_218_0_, financialm0_.IsPaid as IsPaid20_218_0_, financialm0_.Amount as Amount21_218_0_, financialm0_.WriteOffAmt as WriteOf22_218_0_, financialm0_.Dateplanned as Datepla23_218_0_, financialm0_.IsManual as IsManua24_218_0_, financialm0_.IsValid as IsValid25_218_0_, financialm0_.C_BankStatementLine_ID as C_BankS26_218_0_, financialm0_.Changesettlementcancel as Changes27_218_0_, financialm0_.Cancel_Processed as Cancel_28_218_0_, financialm0_.Generate_Processed as Generat29_218_0_, financialm0_.GLItemAmt as GLItemA30_218_0_, financialm0_.Isdirectposting as Isdirec31_218_0_, financialm0_.C_Glitem_ID as C_Glite32_218_0_, financialm0_.C_Order_ID as C_Order33_218_0_, financialm0_.C_Project_ID as C_Proje34_218_0_, financialm0_.IsAutomaticGenerated as IsAutom35_218_0_, financialm0_.Status as Status36_218_0_, financialm0_.Status_Initial as Status_37_218_0_, financialm0_.C_Withholding_ID as C_Withh38_218_0_, financialm0_.Withholdingamount as Withhol39_218_0_ from C_Debt_Payment financialm0_ where financialm0_.C_Settlement_Cancel_ID=$1 |
| 68df615c0c | delete from ad_context_info |
| 1e7f08819e | INSERT INTO Fact_Acct (Fact_Acct_ID,AD_Client_ID,AD_Org_ID,IsActive,Created,CreatedBy,Updated,UpdatedBy, C_AcctSchema_ID,Account_ID, AcctValue, AcctDescription,DateTrx,DateAcct, C_Period_ID,AD_Table_ID,Record_ID,Line_ID, GL_Category_ID,C_Tax_ID,PostingType,C_Currency_ID, AmtSourceDR,AmtSourceCR,AmtAcctDR,AmtAcctCR, C_UOM_ID,Qty,M_Locator_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,Description, Fact_Acct_Group_ID, SeqNo, DocBaseType, Record_ID2, A_ASSET_ID, C_WithHolding_ID, C_DocType_ID, C_Costcenter_ID, FACTACCTTYPE) VALUES ($1, $2, $3,$48,now(),$4,now(),$5, $6, $7, $8, $9, TO_DATE($10), TO_DATE($11), $12, $13, $14, $15, $16, $17, $18, $19, TO_NUMBER($20), TO_NUMBER($21), TO_NUMBER($22), TO_NUMBER($23), $24, TO_NUMBER($25), $26,$27, $28, $29,$30, $31, $32,$33, $34, $35,$36, $37, $38, $39, TO_NUMBER($40), $41, $42, $43, $44, $45, $46, $47) |
| 4108c96b3f | select productbyp0_.M_Product_Price_Warehouse_V_ID as M_Produc1_469_, productbyp0_.AD_Client_ID as AD_Clien2_469_, productbyp0_.AD_Org_ID as AD_Org_I3_469_, productbyp0_.Isactive as Isactive4_469_, productbyp0_.Updated as Updated5_469_, productbyp0_.Updatedby as Updatedb6_469_, productbyp0_.Created as Created7_469_, productbyp0_.Createdby as Createdb8_469_, productbyp0_.M_Product_ID as M_Produc9_469_, productbyp0_.M_Warehouse_ID as M_Wareh10_469_, productbyp0_.M_Productprice_ID as M_Produ11_469_, productbyp0_.QTY_Available as QTY_Ava12_469_, productbyp0_.QTY_Onhand as QTY_Onh13_469_, productbyp0_.QTY_Reserved as QTY_Res14_469_, productbyp0_.QTY_Ordered as QTY_Ord15_469_, productbyp0_.Pricelist as Priceli16_469_, productbyp0_.Pricestd as Pricest17_469_, productbyp0_.Pricelimit as Priceli18_469_, productbyp0_.Orgwarehouse as Orgware19_469_ from M_Product_Price_Warehouse_v productbyp0_ left outer join M_Product product1_ on productbyp0_.M_Product_ID=product1_.M_Product_ID cross join M_ProductPrice pricingpro4_ cross join M_PriceList_Version pricingpri5_ cross join M_PriceList pricingpri9_ where productbyp0_.M_Productprice_ID=pricingpro4_.M_ProductPrice_ID and pricingpro4_.M_PriceList_Version_ID=pricingpri5_.M_PriceList_Version_ID and pricingpri5_.M_PriceList_ID=pricingpri9_.M_PriceList_ID and (upper(product1_.Value) like upper($1) escape $12 or upper(product1_.Name) like upper($2) escape $13 or upper((product1_.Value||$14||coalesce(to_char((select producttrl2_.Name from M_Product_Trl producttrl2_ where producttrl2_.M_Product_ID=product1_.M_Product_ID and producttrl2_.AD_Language=$15)), to_char(product1_.Name), $16))) like upper($3) escape $17 or upper((product1_.Value||$18||coalesce(to_char((select producttrl3_.Name from M_Product_Trl producttrl3_ where producttrl3_.M_Product_ID=product1_.M_Product_ID and producttrl3_.AD_Language=$19)), to_char(product1_.Name), $20))) like upper($4) escape $21) and (productbyp0_.AD_Org_ID in ($22 , $23)) and productbyp0_.Isactive=$24 and AD_ORG_ISINNATURALTREE(productbyp0_.Orgwarehouse, $5, $6)=$25 and pricingpri5_.IsActive=$26 and AD_ORG_ISINNATURALTREE(pricingpro4_.AD_Org_ID, $7, $8)=$27 and pricingpri9_.IsSOPriceList=$28 and pricingpri9_.C_Currency_ID=$29 and pricingpro4_.M_PriceList_Version_ID=$30 and productbyp0_.M_Warehouse_ID=$31 and (productbyp0_.AD_Client_ID in ($9 , $10)) and productbyp0_.Isactive=$32 order by product1_.Value, product1_.Name, product1_.M_Product_ID limit $11 |
| 228d74fbf5 | 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 |
| 6757558638 | insert into ad_context_info (ad_user_id, ad_session_id, processType, processId) values ($1, $2, $3, $4) |
| e71569bd69 | insert into ad_context_info (ad_user_id, ad_session_id, processType, processId) values ($1, $2, $3, $4) |
| c525c04235 | 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) |
| 503324b603 | select financialm0_.C_Invoice_ID as C_Invoi13_218_1_, financialm0_.C_Debt_Payment_ID as C_Debt_P1_218_1_, financialm0_.C_Debt_Payment_ID as C_Debt_P1_218_0_, financialm0_.AD_Client_ID as AD_Clien2_218_0_, financialm0_.AD_Org_ID as AD_Org_I3_218_0_, financialm0_.IsActive as IsActive4_218_0_, financialm0_.Created as Created5_218_0_, financialm0_.CreatedBy as CreatedB6_218_0_, financialm0_.Updated as Updated7_218_0_, financialm0_.UpdatedBy as UpdatedB8_218_0_, financialm0_.IsReceipt as IsReceip9_218_0_, financialm0_.C_Settlement_Cancel_ID as C_Settl10_218_0_, financialm0_.C_Settlement_Generate_ID as C_Settl11_218_0_, financialm0_.Description as Descrip12_218_0_, financialm0_.C_Invoice_ID as C_Invoi13_218_0_, financialm0_.C_BPartner_ID as C_BPart14_218_0_, financialm0_.C_Currency_ID as C_Curre15_218_0_, financialm0_.C_CashLine_ID as C_CashL16_218_0_, financialm0_.C_BankAccount_ID as C_BankA17_218_0_, financialm0_.C_CashBook_ID as C_CashB18_218_0_, financialm0_.PaymentRule as Payment19_218_0_, financialm0_.IsPaid as IsPaid20_218_0_, financialm0_.Amount as Amount21_218_0_, financialm0_.WriteOffAmt as WriteOf22_218_0_, financialm0_.Dateplanned as Datepla23_218_0_, financialm0_.IsManual as IsManua24_218_0_, financialm0_.IsValid as IsValid25_218_0_, financialm0_.C_BankStatementLine_ID as C_BankS26_218_0_, financialm0_.Changesettlementcancel as Changes27_218_0_, financialm0_.Cancel_Processed as Cancel_28_218_0_, financialm0_.Generate_Processed as Generat29_218_0_, financialm0_.GLItemAmt as GLItemA30_218_0_, financialm0_.Isdirectposting as Isdirec31_218_0_, financialm0_.C_Glitem_ID as C_Glite32_218_0_, financialm0_.C_Order_ID as C_Order33_218_0_, financialm0_.C_Project_ID as C_Proje34_218_0_, financialm0_.IsAutomaticGenerated as IsAutom35_218_0_, financialm0_.Status as Status36_218_0_, financialm0_.Status_Initial as Status_37_218_0_, financialm0_.C_Withholding_ID as C_Withh38_218_0_, financialm0_.Withholdingamount as Withhol39_218_0_ from C_Debt_Payment financialm0_ where financialm0_.C_Invoice_ID=$1 |
| f68dd8a1a9 | ANALYZE last_stat_tables |
| b1ad12ea83 | 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) |
| 89ed435807 | insert into ad_context_info (ad_user_id, ad_session_id, processType, processId) values ($1, $2, $3, $4) |
| b9bb8a4422 | SELECT * FROM take_sample_subset(1,0) |
| 73e3636bec | update C_Invoice set Updated=$1, LastCalculatedOnDate=$2 where C_Invoice_ID=$3 |
| 09d3ab2d00 | SELECT * FROM C_Order_Post($1) |
| 07181527b0 | DELETE FROM last_stat_indexes WHERE server_id=sserver_id AND sample_id != s_id |
| 82ff706627 | select invoicecan0_.C_Order_ID as col_0_0_, organizati2_.Name as col_1_0_, invoicecan0_.C_Doctype_ID as col_2_0_, invoicecan0_.Documentno as col_3_0_, businesspa3_.Name as col_4_0_, invoicecan0_.Dateordered as col_5_0_, case when $5=$6 then invoicecan0_.Amountlinesgross else invoicecan0_.Amountlines end as col_6_0_, case when invoicecan0_.Term=$7 then $8 when invoicecan0_.Term=$9 and invoicecan0_.Qtydelivered<invoicecan0_.Qtyordered then case when $10=$11 then invoicecan0_.Amountlinesgross else invoicecan0_.Amountlines end else case when $12=$13 then invoicecan0_.Notinvoicedlinesgross else invoicecan0_.Notinvoicedlines end end as col_7_0_, invoicecan0_.Term as col_8_0_, case when invoicecan0_.Term=$14 then $15 when invoicecan0_.Term=$16 then case when invoicecan0_.Term=$17 then $18 when invoicecan0_.Term=$19 and invoicecan0_.Qtydelivered<invoicecan0_.Qtyordered then case when $20=$21 then invoicecan0_.Amountlinesgross else invoicecan0_.Amountlines end else case when $22=$23 then invoicecan0_.Notinvoicedlinesgross else invoicecan0_.Notinvoicedlines end end when invoicecan0_.Term=$24 and invoicecan0_.Qtydelivered<invoicecan0_.Qtyordered then $25 else invoicecan0_.Pendinglines end as col_9_0_, invoicecan0_.Qtyordered as col_10_0_, invoicecan0_.Qtydelivered as col_11_0_, case when $26=$27 then invoicecan0_.Amountlinesgross else invoicecan0_.Amountlines end-(case when $28=$29 then invoicecan0_.Notinvoicedlinesgross else invoicecan0_.Notinvoicedlines end) as col_12_0_, invoicecan0_.Amountlinesgross as col_13_0_, invoicecan0_.Created as col_14_0_, invoicecan0_.Createdby as col_15_0_, invoicecan0_.Updated as col_16_0_, invoicecan0_.Updatedby as col_17_0_, documentty4_.C_DocType_ID as C_DocTyp1_225_0_, aduser5_.AD_User_ID as AD_User_1_129_1_, aduser6_.AD_User_ID as AD_User_1_129_2_, documentty4_.AD_Client_ID as AD_Clien2_225_0_, documentty4_.AD_Org_ID as AD_Org_I3_225_0_, documentty4_.IsActive as IsActive4_225_0_, documentty4_.Created as Created5_225_0_, documentty4_.CreatedBy as CreatedB6_225_0_, documentty4_.Updated as Updated7_225_0_, documentty4_.UpdatedBy as UpdatedB8_225_0_, documentty4_.Name as Name9_225_0_, documentty4_.PrintName as PrintNa10_225_0_, documentty4_.Description as Descrip11_225_0_, documentty4_.DocBaseType as DocBase12_225_0_, documentty4_.IsSOTrx as IsSOTrx13_225_0_, documentty4_.DocSubTypeSO as DocSubT14_225_0_, documentty4_.C_DocTypeShipment_ID as C_DocTy15_225_0_, documentty4_.C_DocTypeInvoice_ID as C_DocTy16_225_0_, documentty4_.IsDocNoControlled as IsDocNo17_225_0_, documentty4_.DocNoSequence_ID as DocNoSe18_225_0_, documentty4_.GL_Category_ID as GL_Cate19_225_0_, documentty4_.DocumentNote as Documen20_225_0_, documentty4_.IsDefault as IsDefau21_225_0_, documentty4_.DocumentCopies as Documen22_225_0_, documentty4_.AD_Table_ID as AD_Tabl23_225_0_, documentty4_.Orgfiltered as Orgfilt24_225_0_, documentty4_.C_Doctype_Reversed_ID as C_Docty25_225_0_, documentty4_.IsExpense as IsExpen26_225_0_, documentty4_.Isreversal as Isrever27_225_0_, documentty4_.IsReturn as IsRetur28_225_0_, documentty4_.C_Doctypeorder_ID as C_Docty29_225_0_, documentty4_.C_Doctypesimpinvoice_ID as C_Docty30_225_0_, documentty4_.EM_OBWPL_Useoutbound as EM_OBWP31_225_0_, documentty4_.EM_Prouti_C_Doctypeorder_ID as EM_Prou32_225_0_, documentty4_.C_Doctypeaggrinvoice_ID as C_Docty33_225_0_, documentty4_.EM_OBWPL_IsGroup as EM_OBWP34_225_0_, documentty4_.EM_OBWPL_GenerateShipment as EM_OBWP35_225_0_, documentty4_.EM_OBWPL_Shipmentdoctype_ID as EM_OBWP36_225_0_, documentty4_.EM_Pruti_Inforeport2 as EM_Prut37_225_0_, documentty4_.EM_Pruti_Inforeport as EM_Prut38_225_0_, aduser5_.AD_Client_ID as AD_Clien2_129_1_, aduser5_.AD_Org_ID as AD_Org_I3_129_1_, aduser5_.IsActive as IsActive4_129_1_, aduser5_.Created as Created5_129_1_, aduser5_.CreatedBy as CreatedB6_129_1_, aduser5_.Updated as Updated7_129_1_, aduser5_.UpdatedBy as UpdatedB8_129_1_, aduser5_.Name as Name9_129_1_, aduser5_.Description as Descrip10_129_1_, aduser5_.Password as Passwor11_129_1_, aduser5_.Email as Email12_129_1_, aduser5_.Supervisor_ID as Supervi13_129_1_, aduser5_.C_BPartner_ID as C_BPart14_129_1_, aduser5_.Processing as Process15_129_1_, aduser5_.EmailUser as EmailUs16_129_1_, aduser5_.EmailUserPW as EmailUs17_129_1_, aduser5_.C_BPartner_Location_ID as C_BPart18_129_1_, aduser5_.C_Greeting_ID as C_Greet19_129_1_, aduser5_.Title as Title20_129_1_, aduser5_.Comments as Comment21_129_1_, aduser5_.Phone as Phone22_129_1_, aduser5_.Phone2 as Phone23_129_1_, aduser5_.Fax as Fax24_129_1_, aduser5_.LastContact as LastCon25_129_1_, aduser5_.LastResult as LastRes26_129_1_, aduser5_.Birthday as Birthda27_129_1_, aduser5_.AD_OrgTrx_ID as AD_OrgT28_129_1_, aduser5_.Firstname as Firstna29_129_1_, aduser5_.Lastname as Lastnam30_129_1_, aduser5_.UserName as UserNam31_129_1_, aduser5_.Default_Ad_Client_ID as Default32_129_1_, aduser5_.Default_Ad_Language as Default33_129_1_, aduser5_.Default_Ad_Org_ID as Default34_129_1_, aduser5_.Default_Ad_Role_ID as Default35_129_1_, aduser5_.Default_M_Warehouse_ID as Default36_129_1_, aduser5_.IsLocked as IsLocke37_129_1_, aduser5_.AD_Image_ID as AD_Imag38_129_1_, aduser5_.Grant_Portal_Access as Grant_P39_129_1_, aduser5_.LastPasswordUpdate as LastPas40_129_1_, aduser5_.Isexpiredpassword as Isexpir41_129_1_, aduser5_.Commercialauth as Commerc42_129_1_, aduser5_.Viasms as Viasms43_129_1_, aduser5_.EM_Sgpcrm_Securitygroups_ID as EM_Sgpc44_129_1_, aduser5_.Viaemail as Viaemai45_129_1_, aduser5_.EM_Pruti_Isbillingcontact as EM_Prut46_129_1_, aduser5_.EM_Advcrm_Newsletter as EM_Advc47_129_1_, aduser5_.EM_Pruti_Isordercontact as EM_Prut48_129_1_, aduser5_.EM_Smfsws_Default_Ws_Role_ID as EM_Smfs49_129_1_, aduser5_.EM_Advcrm_sat_user as EM_Advc50_129_1_, aduser6_.AD_Client_ID as AD_Clien2_129_2_, aduser6_.AD_Org_ID as AD_Org_I3_129_2_, aduser6_.IsActive as IsActive4_129_2_, aduser6_.Created as Created5_129_2_, aduser6_.CreatedBy as CreatedB6_129_2_, aduser6_.Updated as Updated7_129_2_, aduser6_.UpdatedBy as UpdatedB8_129_2_, aduser6_.Name as Name9_129_2_, aduser6_.Description as Descrip10_129_2_, aduser6_.Password as Passwor11_129_2_, aduser6_.Email as Email12_129_2_, aduser6_.Supervisor_ID as Supervi13_129_2_, aduser6_.C_BPartner_ID as C_BPart14_129_2_, aduser6_.Processing as Process15_129_2_, aduser6_.EmailUser as EmailUs16_129_2_, aduser6_.EmailUserPW as EmailUs17_129_2_, aduser6_.C_BPartner_Location_ID as C_BPart18_129_2_, aduser6_.C_Greeting_ID as C_Greet19_129_2_, aduser6_.Title as Title20_129_2_, aduser6_.Comments as Comment21_129_2_, aduser6_.Phone as Phone22_129_2_, aduser6_.Phone2 as Phone23_129_2_, aduser6_.Fax as Fax24_129_2_, aduser6_.LastContact as LastCon25_129_2_, aduser6_.LastResult as LastRes26_129_2_, aduser6_.Birthday as Birthda27_129_2_, aduser6_.AD_OrgTrx_ID as AD_OrgT28_129_2_, aduser6_.Firstname as Firstna29_129_2_, aduser6_.Lastname as Lastnam30_129_2_, aduser6_.UserName as UserNam31_129_2_, aduser6_.Default_Ad_Client_ID as Default32_129_2_, aduser6_.Default_Ad_Language as Default33_129_2_, aduser6_.Default_Ad_Org_ID as Default34_129_2_, aduser6_.Default_Ad_Role_ID as Default35_129_2_, aduser6_.Default_M_Warehouse_ID as Default36_129_2_, aduser6_.IsLocked as IsLocke37_129_2_, aduser6_.AD_Image_ID as AD_Imag38_129_2_, aduser6_.Grant_Portal_Access as Grant_P39_129_2_, aduser6_.LastPasswordUpdate as LastPas40_129_2_, aduser6_.Isexpiredpassword as Isexpir41_129_2_, aduser6_.Commercialauth as Commerc42_129_2_, aduser6_.Viasms as Viasms43_129_2_, aduser6_.EM_Sgpcrm_Securitygroups_ID as EM_Sgpc44_129_2_, aduser6_.Viaemail as Viaemai45_129_2_, aduser6_.EM_Pruti_Isbillingcontact as EM_Prut46_129_2_, aduser6_.EM_Advcrm_Newsletter as EM_Advc47_129_2_, aduser6_.EM_Pruti_Isordercontact as EM_Prut48_129_2_, aduser6_.EM_Smfsws_Default_Ws_Role_ID as EM_Smfs49_129_2_, aduser6_.EM_Advcrm_sat_user as EM_Advc50_129_2_ from c_invoice_candidate_v invoicecan0_ inner join C_Order order1_ on invoicecan0_.C_Order_ID=order1_.C_Order_ID inner join AD_Org organizati2_ on invoicecan0_.AD_Org_ID=organizati2_.AD_Org_ID inner join C_BPartner businesspa3_ on invoicecan0_.C_Bpartner_ID=businesspa3_.C_BPartner_ID inner join C_DocType documentty4_ on invoicecan0_.C_Doctype_ID=documentty4_.C_DocType_ID inner join AD_User aduser5_ on invoicecan0_.Createdby=aduser5_.AD_User_ID inner join AD_User aduser6_ on invoicecan0_.Updatedby=aduser6_.AD_User_ID where (invoicecan0_.Term=$30 and invoicecan0_.Qtydelivered<>$31 and ($32=$33 and (exists (select $34 from C_OrderLine orderline7_ where orderline7_.C_Order_ID=order1_.C_Order_ID and orderline7_.QtyDelivered-orderline7_.QtyInvoiced<>$35)) or $36=$37) or invoicecan0_.Term=$38 and (exists (select $39 from C_OrderLine orderline8_ where orderline8_.C_Order_ID=order1_.C_Order_ID and orderline8_.QtyOrdered-orderline8_.QtyInvoiced<>$40)) or invoicecan0_.Term=$41 and (exists (select $42 from C_OrderLine orderline9_ where orderline9_.C_Order_ID=order1_.C_Order_ID and orderline9_.QtyDelivered<>$43 and orderline9_.QtyOrdered<>orderline9_.QtyInvoiced))) and (invoicecan0_.AD_Client_ID in ($44 , $1)) and (invoicecan0_.AD_Org_ID in ($2 , $3)) order by invoicecan0_.Dateordered desc, invoicecan0_.C_Invoice_Candidate_V_ID limit $4 |
| DB | Tablespace | Schema | Table | ~SeqBytes | SeqScan | IxScan | IxFet | Ins | Upd | Del | Upd(HOT) |
|---|---|---|---|---|---|---|---|---|---|---|---|
| etendo | pg_default | pg_temp_4 | ad_context_info | 213 GB | 75716 | 75709 | 75708 | ||||
| etendo | pg_default | pg_temp_5 | ad_context_info | 153 GB | 63303 | 63287 | 63286 | ||||
| etendo | pg_default | pg_temp_6 | ad_context_info | 152 GB | 62955 | 62955 | 62954 | ||||
| etendo | pg_default | pg_temp_9 | ad_context_info | 62 GB | 37892 | 37889 | 37888 | ||||
| etendo | pg_default | public | ad_org_tree | 31 GB | 4040692 | ||||||
| etendo | pg_default | pg_temp_6 | ad_context_info | 11 GB | 12728 | 12726 | 12725 | ||||
| etendo | pg_default | pg_temp_7 | ad_context_info | 11 GB | 12704 | 12701 | 12700 | ||||
| etendo | pg_default | pg_temp_3 | ad_context_info | 10 GB | 12725 | 12708 | 12707 | ||||
| etendo | pg_default | pg_temp_7 | ad_context_info | 10 GB | 12590 | 12590 | 12590 | ||||
| etendo | pg_default | pg_catalog | pg_class | 3989 MB | 5934 | 607576 | 595411 | 1873 | 6728 | 1873 | 1372 |
| etendo | pg_default | public | fact_acct | 3680 MB | 14 | 56 | 38 | 111 | |||
| fact_acct(TOAST) | |||||||||||
| etendo | pg_default | profile | last_stat_database | 2181 MB | 101533 | 92 | 92 | ||||
| etendo | pg_default | public | m_productprice | 1331 MB | 399 | 7918980 | 7918984 | 1 | |||
| m_productprice(TOAST) | |||||||||||
| etendo | pg_default | public | c_order | 1227 MB | 82 | 81662 | 123799 | 1 | 427 | 344 | |
| c_order(TOAST) | |||||||||||
| etendo | pg_default | public | c_invoice | 888 MB | 39 | 295694 | 1351918 | 18 | 290052 | 80 | |
| c_invoice(TOAST) | |||||||||||
| etendo | pg_default | public | c_orderline | 757 MB | 13 | 859791 | 3858790 | 91 | 822 | 20 | 496 |
| c_orderline(TOAST) | |||||||||||
| etendo | pg_default | public | m_inout | 565 MB | 48 | 3080 | 3080 | ||||
| m_inout(TOAST) | |||||||||||
| etendo | pg_default | profile | last_stat_tablespaces | 544 MB | 34801 | 44 | 44 | ||||
| last_stat_tablespaces(TOAST) | |||||||||||
| etendo | pg_default | public | advcrm_activity | 467 MB | 29 | 96 | 69 | 6 | 18 | 17 | |
| advcrm_activity(TOAST) | |||||||||||
| postgres | pg_default | pg_catalog | pg_class | 374 MB | 3680 | 32382 | 32138 | 107 | 388 | 107 | 129 |
| DB | Tablespace | Schema | Table | Heap | Ix | TOAST | TOAST-Ix | ||||
|---|---|---|---|---|---|---|---|---|---|---|---|
| Blks | %Total | Blks | %Total | Blks | %Total | Blks | %Total | ||||
| etendo | pg_default | public | m_productprice | 8088100 | 4.12 | 23834045 | 12.14 | ||||
| etendo | pg_default | public | m_product | 8320783 | 4.24 | 16705953 | 8.51 | ||||
| etendo | pg_default | pg_temp_4 | ad_context_info | 23900373 | 12.17 | ||||||
| etendo | pg_default | pg_temp_5 | ad_context_info | 16695699 | 8.50 | ||||||
| etendo | pg_default | pg_temp_6 | ad_context_info | 16558359 | 8.43 | ||||||
| etendo | pg_default | public | c_invoice | 3532660 | 1.80 | 7601292 | 3.87 | ||||
| etendo | pg_default | public | m_product_trl | 8229239 | 4.19 | ||||||
| etendo | pg_default | pg_temp_9 | ad_context_info | 6066223 | 3.09 | ||||||
| etendo | pg_default | public | c_orderline | 2251334 | 1.15 | 2634583 | 1.34 | ||||
| etendo | pg_default | public | ad_org_tree | 4040692 | 2.06 | 2 | 0.00 | ||||
| etendo | pg_default | public | fin_payment_schedule | 880817 | 0.45 | 2560577 | 1.30 | ||||
| etendo | pg_default | profile | last_stat_tables | 3279422 | 1.67 | 105517 | 0.05 | ||||
| etendo | pg_default | pg_catalog | pg_class | 1102926 | 0.56 | 1270840 | 0.65 | ||||
| etendo | pg_default | public | c_bpartner | 894453 | 0.46 | 1457905 | 0.74 | ||||
| etendo | pg_default | public | c_debt_payment | 424344 | 0.22 | 713794 | 0.36 | ||||
| etendo | pg_default | pg_catalog | pg_attribute | 435969 | 0.22 | 639052 | 0.33 | ||||
| etendo | pg_default | public | ad_textinterfaces | 374863 | 0.19 | 543058 | 0.28 | ||||
| etendo | pg_default | profile | last_stat_indexes | 568758 | 0.29 | 205447 | 0.10 | ||||
| etendo | pg_default | pg_temp_3 | ad_context_info | 705507 | 0.36 | ||||||
| etendo | pg_default | public | c_tax | 340849 | 0.17 | 364025 | 0.19 | ||||
| DB | Tablespace | Schema | Table | Heap | Ix | TOAST | TOAST-Ix | Hit(%) | ||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|
| Blks | %Total | Blks | %Total | Blks | %Total | Blks | %Total | |||||
| etendo | pg_default | public | fact_acct | 67299 | 15.00 | 426 | 0.09 | 86.69 | ||||
| etendo | pg_default | public | ad_image | 788 | 0.18 | 5 | 0.00 | 56470 | 12.59 | 886 | 0.20 | 31.39 |
| etendo | pg_default | public | c_orderline | 14932 | 3.33 | 2058 | 0.46 | 99.65 | ||||
| etendo | pg_default | public | c_invoice | 5833 | 1.30 | 6502 | 1.45 | 99.89 | ||||
| etendo | pg_default | public | c_orderlinetax | 7376 | 1.64 | 486 | 0.11 | 73.09 | ||||
| etendo | pg_default | public | fin_payment_schedule | 3801 | 0.85 | 506 | 0.11 | 99.87 | ||||
| etendo | pg_default | public | fin_payment_scheduledetail | 2724 | 0.61 | 640 | 0.14 | 94.94 | ||||
| etendo | pg_default | public | fin_payment | 3162 | 0.70 | 194 | 0.04 | 79.71 | ||||
| etendo | pg_default | public | psat_checklist_result | 3290 | 0.73 | 0.66 | ||||||
| etendo | pg_default | public | ad_process_run | 2597 | 0.58 | 81 | 0.02 | 6 | 0.00 | 10 | 0.00 | 95.49 |
| etendo | pg_default | public | fin_payment_detail | 1908 | 0.43 | 251 | 0.06 | 70.39 | ||||
| etendo | pg_default | pg_catalog | pg_attribute | 1434 | 0.32 | 485 | 0.11 | 99.82 | ||||
| etendo | pg_default | profile | sample_stat_tables | 1782 | 0.40 | 109 | 0.02 | 96.18 | ||||
| etendo | pg_default | pg_catalog | pg_statistic | 1176 | 0.26 | 67 | 0.01 | 627 | 0.14 | 15 | 0.00 | 99.45 |
| etendo | pg_default | public | prsync_entry | 972 | 0.22 | 1 | 0.00 | 764 | 0.17 | 15 | 0.00 | 64.24 |
| etendo | pg_default | profile | last_stat_indexes | 958 | 0.21 | 110 | 0.02 | 99.86 | ||||
| etendo | pg_default | public | c_debt_payment | 940 | 0.21 | 118 | 0.03 | 99.91 | ||||
| etendo | pg_default | public | m_inoutline | 3 | 0.00 | 991 | 0.22 | 98.75 | ||||
| etendo | pg_default | pg_catalog | pg_depend | 779 | 0.17 | 144 | 0.03 | 99.43 | ||||
| etendo | pg_default | profile | sample_statements | 739 | 0.16 | 138 | 0.03 | 97.46 | ||||
| DB | Tablespace | Schema | Table | Ins | Upd | Del | Upd(HOT) | SeqScan | SeqFet | IxScan | IxFet |
|---|---|---|---|---|---|---|---|---|---|---|---|
| etendo | pg_default | public | c_invoice | 18 | 290052 | 80 | 39 | 1788646 | 295694 | 1351918 | |
| c_invoice(TOAST) | |||||||||||
| etendo | pg_default | pg_temp_4 | ad_context_info | 75709 | 75708 | 75716 | 75715 | ||||
| etendo | pg_default | pg_temp_5 | ad_context_info | 63287 | 63286 | 63303 | 63302 | ||||
| etendo | pg_default | pg_temp_6 | ad_context_info | 62955 | 62954 | 62955 | 62954 | ||||
| etendo | pg_default | profile | last_stat_indexes | 54119 | 1316 | 54119 | 185 | 865904 | 34540 | 328383 | |
| etendo | pg_default | pg_temp_9 | ad_context_info | 37889 | 37888 | 37892 | 37891 | ||||
| etendo | pg_default | profile | last_stat_tables | 32878 | 3355 | 32878 | 58 | 186 | 528908 | 7783 | 2880305 |
| etendo | pg_default | pg_catalog | pg_attribute | 24193 | 24193 | 70 | 94030 | 266163 | 1146253 | ||
| etendo | pg_default | pg_temp_6 | ad_context_info | 12726 | 12725 | 12728 | 12727 | ||||
| etendo | pg_default | pg_temp_3 | ad_context_info | 12708 | 12707 | 12725 | 12724 | ||||
| etendo | pg_default | pg_temp_7 | ad_context_info | 12701 | 12700 | 12704 | 12703 | ||||
| etendo | pg_default | pg_temp_7 | ad_context_info | 12590 | 12590 | 12590 | 12590 | ||||
| etendo | pg_default | pg_catalog | pg_statistic | 16109 | 13511 | 2 | 16687 | 89239 | 72691 | ||
| pg_statistic(TOAST) | 2286 | 2289 | 12403 | 18682 | |||||||
| etendo | pg_default | profile | last_stat_user_functions | 8257 | 847 | 8257 | 42 | 389 | 245915 | ||
| last_stat_user_functions(TOAST) | |||||||||||
| etendo | pg_default | pg_catalog | pg_class | 1873 | 6728 | 1873 | 1372 | 5934 | 17595819 | 607576 | 595411 |
| etendo | pg_default | pg_catalog | pg_depend | 4582 | 4585 | 8 | 205815 | 44153 | 49889 | ||
| etendo | pg_default | profile | sample_stat_tables | 3355 | 3324 | 25 | 609899 | 152 | 3507 | ||
| etendo | pg_default | pg_catalog | pg_type | 2157 | 2159 | 12 | 30630 | 126445 | 118907 | ||
| etendo | pg_default | profile | sample_statements | 1363 | 1388 | 49 | 509171 | 118 | 1388 | ||
| sample_statements(TOAST) | |||||||||||
| etendo | pg_default | profile | sample_stat_indexes | 1316 | 1287 | 25 | 238606 | 162 | 1360 |
| DB | Tablespace | Schema | Table | Upd | Upd(HOT) | Del | Vacuum | AutoVacuum | Analyze | AutoAnalyze |
|---|---|---|---|---|---|---|---|---|---|---|
| etendo | pg_default | public | c_invoice | 290052 | 80 | 23 | 1 | 23 | ||
| c_invoice(TOAST) | ||||||||||
| etendo | pg_default | pg_temp_4 | ad_context_info | 75708 | ||||||
| etendo | pg_default | pg_temp_5 | ad_context_info | 63286 | ||||||
| etendo | pg_default | pg_temp_6 | ad_context_info | 62954 | ||||||
| etendo | pg_default | profile | last_stat_indexes | 1316 | 54119 | 27 | 47 | 23 | ||
| etendo | pg_default | pg_temp_9 | ad_context_info | 37888 | ||||||
| etendo | pg_default | profile | last_stat_tables | 3355 | 58 | 32878 | 27 | 47 | 23 | |
| etendo | pg_default | pg_catalog | pg_attribute | 24193 | 1 | 1 | 1 | |||
| etendo | pg_default | pg_catalog | pg_statistic | 16109 | 13511 | 1 | ||||
| pg_statistic(TOAST) | 2289 | 4 | ||||||||
| etendo | pg_default | pg_temp_6 | ad_context_info | 12725 | ||||||
| etendo | pg_default | pg_temp_3 | ad_context_info | 12707 | ||||||
| etendo | pg_default | pg_temp_7 | ad_context_info | 12700 | ||||||
| etendo | pg_default | pg_temp_7 | ad_context_info | 12590 | ||||||
| etendo | pg_default | profile | last_stat_user_functions | 847 | 42 | 8257 | 27 | 47 | 23 | |
| last_stat_user_functions(TOAST) | ||||||||||
| etendo | pg_default | pg_catalog | pg_class | 6728 | 1372 | 1873 | 1 | 1 | 1 | |
| etendo | pg_default | pg_catalog | pg_depend | 4585 | 1 | 1 | ||||
| etendo | pg_default | profile | sample_stat_tables | 3324 | 1 | 2 | ||||
| etendo | pg_default | pg_catalog | pg_type | 2159 | 1 | 1 | 1 | |||
| etendo | pg_default | profile | sample_statements | 1388 | 1 | 2 | ||||
| sample_statements(TOAST) | ||||||||||
| etendo | pg_default | profile | sample_stat_indexes | 1287 | 1 | 2 |
| DB | Tablespace | Schema | Table | Size | Growth | Ins | Upd | Del | Upd(HOT) |
|---|---|---|---|---|---|---|---|---|---|
| etendo | pg_default | pg_temp_4 | ad_context_info | 5032 kB | 5032 kB | 75709 | 75708 | ||
| etendo | pg_default | pg_temp_5 | ad_context_info | 4224 kB | 4224 kB | 63287 | 63286 | ||
| etendo | pg_default | pg_temp_9 | ad_context_info | 2552 kB | 2552 kB | 37889 | 37888 | ||
| etendo | pg_default | pg_temp_6 | ad_context_info | 872 kB | 872 kB | 12726 | 12725 | ||
| postgres | pg_default | pg_catalog | pg_statistic | 224 kB | 32 kB | 478 | 334 | ||
| pg_statistic(TOAST) | 56 kB | 32 kB | 15 | 15 | |||||
| etendo | pg_default | public | fin_payment_schedule | 15 MB | 48 kB | 48 | 2 | ||
| fin_payment_schedule(TOAST) | |||||||||
| etendo | pg_default | profile | sample_statements_total | 136 kB | 32 kB | 42 | 51 | ||
| sample_statements_total(TOAST) | |||||||||
| etendo | pg_default | public | ad_ep_instance_para | 32 kB | 24 kB | 305 | 305 | ||
| ad_ep_instance_para(TOAST) | |||||||||
| etendo | pg_default | public | c_invoice | 23 MB | 24 kB | 18 | 290052 | 80 | |
| c_invoice(TOAST) | |||||||||
| etendo | pg_default | profile | sample_stat_user_functions | 568 kB | 16 kB | 847 | 755 | ||
| etendo | pg_default | profile | sample_stat_indexes | 1432 kB | 8192 bytes | 1316 | 1287 | ||
| etendo | pg_default | pg_temp_3 | ad_context_info | 8192 bytes | 8192 bytes | 15 | 14 |
| DB | Tablespace | Schema | Table | Index | Scans | Blks | %Total |
|---|---|---|---|---|---|---|---|
| etendo | pg_default | public | m_productprice | m_productprice_key | 7917906 | 23831877 | 12.13 |
| etendo | pg_default | public | m_product | m_product_key | 8311339 | 16679920 | 8.49 |
| etendo | pg_default | public | m_product_trl | m_product_trl_product_langu_un | 8228363 | 8228801 | 4.19 |
| etendo | pg_default | public | fin_payment_schedule | fin_paym_sch_inv_idx | 835803 | 2536056 | 1.29 |
| etendo | pg_default | public | c_orderline | c_orderline_order2 | 815444 | 2478868 | 1.26 |
| etendo | pg_default | public | c_invoice | c_invoice_key | 294056 | 1773099 | 0.90 |
| etendo | pg_default | public | c_bpartner | c_bpartner_key | 725578 | 1452076 | 0.74 |
| etendo | pg_default | pg_catalog | pg_class | pg_class_oid_index | 581026 | 1184268 | 0.60 |
| etendo | pg_default | public | c_invoice | c_invoice_bpartner | 209 | 888152 | 0.45 |
| etendo | pg_default | public | c_invoice | c_invoice_client_org_date_doc | 882007 | 0.45 | |
| etendo | pg_default | public | c_invoice | c_invoice_paid | 697887 | 0.36 | |
| etendo | pg_default | public | c_invoice | c_invoice_posted | 1408 | 695478 | 0.35 |
| etendo | pg_default | public | c_invoice | c_invoice_salesrep | 651130 | 0.33 | |
| etendo | pg_default | public | c_invoice | c_invoice_updated | 595387 | 0.30 | |
| etendo | pg_default | pg_catalog | pg_attribute | pg_attribute_relid_attnum_index | 265482 | 588811 | 0.30 |
| etendo | pg_default | public | c_invoice | c_invoice_docno | 19 | 586482 | 0.30 |
| etendo | pg_default | public | ad_textinterfaces | ad_textinterfaces_key | 258333 | 522352 | 0.27 |
| etendo | pg_default | public | c_debt_payment | c_debt_payment_invoice_idx | 251642 | 504489 | 0.26 |
| etendo | pg_default | public | c_tax | c_tax_key | 178837 | 357679 | 0.18 |
| etendo | pg_default | public | c_invoice | c_invoice_order | 1 | 322752 | 0.16 |
| DB | Tablespace | Schema | Table | Index | Scans | Blk Reads | %Total | Hits(%) |
|---|---|---|---|---|---|---|---|---|
| etendo | pg_default | public | psat_checklist_result | psat_chcklist_res_result_uk | 1 | 3289 | 0.73 | |
| etendo | pg_default | public | c_invoice | c_invoice_client_org_date_doc | 1435 | 0.32 | 99.84 | |
| etendo | pg_default | public | c_invoice | c_invoice_paid | 1241 | 0.28 | 99.82 | |
| etendo | pg_default | public | c_orderline | c_orderline_order2 | 815444 | 997 | 0.22 | 99.96 |
| etendo | pg_default | public | c_invoice | c_invoice_posted | 1408 | 927 | 0.21 | 99.87 |
| etendo | pg_default | public | c_orderline | c_orderline_key | 23699 | 908 | 0.20 | 98.75 |
| etendo | pg_default | public | ad_image(TOAST) | pg_toast_74472_index | 6907 | 886 | 0.20 | 95.90 |
| etendo | pg_default | public | m_inoutline | m_inoutline_orderline | 17080 | 871 | 0.19 | 98.30 |
| etendo | pg_default | public | c_invoice | c_invoice_docno | 19 | 728 | 0.16 | 99.88 |
| etendo | pg_default | public | c_invoice | c_invoice_updated | 548 | 0.12 | 99.91 | |
| etendo | pg_default | public | c_invoice | c_invoice_bpartner | 209 | 546 | 0.12 | 99.94 |
| etendo | pg_default | public | ad_session_usage_audit | ad_session_usage_audit_key | 480 | 0.11 | 89.21 | |
| etendo | pg_default | public | ad_audit_trail | ad_audit_trail_pk | 408 | 0.09 | 65.01 | |
| etendo | pg_default | public | c_invoice | c_invoice_key | 294056 | 348 | 0.08 | 99.98 |
| etendo | pg_default | public | c_invoice | c_invoice_salesrep | 308 | 0.07 | 99.95 | |
| etendo | pg_default | public | fin_payment_scheduledetail | fin_pay_scheduledetail_in | 1355 | 308 | 0.07 | 92.47 |
| etendo | pg_default | public | fin_payment_schedule | fin_paym_sch_inv_idx | 835803 | 256 | 0.06 | 99.99 |
| etendo | pg_default | public | fin_payment_scheduledetail | fin_payment_scheduledetail_key | 451 | 246 | 0.05 | 81.85 |
| etendo | pg_default | public | fin_payment_detail | fin_payment_detail_key | 464 | 245 | 0.05 | 82.54 |
| etendo | pg_default | public | c_invoice | c_invoice_ad_user | 1 | 236 | 0.05 | 99.89 |
| DB | Tablespace | Schema | Table | Index | Index | Table | |||
|---|---|---|---|---|---|---|---|---|---|
| Size | Growth | Ins | Upd | Del | |||||
| etendo | pg_default | profile | sample_statements | ix_sample_stmts_qid | 936 kB | 328 kB | 1073 | 1081 | |
| etendo | pg_default | public | ad_process_run | ad_process_run_key | 448 kB | 152 kB | 238 | 238 | |
| etendo | pg_default | public | c_invoice | c_invoice_ad_user | 1680 kB | 96 kB | 18 | 289972 | |
| etendo | pg_default | profile | sample_stat_tables | pk_sample_stat_tables | 864 kB | 96 kB | 1860 | 2329 | |
| etendo | pg_default | public | c_invoice | c_invoice_order | 1384 kB | 72 kB | 18 | 289972 | |
| etendo | pg_default | profile | sample_statements | pk_sample_statements_n | 480 kB | 56 kB | 778 | 969 | |
| etendo | pg_default | public | c_invoice | c_invoice_key | 2784 kB | 32 kB | 18 | 289972 | |
| etendo | pg_default | public | c_invoice | c_invoice_posted | 2008 kB | 32 kB | 18 | 289972 | |
| etendo | pg_default | public | c_invoice | c_invoice_client_org_date_doc | 4008 kB | 16 kB | 18 | 289972 | |
| etendo | pg_default | public | c_invoice | c_invoice_paid | 2000 kB | 16 kB | 18 | 289972 | |
| etendo | pg_default | pg_catalog | pg_attribute | pg_attribute_relid_attnum_index | 768 kB | 16 kB | 24193 | 24193 | |
| etendo | pg_default | pg_catalog | pg_type | pg_type_oid_index | 88 kB | 8192 bytes | 2155 | 2157 | |
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 | public | c_invoice | c_invoice_client_org_date_doc | 4008 kB | 16 kB | 18 | 289972 | |
| etendo | pg_default | public | c_invoice | c_invoice_paid | 2000 kB | 16 kB | 18 | 289972 | |
| etendo | pg_default | public | c_invoice | c_invoice_updated | 1584 kB | 18 | 289972 | ||
| etendo | pg_default | public | c_invoice | c_invoice_bp_extref_idx | 8192 bytes | 18 | 289972 | ||
| etendo | pg_default | public | c_invoice | c_invoice_salesrep | 1880 kB | -32 kB | 18 | 289972 | |
| postgres | pg_default | pg_catalog | pg_class | pg_class_tblspc_relfilenode_index | 16 kB | 107 | 259 | 107 | |
| etendo | pg_default | public | ad_process_run | ad_process_run_ould_be_killed | 8192 bytes | 224 | 224 | ||
| DB | Schema | Function | Executions | Time (s) | |||
|---|---|---|---|---|---|---|---|
| Total | Self | Mean | Mean self | ||||
| etendo | public | ad_org_isinnaturaltree | 9015020 | 228.99 | 55.67 | 0.000 | 0.000 |
| etendo | public | ad_isorgincluded | 13528842 | 173.48 | 173.48 | 0.000 | 0.000 |
| etendo | profile | take_sample | 23 | 17.33 | 0.02 | 0.754 | 0.001 |
| etendo | profile | take_sample_subset | 23 | 17.31 | 0.06 | 0.753 | 0.002 |
| etendo | profile | take_sample | 23 | 17.26 | 2.26 | 0.750 | 0.098 |
| etendo | public | ad_istriggerenabled | 1168983 | 15.59 | 15.59 | 0.000 | 0.000 |
| etendo | public | to_char | 16518443 | 12.46 | 12.46 | 0.000 | 0.000 |
| etendo | profile | collect_obj_stats | 23 | 9.27 | 2.87 | 0.403 | 0.125 |
| etendo | public | obequals | 7342550 | 8.67 | 8.67 | 0.000 | 0.000 |
| etendo | profile | dblink | 621 | 7.84 | 7.84 | 0.013 | 0.013 |
| etendo | public | ad_column_identifier | 7728 | 4.02 | 3.99 | 0.001 | 0.001 |
| etendo | profile | sample_dbobj_delta | 23 | 3.58 | 3.58 | 0.156 | 0.156 |
| etendo | public | c_order_post | 29 | 1.69 | 0.00 | 0.058 | 0.000 |
| etendo | public | c_order_post1 | 29 | 1.69 | 0.00 | 0.058 | 0.000 |
| etendo | public | c_order_post1 | 29 | 1.68 | 0.52 | 0.058 | 0.018 |
| etendo | public | c_invoice_post | 19 | 1.60 | 0.45 | 0.084 | 0.024 |
| etendo | public | ad_extension_point_handler | 69 | 1.57 | 0.04 | 0.023 | 0.001 |
| etendo | public | c_invoice_create0 | 12 | 1.44 | 0.00 | 0.120 | 0.000 |
| etendo | public | c_invoice_create | 12 | 1.44 | 0.20 | 0.120 | 0.017 |
| etendo | public | prouti_qtyremainingorderline | 17799 | 1.37 | 1.37 | 0.000 | 0.000 |
| DB | Schema | Function | Executions | Time (s) | |||
|---|---|---|---|---|---|---|---|
| Total | Self | Mean | Mean self | ||||
| etendo | public | to_char | 16518443 | 12.46 | 12.46 | 0.000 | 0.000 |
| etendo | public | ad_isorgincluded | 13528842 | 173.48 | 173.48 | 0.000 | 0.000 |
| etendo | public | ad_org_isinnaturaltree | 9015020 | 228.99 | 55.67 | 0.000 | 0.000 |
| etendo | public | obequals | 7342550 | 8.67 | 8.67 | 0.000 | 0.000 |
| etendo | public | ad_istriggerenabled | 1168983 | 15.59 | 15.59 | 0.000 | 0.000 |
| etendo | public | to_number | 664620 | 1.31 | 1.31 | 0.000 | 0.000 |
| etendo | public | round | 350658 | 0.31 | 0.31 | 0.000 | 0.000 |
| etendo | public | to_char | 35742 | 0.08 | 0.08 | 0.000 | 0.000 |
| etendo | public | to_char | 32519 | 0.05 | 0.05 | 0.000 | 0.000 |
| etendo | public | to_char | 32518 | 0.07 | 0.07 | 0.000 | 0.000 |
| etendo | public | to_date | 19605 | 0.07 | 0.07 | 0.000 | 0.000 |
| etendo | public | lowerequaltimestamp | 18921 | 0.14 | 0.08 | 0.000 | 0.000 |
| etendo | public | prouti_qtyremainingorderline | 17799 | 1.37 | 1.37 | 0.000 | 0.000 |
| etendo | public | substract_days | 12751 | 0.01 | 0.01 | 0.000 | 0.000 |
| etendo | public | add_days | 11451 | 0.01 | 0.01 | 0.000 | 0.000 |
| etendo | public | aprm_ispaymentconfirmed | 10373 | 0.83 | 0.83 | 0.000 | 0.000 |
| etendo | public | uuid_generate_v4 | 7893 | 0.09 | 0.09 | 0.000 | 0.000 |
| etendo | public | ad_column_identifier | 7728 | 4.02 | 3.99 | 0.001 | 0.001 |
| etendo | public | prouti_delavailablewithoutres | 4008 | 0.73 | 0.73 | 0.000 | 0.000 |
| etendo | public | prouti_deliveryavailable | 4008 | 0.71 | 0.71 | 0.000 | 0.000 |
| DB | Schema | Function | Executions | Time (s) | |||
|---|---|---|---|---|---|---|---|
| Total | Self | Mean | Mean self | ||||
| etendo | public | c_invoice_trg | 290070 | 25.44 | 18.30 | 0.000 | 0.000 |
| etendo | public | c_invoice_trg2 | 290070 | 7.89 | 4.61 | 0.000 | 0.000 |
| etendo | public | einv_gene_chk_restrictions_trg | 290052 | 5.65 | 2.79 | 0.000 | 0.000 |
| etendo | public | pruti_inherit_invoice_contact | 290070 | 5.00 | 2.83 | 0.000 | 0.000 |
| etendo | public | c_orderline_trg2 | 933 | 0.50 | 0.20 | 0.001 | 0.000 |
| etendo | public | c_invoiceline_trg2 | 282 | 0.42 | 0.18 | 0.002 | 0.001 |
| etendo | public | au_c_bpartner_trg | 23 | 0.24 | 0.24 | 0.010 | 0.010 |
| etendo | public | c_orderline2_trg | 933 | 0.15 | 0.13 | 0.000 | 0.000 |
| etendo | public | c_orderline_trg | 933 | 0.15 | 0.13 | 0.000 | 0.000 |
| etendo | public | c_orderlinetax_trg | 173 | 0.14 | 0.10 | 0.001 | 0.001 |
| etendo | public | c_invoicelinetax_trg | 129 | 0.14 | 0.07 | 0.001 | 0.001 |
| etendo | public | c_ordline_chk_restrictions_trg | 933 | 0.12 | 0.11 | 0.000 | 0.000 |
| etendo | public | cus_delete_ol | 20 | 0.11 | 0.11 | 0.006 | 0.005 |
| etendo | public | au_advcrm_activity_trg | 24 | 0.10 | 0.09 | 0.004 | 0.004 |
| etendo | public | ad_preference_mod_trg | 270 | 0.08 | 0.08 | 0.000 | 0.000 |
| etendo | public | c_invoiceline_before_trg | 280 | 0.07 | 0.07 | 0.000 | 0.000 |
| etendo | public | c_invline_chk_restrictions_trg | 280 | 0.05 | 0.05 | 0.000 | 0.000 |
| etendo | public | ad_process_request_trg | 246 | 0.05 | 0.03 | 0.000 | 0.000 |
| etendo | public | c_order_chk_restrinctions_trg | 422 | 0.04 | 0.04 | 0.000 | 0.000 |
| etendo | public | c_ordertax_trg | 169 | 0.04 | 0.04 | 0.000 | 0.000 |
| DB | Tablespace | Schema | Table | Vacuum count | Autovacuum count | Ins | Upd | Del | Upd(HOT) |
|---|---|---|---|---|---|---|---|---|---|
| etendo | pg_default | profile | last_stat_tables | 27 | 32878 | 3355 | 32878 | 58 | |
| etendo | pg_default | profile | last_stat_indexes | 27 | 54119 | 1316 | 54119 | ||
| etendo | pg_default | profile | last_stat_user_functions | 27 | 8257 | 847 | 8257 | 42 | |
| etendo | pg_default | public | c_invoice | 23 | 18 | 290052 | 80 | ||
| etendo | pg_default | public | ad_ep_instance_para | 5 | 305 | 305 | |||
| 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 | 129 | |
| postgres | pg_default | pg_catalog | pg_statistic | 1 | 478 | 334 | |||
| etendo | pg_default | pg_catalog | pg_type | 1 | 2157 | 2159 | |||
| etendo | pg_default | pg_catalog | pg_attribute | 1 | 24193 | 24193 | |||
| etendo | pg_default | pg_catalog | pg_class | 1 | 1873 | 6728 | 1873 | 1372 | |
| etendo | pg_default | pg_catalog | pg_index | 1 | 527 | 527 | |||
| etendo | pg_default | pg_catalog | pg_statistic | 1 | 16109 | 13511 | |||
| 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 | 32878 | 3355 | 32878 | 58 |
| etendo | pg_default | profile | last_stat_indexes | 47 | 23 | 54119 | 1316 | 54119 | |
| etendo | pg_default | profile | last_stat_user_functions | 47 | 23 | 8257 | 847 | 8257 | 42 |
| etendo | pg_default | public | c_invoice | 1 | 23 | 18 | 290052 | 80 | |
| etendo | pg_default | profile | last_stat_tablespaces | 22 | 44 | 44 | |||
| etendo | pg_default | public | ad_ep_instance_para | 10 | 305 | 305 | |||
| etendo | pg_default | public | ad_process_request | 1 | 6 | 312 | 307 | ||
| 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 | 709 | 710 | |||
| 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 |
| DB | Tablespace | Schema | Table | Index | ~Vacuum bytes | Vacuum cnt | Autovacuum cnt | IX size | Relsize |
|---|---|---|---|---|---|---|---|---|---|
| etendo | pg_default | public | c_invoice | c_invoice_client_org_date_doc | 90 MB | 23 | 4003 kB | 23 MB | |
| etendo | pg_default | public | c_invoice | c_invoice_key | 62 MB | 23 | 2761 kB | 23 MB | |
| etendo | pg_default | public | c_invoice | c_invoice_bpartner | 57 MB | 23 | 2522 kB | 23 MB | |
| etendo | pg_default | public | c_invoice | c_invoice_docno | 48 MB | 23 | 2144 kB | 23 MB | |
| etendo | pg_default | public | c_invoice | c_invoice_posted | 44 MB | 23 | 1949 kB | 23 MB | |
| etendo | pg_default | public | c_invoice | c_invoice_paid | 44 MB | 23 | 1948 kB | 23 MB | |
| etendo | pg_default | public | c_invoice | c_invoice_salesrep | 42 MB | 23 | 1849 kB | 23 MB | |
| etendo | pg_default | public | c_invoice | c_invoice_ad_user | 36 MB | 23 | 1603 kB | 23 MB | |
| etendo | pg_default | public | c_invoice | c_invoice_updated | 35 MB | 23 | 1567 kB | 23 MB | |
| etendo | pg_default | public | c_invoice | c_invoice_order | 30 MB | 23 | 1328 kB | 23 MB | |
| etendo | pg_default | profile | last_stat_indexes | pk_last_stat_indexes | 10 MB | 27 | 392 kB | 1530 kB | |
| etendo | pg_default | profile | last_stat_tables | pk_last_stat_tables | 5664 kB | 27 | 209 kB | 1216 kB | |
| etendo | pg_default | pg_catalog | pg_attribute | pg_attribute_relid_attnam_index | 1168 kB | 1 | 1168 kB | 4304 kB | |
| etendo | pg_default | pg_catalog | pg_attribute | pg_attribute_relid_attnum_index | 768 kB | 1 | 768 kB | 4304 kB | |
| etendo | pg_default | pg_catalog | pg_statistic | pg_statistic_relid_att_inh_index | 376 kB | 1 | 376 kB | 4776 kB | |
| etendo | pg_default | pg_catalog | pg_statistic(TOAST) | pg_toast_2619_index | 368 kB | 4 | 93 kB | 4400 kB | |
| etendo | pg_default | pg_catalog | pg_class | pg_class_relname_nsp_index | 184 kB | 1 | 184 kB | 688 kB | |
| etendo | pg_default | public | c_invoice | c_invoice_bp_extref_idx | 184 kB | 23 | 8192 bytes | 23 MB | |
| etendo | pg_default | pg_catalog | pg_type | pg_type_typname_nsp_index | 152 kB | 1 | 152 kB | 496 kB | |
| postgres | pg_default | pg_catalog | pg_attribute | pg_attribute_relid_attnam_index | 120 kB | 1 | 120 kB | 408 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 | profile | sample_stat_tables | 24533 | 2904 | 10 | 7072 kB | |
| etendo | public | ad_process_run | 5125 | 291 | 5 | 10136 kB | |
| etendo | public | fin_payment_schedule | 60675 | 2 | 0 | 15 MB |
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 | profile | sample_stat_tables | 24533 | 2904 | 906 | 3 | 2026-07-19 23:00:03.573965+02 | 7072 kB |
| etendo | public | ad_process_run | 5125 | 291 | 48 | 0 | 2026-07-20 01:09:05.665094+02 | 10136 kB |
| etendo | public | fin_payment_schedule | 60675 | 2 | 50 | 0 | 2025-05-14 08:30:29.130156+02 | 15 MB |
| 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 | 1572864 | 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 | 1048576 | 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 05:00:04.324135+02 | |||
| pg_conf_load_time | 2026-07-19 05:00:03.850135+02 | 2026-07-19 06:00:02+02 | ||
| pg_postmaster_start_time | 2026-07-18 05:00:04.449179+02 | |||
| pg_postmaster_start_time | 2026-07-19 05:00:03.976791+02 | 2026-07-19 06:00:02+02 | ||
| pg_stat_statements.max | 10000 | /etc/postgresql/10/main/postgresql.conf:663 | ||
| pg_stat_statements.track | all | /etc/postgresql/10/main/postgresql.conf:664 | ||
| random_page_cost | 1.1 | /etc/postgresql/10/main/postgresql.conf:307 | ||
| server_encoding | UTF8 | |||
| shared_buffers | 524288 | 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 | 10485 | 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 | 6922115330454611200 | |||
| 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 | |||