pg_profile version 0.3.6
Server name: local
Report interval: 2026-07-13 04:00:01+02 - 2026-07-14 03:00:02+02
Warning!Report includes 23 sample(s) with setting pg_stat_statements.track = all.Value of %Total columns may be incorrect.
| Database | Transactions | Block statistics | Tuples | Temp files | Size | Growth | |||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| Commits | Rollbacks | Deadlocks | Hit(%) | Read | Hit | Ret | Fet | Ins | Upd | Del | Size | Files | |||
| etendo | 218488 | 45 | 90.81 | 16797878 | 166033758 | 390688581 | 24870361 | 675741 | 325746 | 433406 | 2851 MB | -224 kB | |||
| postgres | 11869 | 99.84 | 1159 | 702948 | 1985156 | 365388 | 2012 | 866 | 1772 | 6375 kB | |||||
| Total | 230357 | 45 | 90.85 | 16799037 | 166736706 | 392673737 | 25235749 | 677753 | 326612 | 435178 | 2858 MB | -224 kB | |||
| Database | Calls | Time (s) | Fetched (blk) | Dirtied (blk) | Temp (blk) | Local (blk) | Statements | |||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| Exec | Read | Write | Trg | Shared | Local | Shared | Local | Read | Write | Read | Write | |||
| etendo | 4065348 | 780.35 | 41.75 | 74992075 | 117812550 | 233840 | 4062 | 16287851 | 2794 | 22128 | ||||
| postgres | 5620 | 12.74 | 127212 | 228 | 350 | |||||||||
| template1 | 6346 | 8.93 | 47962 | 235 | 278 | |||||||||
| Total | 4077314 | 802.02 | 41.75 | 75167249 | 117812550 | 234303 | 4062 | 16287851 | 2794 | 22756 | ||||
| Metric | Value |
|---|---|
| Scheduled checkpoints | 275 |
| Requested checkpoints | 1 |
| Checkpoint write time (s) | 10744.75 |
| Checkpoint sync time (s) | 3.06 |
| Checkpoints buffers written | 129473 |
| Background buffers written | |
| Backend buffers written | 142839 |
| Backend fsync count | |
| Bgwriter interrupts (too many buffers) | |
| Number of buffers allocated | 507914 |
| WAL generated | 3782 MB |
| WAL segments archived | |
| WAL segments archive failed |
| Tablespace | Path | Size | Growth |
|---|---|---|---|
| pg_default | 2871 MB | -208 kB | |
| pg_global | 542 kB |
| Query ID | Database | Exec (s) | %Total | Rows | Execution times (ms) | Executions | |||
|---|---|---|---|---|---|---|---|---|---|
| Mean | Min | Max | StdErr | ||||||
[948be82f] | etendo | 150.76 | 18.80 | 150755.530 | 150755.530 | 150755.530 | 1 | ||
[f410d7e7] | etendo | 69.74 | 8.70 | 287488 | 0.243 | 0.130 | 9.603 | 0.080 | 287488 |
[88d6e75c] | etendo | 68.41 | 8.53 | 12 | 5700.982 | 0.193 | 68408.507 | 18907.030 | 12 |
[1b1541f8] | etendo | 57.57 | 7.18 | 126040 | 0.457 | 0.002 | 11.102 | 0.576 | 126041 |
[bf906a1d] | etendo | 54.03 | 6.74 | 12532 | 4.312 | 3.781 | 16.908 | 0.708 | 12532 |
[cd9c0fd2] | etendo | 33.69 | 4.20 | 13433 | 33685.687 | 33685.687 | 33685.687 | 1 | |
[94db0ed9] | etendo | 23.98 | 2.99 | 4839 | 1598.721 | 5.076 | 2528.077 | 715.259 | 15 |
[5048ce93] | etendo | 22.70 | 2.83 | 17566 | 1.125 | 0.964 | 4.349 | 0.238 | 20181 |
[c69b6fc3] | etendo | 22.39 | 2.79 | 75657 | 0.296 | 0.003 | 2.857 | 0.152 | 75658 |
[47df1ade] | etendo | 16.69 | 2.08 | 23 | 725.666 | 640.377 | 1042.665 | 84.198 | 23 |
[eb812a48] | etendo | 16.69 | 2.08 | 725.467 | 640.188 | 1042.453 | 84.181 | 23 | |
[aa6f0851] | etendo | 12.75 | 1.59 | 50359 | 0.253 | 0.003 | 3.313 | 0.131 | 50360 |
[ca2988bd] | etendo | 9.50 | 1.18 | 1027 | 133.829 | 119.413 | 210.312 | 13.431 | 71 |
[66c83919] | etendo | 8.48 | 1.06 | 1897266 | 8480.913 | 8480.913 | 8480.913 | 1 | |
[411377d4] | etendo | 7.06 | 0.88 | 20181 | 0.360 | 0.313 | 2.141 | 0.076 | 19599 |
[75b8a9cd] | etendo | 6.80 | 0.85 | 92455 | 0.073 | 0.068 | 0.889 | 0.022 | 92455 |
[d34207c3] | etendo | 6.19 | 0.77 | 253552 | 0.021 | 0.005 | 1.629 | 0.011 | 288451 |
[f51b4fb0] | etendo | 5.26 | 0.66 | 25140 | 0.209 | 0.007 | 2.874 | 0.119 | 25140 |
[7318d810] | etendo | 5.19 | 0.65 | 674351 | 5188.045 | 5188.045 | 5188.045 | 1 | |
[1c4d8fed] | etendo | 5.14 | 0.64 | 1372 | 3.743 | 1.720 | 14.873 | 1.497 | 1372 |
| Query ID | Database | Executions | %Total | Rows | Mean(ms) | Min(ms) | Max(ms) | StdErr(ms) | Elapsed(s) |
|---|---|---|---|---|---|---|---|---|---|
[b7edb1a4] | etendo | 288910 | 7.09 | 288910 | 0.010 | 0.007 | 1.260 | 0.005 | 2.9 |
[4ed26d58] | etendo | 288545 | 7.08 | 30602 | 0.011 | 0.006 | 1.028 | 0.006 | 3.0 |
[d34207c3] | etendo | 288451 | 7.07 | 253552 | 0.021 | 0.005 | 1.629 | 0.011 | 6.2 |
[f410d7e7] | etendo | 287488 | 7.05 | 287488 | 0.243 | 0.130 | 9.603 | 0.080 | 69.7 |
[a00bdbff] | etendo | 275885 | 6.77 | 0.007 | 0.004 | 0.473 | 0.003 | 1.9 | |
[de5cc8a] | etendo | 275098 | 6.75 | 272140 | 0.003 | 0.002 | 0.466 | 0.001 | 0.8 |
[39cec726] | etendo | 256407 | 6.29 | 256407 | 0.009 | 0.007 | 2.361 | 0.006 | 2.4 |
[9cb9259b] | etendo | 162810 | 3.99 | 162810 | 0.018 | 0.012 | 0.951 | 0.008 | 2.9 |
[d43a51d5] | etendo | 126064 | 3.09 | 126064 | 0.005 | 0.003 | 0.983 | 0.005 | 0.6 |
[1b1541f8] | etendo | 126041 | 3.09 | 126040 | 0.457 | 0.002 | 11.102 | 0.576 | 57.6 |
[5a0bb3c] | etendo | 101064 | 2.48 | 101064 | 0.002 | 0.002 | 0.467 | 0.003 | 0.3 |
[75b8a9cd] | etendo | 92455 | 2.27 | 92455 | 0.073 | 0.068 | 0.889 | 0.022 | 6.8 |
[b7b1303a] | etendo | 90439 | 2.22 | 90439 | 0.015 | 0.013 | 0.514 | 0.002 | 1.4 |
[c69b6fc3] | etendo | 75658 | 1.86 | 75657 | 0.296 | 0.003 | 2.857 | 0.152 | 22.4 |
[a50eb7d7] | etendo | 75658 | 1.86 | 75658 | 0.005 | 0.003 | 0.795 | 0.006 | 0.4 |
[381eb299] | etendo | 53478 | 1.31 | 53478 | 0.014 | 0.010 | 0.683 | 0.006 | 0.8 |
[b9a22c26] | etendo | 50779 | 1.25 | 50779 | 0.005 | 0.002 | 0.183 | 0.004 | 0.2 |
[aa6f0851] | etendo | 50360 | 1.24 | 50359 | 0.253 | 0.003 | 3.313 | 0.131 | 12.8 |
[c1b84187] | etendo | 44913 | 1.10 | 327079 | 0.040 | 0.014 | 0.739 | 0.038 | 1.8 |
[2f2197e3] | etendo | 42776 | 1.05 | 26700 | 0.014 | 0.006 | 0.298 | 0.008 | 0.6 |
| Query ID | Database | blks fetched | %Total | Hits(%) | Elapsed(s) | Rows | Executions |
|---|---|---|---|---|---|---|---|
[f410d7e7] | etendo | 9527256 | 12.67 | 99.97 | 69.7 | 287488 | 287488 |
[5048ce93] | etendo | 6740454 | 8.97 | 100.00 | 22.7 | 17566 | 20181 |
[47df1ade] | etendo | 4792576 | 6.38 | 99.98 | 16.7 | 23 | 23 |
[eb812a48] | etendo | 4792438 | 6.38 | 99.98 | 16.7 | 23 | |
[948be82f] | etendo | 3035609 | 4.04 | 84.26 | 150.8 | 1 | |
[ca2988bd] | etendo | 2485516 | 3.31 | 99.99 | 9.5 | 1027 | 71 |
[411377d4] | etendo | 2325991 | 3.09 | 99.99 | 7.1 | 20181 | 19599 |
[303fdc1e] | etendo | 2285207 | 3.04 | 100.00 | 1.2 | 2429 | 23 |
[4221d0a4] | etendo | 2178522 | 2.90 | 100.00 | 1.9 | 38 | 38 |
[92946197] | etendo | 1633765 | 2.17 | 99.97 | 4.7 | 638 | 23 |
[22217272] | etendo | 1618119 | 2.15 | 100.00 | 2.2 | 51037 | 23 |
[94db0ed9] | etendo | 1605383 | 2.14 | 100.00 | 24.0 | 4839 | 15 |
[ad3afc69] | etendo | 1097230 | 1.46 | 100.00 | 2.7 | 524600 | 1443 |
[1c366983] | etendo | 1082814 | 1.44 | 99.89 | 4.4 | 2554 | 13 |
[b8952a6a] | etendo | 1071976 | 1.43 | 100.00 | 1.6 | 5874 | 960 |
[b7edb1a4] | etendo | 900264 | 1.20 | 100.00 | 2.9 | 288910 | 288910 |
[4ed26d58] | etendo | 898188 | 1.19 | 100.00 | 3.0 | 30602 | 288545 |
[ec8ea67e] | etendo | 888058 | 1.18 | 100.00 | 3.1 | 26 | 26 |
[75b8a9cd] | etendo | 864351 | 1.15 | 100.00 | 6.8 | 92455 | 92455 |
[d34207c3] | etendo | 829511 | 1.10 | 100.00 | 6.2 | 253552 | 288451 |
| Query ID | Database | Reads | %Total | Hits(%) | Elapsed(s) | Rows | Executions |
|---|---|---|---|---|---|---|---|
[948be82f] | etendo | 477916 | 91.98 | 84.26 | 150.8 | 1 | |
[4f2bfd2e] | etendo | 3251 | 0.63 | 98.86 | 0.9 | 12 | 6 |
[f410d7e7] | etendo | 2494 | 0.48 | 99.97 | 69.7 | 287488 | 287488 |
[b7b6a128] | etendo | 2199 | 0.42 | 88.92 | 0.2 | 2156 | 2156 |
[b54ea3e2] | etendo | 2075 | 0.40 | 99.52 | 2.3 | 67 | |
[7eea2aca] | etendo | 1906 | 0.37 | 98.85 | 0.4 | 16773 | 16773 |
[4ec9dd54] | etendo | 1735 | 0.33 | 92.17 | 0.5 | 29 | 29 |
[1c366983] | etendo | 1232 | 0.24 | 99.89 | 4.4 | 2554 | 13 |
[948be82f] | template1 | 976 | 0.19 | 97.61 | 2.7 | 1 | |
[948be82f] | postgres | 946 | 0.18 | 97.66 | 2.9 | 1 | |
[c94f617e] | etendo | 935 | 0.18 | 97.18 | 0.2 | 298 | 298 |
[47df1ade] | etendo | 904 | 0.17 | 99.98 | 16.7 | 23 | 23 |
[eb812a48] | etendo | 904 | 0.17 | 99.98 | 16.7 | 23 | |
[48b1758d] | etendo | 877 | 0.17 | 99.81 | 5.0 | 99 | 99 |
[fe5aed7e] | etendo | 877 | 0.17 | 99.81 | 5.0 | 99 | 99 |
[c3f6c9c8] | etendo | 849 | 0.16 | 91.49 | 0.3 | 6 | 6 |
[532de794] | etendo | 753 | 0.14 | 99.32 | 1.4 | 4008 | 4008 |
[274025e4] | etendo | 544 | 0.10 | 97.34 | 0.0 | 122 | 25 |
[a2f4e2db] | etendo | 517 | 0.10 | 99.61 | 0.4 | 14 | 14 |
[92946197] | etendo | 494 | 0.10 | 99.97 | 4.7 | 638 | 23 |
| Query ID | Database | Dirtied | %Total | Hits(%) | Elapsed(s) | Rows | Executions |
|---|---|---|---|---|---|---|---|
[f410d7e7] | etendo | 68654 | 29.30 | 99.97 | 69.7 | 287488 | 287488 |
[948be82f] | etendo | 62638 | 26.73 | 84.26 | 150.8 | 1 | |
[47df1ade] | etendo | 15854 | 6.77 | 99.98 | 16.7 | 23 | 23 |
[eb812a48] | etendo | 15854 | 6.77 | 99.98 | 16.7 | 23 | |
[532de794] | etendo | 5223 | 2.23 | 99.32 | 1.4 | 4008 | 4008 |
[3b0e4e8a] | etendo | 4207 | 1.80 | 99.96 | 3.6 | 54119 | 46 |
[a0544a5f] | etendo | 3223 | 1.38 | 99.97 | 3.6 | 32888 | 46 |
[48b1758d] | etendo | 3071 | 1.31 | 99.81 | 5.0 | 99 | 99 |
[fe5aed7e] | etendo | 3071 | 1.31 | 99.81 | 5.0 | 99 | 99 |
[b7b6a128] | etendo | 2496 | 1.07 | 88.92 | 0.2 | 2156 | 2156 |
[c94f617e] | etendo | 2317 | 0.99 | 97.18 | 0.2 | 298 | 298 |
[4ec9dd54] | etendo | 1978 | 0.84 | 92.17 | 0.5 | 29 | 29 |
[cbb8c03] | etendo | 1745 | 0.74 | 99.85 | 2.8 | 108 | 108 |
[59d1e156] | etendo | 1689 | 0.72 | 99.52 | 0.9 | 21 | 21 |
[e4b84551] | etendo | 1394 | 0.59 | 99.36 | 1.2 | 92 | 92 |
[423e83ff] | etendo | 1280 | 0.55 | 98.91 | 0.1 | 1 | |
[d2f1c69a] | etendo | 1176 | 0.50 | 99.29 | 0.1 | 223 | 223 |
[76ede534] | etendo | 1158 | 0.49 | 99.32 | 0.0 | 1 | |
[c3f6c9c8] | etendo | 914 | 0.39 | 91.49 | 0.3 | 6 | 6 |
[1538926a] | etendo | 824 | 0.35 | 98.67 | 0.4 | 58 | 58 |
| Query ID | Database | Written | %Total | %BackendW | Hits(%) | Elapsed(s) | Rows | Executions |
|---|---|---|---|---|---|---|---|---|
[948be82f] | etendo | 58225 | 21.38 | 40.76 | 84.26 | 150.8 | 1 | |
[948be82f] | template1 | 55 | 0.02 | 0.04 | 97.61 | 2.7 | 1 | |
[948be82f] | postgres | 55 | 0.02 | 0.04 | 97.66 | 2.9 | 1 |
| Query ID | Database | Local fetched | Hits(%) | Local (blk) | Temp (blk) | Elapsed(s) | Rows | Executions | ||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| Write | %Total | Read | %Total | Write | %Total | Read | %Total | |||||||
[bf906a1d] | etendo | 13706368 | 0.17 | 1697 | 60.74 | 13682595 | 84.00 | 54.0 | 12532 | 12532 | ||||
[1b1541f8] | etendo | 65983539 | 96.06 | 1093 | 39.12 | 2602582 | 15.98 | 57.6 | 126040 | 126041 | ||||
[d43a51d5] | etendo | 129196 | 99.16 | 4 | 0.14 | 1091 | 0.01 | 0.6 | 126064 | 126064 | ||||
[a50eb7d7] | etendo | 77536 | 99.19 | 629 | 0.00 | 0.4 | 75658 | 75658 | ||||||
[b9a22c26] | etendo | 52036 | 99.19 | 422 | 0.00 | 0.2 | 50779 | 50779 | ||||||
[d357095d] | etendo | 12844 | 97.57 | 312 | 0.00 | 0.1 | 12532 | 12532 | ||||||
[ee759ab3] | etendo | 26172 | 99.18 | 214 | 0.00 | 0.1 | 25539 | 25539 | ||||||
[11e97f3b] | etendo | 1 | 1 | 0.00 | 0.0 | 1 | 1 | |||||||
[307229c6] | etendo | 36 | 97.22 | 1 | 0.00 | 0.0 | 36 | 36 | ||||||
[801537c6] | etendo | 51 | 98.04 | 1 | 0.00 | 0.0 | 51 | 51 | ||||||
[b349c30c] | etendo | 1 | 1 | 0.00 | 0.0 | 1 | 1 | |||||||
[d43a2c87] | etendo | 24 | 95.83 | 1 | 0.00 | 0.0 | 24 | 24 | ||||||
[e53a3cf3] | etendo | 1 | 1 | 0.00 | 0.0 | 1 | 1 | |||||||
| QueryID | Query Text |
|---|---|
| 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 |
| fda73c8819 | insert into ad_context_info (ad_user_id, ad_session_id, processType, processId) values ($1, $2, $3, $4) |
| 2f7131461f | insert into C_InvoiceLine (AD_Client_ID, AD_Org_ID, IsActive, Created, CreatedBy, Updated, UpdatedBy, C_Invoice_ID, Line, Financial_Invoice_Line, M_Product_ID, QtyInvoiced, PriceList, PriceActual, PriceLimit, LineNetAmt, C_UOM_ID, C_Tax_ID, IsDescription, PriceStd, Excludeforwithholding, Iseditlinenetamt, Taxbaseamt, Line_Gross_Amount, Gross_Unit_Price, C_Bpartner_ID, grosspricestd, Grosspricelist, IsDeferred, Explode, Match_Lccosts, C_InvoiceLine_ID) values ($1, $2, $3, $4, $5, $6, $7, $8, $9, $10, $11, $12, $13, $14, $15, $16, $17, $18, $19, $20, $21, $22, $23, $24, $25, $26, $27, $28, $29, $30, $31, $32) |
| 7ed479c7e5 | delete from ad_context_info |
| aa89455035 | SELECT ID, SUM(QTY) AS QTY, SUM(QTYCREDIT) AS QTYCREDIT, SUM(QTY_REF) AS QTY_REF, SUM(QTYCREDIT_REF) AS QTYCREDIT_REF FROM ( SELECT m.C_ElementValue_ID as id, (COALESCE(f.AMTACCTDR,$8) - COALESCE(f.AMTACCTCR, $9)) AS qty, (COALESCE(f.AMTACCTCR,$10) - COALESCE(f.AMTACCTDR, $11)) AS qtyCredit, $12 as qty_ref, $13 as qtyCredit_ref FROM C_ElementValue m, Fact_Acct f, C_Period p, C_Year y WHERE m.AD_Org_ID IN ($14,$15,$16,$17) AND m.AD_Client_ID IN ($18,$19) AND $20=$21 AND f.DATEACCT >= to_date($1) AND f.DATEACCT < to_date($2) AND f.C_ACCTSCHEMA_ID = $3 AND f.FACTACCTTYPE <> $22 AND f.FACTACCTTYPE <> $23 AND m.C_ElementValue_ID = f.Account_ID AND $24=$25 AND f.AD_ORG_ID IN ($26) AND f.C_PERIOD_ID = p.C_PERIOD_ID AND p.C_YEAR_ID = y.C_YEAR_ID AND Y.YEAR IN ($27) and not exists (select $28 from ad_org_closing, c_year year where open_fact_acct_group_id = f.fact_acct_group_id and ad_org_closing.c_year_id = year.c_year_id and year.year <> $4) UNION ALL SELECT m.C_ElementValue_ID as id, $29 AS QTY, $30 as qtyCredit, (COALESCE(f.AMTACCTDR,$31) - COALESCE(f.AMTACCTCR, $32)) AS qty_ref, (COALESCE(f.AMTACCTCR,$33) - COALESCE(f.AMTACCTDR, $34)) AS qtyCredit_ref FROM C_ElementValue m, Fact_Acct f, C_Period p, C_Year y WHERE m.AD_Org_ID IN($35,$36,$37,$38) AND m.AD_Client_ID IN($39,$40) AND ($41=$42 OR to_char($43)=to_char($5) ) AND $44=$45 AND f.C_ACCTSCHEMA_ID = $6 AND f.FACTACCTTYPE <> $46 AND f.FACTACCTTYPE <> $47 AND m.C_ElementValue_ID = f.Account_ID AND $48=$49 AND f.AD_ORG_ID IN ($50) AND f.C_PERIOD_ID = p.C_PERIOD_ID AND p.C_YEAR_ID = y.C_YEAR_ID AND y.YEAR IN ($51) and not exists (select $52 from ad_org_closing, c_year year where open_fact_acct_group_id = f.fact_acct_group_id and ad_org_closing.c_year_id = year.c_year_id and year.year <> $7) ) AA GROUP BY ID |
| 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) |
| cea7aeb9ae | select orderline0_.C_OrderLine_ID as col_0_0_, orderline0_.QtyOrdered-sum(coalesce(procuremen3_.Qty, $10))-sum(coalesce(invoicelin4_.QtyInvoiced, $11)) as col_1_0_, (select uom5_.Name from C_UOM uom5_ where uom5_.C_UOM_ID=orderline0_.C_UOM_ID) as col_2_0_, (select product6_.Name from M_Product product6_ where product6_.M_Product_ID=orderline0_.M_Product_ID) as col_3_0_, orderline0_.Line as col_4_0_, $12 as col_5_0_, $13 as col_6_0_, coalesce(materialmg2_.QuantityOrder, orderline0_.QuantityOrder*(orderline0_.QtyOrdered-coalesce(orderline0_.QtyInvoiced, $14))/(case when orderline0_.QtyOrdered<>$15 then orderline0_.QtyOrdered else $16 end)) as col_7_0_, materialmg2_.M_InOutLine_ID as col_8_0_, orderline0_.DateOrdered as col_9_0_, orderline0_.Created as col_10_0_, aduser7_.Name as col_11_0_, orderline0_.Updated as col_12_0_, aduser8_.Name as col_13_0_, order1_.DatePromised as col_14_0_, (select warehouse9_.Name from M_Warehouse warehouse9_ where warehouse9_.M_Warehouse_ID=order1_.M_Warehouse_ID) as col_15_0_, order1_.DocumentNo as col_16_0_, order1_.GrandTotal as col_17_0_ from C_OrderLine orderline0_ inner join C_Order order1_ on orderline0_.C_Order_ID=order1_.C_Order_ID left outer join M_InOutLine materialmg2_ on orderline0_.M_Inoutline_ID=materialmg2_.M_InOutLine_ID left outer join M_MatchPO procuremen3_ on orderline0_.C_OrderLine_ID=procuremen3_.C_OrderLine_ID and (procuremen3_.C_InvoiceLine_ID is not null) left outer join C_InvoiceLine invoicelin4_ on orderline0_.C_OrderLine_ID=invoicelin4_.C_OrderLine_ID and (invoicelin4_.C_InvoiceLine_ID is null or invoicelin4_.C_Invoice_ID=$1) cross join AD_User aduser7_ cross join AD_User aduser8_ where orderline0_.CreatedBy=aduser7_.AD_User_ID and orderline0_.UpdatedBy=aduser8_.AD_User_ID and (order1_.AD_Client_ID in ($17 , $2)) and (orderline0_.AD_Org_ID in ($3 , $4)) and order1_.DateOrdered>=now()-$18 and order1_.IsSOTrx=$5 and order1_.IsTaxIncluded=$6 and order1_.C_Currency_ID=$7 and order1_.C_BPartner_ID=$8 and (order1_.DocStatus in ($19 , $20)) and order1_.InvoiceRule<>$21 group by orderline0_.QtyOrdered , orderline0_.DateOrdered , orderline0_.Line , orderline0_.C_OrderLine_ID , orderline0_.Created , aduser7_.Name , orderline0_.Updated , aduser8_.Name , orderline0_.Explode , orderline0_.Aumqty , orderline0_.C_UOM_ID , orderline0_.M_Product_ID , orderline0_.C_Aum , materialmg2_.M_InOutLine_ID , order1_.C_Order_ID , order1_.DocumentNo , order1_.DateOrdered , order1_.GrandTotal , order1_.DatePromised , coalesce(orderline0_.A_Asset_ID, order1_.A_Asset_ID) , coalesce(orderline0_.C_Project_ID, order1_.C_Project_ID) , coalesce(orderline0_.C_Costcenter_ID, order1_.C_Costcenter_ID) , coalesce(orderline0_.User1_ID, order1_.User1_ID) , coalesce(orderline0_.User2_ID, order1_.User2_ID) , order1_.C_DocType_ID , order1_.C_BPartner_ID , order1_.M_Warehouse_ID , coalesce(materialmg2_.QuantityOrder, orderline0_.QuantityOrder*(orderline0_.QtyOrdered-coalesce(orderline0_.QtyInvoiced, 0))/(case when orderline0_.QtyOrdered<>0 then orderline0_.QtyOrdered else null end)) , invoicelin4_.C_InvoiceLine_ID having orderline0_.Explode=$22 or orderline0_.QtyOrdered-sum(coalesce(procuremen3_.Qty, $23))<>$24 and (invoicelin4_.C_InvoiceLine_ID is null or sum(coalesce(invoicelin4_.QtyInvoiced, $25))-coalesce(orderline0_.QtyOrdered, $26)-sum(coalesce(procuremen3_.Qty, $27))<$28) order by order1_.DocumentNo desc, orderline0_.Line asc limit $9 |
| 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) |
| 612b800127 | insert into ad_context_info (ad_user_id, ad_session_id, processType, processId) values ($1, $2, $3, $4) |
| 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 ) |
| 9c83facac5 | select this_.Psat_Activity_Materials_ID as Psat_Act1_723_0_, this_.AD_Client_ID as AD_Clien2_723_0_, this_.AD_Org_ID as AD_Org_I3_723_0_, this_.Isactive as Isactive4_723_0_, this_.Created as Created5_723_0_, this_.Createdby as Createdb6_723_0_, this_.Updated as Updated7_723_0_, this_.Updatedby as Updatedb8_723_0_, this_.Advcrm_Activity_ID as Advcrm_A9_723_0_, this_.M_Product_ID as M_Produ10_723_0_, this_.Estimatedqty as Estimat11_723_0_, this_.Invoiceable as Invoice12_723_0_, this_.Generaterequisition as Generat13_723_0_, this_.M_Requisition_ID as M_Requi14_723_0_, this_.C_Orderline_ID as C_Order15_723_0_ from psat_activity_materials this_ where this_.Advcrm_Activity_ID=$1 and this_.Isactive=$2 |
| f286a2747c | SELECT COALESCE(SUM(AMTACCTCR-AMTACCTDR), $5) AS NAME FROM FACT_ACCT, C_PERIOD, C_YEAR, (SELECT C_ELEMENTVALUE_ID FROM C_ELEMENTVALUE WHERE C_ELEMENTVALUE.ACCOUNTTYPE = $1) AA WHERE FACT_ACCT.C_PERIOD_ID = C_PERIOD.C_PERIOD_ID AND C_PERIOD.C_YEAR_ID = C_YEAR.C_YEAR_ID AND FACT_ACCT.ACCOUNT_ID = AA.C_ELEMENTVALUE_ID AND FACT_ACCT.FACTACCTTYPE <> $6 AND $7=$8 AND FACT_ACCT.DATEACCT >= TO_DATE($2) AND FACT_ACCT.DATEACCT < TO_DATE($3) AND FACT_ACCT.C_ACCTSCHEMA_ID = $4 AND C_YEAR.YEAR IN ($9) AND FACT_ACCT.AD_ORG_ID IN ($10) |
| 9b16673e73 | vacuum analyze AD_Process_Run |
| 0c133f89fa | SELECT profile.take_sample() |
| cc93eb92d8 | SELECT * FROM C_Invoice_Post0($1) |
| 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 |
| f8cc1c12b0 | select --REQUEST psat_request.description as reqdesc, psat_request.requestdate, --ACTIVITY coalesce(advcrm_activity.em_psat_activity_num,psat_request.documentno) as documentno, advcrm_activity.type_activity, advcrm_activity.name as actname, advcrm_activity.description as actdesc, advcrm_activity.date_start, advcrm_activity.date_end, advcrm_activity.em_psat_namesign as namesign, advcrm_activity.em_psat_sign as actsign, -- case when chresseconduser.result is not null and chresseconduser.result <> $1 then activityuser.name || $2 || (select pcv."name" from psat_checklist_value pcv where pcv.psat_check_type_id = chresseconduser.psat_check_type_id and pcv.value = chresseconduser.result limit $3 ) else activityuser.name end as usernameact, -- advcrm_activity.em_psat_observations as actobservations, chresmachinetime.result as timemachine, chresworktime.result as worktime, coalesce(chresworkdone.result,chresworkdone.description) as logactivity, coalesce(chresmovementtime.result,$4) as timemovement, coalesce(chreskms.result,$5) as kms, coalesce(chreshrsguard.result,$6) as hoursGuard, --ORG ad_org.ad_org_id, --BPARTNER c_bpartner.value as valuepartner, upper(c_bpartner.name) as namepartner, upper(c_bpartner.name2) as name2partner, contactuser.name as contactname, contactuser.email as contactmail, contactuser.phone as contactphone, --ADDRESSREQUEST c_location.address1 as address1, c_location.address2 as address2, c_location.postal as bppostal, c_location.city as bpcity, c_location_description(c_location.c_location_id) || $7|| upper(coalesce(c_country_trl.name, c_country.name)) || $8 AS locationdesc, --PRODUCT m_product.name as prodreqname, coalesce(m_attributesetinstance.description, psat_request.additional_info) as attributedesc, --CONSUMPTION coalesce(psat_related_products.em_cus_specific_id,prodconsum.value) as prodconsumvalue, coalesce(em_cus_specific_name,prodconsum.name) as prodconsumname, coalesce(cus_specific_mats_price.pricelist, psat_activity_consumption.priceactual) as consumpriceprod, coalesce(psat_activity_consumption.qty,$9) as consumitionQty, (select count($10) from advcrm_activity ac left join psat_activity_consumption pac on ac.advcrm_activity_id = pac.advcrm_activity_id where ac.advcrm_activity_id = advcrm_activity.advcrm_activity_id) as totalConsumitions, ROW_NUMBER() OVER (ORDER BY psat_activity_consumption.psat_activity_consumption_id ) as rownumber from advcrm_activity left join psat_request on advcrm_activity.em_psat_request_id = psat_request.psat_request_id left join psat_activity_consumption on advcrm_activity.advcrm_activity_id = psat_activity_consumption.advcrm_activity_id left join psat_related_products on psat_request.m_product_id=psat_related_products.m_product_id and psat_related_products.m_material_id=psat_activity_consumption.m_product_id left join psat_checklist_result chresmachinetime on advcrm_activity.advcrm_activity_id = chresmachinetime.advcrm_activity_id and chresmachinetime.psat_check_type_id= $11 left join psat_checklist_result chresworktime on advcrm_activity.advcrm_activity_id = chresworktime.advcrm_activity_id and chresworktime.psat_check_type_id= $12 left join psat_checklist_result chresmovementtime on advcrm_activity.advcrm_activity_id = chresmovementtime.advcrm_activity_id and chresmovementtime.psat_check_type_id= $13 left join psat_checklist_result chreskms on advcrm_activity.advcrm_activity_id = chreskms.advcrm_activity_id and chreskms.psat_check_type_id= $14 left join psat_checklist_result chreshrsguard on advcrm_activity.advcrm_activity_id = chreshrsguard.advcrm_activity_id and chreshrsguard.psat_check_type_id= $15 left join psat_checklist_result chresworkdone on advcrm_activity.advcrm_activity_id = chresworkdone.advcrm_activity_id and chresworkdone.psat_check_type_id= $16 left join psat_checklist_result chresseconduser on advcrm_activity.advcrm_activity_id = chresseconduser.advcrm_activity_id and chresseconduser.psat_check_type_id= $17 left join c_bpartner on psat_request.c_bpartner_id=c_bpartner.c_bpartner_id left join cus_specific_mats_price on c_bpartner.c_bpartner_id = cus_specific_mats_price.c_bpartner_id left join c_bpartner_location on psat_request.c_bpartner_location_id=c_bpartner_location.c_bpartner_location_id left join c_location on c_bpartner_location.c_location_id=c_location.c_location_id left join c_region on c_location.c_region_id=c_region.c_region_id left join c_country on c_location.c_country_id=c_country.c_country_id left join c_country_trl on c_country.c_country_id=c_country_trl.c_country_id and c_country_trl.ad_language=$18 left join m_product on psat_request.m_product_id=m_product.m_product_id left join m_attributesetinstance on psat_request.m_attributesetinstance_id=m_attributesetinstance.m_attributesetinstance_id left join m_product prodconsum on psat_activity_consumption.m_product_id = prodconsum.m_product_id left join c_doctype on psat_request.c_doctype_id=c_doctype.c_doctype_id left join ad_user activityuser on advcrm_activity.ad_user_id=activityuser.ad_user_id left join ad_user contactuser on coalesce(psat_request.requestor_id,psat_request.affected_contact_id)=contactuser.ad_user_id left join ad_org on psat_request.ad_org_id=ad_org.ad_org_id left join ad_orginfo on ad_org.ad_org_id=ad_orginfo.ad_org_id left join c_location c_locationorg on ad_orginfo.c_location_id=c_locationorg.c_location_id left join c_region c_regionorg on c_locationorg.c_region_id=c_regionorg.c_region_id where advcrm_activity.advcrm_activity_id in ($19) |
| 44dc303aa7 | select this_.Psat_Activity_Consumption_ID as Psat_Act1_722_0_, this_.AD_Client_ID as AD_Clien2_722_0_, this_.AD_Org_ID as AD_Org_I3_722_0_, this_.Isactive as Isactive4_722_0_, this_.Created as Created5_722_0_, this_.Createdby as Createdb6_722_0_, this_.Updated as Updated7_722_0_, this_.Updatedby as Updatedb8_722_0_, this_.Advcrm_Activity_ID as Advcrm_A9_722_0_, this_.M_Product_ID as M_Produ10_722_0_, this_.Qty as Qty11_722_0_, this_.Priceactual as Priceac12_722_0_, this_.M_Attributesetinstance_ID as M_Attri13_722_0_, this_.M_Locator_ID as M_Locat14_722_0_, this_.Psat_Activity_Materials_ID as Psat_Ac15_722_0_, this_.Invoiced as Invoice16_722_0_, this_.isProcessed as isProce17_722_0_, this_.Description as Descrip18_722_0_, this_.M_Inoutline_ID as M_Inout19_722_0_ from psat_activity_consumption this_ where this_.Psat_Activity_Materials_ID=$1 and this_.Isactive=$2 |
| 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)) |
| 140f3eb685 | SELECT collect_pg_stat_statements_stats(server_properties, sserver_id, s_id, topn) |
| 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 |
| 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 |
| 6f5312535e | SELECT REPLACE(REPLACE(SQL_RECORD_IDENTIFIER, ':c_language', '''' || p_Language || ''''), ':c_ID', p_Record_ID) FROM AD_TABLE WHERE UPPER(TABLENAME)=UPPER(p_TableName) |
| 167f11efcd | vacuum analyze prsync_entry |
| 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) |
| a6bd2516ad | insert into ad_context_info (ad_user_id, ad_session_id, processType, processId) values ($1, $2, $3, $4) |
| e4360f260c | UPDATE C_Invoice SET Processing=$2 WHERE C_Invoice_ID = $1 AND Processed=$3 AND (Processing=$4 OR Processing IS NULL) AND Posted<>$5 |
| 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) |
| a12a07df32 | SELECT NIVEL1, NIVEL2, NIVEL3, NIVEL4, NIVEL5, NIVEL6, NIVEL7, NIVEL8, NIVEL9, NIVEL10, NIVEL11, SUM(AMOUNT) AS AMOUNT, SUM(QTY) AS QTY, SUM(WEIGHT) AS WEIGHT, SUM(AMOUNTREF) AS AMOUNTREF, SUM(QTYREF) AS QTYREF, SUM(WEIGHTREF) AS WEIGHTREF, SUM(CONVAMOUNT) AS CONVAMOUNT, SUM(CONVAMOUNTREF) AS CONVAMOUNTREF, C_CURRENCY_SYMBOL($1, $6, $7) AS CONVSYM, C_CURRENCY_ISOSYM($2) AS CONVISOSYM, MIN(WSYMBOL) AS WSYMBOL FROM (SELECT NIVEL1, NIVEL2, NIVEL3, NIVEL4, NIVEL5, NIVEL6, NIVEL7, NIVEL8, NIVEL9, NIVEL10, NIVEL11, SUM(LINENETAMT) AS AMOUNT, SUM(QTYORDERED) AS QTY, SUM(WEIGHT) AS WEIGHT, SUM(LINENETREF) AS AMOUNTREF, SUM(QTYORDEREDREF) AS QTYREF, SUM(WEIGHTREF) AS WEIGHTREF, C_CURRENCY_CONVERT(SUM(LINENETAMT), TRCURRENCYID, $3, TO_DATE(TRDATE), $8, TRCLIENTID, TRORGID) AS CONVAMOUNT, $9 AS CONVAMOUNTREF, TRCURRENCYID, TRDATE, TRCLIENTID, TRORGID, MIN(WSYMBOL) AS WSYMBOL FROM (SELECT to_char(AD_COLUMN_IDENTIFIER(to_char($10), to_char( C_BPARTNER.C_BPARTNER_ID), to_char($11))) AS NIVEL1, to_char($12) AS NIVEL2, to_char($13) AS NIVEL3, to_char($14) AS NIVEL4, to_char($15) AS NIVEL5, to_char($16) AS NIVEL6, to_char($17) AS NIVEL7, to_char($18) AS NIVEL8, to_char($19) AS NIVEL9, to_char($20) AS NIVEL10, to_char($21) AS NIVEL11, C_ORDERLINE.LINENETAMT, C_ORDERLINE.QTYORDERED, C_ORDERLINE.QTYORDERED*M_PRODUCT.WEIGHT AS WEIGHT, $22 AS LINENETREF, $23 AS QTYORDEREDREF, $24 AS WEIGHTREF, C_UOM.UOMSYMBOL, COALESCE(C_ORDERLINE.C_CURRENCY_ID, C_ORDER.C_CURRENCY_ID) AS TRCURRENCYID, TO_DATE(COALESCE(C_ORDER.DATEORDERED, NOW())) AS TRDATE, C_ORDERLINE.AD_CLIENT_ID AS TRCLIENTID, C_ORDERLINE.AD_ORG_ID AS TRORGID, (select uomsymbol from c_uom where c_uom_id = aci.c_uom_weight_id) as WSYMBOL FROM C_ORDER left join ad_clientinfo aci on aci.ad_client_id =c_order.ad_client_id left join AD_USER on C_ORDER.SALESREP_ID = AD_USER.AD_USER_ID, C_BPARTNER left join C_BPARTNER CB on C_BPARTNER.SALESREP_ID = CB.C_BPARTNER_ID, C_BP_GROUP, C_ORDERLINE, M_PRODUCT, M_PRODUCT_CATEGORY, M_WAREHOUSE, C_UOM, AD_ORG WHERE C_ORDER.C_BPARTNER_ID = C_BPARTNER.C_BPARTNER_ID AND C_BPARTNER.C_BP_GROUP_ID = C_BP_GROUP.C_BP_GROUP_ID AND C_ORDER.C_ORDER_ID = C_ORDERLINE.C_ORDER_ID AND C_ORDERLINE.M_PRODUCT_ID = M_PRODUCT.M_PRODUCT_ID AND M_PRODUCT.M_PRODUCT_CATEGORY_ID = M_PRODUCT_CATEGORY.M_PRODUCT_CATEGORY_ID AND C_ORDER.M_WAREHOUSE_ID = M_WAREHOUSE.M_WAREHOUSE_ID AND C_ORDERLINE.C_UOM_ID = C_UOM.C_UOM_ID AND C_ORDER.AD_ORG_ID = AD_ORG.AD_ORG_ID AND C_ORDER.ISSOTRX = $25 AND C_ORDER.PROCESSED = $26 AND C_ORDER.DOCSTATUS NOT IN ($27, $28, $29) AND $30=$31 AND C_ORDER.AD_ORG_ID IN ($32) AND C_ORDER.AD_CLIENT_ID IN ($33,$34) AND $35=$36 AND C_ORDER.DATEORDERED >= to_date($4) AND C_ORDER.DATEORDERED < to_date($5) ) AA GROUP BY NIVEL1, NIVEL2, NIVEL3, NIVEL4, NIVEL5, NIVEL6, NIVEL7, NIVEL8, NIVEL9, NIVEL10, NIVEL11, TRCURRENCYID, TRDATE, TRCLIENTID, TRORGID) ZZ GROUP BY NIVEL1, NIVEL2, NIVEL3, NIVEL4, NIVEL5, NIVEL6, NIVEL7, NIVEL8, NIVEL9, NIVEL10, NIVEL11 ORDER BY NIVEL1 |
| 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 |
| 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 ) |
| 968e467a3b | SELECT COUNT( DISTINCT $3 || C_BPARTNER.C_BPARTNER_ID ) AS COUNT FROM C_ORDER left join AD_USER on C_ORDER.SALESREP_ID = AD_USER.AD_USER_ID, C_BPARTNER left join C_BPARTNER CB on C_BPARTNER.SALESREP_ID = CB.C_BPARTNER_ID, C_BP_GROUP, C_ORDERLINE, M_PRODUCT, M_PRODUCT_CATEGORY, M_WAREHOUSE, C_UOM, AD_ORG WHERE C_ORDER.C_BPARTNER_ID = C_BPARTNER.C_BPARTNER_ID AND C_BPARTNER.C_BP_GROUP_ID = C_BP_GROUP.C_BP_GROUP_ID AND C_ORDER.C_ORDER_ID = C_ORDERLINE.C_ORDER_ID AND C_ORDERLINE.M_PRODUCT_ID = M_PRODUCT.M_PRODUCT_ID AND M_PRODUCT.M_PRODUCT_CATEGORY_ID = M_PRODUCT_CATEGORY.M_PRODUCT_CATEGORY_ID AND C_ORDER.M_WAREHOUSE_ID = M_WAREHOUSE.M_WAREHOUSE_ID AND C_ORDERLINE.C_UOM_ID = C_UOM.C_UOM_ID AND C_ORDER.AD_ORG_ID = AD_ORG.AD_ORG_ID AND C_ORDER.ISSOTRX = $4 AND C_ORDER.PROCESSED = $5 AND C_ORDER.DOCSTATUS NOT IN ($6, $7, $8) AND $9=$10 AND C_ORDER.AD_ORG_ID IN ($11) AND C_ORDER.AD_CLIENT_ID IN ($12,$13) AND $14=$15 AND $16=$17 AND C_ORDER.DATEORDERED >= to_date($1) AND C_ORDER.DATEORDERED < to_date($2) |
| b8d861c28d | insert into ad_context_info (ad_user_id, ad_session_id, processType, processId) values ($1, $2, $3, $4) |
| 66c3814b4e | delete from ad_context_info |
| 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 |
| 6e8832531a | 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) |
| ee46524d09 | SELECT TO_CHAR(COALESCE(TO_CHAR(T.Name),$1)) AS COLUMN_IDENTIFIER FROM (SELECT AD_LANGUAGE FROM AD_LANGUAGE WHERE AD_LANGUAGE=$2) L, C_BPartner T WHERE C_BPartner_ID=$3 |
| 9cbca4d83c | INSERT INTO AD_AUDIT_TRAIL (AD_AUDIT_TRAIL_ID, AD_USER_ID, AD_TABLE_ID, AD_COLUMN_ID, PROCESSTYPE, PROCESS_ID, RECORD_ID, RECORD_REVISION, ACTION, EVENT_TIME, OLD_CHAR, NEW_CHAR, AD_CLIENT_ID, AD_ORG_ID) VALUES (GET_UUID(), V_USER_ID, $33, $34, v_process_type, v_process_id, v_record_id, v_record_rev, v_action, v_time, v_old_CHAR, v_new_CHAR, V_CLIENT, V_ORG) |
| 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 |
| 29e9be51ce | select adtab0_.AD_Table_ID as col_0_0_, adwindowac2_.IsReadWrite as col_1_0_ from AD_Tab adtab0_ left outer join AD_Window adwindow1_ on adtab0_.AD_Window_ID=adwindow1_.AD_Window_ID left outer join AD_Window_Access adwindowac2_ on adwindow1_.AD_Window_ID=adwindowac2_.AD_Window_ID where adwindowac2_.AD_Role_ID=$1 |
| 5444a9a88c | insert into ad_context_info (ad_user_id, ad_session_id, processType, processId) values ($1, $2, $3, $4) |
| 12e95683ca | delete from ad_context_info |
| 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 |
| 1e43f28979 | insert into M_Product (AD_Client_ID, AD_Org_ID, IsActive, Created, CreatedBy, Updated, UpdatedBy, Value, Name, C_UOM_ID, IsSummary, IsStocked, IsPurchased, IsSold, IsBOM, IsInvoicePrintDetails, IsPickListPrintDetails, IsVerified, M_Product_Category_ID, C_TaxCategory_ID, Discontinued, Processing, ProductType, M_Locator_ID, Ispriceprinted, Enforce_Attribute, Calculated, Production, Qtytype, Isquantityvariable, Isdeferredrevenue, Isdeferredexpense, Bookusingpoprice, EM_Advcrm_Newactivity, IsGeneric, CreateVariants, Updateinvariants, ManageVariants, Print_Description, Returnable, Ispricerulebased, Unique_Per_Document, Relateprodcattoservice, Relateprodtoservice, Islinkedtoproduct, Allow_Deferred_Sell, EM_Prlab_Qtylabels, EM_Psat_Isrepairable, EM_Psat_Isavailablesat, Ismodifytax, Relateprodcattaxtoservice, Copyservicemodifytaxconfig, M_Product_ID) values ($1, $2, $3, $4, $5, $6, $7, $8, $9, $10, $11, $12, $13, $14, $15, $16, $17, $18, $19, $20, $21, $22, $23, $24, $25, $26, $27, $28, $29, $30, $31, $32, $33, $34, $35, $36, $37, $38, $39, $40, $41, $42, $43, $44, $45, $46, $47, $48, $49, $50, $51, $52, $53) |
| aaf3c93842 | 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 |
| 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 |
| a4a671fe58 | insert into ad_context_info (ad_user_id, ad_session_id, processType, processId) values ($1, $2, $3, $4) |
| 5c9911f091 | insert into ad_context_info (ad_user_id, ad_session_id, processType, processId) values ($1, $2, $3, $4) |
| 50ca7aecdc | insert into ad_context_info (ad_user_id, ad_session_id, processType, processId) values ($1, $2, $3, $4) |
| 2f8789e4ba | SELECT aprm_gen_paymentschedule_inv($1) FROM DUAL |
| b3eeff8931 | 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) |
| 6902d69fcf | SELECT COALESCE(SUM(AMTACCTCR-AMTACCTDR), $3) AS NAME FROM FACT_ACCT, C_PERIOD, C_YEAR, (SELECT C_ELEMENTVALUE_ID FROM C_ELEMENTVALUE WHERE C_ELEMENTVALUE.ACCOUNTTYPE = $1) AA WHERE FACT_ACCT.C_PERIOD_ID = C_PERIOD.C_PERIOD_ID AND C_PERIOD.C_YEAR_ID = C_YEAR.C_YEAR_ID AND FACT_ACCT.ACCOUNT_ID = AA.C_ELEMENTVALUE_ID AND FACT_ACCT.FACTACCTTYPE <> $4 AND $5=$6 AND FACT_ACCT.C_ACCTSCHEMA_ID = $2 AND C_YEAR.YEAR IN ($7) AND FACT_ACCT.AD_ORG_ID IN ($8) |
| 61bc3cba28 | insert into ad_context_info (ad_user_id, ad_session_id, processType, processId) values ($1, $2, $3, $4) |
| 73e3636bec | update C_Invoice set Updated=$1, LastCalculatedOnDate=$2 where C_Invoice_ID=$3 |
| f38aca3f97 | delete from ad_context_info |
| 032d1e73d2 | SELECT C_INVOICE_POST(p_PInstance_ID, $2) |
| DB | Tablespace | Schema | Table | ~SeqBytes | SeqScan | IxScan | IxFet | Ins | Upd | Del | Upd(HOT) |
|---|---|---|---|---|---|---|---|---|---|---|---|
| etendo | pg_default | pg_temp_7 | ad_context_info | 557 GB | 126611 | 126535 | 126534 | ||||
| etendo | pg_default | pg_temp_3 | ad_context_info | 214 GB | 75893 | 75841 | 75840 | ||||
| etendo | pg_default | pg_temp_5 | ad_context_info | 110 GB | 12532 | 12532 | 12532 | ||||
| etendo | pg_default | pg_temp_5 | ad_context_info | 104 GB | 51276 | 51206 | 51205 | ||||
| etendo | pg_default | pg_temp_4 | ad_context_info | 32 GB | 26021 | 25950 | 25949 | ||||
| etendo | pg_default | public | fact_acct | 27 GB | 104 | 769 | 1708133 | 304 | 8 | 14 | |
| fact_acct(TOAST) | |||||||||||
| etendo | pg_default | public | advcrm_activity | 4570 MB | 284 | 1857 | 1748 | 29 | 125 | 1 | 109 |
| advcrm_activity(TOAST) | |||||||||||
| etendo | pg_default | public | c_bpartner | 4555 MB | 3537 | 204628 | 1156566 | 1 | 110 | 75 | |
| c_bpartner(TOAST) | |||||||||||
| etendo | pg_default | public | c_invoice | 4258 MB | 187 | 352966 | 1868366 | 73 | 290519 | 606 | |
| c_invoice(TOAST) | |||||||||||
| etendo | pg_default | pg_catalog | pg_class | 4083 MB | 6077 | 616735 | 604486 | 1874 | 6728 | 1874 | 1375 |
| etendo | pg_default | public | psat_checklist_result | 3165 MB | 54 | 1175 | 1022 | 159 | 19 | 18 | |
| psat_checklist_result(TOAST) | |||||||||||
| etendo | pg_default | public | c_order | 2195 MB | 147 | 50245 | 263507 | 13 | 247 | 1 | 201 |
| c_order(TOAST) | |||||||||||
| etendo | pg_default | profile | last_stat_database | 2178 MB | 101825 | 92 | 92 | ||||
| etendo | pg_default | public | m_inout | 2069 MB | 176 | 11612 | 22603 | 12 | 60 | 24 | |
| m_inout(TOAST) | |||||||||||
| etendo | pg_default | public | ad_audit_trail | 1523 MB | 3 | 317 | 263 | 2859 | |||
| ad_audit_trail(TOAST) | |||||||||||
| etendo | pg_default | public | c_uom | 1174 MB | 75156 | 60413 | 60416 | ||||
| c_uom(TOAST) | |||||||||||
| etendo | pg_default | public | m_product | 777 MB | 219 | 413065 | 773778 | 6 | 3 | 1 | |
| m_product(TOAST) | |||||||||||
| etendo | pg_default | profile | last_stat_tablespaces | 568 MB | 36379 | 46 | 46 | ||||
| last_stat_tablespaces(TOAST) | |||||||||||
| etendo | pg_default | public | c_invoiceline | 441 MB | 8 | 9384 | 9503 | 126 | 252 | 3 | 227 |
| c_invoiceline(TOAST) | |||||||||||
| etendo | pg_default | pg_catalog | pg_attribute | 389 MB | 92 | 286491 | 1215510 | 24203 | 24203 |
| DB | Tablespace | Schema | Table | Heap | Ix | TOAST | TOAST-Ix | ||||
|---|---|---|---|---|---|---|---|---|---|---|---|
| Blks | %Total | Blks | %Total | Blks | %Total | Blks | %Total | ||||
| etendo | pg_default | pg_temp_7 | ad_context_info | 66238053 | 36.15 | ||||||
| etendo | pg_default | pg_temp_3 | ad_context_info | 23963384 | 13.08 | ||||||
| etendo | pg_default | pg_temp_5 | ad_context_info | 13719212 | 7.49 | ||||||
| etendo | pg_default | public | c_invoice | 4457019 | 2.43 | 7783341 | 4.25 | ||||
| etendo | pg_default | pg_temp_5 | ad_context_info | 10912225 | 5.95 | ||||||
| etendo | pg_default | public | fact_acct | 3432655 | 1.87 | 28071 | 0.02 | ||||
| etendo | pg_default | public | fin_payment_schedule | 887880 | 0.48 | 2564366 | 1.40 | ||||
| etendo | pg_default | profile | last_stat_tables | 3271273 | 1.79 | 105556 | 0.06 | ||||
| etendo | pg_default | pg_temp_4 | ad_context_info | 2812336 | 1.53 | ||||||
| etendo | pg_default | pg_catalog | pg_class | 1113735 | 0.61 | 1289390 | 0.70 | ||||
| etendo | pg_default | public | psat_activity_materials | 13567 | 0.01 | 2318479 | 1.27 | ||||
| etendo | pg_default | public | c_bpartner | 1576010 | 0.86 | 545060 | 0.30 | ||||
| etendo | pg_default | public | m_product | 766283 | 0.42 | 845764 | 0.46 | ||||
| etendo | pg_default | public | c_elementvalue | 549558 | 0.30 | 1059258 | 0.58 | ||||
| etendo | pg_default | public | c_debt_payment | 486796 | 0.27 | 817840 | 0.45 | ||||
| etendo | pg_default | pg_catalog | pg_attribute | 463790 | 0.25 | 680076 | 0.37 | ||||
| etendo | pg_default | public | ad_tab | 551957 | 0.30 | 476044 | 0.26 | ||||
| etendo | pg_default | public | m_productprice | 265293 | 0.14 | 745391 | 0.41 | ||||
| etendo | pg_default | profile | last_stat_indexes | 569788 | 0.31 | 206534 | 0.11 | ||||
| etendo | pg_default | public | c_order | 519252 | 0.28 | 176730 | 0.10 | ||||
| DB | Tablespace | Schema | Table | Heap | Ix | TOAST | TOAST-Ix | Hit(%) | ||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|
| Blks | %Total | Blks | %Total | Blks | %Total | Blks | %Total | |||||
| etendo | pg_default | pg_temp_5 | ad_context_info | 13682907 | 81.74 | 0.26 | ||||||
| etendo | pg_default | pg_temp_7 | ad_context_info | 2603673 | 15.55 | 96.07 | ||||||
| etendo | pg_default | public | ad_audit_trail | 130058 | 0.78 | 2999 | 0.02 | 47.36 | ||||
| etendo | pg_default | public | fact_acct | 67261 | 0.40 | 2303 | 0.01 | 97.99 | ||||
| etendo | pg_default | public | ad_image | 785 | 0.00 | 25 | 0.00 | 56351 | 0.34 | 885 | 0.01 | 66.29 |
| etendo | pg_default | public | c_invoiceline | 14107 | 0.08 | 987 | 0.01 | 86.82 | ||||
| etendo | pg_default | public | c_invoice | 5826 | 0.03 | 6118 | 0.04 | 99.90 | ||||
| etendo | pg_default | public | c_invoicelinetax | 8049 | 0.05 | 264 | 0.00 | 63.19 | ||||
| etendo | pg_default | public | ad_session_usage_audit | 4479 | 0.03 | 637 | 0.00 | 92.92 | ||||
| etendo | pg_default | public | fin_payment_schedule | 3798 | 0.02 | 587 | 0.00 | 99.87 | ||||
| etendo | pg_default | public | psat_checklist_result | 10 | 0.00 | 3502 | 0.02 | 99.34 | ||||
| etendo | pg_default | public | fin_payment_scheduledetail | 2722 | 0.02 | 701 | 0.00 | 97.95 | ||||
| etendo | pg_default | public | fin_payment | 3158 | 0.02 | 185 | 0.00 | 76.53 | ||||
| etendo | pg_default | public | ad_process_run | 2616 | 0.02 | 118 | 0.00 | 9 | 0.00 | 10 | 0.00 | 95.78 |
| etendo | pg_default | public | fin_payment_detail | 1906 | 0.01 | 242 | 0.00 | 61.73 | ||||
| etendo | pg_default | public | c_orderline | 8 | 0.00 | 2009 | 0.01 | 99.63 | ||||
| etendo | pg_default | pg_catalog | pg_attribute | 1423 | 0.01 | 485 | 0.00 | 99.83 | ||||
| etendo | pg_default | profile | sample_stat_tables | 1773 | 0.01 | 108 | 0.00 | 96.12 | ||||
| etendo | pg_default | pg_catalog | pg_statistic | 1186 | 0.01 | 87 | 0.00 | 551 | 0.00 | 20 | 0.00 | 99.52 |
| etendo | pg_default | public | m_matchpo | 985 | 0.01 | 215 | 0.00 | 92.84 | ||||
| DB | Tablespace | Schema | Table | Ins | Upd | Del | Upd(HOT) | SeqScan | SeqFet | IxScan | IxFet |
|---|---|---|---|---|---|---|---|---|---|---|---|
| etendo | pg_default | public | c_invoice | 73 | 290519 | 606 | 187 | 8564932 | 352966 | 1868366 | |
| c_invoice(TOAST) | |||||||||||
| etendo | pg_default | pg_temp_7 | ad_context_info | 126535 | 126534 | 126611 | 126610 | ||||
| etendo | pg_default | pg_temp_3 | ad_context_info | 75841 | 75840 | 75893 | 75892 | ||||
| etendo | pg_default | profile | last_stat_indexes | 54119 | 1353 | 54119 | 2 | 185 | 865904 | 34587 | 328420 |
| etendo | pg_default | pg_temp_5 | ad_context_info | 51206 | 51205 | 51276 | 51275 | ||||
| etendo | pg_default | profile | last_stat_tables | 32888 | 3351 | 32888 | 46 | 186 | 529068 | 7748 | 2870334 |
| etendo | pg_default | pg_temp_4 | ad_context_info | 25950 | 25949 | 26021 | 26020 | ||||
| etendo | pg_default | pg_catalog | pg_attribute | 24203 | 24203 | 92 | 95061 | 286491 | 1215510 | ||
| etendo | pg_default | pg_temp_5 | ad_context_info | 12532 | 12532 | 12532 | 12532 | ||||
| etendo | pg_default | pg_catalog | pg_statistic | 16455 | 13540 | 2 | 17318 | 102321 | 83399 | ||
| pg_statistic(TOAST) | 2409 | 2399 | 13831 | 21456 | |||||||
| etendo | pg_default | profile | last_stat_user_functions | 8257 | 1096 | 8257 | 46 | 383 | 241607 | ||
| last_stat_user_functions(TOAST) | |||||||||||
| etendo | pg_default | pg_catalog | pg_class | 1874 | 6728 | 1874 | 1375 | 6077 | 17624506 | 616735 | 604486 |
| etendo | pg_default | pg_catalog | pg_depend | 4588 | 4588 | 10 | 205832 | 44200 | 49924 | ||
| etendo | pg_default | profile | sample_stat_tables | 3351 | 3368 | 25 | 606369 | 143 | 3555 | ||
| etendo | pg_default | pg_catalog | pg_type | 2165 | 2165 | 12 | 30600 | 101391 | 94410 | ||
| etendo | pg_default | public | ad_session_usage_audit | 4008 | 4 | 286708 | |||||
| ad_session_usage_audit(TOAST) | |||||||||||
| etendo | pg_default | profile | sample_statements | 1410 | 1474 | 49 | 510387 | 118 | 1474 | ||
| sample_statements(TOAST) | |||||||||||
| etendo | pg_default | public | ad_audit_trail | 2859 | 3 | 5683221 | 317 | 263 | |||
| ad_audit_trail(TOAST) | |||||||||||
| etendo | pg_default | profile | sample_stat_indexes | 1302 | 1322 | 22 | 207754 | 145 | 1392 | ||
| postgres | pg_default | pg_catalog | pg_attribute | 1215 | 1215 | 37 | 8118 | 18094 | 41025 |
| DB | Tablespace | Schema | Table | Upd | Upd(HOT) | Del | Vacuum | AutoVacuum | Analyze | AutoAnalyze |
|---|---|---|---|---|---|---|---|---|---|---|
| etendo | pg_default | public | c_invoice | 290519 | 606 | 23 | 1 | 23 | ||
| c_invoice(TOAST) | ||||||||||
| etendo | pg_default | pg_temp_7 | ad_context_info | 126534 | ||||||
| etendo | pg_default | pg_temp_3 | ad_context_info | 75840 | ||||||
| etendo | pg_default | profile | last_stat_indexes | 1353 | 2 | 54119 | 26 | 47 | 23 | |
| etendo | pg_default | pg_temp_5 | ad_context_info | 51205 | ||||||
| etendo | pg_default | profile | last_stat_tables | 3351 | 46 | 32888 | 26 | 47 | 23 | |
| etendo | pg_default | pg_temp_4 | ad_context_info | 25949 | ||||||
| etendo | pg_default | pg_catalog | pg_attribute | 24203 | 1 | 1 | 1 | |||
| etendo | pg_default | pg_catalog | pg_statistic | 16455 | 13540 | 1 | ||||
| pg_statistic(TOAST) | 2399 | 4 | ||||||||
| etendo | pg_default | pg_temp_5 | ad_context_info | 12532 | ||||||
| etendo | pg_default | profile | last_stat_user_functions | 1096 | 46 | 8257 | 26 | 47 | 23 | |
| last_stat_user_functions(TOAST) | ||||||||||
| etendo | pg_default | pg_catalog | pg_class | 6728 | 1375 | 1874 | 1 | 1 | 1 | |
| etendo | pg_default | pg_catalog | pg_depend | 4588 | 1 | 1 | ||||
| etendo | pg_default | profile | sample_stat_tables | 3368 | 1 | 2 | ||||
| etendo | pg_default | public | ad_session | 2230 | 2211 | 1 | 19 | |||
| ad_session(TOAST) | ||||||||||
| etendo | pg_default | pg_catalog | pg_type | 2165 | 1 | 1 | 1 | |||
| etendo | pg_default | profile | sample_statements | 1474 | 1 | 2 | ||||
| sample_statements(TOAST) | ||||||||||
| etendo | pg_default | profile | sample_stat_indexes | 1322 | 2 | |||||
| etendo | pg_default | public | prsync_entry | 898 | 864 | 374 | 1 | 1 | 2 | |
| prsync_entry(TOAST) | 39 | 1 | ||||||||
| postgres | pg_default | pg_catalog | pg_attribute | 1215 | 1 | 1 | 1 |
| DB | Tablespace | Schema | Table | Size | Growth | Ins | Upd | Del | Upd(HOT) |
|---|---|---|---|---|---|---|---|---|---|
| etendo | pg_default | pg_temp_7 | ad_context_info | 8384 kB | 8384 kB | 126535 | 126534 | ||
| etendo | pg_default | pg_temp_5 | ad_context_info | 3384 kB | 3384 kB | 51206 | 51205 | ||
| etendo | pg_default | pg_temp_4 | ad_context_info | 1720 kB | 1720 kB | 25950 | 25949 | ||
| etendo | pg_default | public | ad_process_run | 11 MB | 648 kB | 304 | 304 | 315 | |
| ad_process_run(TOAST) | 72 kB | 32 kB | |||||||
| etendo | pg_default | profile | sample_stat_indexes | 1432 kB | 184 kB | 1302 | 1322 | ||
| etendo | pg_default | profile | sample_stat_user_functions | 560 kB | 104 kB | 1029 | 921 | ||
| etendo | pg_default | profile | sample_stat_tables_total | 336 kB | 56 kB | 152 | 184 | ||
| etendo | pg_default | public | c_invoice | 23 MB | 48 kB | 73 | 290519 | 606 | |
| c_invoice(TOAST) | |||||||||
| etendo | pg_default | profile | sample_stat_database | 232 kB | 48 kB | 56 | 64 | ||
| etendo | pg_default | profile | sample_stat_tables | 7048 kB | 40 kB | 3351 | 3368 | ||
| etendo | pg_default | profile | sample_stat_indexes_total | 96 kB | 32 kB | 60 | 64 | ||
| etendo | pg_default | profile | sample_statements_total | 136 kB | 32 kB | 36 | 39 | ||
| sample_statements_total(TOAST) | |||||||||
| etendo | pg_default | profile | sample_stat_user_func_total | 56 kB | 32 kB | 22 | 30 | ||
| etendo | pg_default | public | ad_ep_instance_para | 32 kB | 24 kB | 922 | 922 | ||
| ad_ep_instance_para(TOAST) | |||||||||
| etendo | pg_default | public | fin_payment_schedule | 15 MB | 16 kB | 93 | 32 | 16 | 22 |
| fin_payment_schedule(TOAST) | |||||||||
| etendo | pg_default | profile | last_stat_indexes | 1568 kB | 8192 bytes | 54119 | 1353 | 54119 | 2 |
| etendo | pg_default | pg_temp_6 | ad_context_info | 8192 bytes | 8192 bytes | 126 | 125 | ||
| etendo | pg_default | pg_temp_9 | ad_context_info | 8192 bytes | 8192 bytes | 36 | 35 |
| DB | Tablespace | Schema | Table | Index | Scans | Blks | %Total |
|---|---|---|---|---|---|---|---|
| etendo | pg_default | public | fin_payment_schedule | fin_paym_sch_inv_idx | 836167 | 2520816 | 1.38 |
| etendo | pg_default | public | psat_activity_materials | psat_activity_mater_produni | 19719 | 2317644 | 1.26 |
| etendo | pg_default | public | c_invoice | c_invoice_key | 305865 | 1808691 | 0.99 |
| etendo | pg_default | pg_catalog | pg_class | pg_class_oid_index | 588609 | 1199666 | 0.65 |
| etendo | pg_default | public | c_elementvalue | c_elementvalue_key | 529569 | 1059258 | 0.58 |
| etendo | pg_default | public | c_invoice | c_invoice_bpartner | 45529 | 1026430 | 0.56 |
| etendo | pg_default | public | c_invoice | c_invoice_client_org_date_doc | 882024 | 0.48 | |
| etendo | pg_default | public | m_product | m_product_key | 412524 | 821409 | 0.45 |
| etendo | pg_default | public | m_productprice | m_productprice_key | 244146 | 734209 | 0.40 |
| etendo | pg_default | public | c_invoice | c_invoice_posted | 1480 | 700358 | 0.38 |
| etendo | pg_default | public | c_invoice | c_invoice_paid | 694514 | 0.38 | |
| etendo | pg_default | public | c_invoice | c_invoice_salesrep | 650935 | 0.36 | |
| etendo | pg_default | pg_catalog | pg_attribute | pg_attribute_relid_attnum_index | 285754 | 629853 | 0.34 |
| etendo | pg_default | public | c_invoice | c_invoice_updated | 595434 | 0.32 | |
| etendo | pg_default | public | c_invoice | c_invoice_docno | 84 | 586703 | 0.32 |
| etendo | pg_default | public | c_debt_payment | c_debt_payment_invoice_idx | 288678 | 578744 | 0.32 |
| etendo | pg_default | public | m_product_trl | m_product_trl_product_langu_un | 507217 | 507485 | 0.28 |
| etendo | pg_default | public | ad_tab | ad_tab_window | 232948 | 470355 | 0.26 |
| etendo | pg_default | public | c_bpartner | c_bpartner_key | 192988 | 388269 | 0.21 |
| etendo | pg_default | public | psat_checklist_result | psat_chcklist_res_result_uk | 711 | 349799 | 0.19 |
| DB | Tablespace | Schema | Table | Index | Scans | Blk Reads | %Total | Hits(%) |
|---|---|---|---|---|---|---|---|---|
| etendo | pg_default | public | psat_checklist_result | psat_chcklist_res_result_uk | 711 | 3335 | 0.02 | 99.05 |
| etendo | pg_default | public | ad_audit_trail | ad_audit_trail_pk | 2695 | 0.02 | 76.45 | |
| etendo | pg_default | public | c_invoice | c_invoice_client_org_date_doc | 1431 | 0.01 | 99.84 | |
| etendo | pg_default | public | fact_acct | fact_acct_dateacct | 99 | 1244 | 0.01 | 91.58 |
| etendo | pg_default | public | c_invoice | c_invoice_paid | 1121 | 0.01 | 99.84 | |
| etendo | pg_default | public | c_orderline | c_orderline_order2 | 67423 | 994 | 0.01 | 99.51 |
| etendo | pg_default | public | c_orderline | c_orderline_key | 17688 | 906 | 0.01 | 98.29 |
| etendo | pg_default | public | ad_image(TOAST) | pg_toast_74472_index | 13783 | 885 | 0.01 | 97.96 |
| etendo | pg_default | public | c_invoice | c_invoice_posted | 1480 | 870 | 0.01 | 99.88 |
| etendo | pg_default | public | m_inoutline | m_inoutline_orderline | 16092 | 870 | 0.01 | 98.21 |
| etendo | pg_default | public | c_invoice | c_invoice_docno | 84 | 698 | 0.00 | 99.88 |
| etendo | pg_default | public | c_invoice | c_invoice_updated | 548 | 0.00 | 99.91 | |
| etendo | pg_default | public | ad_session_usage_audit | ad_session_usage_audit_key | 509 | 0.00 | 93.99 | |
| etendo | pg_default | public | c_invoiceline | c_invoiceline_orderline | 1704 | 477 | 0.00 | 91.08 |
| etendo | pg_default | public | c_invoice | c_invoice_bpartner | 45529 | 367 | 0.00 | 99.96 |
| etendo | pg_default | public | c_invoice | c_invoice_key | 305865 | 346 | 0.00 | 99.98 |
| etendo | pg_default | public | advcrm_activity_related | advcrm_unique_project | 3 | 330 | 0.00 | 68.39 |
| etendo | pg_default | public | c_invoice | c_invoice_salesrep | 311 | 0.00 | 99.95 | |
| etendo | pg_default | public | fin_payment_scheduledetail | fin_pay_scheduledetail_in | 1291 | 306 | 0.00 | 92.15 |
| etendo | pg_default | public | fact_acct | fact_acct_key | 10 | 301 | 0.00 | 67.35 |
| DB | Tablespace | Schema | Table | Index | Index | Table | |||
|---|---|---|---|---|---|---|---|---|---|
| Size | Growth | Ins | Upd | Del | |||||
| etendo | pg_default | profile | sample_statements | ix_sample_stmts_qid | 928 kB | 312 kB | 1108 | 1210 | |
| etendo | pg_default | public | ad_process_run | ad_process_run_key | 408 kB | 104 kB | 146 | 146 | 315 |
| etendo | pg_default | public | c_invoice | c_invoice_bpartner | 2640 kB | 96 kB | 73 | 289913 | |
| etendo | pg_default | public | c_invoice | c_invoice_ad_user | 1608 kB | 64 kB | 73 | 289913 | |
| etendo | pg_default | profile | sample_statements | pk_sample_statements_n | 488 kB | 56 kB | 632 | 626 | |
| etendo | pg_default | public | c_invoice | c_invoice_order | 1376 kB | 32 kB | 73 | 289913 | |
| etendo | pg_default | public | c_invoice | c_invoice_paid | 1968 kB | 32 kB | 73 | 289913 | |
| etendo | pg_default | public | c_invoice | c_invoice_updated | 1608 kB | 32 kB | 73 | 289913 | |
| etendo | pg_default | profile | sample_stat_user_functions | pk_sample_stat_user_functions | 240 kB | 32 kB | 176 | 167 | |
| etendo | pg_default | public | c_invoice | c_invoice_key | 2768 kB | 16 kB | 73 | 289913 | |
| etendo | pg_default | profile | last_stat_tables | pk_last_stat_tables | 232 kB | 16 kB | 32888 | 3305 | 32888 |
| etendo | pg_default | public | c_invoice | c_invoice_docno | 2152 kB | 8192 bytes | 73 | 289913 | |
| etendo | pg_default | profile | sample_statements_total | pk_sample_statements_total | 40 kB | 8192 bytes | 21 | 24 | |
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 | 4024 kB | -8192 bytes | 73 | 289913 | |
| etendo | pg_default | public | c_invoice | c_invoice_paid | 1968 kB | 32 kB | 73 | 289913 | |
| etendo | pg_default | public | c_invoice | c_invoice_updated | 1608 kB | 32 kB | 73 | 289913 | |
| etendo | pg_default | public | c_invoice | c_invoice_bp_extref_idx | 8192 bytes | 73 | 289913 | ||
| etendo | pg_default | public | c_invoice | c_invoice_salesrep | 1872 kB | -24 kB | 73 | 289913 | |
| etendo | pg_default | public | ad_process_run | ad_process_run_ould_be_killed | 8192 bytes | 225 | 225 | 315 | |
| DB | Schema | Function | Executions | Time (s) | |||
|---|---|---|---|---|---|---|---|
| Total | Self | Mean | Mean self | ||||
| etendo | public | ad_column_identifier | 98170 | 24.57 | 24.16 | 0.000 | 0.000 |
| etendo | profile | take_sample | 23 | 16.69 | 0.02 | 0.726 | 0.001 |
| etendo | profile | take_sample_subset | 23 | 16.67 | 0.06 | 0.725 | 0.002 |
| etendo | profile | take_sample | 23 | 16.62 | 1.65 | 0.722 | 0.072 |
| etendo | profile | collect_obj_stats | 23 | 9.15 | 2.77 | 0.398 | 0.120 |
| etendo | public | ad_istriggerenabled | 1169209 | 8.93 | 8.93 | 0.000 | 0.000 |
| etendo | profile | dblink | 621 | 7.96 | 7.96 | 0.013 | 0.013 |
| etendo | public | c_invoice_post | 99 | 5.04 | 1.27 | 0.051 | 0.013 |
| etendo | public | c_invoice_post0 | 98 | 4.98 | 0.01 | 0.051 | 0.000 |
| etendo | public | ad_org_isinnaturaltree | 245736 | 4.67 | 1.28 | 0.000 | 0.000 |
| etendo | public | ad_isorgincluded | 278111 | 4.13 | 4.13 | 0.000 | 0.000 |
| etendo | profile | sample_dbobj_delta | 23 | 3.54 | 3.54 | 0.154 | 0.154 |
| etendo | public | ad_extension_point_handler | 224 | 3.19 | 0.12 | 0.014 | 0.001 |
| etendo | public | to_char | 3121636 | 2.49 | 2.49 | 0.000 | 0.000 |
| etendo | public | prouti_ep_updatepurchasecol | 125 | 1.45 | 1.43 | 0.012 | 0.011 |
| etendo | public | prouti_qtyremainingorderline | 18228 | 1.28 | 1.28 | 0.000 | 0.000 |
| etendo | public | aprm_gen_paymentschedule_inv | 92 | 1.15 | 0.64 | 0.013 | 0.007 |
| etendo | public | to_date | 108063 | 0.84 | 0.84 | 0.000 | 0.000 |
| etendo | public | prouti_deliveryavailable | 4614 | 0.83 | 0.83 | 0.000 | 0.000 |
| etendo | public | c_order_post | 16 | 0.82 | 0.00 | 0.051 | 0.000 |
| DB | Schema | Function | Executions | Time (s) | |||
|---|---|---|---|---|---|---|---|
| Total | Self | Mean | Mean self | ||||
| etendo | public | to_char | 3121636 | 2.49 | 2.49 | 0.000 | 0.000 |
| etendo | public | ad_istriggerenabled | 1169209 | 8.93 | 8.93 | 0.000 | 0.000 |
| etendo | public | obequals | 426664 | 0.44 | 0.44 | 0.000 | 0.000 |
| etendo | public | to_char | 372461 | 0.81 | 0.81 | 0.000 | 0.000 |
| etendo | public | to_char | 372224 | 0.59 | 0.59 | 0.000 | 0.000 |
| etendo | public | to_number | 326246 | 0.80 | 0.80 | 0.000 | 0.000 |
| etendo | public | ad_isorgincluded | 278111 | 4.13 | 4.13 | 0.000 | 0.000 |
| etendo | public | ad_org_isinnaturaltree | 245736 | 4.67 | 1.28 | 0.000 | 0.000 |
| etendo | public | to_date | 108063 | 0.84 | 0.84 | 0.000 | 0.000 |
| etendo | public | ad_column_identifier | 98170 | 24.57 | 24.16 | 0.000 | 0.000 |
| etendo | public | add_days | 57822 | 0.06 | 0.06 | 0.000 | 0.000 |
| etendo | public | to_char | 29367 | 0.08 | 0.08 | 0.000 | 0.000 |
| etendo | public | uuid_generate_v4 | 26304 | 0.29 | 0.29 | 0.000 | 0.000 |
| etendo | public | prouti_qtyremainingorderline | 18228 | 1.28 | 1.28 | 0.000 | 0.000 |
| etendo | public | c_currency_convert_precision | 14217 | 0.05 | 0.05 | 0.000 | 0.000 |
| etendo | public | c_currency_convert | 14215 | 0.12 | 0.07 | 0.000 | 0.000 |
| etendo | public | substract_days | 12334 | 0.01 | 0.01 | 0.000 | 0.000 |
| etendo | public | aprm_ispaymentconfirmed | 10082 | 0.82 | 0.82 | 0.000 | 0.000 |
| etendo | public | get_uuid | 8768 | 0.53 | 0.24 | 0.000 | 0.000 |
| etendo | public | to_date | 8304 | 0.04 | 0.04 | 0.000 | 0.000 |
| DB | Schema | Function | Executions | Time (s) | |||
|---|---|---|---|---|---|---|---|
| Total | Self | Mean | Mean self | ||||
| etendo | public | c_invoice_trg | 290592 | 23.08 | 18.50 | 0.000 | 0.000 |
| etendo | public | c_invoice_trg2 | 290592 | 6.36 | 4.61 | 0.000 | 0.000 |
| etendo | public | einv_gene_chk_restrictions_trg | 290519 | 4.15 | 2.69 | 0.000 | 0.000 |
| etendo | public | pruti_inherit_invoice_contact | 290592 | 3.74 | 2.71 | 0.000 | 0.000 |
| etendo | public | au_c_bpartner_trg | 120 | 0.63 | 0.62 | 0.005 | 0.005 |
| etendo | public | c_invoiceline_trg2 | 381 | 0.58 | 0.21 | 0.002 | 0.001 |
| etendo | public | au_advcrm_activity_trg | 158 | 0.47 | 0.41 | 0.003 | 0.003 |
| etendo | public | au_m_product_trg | 9 | 0.35 | 0.32 | 0.039 | 0.036 |
| etendo | public | c_orderline_trg2 | 164 | 0.26 | 0.10 | 0.002 | 0.001 |
| etendo | public | c_invoiceline_trg3 | 381 | 0.25 | 0.22 | 0.001 | 0.001 |
| etendo | public | c_invoicelinetax_trg | 158 | 0.22 | 0.12 | 0.001 | 0.001 |
| etendo | public | ad_preference_mod_trg | 329 | 0.10 | 0.09 | 0.000 | 0.000 |
| etendo | public | c_invoiceline_before_trg | 378 | 0.09 | 0.09 | 0.000 | 0.000 |
| etendo | public | c_invline_chk_restrictions_trg | 373 | 0.09 | 0.08 | 0.000 | 0.000 |
| etendo | public | m_inoutline_trg | 49 | 0.09 | 0.04 | 0.002 | 0.001 |
| etendo | public | m_transaction_trg | 75 | 0.07 | 0.04 | 0.001 | 0.001 |
| etendo | public | c_orderlinetax_trg | 76 | 0.07 | 0.05 | 0.001 | 0.001 |
| etendo | public | c_invoicetax_trg | 257 | 0.06 | 0.06 | 0.000 | 0.000 |
| etendo | public | au_m_productprice_trg | 17 | 0.06 | 0.05 | 0.003 | 0.003 |
| etendo | public | c_orderline2_trg | 149 | 0.06 | 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 | 26 | 32888 | 3351 | 32888 | 46 | |
| etendo | pg_default | profile | last_stat_indexes | 26 | 54119 | 1353 | 54119 | 2 | |
| etendo | pg_default | profile | last_stat_user_functions | 26 | 8257 | 1096 | 8257 | 46 | |
| etendo | pg_default | public | c_invoice | 23 | 73 | 290519 | 606 | ||
| etendo | pg_default | public | ad_ep_instance_para | 16 | 922 | 922 | |||
| 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 | 361 | |||
| etendo | pg_default | pg_catalog | pg_type | 1 | 2165 | 2165 | |||
| etendo | pg_default | pg_catalog | pg_attribute | 1 | 24203 | 24203 | |||
| etendo | pg_default | pg_catalog | pg_class | 1 | 1874 | 6728 | 1874 | 1375 | |
| etendo | pg_default | pg_catalog | pg_index | 1 | 527 | 527 | |||
| etendo | pg_default | pg_catalog | pg_statistic | 1 | 16455 | 13540 | |||
| etendo | pg_default | public | ad_process_run | 1 | 304 | 304 | 315 | ||
| etendo | pg_default | public | prsync_entry | 1 | 450 | 898 | 374 | 864 | |
| 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 | 32888 | 3351 | 32888 | 46 |
| etendo | pg_default | profile | last_stat_indexes | 47 | 23 | 54119 | 1353 | 54119 | 2 |
| etendo | pg_default | profile | last_stat_user_functions | 47 | 23 | 8257 | 1096 | 8257 | 46 |
| etendo | pg_default | public | ad_ep_instance_para | 28 | 922 | 922 | |||
| etendo | pg_default | public | c_invoice | 1 | 23 | 73 | 290519 | 606 | |
| etendo | pg_default | profile | last_stat_tablespaces | 24 | 46 | 46 | |||
| etendo | pg_default | public | ad_session | 1 | 19 | 19 | 2230 | 2211 | |
| etendo | pg_default | public | ad_process_request | 1 | 5 | 312 | 307 | ||
| etendo | pg_default | profile | last_stat_database | 1 | 3 | 92 | 92 | ||
| postgres | pg_global | pg_catalog | pg_tablespace | 3 | |||||
| postgres | pg_global | pg_catalog | pg_shdepend | 3 | 711 | 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_shseclabel | 3 | |||||
| postgres | pg_global | pg_catalog | pg_subscription | 3 | |||||
| etendo | pg_global | pg_catalog | pg_pltemplate | 3 | |||||
| etendo | pg_global | pg_catalog | pg_tablespace | 3 | |||||
| etendo | pg_global | pg_catalog | pg_shdepend | 3 | 710 | 710 |
| 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 | 4001 kB | 23 MB | |
| etendo | pg_default | public | c_invoice | c_invoice_key | 62 MB | 23 | 2758 kB | 23 MB | |
| etendo | pg_default | public | c_invoice | c_invoice_bpartner | 58 MB | 23 | 2572 kB | 23 MB | |
| etendo | pg_default | public | c_invoice | c_invoice_docno | 48 MB | 23 | 2145 kB | 23 MB | |
| etendo | pg_default | public | c_invoice | c_invoice_paid | 43 MB | 23 | 1917 kB | 23 MB | |
| etendo | pg_default | public | c_invoice | c_invoice_posted | 43 MB | 23 | 1899 kB | 23 MB | |
| etendo | pg_default | public | c_invoice | c_invoice_salesrep | 41 MB | 23 | 1832 kB | 23 MB | |
| etendo | pg_default | public | c_invoice | c_invoice_updated | 36 MB | 23 | 1585 kB | 23 MB | |
| etendo | pg_default | public | c_invoice | c_invoice_ad_user | 35 MB | 23 | 1554 kB | 23 MB | |
| etendo | pg_default | public | c_invoice | c_invoice_order | 30 MB | 23 | 1350 kB | 23 MB | |
| etendo | pg_default | profile | last_stat_indexes | pk_last_stat_indexes | 10 MB | 26 | 392 kB | 1529 kB | |
| etendo | pg_default | profile | last_stat_tables | pk_last_stat_tables | 5768 kB | 26 | 221 kB | 1210 kB | |
| etendo | pg_default | pg_catalog | pg_attribute | pg_attribute_relid_attnam_index | 1016 kB | 1 | 1016 kB | 4328 kB | |
| etendo | pg_default | pg_catalog | pg_attribute | pg_attribute_relid_attnum_index | 664 kB | 1 | 664 kB | 4328 kB | |
| etendo | pg_default | public | prsync_entry | prsync_entry_key | 400 kB | 1 | 400 kB | 3544 kB | |
| etendo | pg_default | pg_catalog | pg_statistic | pg_statistic_relid_att_inh_index | 376 kB | 1 | 376 kB | 4648 kB | |
| etendo | pg_default | pg_catalog | pg_statistic(TOAST) | pg_toast_2619_index | 336 kB | 4 | 85 kB | 3760 kB | |
| etendo | pg_default | public | ad_process_run | ad_process_run_ad_prequest_id | 328 kB | 1 | 328 kB | 10 MB | |
| etendo | pg_default | public | ad_process_run | ad_process_run_key | 312 kB | 1 | 312 kB | 10 MB | |
| etendo | pg_default | public | ad_ep_instance_para | ad_ep_instance_para_key | 256 kB | 16 | 16 kB | 30 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 | pg_temp_7 | ad_context_info | 1 | 126534 | 99 | 8384 kB | |
| etendo | profile | sample_stat_tables | 24156 | 3228 | 11 | 7048 kB | |
| etendo | public | ad_process_run | 5129 | 531 | 9 | 11 MB | |
| etendo | public | fin_payment_schedule | 60585 | 31 | 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 | pg_temp_7 | ad_context_info | 1 | 126534 | 253063 | 199 | 8384 kB | |
| etendo | public | ad_process_run | 5129 | 531 | 430 | 7 | 2026-07-13 01:10:07.037084+02 | 11 MB |
| etendo | profile | sample_stat_tables | 24156 | 3228 | 930 | 3 | 2026-07-13 23:00:44.011478+02 | 7048 kB |
| etendo | public | fin_payment_schedule | 60585 | 31 | 141 | 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-12 05:00:04.683379+02 | |||
| pg_conf_load_time | 2026-07-13 05:00:04.159673+02 | 2026-07-13 06:00:01+02 | ||
| pg_postmaster_start_time | 2026-07-12 05:00:04.812853+02 | |||
| pg_postmaster_start_time | 2026-07-13 05:00:04.286006+02 | 2026-07-13 06:00:01+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 | |||