pg_profile version 0.3.6
Server name: local
Report interval: 2026-07-19 04:00:02+01 - 2026-07-20 03:00:02+01
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 | |||
| openbravo | 783411 | 5760 | 94.74 | 219010626 | 3947497510 | 23462032544 | 3709984100 | 814975 | 526128 | 562893 | 310 GB | 310 MB | |||
| postgres | 11705 | 99.95 | 348 | 657738 | 1905919 | 348048 | 6391 kB | ||||||||
| Total | 795116 | 5760 | 94.74 | 219010974 | 3948155248 | 23463938463 | 3710332148 | 814975 | 526128 | 562893 | 310 GB | 310 MB | |||
| Database | Calls | Time (s) | Fetched (blk) | Dirtied (blk) | Temp (blk) | Local (blk) | Statements | |||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| Exec | Read | Write | Trg | Shared | Local | Shared | Local | Read | Write | Read | Write | |||
| openbravo | 11911488 | 16152.03 | 157.71 | 4718614423 | 24828246 | 1822554 | 1783 | 1971 | 35571 | |||||
| postgres | 5612 | 8.62 | 86756 | 345 | ||||||||||
| template1 | 6348 | 8.27 | 7176 | 276 | ||||||||||
| Total | 11923448 | 16168.92 | 157.71 | 4718708355 | 24828246 | 1822554 | 1783 | 1971 | 36192 | |||||
| Metric | Value |
|---|---|
| Scheduled checkpoints | 276 |
| Requested checkpoints | |
| Checkpoint write time (s) | 40867.31 |
| Checkpoint sync time (s) | 16.84 |
| Checkpoints buffers written | 1206688 |
| Background buffers written | 100651 |
| Backend buffers written | 48471 |
| Backend fsync count | |
| Bgwriter interrupts (too many buffers) | 708 |
| Number of buffers allocated | 21578831 |
| WAL generated | 8354 MB |
| WAL segments archived | 523 |
| WAL segments archive failed |
| Tablespace | Path | Size | Growth |
|---|---|---|---|
| pg_default | 310 GB | 310 MB | |
| pg_global | 1014 kB |
| Query ID | Database | Exec (s) | %Total | Rows | Execution times (ms) | Executions | |||
|---|---|---|---|---|---|---|---|---|---|
| Mean | Min | Max | StdErr | ||||||
[5b93a467] | openbravo | 2621.52 | 16.21 | 18996.556 | 16384.202 | 282388.039 | 22596.782 | 138 | |
[9603f2b6] | openbravo | 2601.88 | 16.09 | 211729 | 602.148 | 551.670 | 861.303 | 30.018 | 4321 |
[f51c7e38] | openbravo | 1494.66 | 9.24 | 5221 | 64985.384 | 52520.584 | 88698.197 | 9259.128 | 23 |
[3111e984] | openbravo | 1488.23 | 9.20 | 5221 | 285.047 | 24.494 | 3502.131 | 544.100 | 5221 |
[e0869ab2] | openbravo | 1091.62 | 6.75 | 7910.256 | 7563.800 | 9522.078 | 248.421 | 138 | |
[a6742d25] | openbravo | 706.62 | 4.37 | 3329583 | 8.502 | 0.022 | 4789.954 | 34.210 | 83113 |
[fb2a3095] | openbravo | 650.43 | 4.02 | 4713.256 | 4224.935 | 21033.914 | 1787.980 | 138 | |
[cd9c0fd2] | openbravo | 365.99 | 2.26 | 6093 | 365993.553 | 365993.553 | 365993.553 | 1 | |
[7318d810] | openbravo | 345.77 | 2.14 | 38093045 | 345773.374 | 345773.374 | 345773.374 | 1 | |
[c1020a32] | openbravo | 188.28 | 1.16 | 17 | 188282.073 | 188282.073 | 188282.073 | 1 | |
[92ec818a] | openbravo | 182.58 | 1.13 | 30646465 | 182583.138 | 182583.138 | 182583.138 | 1 | |
[c4153bc0] | openbravo | 168.34 | 1.04 | 2020016 | 825.209 | 450.942 | 8506.104 | 551.887 | 204 |
[ba9b8900] | openbravo | 168.31 | 1.04 | 1111 | 151.498 | 140.130 | 440.600 | 10.063 | 1111 |
[f3303a00] | openbravo | 167.36 | 1.04 | 150.640 | 137.998 | 439.609 | 10.056 | 1111 | |
[3fe437d2] | openbravo | 150.90 | 0.93 | 6497 | 23.226 | 0.024 | 1922.567 | 65.371 | 6497 |
[cd0b881c] | openbravo | 137.21 | 0.85 | 32707206 | 137207.107 | 137207.107 | 137207.107 | 1 | |
[569d183d] | openbravo | 126.54 | 0.78 | 14263260 | 126543.175 | 126543.175 | 126543.175 | 1 | |
[ae9bc6b7] | openbravo | 124.21 | 0.77 | 14407320 | 124207.749 | 124207.749 | 124207.749 | 1 | |
[a35d3b99] | openbravo | 115.61 | 0.72 | 1150 | 100.532 | 43.352 | 1924.547 | 76.447 | 1150 |
[74267a2] | openbravo | 115.57 | 0.71 | 1150 | 100.495 | 43.327 | 1924.517 | 76.430 | 1150 |
| Query ID | Database | Executions | %Total | Rows | Mean(ms) | Min(ms) | Max(ms) | StdErr(ms) | Elapsed(s) |
|---|---|---|---|---|---|---|---|---|---|
[6df21622] | openbravo | 609804 | 5.11 | 609804 | 0.003 | 0.001 | 4.199 | 0.008 | 1.7 |
[d2788d4] | openbravo | 545518 | 4.58 | 545518 | 0.003 | 0.001 | 1.219 | 0.003 | 1.5 |
[aada7118] | openbravo | 245007 | 2.05 | 11012 | 0.010 | 0.003 | 10.107 | 0.035 | 2.4 |
[c7e884e0] | openbravo | 208002 | 1.74 | 208002 | 0.003 | 0.002 | 10.602 | 0.023 | 0.7 |
[2b8e321f] | openbravo | 199495 | 1.67 | 199495 | 0.006 | 0.002 | 0.841 | 0.004 | 1.1 |
[6f9b1a85] | openbravo | 179507 | 1.51 | 0.001 | 0.000 | 0.159 | 0.001 | 0.1 | |
[2049516b] | openbravo | 175503 | 1.47 | 0.001 | 0.000 | 0.243 | 0.001 | 0.1 | |
[1c1c8a81] | openbravo | 172954 | 1.45 | 172954 | 0.003 | 0.002 | 0.274 | 0.002 | 0.5 |
[6d0d7fc] | openbravo | 163618 | 1.37 | 163618 | 0.005 | 0.002 | 0.398 | 0.004 | 0.8 |
[30f21dca] | openbravo | 138391 | 1.16 | 138391 | 0.255 | 0.205 | 4.653 | 0.060 | 35.3 |
[a5716dbe] | openbravo | 138391 | 1.16 | 138391 | 0.229 | 0.203 | 2.109 | 0.044 | 31.7 |
[d9433e44] | openbravo | 122330 | 1.03 | 122330 | 0.003 | 0.002 | 0.262 | 0.002 | 0.3 |
[263f5b0b] | openbravo | 117497 | 0.99 | 64399 | 0.004 | 0.001 | 0.592 | 0.004 | 0.4 |
[81592075] | openbravo | 115140 | 0.97 | 115140 | 0.003 | 0.002 | 0.887 | 0.003 | 0.3 |
[5d6197e1] | openbravo | 101650 | 0.85 | 101650 | 0.007 | 0.004 | 1.196 | 0.012 | 0.7 |
[880044aa] | openbravo | 100387 | 0.84 | 100387 | 0.002 | 0.001 | 0.066 | 0.001 | 0.2 |
[3081048d] | openbravo | 90135 | 0.76 | 90135 | 0.004 | 0.002 | 0.445 | 0.003 | 0.4 |
[b86e6a95] | openbravo | 86036 | 0.72 | 86036 | 0.002 | 0.001 | 0.038 | 0.000 | 0.1 |
[a6742d25] | openbravo | 83113 | 0.70 | 3329583 | 8.502 | 0.022 | 4789.954 | 34.210 | 706.6 |
[2b7ebfcc] | openbravo | 81880 | 0.69 | 81880 | 0.009 | 0.007 | 0.724 | 0.005 | 0.8 |
| Query ID | Database | blks fetched | %Total | Hits(%) | Elapsed(s) | Rows | Executions |
|---|---|---|---|---|---|---|---|
[5b93a467] | openbravo | 1488190948 | 31.54 | 93.68 | 2621.5 | 138 | |
[a6742d25] | openbravo | 733096089 | 15.54 | 99.99 | 706.6 | 3329583 | 83113 |
[e0869ab2] | openbravo | 662073104 | 14.03 | 99.94 | 1091.6 | 138 | |
[f51c7e38] | openbravo | 430439307 | 9.12 | 99.59 | 1494.7 | 5221 | 23 |
[3111e984] | openbravo | 429455317 | 9.10 | 99.59 | 1488.2 | 5221 | 5221 |
[fb2a3095] | openbravo | 137812537 | 2.92 | 32.19 | 650.4 | 138 | |
[c4153bc0] | openbravo | 127552793 | 2.70 | 99.94 | 168.3 | 2020016 | 204 |
[72db11e8] | openbravo | 80690702 | 1.71 | 99.68 | 59.4 | 138 | |
[3fe437d2] | openbravo | 68846945 | 1.46 | 99.78 | 150.9 | 6497 | 6497 |
[9603f2b6] | openbravo | 58810254 | 1.25 | 100.00 | 2601.9 | 211729 | 4321 |
[ba9b8900] | openbravo | 37425992 | 0.79 | 99.91 | 168.3 | 1111 | 1111 |
[f3303a00] | openbravo | 37378586 | 0.79 | 99.92 | 167.4 | 1111 | |
[57d3e9b9] | openbravo | 20891908 | 0.44 | 96.67 | 57.5 | 138 | |
[c1020a32] | openbravo | 14177408 | 0.30 | 83.33 | 188.3 | 17 | 1 |
[a35d3b99] | openbravo | 13358621 | 0.28 | 99.48 | 115.6 | 1150 | 1150 |
[74267a2] | openbravo | 13356606 | 0.28 | 99.48 | 115.6 | 1150 | 1150 |
[ea4e56b9] | openbravo | 13355211 | 0.28 | 99.48 | 115.5 | 1150 | 1150 |
[74c1276a] | openbravo | 13318374 | 0.28 | 100.00 | 21.2 | 7849 | |
[e945b846] | openbravo | 12327926 | 0.26 | 99.46 | 25.5 | 5 | 2 |
[94eb716f] | openbravo | 12302009 | 0.26 | 90.58 | 18.7 | 2 | 2 |
| Query ID | Database | Reads | %Total | Hits(%) | Elapsed(s) | Rows | Executions |
|---|---|---|---|---|---|---|---|
[5b93a467] | openbravo | 94077943 | 42.54 | 93.68 | 2621.5 | 138 | |
[fb2a3095] | openbravo | 93447462 | 42.25 | 32.19 | 650.4 | 138 | |
[7318d810] | openbravo | 4021637 | 1.82 | 0.00 | 345.8 | 38093045 | 1 |
[c1020a32] | openbravo | 2363223 | 1.07 | 83.33 | 188.3 | 17 | 1 |
[f51c7e38] | openbravo | 1763053 | 0.80 | 99.59 | 1494.7 | 5221 | 23 |
[3111e984] | openbravo | 1761100 | 0.80 | 99.59 | 1488.2 | 5221 | 5221 |
[92ec818a] | openbravo | 1673477 | 0.76 | 0.00 | 182.6 | 30646465 | 1 |
[94eb716f] | openbravo | 1158968 | 0.52 | 90.58 | 18.7 | 2 | 2 |
[9c2209ed] | openbravo | 987176 | 0.45 | 2.09 | 93.2 | 20097162 | 1 |
[4def43cd] | openbravo | 980573 | 0.44 | 1.63 | 86.2 | 7284201 | 1 |
[cd0b881c] | openbravo | 963677 | 0.44 | 137.2 | 32707206 | 1 | |
[ae9bc6b7] | openbravo | 953557 | 0.43 | 14.30 | 124.2 | 14407320 | 1 |
[569d183d] | openbravo | 877473 | 0.40 | 7.75 | 126.5 | 14263260 | 1 |
[6f92ba97] | openbravo | 870447 | 0.39 | 4.17 | 87.3 | 7035861 | 1 |
[336527ac] | openbravo | 740865 | 0.33 | 76.9 | 12458580 | 1 | |
[54e476f8] | openbravo | 738632 | 0.33 | 8.09 | 8.6 | 692662 | 1 |
[ab56bf1d] | openbravo | 738089 | 0.33 | 84.69 | 11.2 | 24 | 6 |
[57d3e9b9] | openbravo | 696004 | 0.31 | 96.67 | 57.5 | 138 | |
[90c9c123] | openbravo | 671932 | 0.30 | 69.45 | 62.9 | 5107 | 3 |
[cd9c0fd2] | openbravo | 660490 | 0.30 | 3.19 | 366.0 | 6093 | 1 |
| Query ID | Database | Dirtied | %Total | Hits(%) | Elapsed(s) | Rows | Executions |
|---|---|---|---|---|---|---|---|
[a03a69a5] | openbravo | 182734 | 10.03 | 98.22 | 30.9 | 56672 | 56672 |
[eb67e33f] | openbravo | 96702 | 5.31 | 97.36 | 12.8 | 67312 | 67312 |
[3695269c] | openbravo | 69824 | 3.83 | 97.24 | 14.3 | 16005 | 16005 |
[74267a2] | openbravo | 64292 | 3.53 | 99.48 | 115.6 | 1150 | 1150 |
[a35d3b99] | openbravo | 64292 | 3.53 | 99.48 | 115.6 | 1150 | 1150 |
[ea4e56b9] | openbravo | 64292 | 3.53 | 99.48 | 115.5 | 1150 | 1150 |
[c1020a32] | openbravo | 40718 | 2.23 | 83.33 | 188.3 | 17 | 1 |
[205b8c88] | openbravo | 38423 | 2.11 | 98.61 | 6.8 | 13336 | 13336 |
[bfd8039a] | openbravo | 34411 | 1.89 | 99.42 | 52.3 | 1143 | 1143 |
[2ff59f28] | openbravo | 30239 | 1.66 | 99.94 | 6.7 | 61562 | 61562 |
[6f92ba97] | openbravo | 30227 | 1.66 | 4.17 | 87.3 | 7035861 | 1 |
[8f1d721] | openbravo | 29578 | 1.62 | 99.74 | 20.7 | 6917 | 6917 |
[6bdd6481] | openbravo | 29572 | 1.62 | 98.90 | 8.2 | 6917 | 6917 |
[d3eb78] | openbravo | 27490 | 1.51 | 93.57 | 7.4 | 13435 | 13435 |
[baa0f6d7] | openbravo | 24231 | 1.33 | 99.87 | 12.9 | 7961 | 7961 |
[41b729f2] | openbravo | 20581 | 1.13 | 97.84 | 3.1 | 4841 | 4841 |
[89ff8432] | openbravo | 19318 | 1.06 | 97.08 | 1.2 | 6428 | 6428 |
[12018251] | openbravo | 19197 | 1.05 | 90.82 | 3.7 | 5343 | 5343 |
[fd3270b5] | openbravo | 17673 | 0.97 | 99.92 | 0.8 | 13188 | 13188 |
[97b6b91a] | openbravo | 17075 | 0.94 | 97.60 | 2.7 | 4981 | 4981 |
| Query ID | Database | Written | %Total | %BackendW | Hits(%) | Elapsed(s) | Rows | Executions |
|---|---|---|---|---|---|---|---|---|
[94eb716f] | openbravo | 2042 | 0.15 | 4.21 | 90.58 | 18.7 | 2 | 2 |
[cd0b881c] | openbravo | 7 | 0.00 | 0.01 | 137.2 | 32707206 | 1 |
| Query ID | Database | Local fetched | Hits(%) | Local (blk) | Temp (blk) | Elapsed(s) | Rows | Executions | ||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| Write | %Total | Read | %Total | Write | %Total | Read | %Total | |||||||
[20b0132a] | openbravo | 72860 | 99.18 | 595 | 30.19 | 0.3 | 71084 | 71084 | ||||||
[1f7436a8] | openbravo | 10535 | 99.62 | 40 | 2.03 | 0.0 | 10420 | 10420 | ||||||
[61de99de] | openbravo | 9481 | 99.58 | 40 | 2.03 | 0.0 | 9366 | 9366 | ||||||
[b3fcd991] | openbravo | 9568 | 99.61 | 37 | 1.88 | 0.0 | 9461 | 9461 | ||||||
[f9c6c1e1] | openbravo | 8498 | 99.58 | 36 | 1.83 | 0.0 | 8392 | 8392 | ||||||
[b3e83c24] | openbravo | 8450 | 99.59 | 35 | 1.78 | 0.0 | 8354 | 8354 | ||||||
[d08e63cd] | openbravo | 5658 | 99.49 | 29 | 1.47 | 0.0 | 5578 | 5578 | ||||||
[d5ffdaf6] | openbravo | 4723 | 99.45 | 26 | 1.32 | 0.0 | 4652 | 4652 | ||||||
[fedec8dd] | openbravo | 6435 | 99.61 | 25 | 1.27 | 0.0 | 6369 | 6369 | ||||||
[39b71312] | openbravo | 5212 | 99.54 | 24 | 1.22 | 0.0 | 5145 | 5145 | ||||||
[c3b2e232] | openbravo | 4777 | 99.50 | 24 | 1.22 | 0.0 | 4714 | 4714 | ||||||
[ff8319c1] | openbravo | 5881 | 99.59 | 24 | 1.22 | 0.0 | 5816 | 5816 | ||||||
[48156064] | openbravo | 5614 | 99.61 | 22 | 1.12 | 0.0 | 5555 | 5555 | ||||||
[5c49a5c1] | openbravo | 5723 | 99.62 | 22 | 1.12 | 0.0 | 5666 | 5666 | ||||||
[cd3a05ed] | openbravo | 5735 | 99.62 | 22 | 1.12 | 0.0 | 5678 | 5678 | ||||||
[4c8bf5b0] | openbravo | 2640 | 99.20 | 21 | 1.07 | 0.0 | 2586 | 2586 | ||||||
[6ad7f5b5] | openbravo | 5290 | 99.60 | 21 | 1.07 | 0.0 | 5234 | 5234 | ||||||
[b14a7825] | openbravo | 4671 | 99.55 | 21 | 1.07 | 0.0 | 4617 | 4617 | ||||||
[cd29d294] | openbravo | 4531 | 99.54 | 21 | 1.07 | 0.0 | 4473 | 4473 | ||||||
[3961f04f] | openbravo | 3789 | 99.47 | 20 | 1.01 | 0.0 | 3736 | 3736 | ||||||
| QueryID | Query Text |
|---|---|
| 26959f7c7a | insert into M_Transaction_Cost (AD_Client_ID, AD_Org_ID, Created, Createdby, Updated, Updatedby, Isactive, M_Transaction_ID, Cost, CostDate, C_Currency_ID, IsUnitCost, DateAcct, M_Transaction_Cost_ID) values ($1, $2, $3, $4, $5, $6, $7, $8, $9, $10, $11, $12, $13, $14) |
| 08c88cedcc | SELECT $2 FROM ONLY "public"."c_bpartner" x WHERE "c_bpartner_id"::pg_catalog.text OPERATOR(pg_catalog.=) $1::pg_catalog.text FOR KEY SHARE OF x |
| 7efafc5af2 | SELECT C_ORDER_POST1(p_PInstance_ID, $2) |
| 7cdb887c2a | insert into M_ProductionLine (AD_Client_ID, AD_Org_ID, IsActive, Created, CreatedBy, Updated, UpdatedBy, M_ProductionPlan_ID, Line, M_Product_ID, MovementQty, M_Locator_ID, M_AttributeSetInstance_ID, C_UOM_ID, Calculated, Rejectedquantity, EM_Cactl_Added_Manually, M_ProductionLine_ID) values ($1, $2, $3, $4, $5, $6, $7, $8, $9, $10, $11, $12, $13, $14, $15, $16, $17, $18) |
| a46753d96b | SELECT $2 FROM ONLY "public"."ad_client" x WHERE "ad_client_id"::pg_catalog.text OPERATOR(pg_catalog.=) $1::pg_catalog.text FOR KEY SHARE OF x |
| 86ae00e408 | insert into C_OrderLineTax (C_Orderline_ID, C_Tax_ID, AD_Client_ID, AD_Org_ID, Isactive, Created, Createdby, Updated, Updatedby, Taxbaseamt, Taxamt, Line, C_Order_ID, C_Orderlinetax_ID) values ($1, $2, $3, $4, $5, $6, $7, $8, $9, $10, $11, $12, $13, $14) |
| 03a1d4e90c | SELECT $2 FROM ONLY "public"."c_currency" x WHERE "c_currency_id"::pg_catalog.text OPERATOR(pg_catalog.=) $1::pg_catalog.text FOR KEY SHARE OF x |
| 7537b8243c | insert into ad_context_info (ad_user_id, ad_session_id, processType, processId) values ($1, $2, $3, $4) |
| 8a7672d920 | COMMIT |
| 101ed24576 | update C_Invoice set Updated=$1, DaysTillDue=$2, LastCalculatedOnDate=$3 where C_Invoice_ID=$4 |
| c5d3b5bcfa | insert into ad_context_info (ad_user_id, ad_session_id, processType, processId) values ($1, $2, $3, $4) |
| 9a0540688d | 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 |
| b9a73dbea9 | 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, $2 as UseSuspenseBalancing, $3 as SuspenseBalancing_Acct, $4 as UseSuspenseError, $5 as SuspenseError_Acct, $6 as UseCurrencyBalancing, $7 as CurrencyBalancing_Acct, $8 as RetainedEarning_Acct, $9 as IncomeSummary_Acct, $10 as InterCompanyDueTo_Acct, $11 as InterCompanyDueFrom_Acct FROM C_ValidCombination WHERE C_ValidCombination_ID=$1 |
| f2e5c3fd88 | SELECT $2 FROM ONLY "public"."m_product" x WHERE "m_product_id"::pg_catalog.text OPERATOR(pg_catalog.=) $1::pg_catalog.text FOR KEY SHARE OF x |
| fec93ea334 | UPDATE M_STORAGE_DETAIL SET QTYONHAND=QTYONHAND + COALESCE(p_qty, $20), QTYORDERONHAND=QTYORDERONHAND + v_qtyorder, DATELASTINVENTORY=COALESCE(p_datelastinventory, DATELASTINVENTORY), PREQTYONHAND=PREQTYONHAND + COALESCE(p_preqty, $21), PREQTYORDERONHAND=PREQTYORDERONHAND + v_preqtyorder, AD_CLIENT_ID=p_client, UPDATED=TO_DATE(NOW()), UPDATEDBY=p_user WHERE M_PRODUCT_ID=p_product AND M_LOCATOR_ID=p_locator AND M_ATTRIBUTESETINSTANCE_ID=v_attributesetinstance AND C_UOM_ID=p_uom AND COALESCE(M_PRODUCT_UOM_ID, $22)=COALESCE(p_product_uom, $23) |
| 59de48c20b | SELECT $2 FROM ONLY "public"."c_bpartner_location" x WHERE "c_bpartner_location_id"::pg_catalog.text OPERATOR(pg_catalog.=) $1::pg_catalog.text FOR KEY SHARE OF x |
| b93f3a3e02 | select count(*) as y0_ from AD_TreeNode this_ where this_.Node_ID=$1 and this_.Parent_ID<>$2 and this_.IsActive=$3 |
| 634a705cf9 | WITH orders AS ( SELECT SUM(ol.qtyordered) AS total FROM c_orderline ol JOIN c_order o ON o.c_order_id = ol.c_order_id WHERE ol.m_product_id = p_product AND o.ad_org_id = p_org AND o.issotrx = $6 AND o.dateordered BETWEEN current_date - v_days_consum AND current_date - $7 ), production AS ( SELECT SUM(pl.movementqty) AS total FROM m_productionline pl JOIN m_productionplan pp ON pp.m_productionplan_id = pl.m_productionplan_id JOIN m_production p ON p.m_production_id = pp.m_production_id WHERE pl.m_product_id = p_product AND pl.ad_org_id = p_org AND p.movementdate BETWEEN current_date - v_days_consum AND current_date - $8 ) SELECT COALESCE(orders.total, $9) + COALESCE(production.total, $10) FROM orders, production |
| ffcd2dfda5 | COPY public.prpass_pass_inst_hist (prpass_pass_inst_hist_id, ad_client_id, ad_org_id, isactive, created, createdby, updated, updatedby, value, status, c_orderline_id, c_order_id, dateordered, c_bpartner_id, m_product_id, obpos_applications_id, cancel, ad_creation_org_id, expirationdate, prpass_timeslots_detail_id, prpass_timeslots_res_id, time_first_pick, validate_manual, unlimited) TO stdout |
| 8d75ee1767 | 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) |
| ffbb2a6f9d | insert into ad_context_info (ad_user_id, ad_session_id, processType, processId) values ($1, $2, $3, $4) |
| f445aa8f91 | insert into ad_context_info (ad_user_id, ad_session_id, processType, processId) values ($1, $2, $3, $4) |
| 2fc2aa8125 | select materialmg0_.M_Costing_ID as M_Costin1_453_, materialmg0_.Created as Created2_453_, materialmg0_.Createdby as Createdb3_453_, materialmg0_.Updated as Updated4_453_, materialmg0_.Updatedby as Updatedb5_453_, materialmg0_.AD_Client_ID as AD_Clien6_453_, materialmg0_.AD_Org_ID as AD_Org_I7_453_, materialmg0_.M_Product_ID as M_Produc8_453_, materialmg0_.DateFrom as DateFrom9_453_, materialmg0_.DateTo as DateTo10_453_, materialmg0_.IsManual as IsManua11_453_, materialmg0_.C_InvoiceLine_ID as C_Invoi12_453_, materialmg0_.Qty as Qty13_453_, materialmg0_.Price as Price14_453_, materialmg0_.Cumstock as Cumstoc15_453_, materialmg0_.Costtype as Costtyp16_453_, materialmg0_.Ispermanent as Isperma17_453_, materialmg0_.Cost as Cost18_453_, materialmg0_.Cumcost as Cumcost19_453_, materialmg0_.Isproduction as Isprodu20_453_, materialmg0_.Isactive as Isactiv21_453_, materialmg0_.M_Warehouse_ID as M_Wareh22_453_, materialmg0_.M_Transaction_ID as M_Trans23_453_, materialmg0_.C_Currency_ID as C_Curre24_453_, materialmg0_.Originalcost as Origina25_453_ from M_Costing materialmg0_ where materialmg0_.M_Product_ID=$1 and materialmg0_.DateFrom<=$2 and materialmg0_.Costtype=$7 and (materialmg0_.Cost is not null) and (materialmg0_.Cumstock is not null) and (materialmg0_.Cumcost is not null) and (materialmg0_.M_Warehouse_ID is null) and materialmg0_.AD_Org_ID=$3 and (materialmg0_.AD_Client_ID in ($4 , $5)) and materialmg0_.Isactive=$8 order by materialmg0_.DateFrom desc, materialmg0_.DateTo desc, materialmg0_.Created desc limit $6 |
| 320ed06a6d | insert into C_InvoiceLine (AD_Client_ID, AD_Org_ID, IsActive, Created, CreatedBy, Updated, UpdatedBy, C_Invoice_ID, C_OrderLine_ID, M_InOutLine_ID, Line, Description, Financial_Invoice_Line, M_Product_ID, QtyInvoiced, PriceList, PriceActual, LineNetAmt, C_UOM_ID, C_Tax_ID, IsDescription, PriceStd, Excludeforwithholding, Iseditlinenetamt, Line_Gross_Amount, Gross_Unit_Price, C_Bpartner_ID, grosspricestd, Grosspricelist, IsDeferred, Explode, Match_Lccosts, EM_Prdd_Distribute_Dimensions, EM_Priuti_Discount, EM_Priuti_Updatepricelist, EM_Priuti_Pricelist_Updated, 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, $33, $34, $35, $36, $37) |
| a62165991d | insert into ad_context_info (ad_user_id, ad_session_id, processType, processId) values ($1, $2, $3, $4) |
| 2d3aa8cefc | insert into ad_context_info (ad_user_id, ad_session_id, processType, processId) values ($1, $2, $3, $4) |
| b88437ee76 | COPY public.c_order (c_order_id, ad_client_id, ad_org_id, isactive, created, createdby, updated, updatedby, issotrx, documentno, docstatus, docaction, processing, processed, c_doctype_id, c_doctypetarget_id, description, isdelivered, isinvoiced, isprinted, isselected, salesrep_id, dateordered, datepromised, dateprinted, dateacct, c_bpartner_id, billto_id, c_bpartner_location_id, poreference, isdiscountprinted, c_currency_id, paymentrule, c_paymentterm_id, invoicerule, deliveryrule, freightcostrule, freightamt, deliveryviarule, m_shipper_id, c_charge_id, chargeamt, priorityrule, totallines, grandtotal, m_warehouse_id, m_pricelist_id, istaxincluded, c_campaign_id, c_project_id, c_activity_id, posted, ad_user_id, copyfrom, dropship_bpartner_id, dropship_location_id, dropship_user_id, isselfservice, ad_orgtrx_id, user1_id, user2_id, deliverynotes, c_incoterms_id, incotermsdescription, generatetemplate, delivery_location_id, copyfrompo, fin_paymentmethod_id, fin_payment_priority_id, rm_pickfromshipment, rm_receivematerials, rm_createinvoice, c_return_reason_id, rm_addorphanline, a_asset_id, calculate_promotions, c_costcenter_id, convertquotation, c_reject_reason_id, validuntil, quotation_id, so_res_status, create_polines, iscashvat, rm_pickfromreceipt, cancelandreplace, confirmcancelandreplace, cancelledorder_id, replacedorder_id, iscancelled, replacementorder_id, em_aprm_addpayment, bpartner_extref, em_obmfm_selectfreight, em_obmfm_delivery_period_id, em_obmfm_delivery_charges, em_obmfm_freight_id, em_obmfm_weight, em_obmfm_weight_uom_id, em_obmfm_set_weight, em_aeatsii_fecha_operacion, em_aeatsii_descripcion_sii, em_obdisc_addpack, em_obpos_applications_id, em_obpos_sendemail, em_obpos_email_status, em_obpos_app_cashup_id, em_obpos_createdabsolute, em_obpos_notinvoiceoncashup, em_obpos_rejected_quotat_id, em_obpos_isdeleted, em_obpos_islayaway, em_obpos_prepaymentamt, em_obpos_prepaymentlimitamt, em_obpos_prepaymentlaylimitamt, em_obpos_rounding_amount, em_ml_select_product, em_ml_select_product_byattrib, em_prouti_order_stock, em_prouti_pregenerate_minout, em_prouti_sotopo, em_prouti_generate_pick_inv, em_prouti_order_id, em_prouti_grandtotalinitial, em_prouti_dateclosed, em_prouti_totallinesinitial, em_prouti_changebpartner, em_prouti_recalculate_price, em_prouti_pricecalculatetdate, em_prouti_reactiveorder, em_prouti_totalizations, em_prouti_invoiced, em_prouti_received, em_prouti_initial_received, em_obcma_c_poc_email_id, em_obsmail_emailaddress, em_obwpl_generatepicking, em_obwpl_isinpickinglist, em_obwpl_readypl, em_obpos_sequencename, em_obpos_sequencenumber, em_prres_reservation_id, em_prres_responsible_id, em_prres_diners, em_prrgr_locator_id, em_advcrm_newactivity, em_advcrm_opportunity_id, em_prres_sended, em_prres_printed, em_pricm_order_id, em_prouti_status_of_review, em_prouti_validate_order, em_prouti_start_review, em_prtoma_tomaticket_id, em_prtoma_jsonorder, em_prtoma_grossamount, em_sgpcrm_securitygroups_id, em_cactl_iscopy, em_prres_paid_on_credit, em_cactl_internal_notes_group, em_prqc_clauses_selector, em_rcinv_contractdate, em_rcinv_initialdate, em_rcinv_enddate, em_rcinv_frequency, em_rcinv_renewautomatically, em_rcinv_renovationtimes, em_rcinv_freqrenovationtime, em_rcinv_ordercontract_id, em_rcinv_freqtime, em_rcinv_cancelcontract, em_rcinv_cancelleddate, em_rcinv_iscancelled, em_psat_activity_id, em_prqr_execute, em_prqr_execute_purchase, em_prqr_return_select_prod, em_prqr_credit_purchase_id, em_prqr_executecredit, em_paytef_transactionreference, em_cactl_forceselectedproject, em_cactl_indirect_cost_id, em_cactl_calculate_cost, em_cactl_totalcost, em_cactl_verified_return, em_prouti_select_soline, em_prouti_addlines_btn, em_prouti_return_quantity, em_prouti_initial_bp_id, em_prouti_changebpartner_bgt, em_cactl_duplicate_budget, em_prcpr_is_cloned, em_prres_orig_order_id) TO stdout |
| 58f46f2fd3 | COPY public.prpass_pass_inst (prpass_pass_inst_id, ad_client_id, ad_org_id, isactive, created, createdby, updated, updatedby, value, status, c_orderline_id, c_order_id, dateordered, c_bpartner_id, m_product_id, obpos_applications_id, cancel, ad_creation_org_id, expirationdate, em_cactl_gl_journal_id, prpass_timeslots_detail_id, prpass_timeslots_res_id, time_first_pick, validate_manual, unlimited) TO stdout |
| be462fba22 | COPY public.c_invoiceline (c_invoiceline_id, ad_client_id, ad_org_id, isactive, created, createdby, updated, updatedby, c_invoice_id, c_orderline_id, m_inoutline_id, line, description, financial_invoice_line, account_id, m_product_id, qtyinvoiced, pricelist, priceactual, pricelimit, linenetamt, c_charge_id, chargeamt, c_uom_id, c_tax_id, s_resourceassignment_id, m_attributesetinstance_id, isdescription, quantityorder, m_product_uom_id, c_invoice_discount_id, c_projectline_id, m_offer_id, pricestd, excludeforwithholding, iseditlinenetamt, taxbaseamt, line_gross_amount, gross_unit_price, c_bpartner_id, periodnumber, grosspricestd, a_asset_id, defplantype, grosspricelist, c_project_id, isdeferred, c_period_id, c_costcenter_id, user1_id, user2_id, explode, bom_parent_id, match_lccosts, c_aum, aumqty, em_prdd_distribute_dimensions, em_priuti_discount, em_priuti_updatepricelist, em_priuti_pricelist_updated) TO stdout |
| f570d33a96 | SELECT * FROM (select f.c_invoice_id as referencekey_id, $2 as ad_role_id, $3 as ad_user_id, $4 || f.documentno|| $5 as description, $6 as isActive, f.ad_org_id, f.ad_client_id, now() as created, $7 as createdBy, now() as updated, $8 as updatedBy, ad_column_identifier($9, f.c_invoice_id, $10) AS RECORD_ID FROM ( select ci.documentno, max(dateinvoiced) as dateinvoiced, max(ci.c_invoice_id) as c_invoice_id, max(ci.ad_org_id) as ad_org_id, max(ci.ad_client_id) as ad_client_id from c_invoice ci join c_order co on co.c_order_id=ci.c_order_id where ci.issotrx=$11 and co.em_obpos_applications_id is not null and ci.dateinvoiced >= current_date - $12 group by ci.documentno, EXTRACT($13 FROM dateinvoiced), ci.c_doctype_id having count(ci.documentno)>$14 order by max(dateinvoiced) desc ) as f) AAA where not exists (select $15 from ad_alert a where a.ad_alertrule_id = $1 and a.referencekey_id = aaa.referencekey_id and coalesce(a.status, $16) != $17) |
| 4aae53f3da | SELECT * FROM (select c_order_id AS referencekey_id, ad_column_identifier_std($2, c_order_id) AS record_id, $3 AS ad_role_id, $4 AS ad_user_id, $5 || documentno AS description, $6 AS isActive, $7 AS ad_org_id, ad_client_id AS ad_client_id, now() AS created, $8 AS createdBy, now() AS updated, $9 AS updatedBy from c_order where ( em_prouti_Received <> (coalesce((select case when sum(abs(ol.qtyordered)) = $10 then $11 else trunc(coalesce(sum(abs(coalesce(( select least(coalesce(abs(sum(il.movementqty)), $12), abs(ol.qtyordered)) from m_inoutline il left join m_inout i on i.m_inout_id=il.m_inout_id where i.docstatus<>$13 and il.c_orderline_id=ol.c_orderline_id ),$14))), $15)/sum(abs(ol.qtyordered)) * $16, $17) end from c_orderline ol where ol.c_order_id=c_order.c_order_id and ol.c_order_discount_id is null ),$18)) or em_prouti_Invoiced <> (coalesce(( select case when sum(abs(ol.qtyordered)) = $19 then $20 else round(coalesce(sum(abs(coalesce(( select least(coalesce(abs(sum(il.qtyinvoiced)), $21), abs(ol.qtyordered)) from c_invoiceline il left join c_invoice i on i.c_invoice_id=il.c_invoice_id where i.docstatus<>$22 and il.c_orderline_id=ol.c_orderline_id ),$23))), $24)/sum(abs(ol.qtyordered)) * $25, $26) end from c_orderline ol where ol.c_order_id=c_order.c_order_id and ol.c_order_discount_id is null), $27)) ) and issotrx=$28 and docstatus <> $29) AAA where not exists (select $30 from ad_alert a where a.ad_alertrule_id = $1 and a.referencekey_id = aaa.referencekey_id and coalesce(a.status, $31) != $32) |
| db31012b71 | insert into ad_context_info (ad_user_id, ad_session_id, processType, processId) values ($1, $2, $3, $4) |
| 281ee3922a | SELECT $2 FROM ONLY "public"."c_order" x WHERE "c_order_id"::pg_catalog.text OPERATOR(pg_catalog.=) $1::pg_catalog.text FOR KEY SHARE OF x |
| de314a5f3c | insert into ad_context_info (ad_user_id, ad_session_id, processType, processId) values ($1, $2, $3, $4) |
| 570c0e7d22 | insert into ad_context_info (ad_user_id, ad_session_id, processType, processId) values ($1, $2, $3, $4) |
| fa5e805d20 | insert into M_Transaction (AD_Client_ID, AD_Org_ID, IsActive, Created, CreatedBy, Updated, UpdatedBy, MovementType, M_Locator_ID, M_Product_ID, MovementDate, MovementQty, M_ProductionLine_ID, M_AttributeSetInstance_ID, C_UOM_ID, TrxProcessDate, IsCostCalculated, Costing_Status, Checkreservedqty, Isprocessed, Checkpricedifference, EM_Prouti_Exported, Manualcostadjustment, IsCostPermanent, M_Transaction_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) |
| 10410964a2 | SELECT $2 FROM ONLY "public"."ad_org" x WHERE "ad_org_id"::pg_catalog.text OPERATOR(pg_catalog.=) $1::pg_catalog.text FOR KEY SHARE OF x |
| e1739d379d | COPY public.c_invoice (c_invoice_id, ad_client_id, ad_org_id, isactive, created, createdby, updated, updatedby, issotrx, documentno, docstatus, docaction, processing, processed, posted, c_doctype_id, c_doctypetarget_id, c_order_id, description, isprinted, salesrep_id, dateinvoiced, dateprinted, dateacct, c_bpartner_id, c_bpartner_location_id, poreference, isdiscountprinted, dateordered, c_currency_id, c_paymentterm_id, c_charge_id, chargeamt, totallines, grandtotal, m_pricelist_id, istaxincluded, c_campaign_id, c_project_id, c_activity_id, createfrom, generateto, ad_user_id, copyfrom, isselfservice, ad_orgtrx_id, user1_id, user2_id, withholdingamount, taxdate, c_withholding_id, ispaid, totalpaid, outstandingamt, daystilldue, dueamt, lastcalculatedondate, fin_paymentmethod_id, fin_payment_priority_id, finalsettlement, daysoutstanding, percentageoverdue, c_costcenter_id, calculate_promotions, a_asset_id, iscashvat, prepaymentamt, createfromorders, createfrominouts, em_aprm_addpayment, em_aprm_processinvoice, paidamtatinvoicing, bpartner_extref, em_einv_generated, em_einv_sent, em_aeatsii_send, em_aeatsii_issent, em_aeatsii_fecha_operacion, em_aeatsii_clave_tipo, em_aeatsii_motivo_rectif, em_aeatsii_clave_tipo_fc, em_aeatsii_tipo_rectif, em_aeatsii_dua, em_aeatsii_fecha_dua, em_aeatsii_estado, em_aeatsii_error_registral, em_aeatsii_modif, em_aeatsii_modified, em_aeatsii_description_id, em_aeatsii_descripcion_sii, em_aeatsii_fecha_reg_cont, em_aeatsii_dup, em_aeatsii_error_code, em_aeatsii_error_msg, em_aeatsii_unsubscribe, em_aeatsii_pur_description_id, em_aeatsii_multi_dua, em_aeatsii_ejercicio, em_aeatsii_periodo, em_aeatsii_autofactura, em_aeatsii_invoice_id, em_aeatsii_insiidate, em_aeatsii_cause_exemption_id, em_aeatsii_isauthorization, em_aeatsii_authorizationno, em_obpos_rounding_amount, em_ml_select_product, em_prouti_recalculate_price, em_prouti_pricecalculatetdate, em_prouti_totalizations, em_obcma_c_poc_email_id, em_obpos_sequencename, em_obpos_sequencenumber, em_advcrm_newactivity, em_priuti_createpurchinv, em_priuti_generated, em_priuti_date_complete, em_priuti_user_complete_id, em_priuti_status_of_review, em_priuti_validate, em_priuti_start_review, em_prges_expediente_id, em_prges_annotation_id, em_prges_record_number, em_prges_grantotal, em_sgpcrm_securitygroups_id, em_prges_poreference, em_cactl_createfromship) TO stdout |
| 1b89da5cec | BEGIN |
| b4d6b6665e | SELECT * FROM (select inst.prpass_pass_inst_id AS referencekey_id, inst.value AS record_id, $2 AS ad_role_id, $3 AS ad_user_id, $4||inst.value AS description, $5 AS isActive, inst.ad_org_id, inst.ad_client_id, now() AS created, $6 AS createdBy, now() AS updated, $7 AS updatedBy from prpass_pass_inst inst where value IN ( select value from prpass_pass_inst where created >= current_date - $8 group by value having count(value) > $9 )) AAA where not exists (select $10 from ad_alert a where a.ad_alertrule_id = $1 and a.referencekey_id = aaa.referencekey_id and coalesce(a.status, $11) != $12) |
| 67a75a3409 | 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 |
| 9f02b11411 | select materialmg0_.M_Transaction_ID as M_Transa1_558_, materialmg0_.AD_Client_ID as AD_Clien2_558_, materialmg0_.AD_Org_ID as AD_Org_I3_558_, materialmg0_.IsActive as IsActive4_558_, materialmg0_.Created as Created5_558_, materialmg0_.CreatedBy as CreatedB6_558_, materialmg0_.Updated as Updated7_558_, materialmg0_.UpdatedBy as UpdatedB8_558_, materialmg0_.MovementType as Movement9_558_, materialmg0_.M_Locator_ID as M_Locat10_558_, materialmg0_.M_Product_ID as M_Produ11_558_, materialmg0_.MovementDate as Movemen12_558_, materialmg0_.MovementQty as Movemen13_558_, materialmg0_.M_InventoryLine_ID as M_Inven14_558_, materialmg0_.M_MovementLine_ID as M_Movem15_558_, materialmg0_.M_InOutLine_ID as M_InOut16_558_, materialmg0_.M_ProductionLine_ID as M_Produ17_558_, materialmg0_.C_ProjectIssue_ID as C_Proje18_558_, materialmg0_.M_AttributeSetInstance_ID as M_Attri19_558_, materialmg0_.M_Product_Uom_Id as M_Produ20_558_, materialmg0_.QuantityOrder as Quantit21_558_, materialmg0_.C_UOM_ID as C_UOM_I22_558_, materialmg0_.M_Internal_Consumptionline_ID as M_Inter23_558_, materialmg0_.TransactionCost as Transac24_558_, materialmg0_.TrxProcessDate as TrxProc25_558_, materialmg0_.M_Costing_Algorithm_ID as M_Costi26_558_, materialmg0_.IsCostCalculated as IsCostC27_558_, materialmg0_.C_Currency_ID as C_Curre28_558_, materialmg0_.Costing_Status as Costing29_558_, materialmg0_.Checkreservedqty as Checkre30_558_, materialmg0_.Isprocessed as Isproce31_558_, materialmg0_.Checkpricedifference as Checkpr32_558_, materialmg0_.EM_Prouti_Exported as EM_Prou33_558_, materialmg0_.Manualcostadjustment as Manualc34_558_, materialmg0_.IsCostPermanent as IsCostP35_558_, materialmg0_.EM_Pricm_Inoutline_ID as EM_Pric36_558_ from M_Transaction materialmg0_ inner join M_ProductionLine manufactur1_ on materialmg0_.M_ProductionLine_ID=manufactur1_.M_ProductionLine_ID inner join M_ProductionPlan materialmg2_ on manufactur1_.M_ProductionPlan_ID=materialmg2_.M_ProductionPlan_ID where materialmg2_.Line<$1 and materialmg2_.M_Production_ID=$2 and manufactur1_.M_Product_ID=$3 and manufactur1_.MovementQty>0 and materialmg0_.IsCostCalculated='N' and (materialmg0_.AD_Org_ID in ($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)) and (materialmg0_.AD_Client_ID in ($42 , $43)) and materialmg0_.IsActive='Y' |
| 7f59edd627 | SELECT 1 FROM ONLY "public"."m_locator" x WHERE "m_locator_id"::pg_catalog.text OPERATOR(pg_catalog.=) $1::pg_catalog.text FOR KEY SHARE OF x |
| 1452c325d3 | SELECT 1 FROM ONLY "public"."m_attributesetinstance" x WHERE "m_attributesetinstance_id"::pg_catalog.text OPERATOR(pg_catalog.=) $1::pg_catalog.text FOR KEY SHARE OF x |
| d5c8e0e271 | INSERT INTO m_stock_proposed ( m_stock_proposed_id, ad_client_id, ad_org_id, isactive, created , createdby, updated, updatedby, ad_pinstance_id, priority, m_storage_detail_id, quantity, qtyorder, isfinal ) VALUES ( get_uuid(), v_ClientID, v_OrgID, $60, TO_DATE(NOW()), v_AD_User_ID, TO_DATE(NOW()), v_AD_User_ID, p_uuid, v_Count, Cur_Stock.M_STORAGE_DETAIL_ID, Cur_Stock.Qty, Cur_Stock.QtyOrder, $61 ) |
| 84dd1037ec | INSERT INTO prpass_pass_trans_hist ( prpass_pass_trans_hist_id, ad_client_id, ad_org_id, isactive, created, createdby, updated, updatedby, prpass_pass_inst_hist_id, ad_validation_org_id, ad_validation_user_id, obpos_applications_id) SELECT prpass_pass_trans_id, ad_client_id, ad_org_id, isactive, created, createdby, updated, updatedby, prpass_pass_inst_id, ad_validation_org_id, ad_validation_user_id, obpos_applications_id FROM prpass_pass_trans WHERE prpass_pass_inst_id = ANY ($1) |
| 86332db8f0 | COPY public.m_transaction (m_transaction_id, ad_client_id, ad_org_id, isactive, created, createdby, updated, updatedby, movementtype, m_locator_id, m_product_id, movementdate, movementqty, m_inventoryline_id, m_movementline_id, m_inoutline_id, m_productionline_id, c_projectissue_id, m_attributesetinstance_id, m_product_uom_id, quantityorder, c_uom_id, m_internal_consumptionline_id, transactioncost, trxprocessdate, m_costing_algorithm_id, iscostcalculated, c_currency_id, costing_status, checkreservedqty, isprocessed, checkpricedifference, manualcostadjustment, iscostpermanent, em_prouti_exported, em_pricm_inoutline_id) TO stdout |
| 03d9123317 | select order0_.C_Order_ID as C_Order_1_276_, order0_.AD_Client_ID as AD_Clien2_276_, order0_.AD_Org_ID as AD_Org_I3_276_, order0_.IsActive as IsActive4_276_, order0_.Created as Created5_276_, order0_.CreatedBy as CreatedB6_276_, order0_.Updated as Updated7_276_, order0_.UpdatedBy as UpdatedB8_276_, order0_.IsSOTrx as IsSOTrx9_276_, order0_.DocumentNo as Documen10_276_, order0_.DocStatus as DocStat11_276_, order0_.DocAction as DocActi12_276_, order0_.Processing as Process13_276_, order0_.Processed as Process14_276_, order0_.C_DocType_ID as C_DocTy15_276_, order0_.C_DocTypeTarget_ID as C_DocTy16_276_, order0_.Description as Descrip17_276_, order0_.IsDelivered as IsDeliv18_276_, order0_.IsInvoiced as IsInvoi19_276_, order0_.IsPrinted as IsPrint20_276_, order0_.IsSelected as IsSelec21_276_, order0_.SalesRep_ID as SalesRe22_276_, order0_.DateOrdered as DateOrd23_276_, order0_.DatePromised as DatePro24_276_, order0_.DatePrinted as DatePri25_276_, order0_.DateAcct as DateAcc26_276_, order0_.C_BPartner_ID as C_BPart27_276_, order0_.BillTo_ID as BillTo_28_276_, order0_.C_BPartner_Location_ID as C_BPart29_276_, order0_.POReference as PORefer30_276_, order0_.IsDiscountPrinted as IsDisco31_276_, order0_.C_Currency_ID as C_Curre32_276_, order0_.PaymentRule as Payment33_276_, order0_.C_PaymentTerm_ID as C_Payme34_276_, order0_.InvoiceRule as Invoice35_276_, order0_.DeliveryRule as Deliver36_276_, order0_.FreightCostRule as Freight37_276_, order0_.FreightAmt as Freight38_276_, order0_.DeliveryViaRule as Deliver39_276_, order0_.M_Shipper_ID as M_Shipp40_276_, order0_.C_Charge_ID as C_Charg41_276_, order0_.ChargeAmt as ChargeA42_276_, order0_.PriorityRule as Priorit43_276_, order0_.TotalLines as TotalLi44_276_, order0_.GrandTotal as GrandTo45_276_, order0_.M_Warehouse_ID as M_Wareh46_276_, order0_.M_PriceList_ID as M_Price47_276_, order0_.IsTaxIncluded as IsTaxIn48_276_, order0_.C_Campaign_ID as C_Campa49_276_, order0_.C_Project_ID as C_Proje50_276_, order0_.C_Activity_ID as C_Activ51_276_, order0_.Posted as Posted52_276_, order0_.AD_User_ID as AD_User53_276_, order0_.CopyFrom as CopyFro54_276_, order0_.DropShip_BPartner_ID as DropShi55_276_, order0_.DropShip_Location_ID as DropShi56_276_, order0_.DropShip_User_ID as DropShi57_276_, order0_.IsSelfService as IsSelfS58_276_, order0_.AD_OrgTrx_ID as AD_OrgT59_276_, order0_.User1_ID as User60_276_, order0_.User2_ID as User61_276_, order0_.Deliverynotes as Deliver62_276_, order0_.C_Incoterms_ID as C_Incot63_276_, order0_.Incotermsdescription as Incoter64_276_, order0_.Generatetemplate as Generat65_276_, order0_.Delivery_Location_ID as Deliver66_276_, order0_.CopyFromPO as CopyFro67_276_, order0_.FIN_Paymentmethod_ID as FIN_Pay68_276_, order0_.FIN_Payment_Priority_ID as FIN_Pay69_276_, order0_.RM_PickFromShipment as RM_Pick70_276_, order0_.RM_ReceiveMaterials as RM_Rece71_276_, order0_.EM_Obcma_C_Poc_Email_ID as EM_Obcm72_276_, order0_.RM_CreateInvoice as RM_Crea73_276_, order0_.C_Return_Reason_ID as C_Retur74_276_, order0_.RM_AddOrphanLine as RM_AddO75_276_, order0_.A_Asset_ID as A_Asset76_276_, order0_.Calculate_Promotions as Calcula77_276_, order0_.C_Costcenter_ID as C_Costc78_276_, order0_.Convertquotation as Convert79_276_, order0_.C_Reject_Reason_ID as C_Rejec80_276_, order0_.validuntil as validun81_276_, order0_.Quotation_ID as Quotati82_276_, order0_.SO_Res_Status as SO_Res_83_276_, order0_.Create_POLines as Create_84_276_, order0_.EM_Obdisc_Addpack as EM_Obdi85_276_, order0_.Iscashvat as Iscashv86_276_, order0_.EM_OBMFM_Selectfreight as EM_OBMF87_276_, order0_.EM_OBMFM_Delivery_Period_ID as EM_OBMF88_276_, order0_.RM_Pickfromreceipt as RM_Pick89_276_, order0_.Cancelandreplace as Cancela90_276_, order0_.EM_Advcrm_Newactivity as EM_Advc91_276_, order0_.EM_APRM_AddPayment as EM_APRM92_276_, order0_.EM_OBMFM_Delivery_Charges as EM_OBMF93_276_, order0_.EM_OBMFM_Freight_ID as EM_OBMF94_276_, order0_.EM_Obwpl_Generatepicking as EM_Obwp95_276_, order0_.EM_Advcrm_Opportunity_ID as EM_Advc96_276_, order0_.EM_OBMFM_Weight as EM_OBMF97_276_, order0_.EM_Obwpl_Isinpickinglist as EM_Obwp98_276_, order0_.EM_Rcinv_Contractdate as EM_Rcin99_276_, order0_.EM_Obwpl_Readypl as EM_Obw100_276_, order0_.EM_Rcinv_Initialdate as EM_Rci101_276_, order0_.EM_Rcinv_Enddate as EM_Rci102_276_, order0_.EM_Sgpcrm_Securitygroups_ID as EM_Sgp103_276_, order0_.EM_OBMFM_Weight_Uom_ID as EM_OBM104_276_, order0_.EM_Rcinv_Frequency as EM_Rci105_276_, order0_.EM_OBMFM_Set_Weight as EM_OBM106_276_, order0_.EM_Rcinv_Renewautomatically as EM_Rci107_276_, order0_.EM_Aeatsii_Fecha_Operacion as EM_Aea108_276_, order0_.EM_Ml_Select_Product as EM_Ml_109_276_, order0_.EM_Rcinv_Renovationtimes as EM_Rci110_276_, order0_.Confirmcancelandreplace as Confir111_276_, order0_.EM_Aeatsii_Descripcion_Sii as EM_Aea112_276_, order0_.EM_Obpos_Applications_ID as EM_Obp113_276_, order0_.EM_Rcinv_Freqrenovationtime as EM_Rci114_276_, order0_.EM_Obpos_Sendemail as EM_Obp115_276_, order0_.EM_Rcinv_Ordercontract_ID as EM_Rci116_276_, order0_.EM_Obpos_Email_Status as EM_Obp117_276_, order0_.EM_Rcinv_Freqtime as EM_Rci118_276_, order0_.Cancelledorder_id as Cancel119_276_, order0_.EM_Obpos_App_Cashup_ID as EM_Obp120_276_, order0_.EM_Obpos_Createdabsolute as EM_Obp121_276_, order0_.Replacedorder_id as Replac122_276_, order0_.EM_OBPOS_NotInvoiceOnCashUp as EM_OBP123_276_, order0_.EM_Obpos_Rejected_Quotat_ID as EM_Obp124_276_, order0_.EM_Obpos_Isdeleted as EM_Obp125_276_, order0_.Iscancelled as Iscanc126_276_, order0_.EM_Obpos_Islayaway as EM_Obp127_276_, order0_.EM_Obpos_Prepaymentamt as EM_Obp128_276_, order0_.Replacementorder_ID as Replac129_276_, order0_.EM_Obpos_Prepaymentlimitamt as EM_Obp130_276_, order0_.EM_Obpos_Prepaymentlaylimitamt as EM_Obp131_276_, order0_.EM_Obpos_Rounding_Amount as EM_Obp132_276_, order0_.BPartner_ExtRef as BPartn133_276_, order0_.EM_Obpos_Sequencename as EM_Obp134_276_, order0_.EM_Prqc_Clauses_Selector as EM_Prq135_276_, order0_.EM_Obpos_Sequencenumber as EM_Obp136_276_, order0_.EM_Rcinv_Cancelcontract as EM_Rci137_276_, order0_.EM_Rcinv_Cancelleddate as EM_Rci138_276_, order0_.EM_Rcinv_Iscancelled as EM_Rci139_276_, order0_.EM_Psat_Activity_ID as EM_Psa140_276_, order0_.EM_OBSMAIL_EmailAddress as EM_OBS141_276_, order0_.EM_Prouti_Order_Stock as EM_Pro142_276_, order0_.EM_Prouti_Pregenerate_Minout as EM_Pro143_276_, order0_.EM_Prouti_Sotopo as EM_Pro144_276_, order0_.EM_Prouti_Generate_Pick_Inv as EM_Pro145_276_, order0_.EM_Pricm_Order_ID as EM_Pri146_276_, order0_.EM_Prouti_Order_ID as EM_Pro147_276_, order0_.EM_Prouti_Grandtotalinitial as EM_Pro148_276_, order0_.EM_Prouti_Dateclosed as EM_Pro149_276_, order0_.EM_Prouti_Totallinesinitial as EM_Pro150_276_, order0_.EM_Prouti_Changebpartner as EM_Pro151_276_, order0_.EM_Prouti_Recalculate_Price as EM_Pro152_276_, order0_.em_prqr_execute as em_prq153_276_, order0_.EM_Prouti_Pricecalculatetdate as EM_Pro154_276_, order0_.EM_Prqr_Execute_Purchase as EM_Prq155_276_, order0_.EM_Prouti_Reactiveorder as EM_Pro156_276_, order0_.EM_Prqr_Return_Select_Prod as EM_Prq157_276_, order0_.EM_Prouti_Totalizations as EM_Pro158_276_, order0_.em_prouti_Invoiced as em_pro159_276_, order0_.em_prouti_Received as em_pro160_276_, order0_.em_prouti_initial_received as em_pro161_276_, order0_.EM_Prouti_Status_Of_Review as EM_Pro162_276_, order0_.EM_Prouti_Validate_Order as EM_Pro163_276_, order0_.EM_Prouti_Start_Review as EM_Pro164_276_, order0_.EM_Ml_Select_Product_Byattrib as EM_Ml_165_276_, order0_.EM_Prres_Reservation_ID as EM_Prr166_276_, order0_.EM_Prres_Responsible_ID as EM_Prr167_276_, order0_.EM_Prres_Diners as EM_Prr168_276_, order0_.EM_Prres_Sended as EM_Prr169_276_, order0_.EM_Prres_Printed as EM_Prr170_276_, order0_.EM_Prouti_Initial_Bp_ID as EM_Pro171_276_, order0_.EM_Prouti_Addlines_Btn as EM_Pro172_276_, order0_.EM_Prtoma_Tomaticket_ID as EM_Prt173_276_, order0_.EM_Cactl_IsCopy as EM_Cac174_276_, order0_.EM_Prtoma_Jsonorder as EM_Prt175_276_, order0_.EM_Prres_Paid_On_Credit as EM_Prr176_276_, order0_.EM_Prtoma_Grossamount as EM_Prt177_276_, order0_.EM_Cactl_Internal_Notes_Group as EM_Cac178_276_, order0_.EM_Prouti_Changebpartner_Bgt as EM_Pro179_276_, order0_.EM_Prrgr_Locator_ID as EM_Prr180_276_, order0_.EM_Paytef_Transactionreference as EM_Pay181_276_, order0_.EM_Cactl_Indirect_Cost_ID as EM_Cac182_276_, order0_.EM_Cactl_Calculate_Cost as EM_Cac183_276_, order0_.EM_Cactl_Totalcost as EM_Cac184_276_, order0_.EM_Cactl_Forceselectedproject as EM_Cac185_276_, order0_.EM_Cactl_Verified_Return as EM_Cac186_276_, order0_.EM_Cactl_Duplicate_Budget as EM_Cac187_276_, order0_.EM_Prres_Orig_Order_ID as EM_Prr188_276_, order0_.EM_Prcpr_Is_Cloned as EM_Prc189_276_, order0_.EM_Prouti_Select_Soline as EM_Pro190_276_, order0_.EM_Prouti_Return_Quantity as EM_Pro191_276_, order0_.EM_Prqr_Executecredit as EM_Prq192_276_, order0_.Em_Prqr_Credit_Purchase_ID as Em_Prq193_276_ from C_Order order0_ cross join C_DocType documentty1_ where order0_.C_DocTypeTarget_ID=documentty1_.C_DocType_ID and order0_.IsSOTrx=$43 and documentty1_.IsReturn=$44 and (order0_.Updated>$1 or order0_.Processed=$45) and (order0_.AD_Org_ID in ($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)) and (order0_.AD_Client_ID in ($40 , $41)) order by order0_.DateOrdered desc, order0_.C_Order_ID desc limit $42 |
| 9918228dba | select prges_conf0_.Prges_Config_ID as Prges_Co1_830_1_, prges_conf0_.AD_Client_ID as AD_Clien2_830_1_, prges_conf0_.AD_Org_ID as AD_Org_I3_830_1_, prges_conf0_.Created as Created4_830_1_, prges_conf0_.Createdby as Createdb5_830_1_, prges_conf0_.Updated as Updated6_830_1_, prges_conf0_.Updatedby as Updatedb7_830_1_, prges_conf0_.Isactive as Isactive8_830_1_, prges_conf0_.Url as Url9_830_1_, prges_conf0_.Token as Token10_830_1_, prges_conf0_.C_Doctype_ID as C_Docty11_830_1_, prges_conf0_.Hold_Seconds as Hold_Se12_830_1_, prges_conf0_.Addon as Addon13_830_1_, prgesrecor1_.Prges_Config_ID as Prges_C16_831_3_, prgesrecor1_.Prges_Records_ID as Prges_Re1_831_3_, prgesrecor1_.Prges_Records_ID as Prges_Re1_831_0_, prgesrecor1_.AD_Client_ID as AD_Clien2_831_0_, prgesrecor1_.AD_Org_ID as AD_Org_I3_831_0_, prgesrecor1_.Created as Created4_831_0_, prgesrecor1_.Createdby as Createdb5_831_0_, prgesrecor1_.Updated as Updated6_831_0_, prgesrecor1_.Updatedby as Updatedb7_831_0_, prgesrecor1_.Isactive as Isactive8_831_0_, prgesrecor1_.Action as Action9_831_0_, prgesrecor1_.Url as Url10_831_0_, prgesrecor1_.Jsoninfo as Jsoninf11_831_0_, prgesrecor1_.Error as Error12_831_0_, prgesrecor1_.Process as Process13_831_0_, prgesrecor1_.Status as Status14_831_0_, prgesrecor1_.C_Invoice_ID as C_Invoi15_831_0_, prgesrecor1_.Prges_Config_ID as Prges_C16_831_0_ from prges_config prges_conf0_ left outer join prges_records prgesrecor1_ on prges_conf0_.Prges_Config_ID=prgesrecor1_.Prges_Config_ID where prges_conf0_.Prges_Config_ID=$1 |
| 1b416379ea | insert into M_InOutLine (AD_Client_ID, AD_Org_ID, IsActive, Created, CreatedBy, Updated, UpdatedBy, Line, Description, M_InOut_ID, C_OrderLine_ID, M_Locator_ID, M_Product_ID, C_UOM_ID, MovementQty, IsInvoiced, IsDescription, Manage_Prereservation, C_Bpartner_ID, Explode, EM_Obwpl_Editlines_Pe, EM_Obwpl_Removeline, EM_Pruti_Voidlines, EM_Pruti_Isvoid, M_InOutLine_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) |
| 089f5b9354 | COPY public.m_productionline (m_productionline_id, ad_client_id, ad_org_id, isactive, created, createdby, updated, updatedby, m_productionplan_id, line, m_product_id, movementqty, m_locator_id, description, m_attributesetinstance_id, m_product_uom_id, quantityorder, c_uom_id, calculated, productiontype, rejectedquantity, calccost, componentcost, ma_wrphaseproduct_id, divisiongroupqty, em_cactl_losses, em_cactl_added_manually) TO stdout |
| d545a87b3d | update C_Invoice set Updated=$1, LastCalculatedOnDate=$2 where C_Invoice_ID=$3 |
| ff35139986 | SELECT * FROM C_Order_Post($1) |
| ab6445a3b6 | select this_.AD_TreeNode_ID as AD_TreeN1_125_0_, this_.AD_Tree_ID as AD_Tree_2_125_0_, this_.Node_ID as Node_ID3_125_0_, this_.AD_Client_ID as AD_Clien4_125_0_, this_.AD_Org_ID as AD_Org_I5_125_0_, this_.IsActive as IsActive6_125_0_, this_.Created as Created7_125_0_, this_.CreatedBy as CreatedB8_125_0_, this_.Updated as Updated9_125_0_, this_.UpdatedBy as Updated10_125_0_, this_.Parent_ID as Parent_11_125_0_, this_.SeqNo as SeqNo12_125_0_ from AD_TreeNode this_ where this_.Node_ID=$1 and this_.Parent_ID<>$2 and this_.IsActive=$3 |
| 66933eedde | select f.id, f.hour, CASE WHEN f.reservation_type = $1 AND f.multiplier is not null THEN f.available * f.multiplier ELSE f.available END as available, CASE WHEN f.reservation_type = $2 AND f.multiplier is not null THEN f.reserved * f.multiplier ELSE f.reserved END as reserved, f.slot_type FROM ( select ptd.prpass_timeslots_detail_id as id, to_char(ptd.hour, $3) as hour, coalesce( (select qtyavailable from prpass_timeslots_exceptions pte where pte.prpass_timeslots_id = ptd.prpass_timeslots_id and (ptd.hour is null OR (to_char(pte.hour, $4) = to_char(ptd.hour, $5))) and pte.date = $6::date), CASE WHEN (EXTRACT($7 FROM ($8::timestamp - CURRENT_DATE)) / $9 >= pt.agency_reservation_time) OR (ptd.qtyavailable_agency > $10 AND pt.agency_reservation_time is null) THEN CASE WHEN $11 THEN COALESCE(ptd.qtyavailable_agency, COALESCE(ptd.qtyavailable_online, qtyavailable)) WHEN $12 AND ptd.qtyavailable_online = $13 THEN ptd.qtyavailable_online ELSE (COALESCE(ptd.qtyavailable_online, qtyavailable)) - ptd.qtyavailable_agency END ELSE CASE WHEN pt.slot_type = $14 AND $15 THEN COALESCE(ptd.qtyavailable_online, ptd.qtyavailable) ELSE ptd.qtyavailable END END) as available, coalesce( (select sum( CASE WHEN pt.reservation_type = $16 AND f.cart is not null AND pt.multiplier is not null THEN floor((f.qtyreservation + pt.multiplier - $17) / pt.multiplier) ELSE f.qtyreservation END) from( select CASE WHEN max(ptr.c_orderline_id) is not null THEN count(ppi.prpass_pass_inst_id) ELSE max(ptr.qtyreservation) END as qtyreservation, cart from prpass_timeslots_res ptr left join c_orderline col on col.c_orderline_id = ptr.c_orderline_id left join c_order co on co.c_order_id = col.c_order_id left join prpass_pass_inst ppi on ppi.c_orderline_id = col.c_orderline_id where ptr.prpass_timeslots_detail_id = ptd.prpass_timeslots_detail_id and ptr.date = $18::date and (pt.slot_type <> $19 or (pt.slot_type = $20 and CASE WHEN $21 THEN co.em_obpos_applications_id is null OR ptr.c_orderline_id is null ELSE co.em_obpos_applications_id is not null OR ptr.c_orderline_id is null END)) and (CASE WHEN (EXTRACT($22 FROM (ptr.date - CURRENT_DATE)) / $23 >= pt.agency_reservation_time) OR (ptd.qtyavailable_agency > $24 AND pt.agency_reservation_time is null) THEN CASE WHEN $25 THEN ptr.agency = $26 ELSE ptr.agency = $27 END ELSE $28 END) and (ppi.status <>$29 or ppi.status is null) and cart is not null group by cart ) as f), $30) as reserved, pt.multiplier, pt.reservation_type, pt.slot_type from prpass_timeslots_detail ptd join prpass_timeslots pt on pt.prpass_timeslots_id = ptd.prpass_timeslots_id where ptd.prpass_timeslots_id = $31 order by 2 asc) AS f |
| 7247cdc8b5 | select c_import_e0_.C_IMPORT_ENTRY_ID as C_IMPORT1_257_, c_import_e0_.AD_Client_ID as AD_Clien2_257_, c_import_e0_.AD_Org_ID as AD_Org_I3_257_, c_import_e0_.Isactive as Isactive4_257_, c_import_e0_.Created as Created5_257_, c_import_e0_.Createdby as Createdb6_257_, c_import_e0_.Updated as Updated7_257_, c_import_e0_.Updatedby as Updatedb8_257_, c_import_e0_.Imported as Imported9_257_, c_import_e0_.Jsoninfo as Jsoninf10_257_, c_import_e0_.ImportStatus as ImportS11_257_, c_import_e0_.Typeofdata as Typeofd12_257_, c_import_e0_.Errorinfo as Errorin13_257_, c_import_e0_.AD_Role_ID as AD_Role14_257_, c_import_e0_.Createdtimestamp as Created15_257_, c_import_e0_.EM_Obpos_Applications_ID as EM_Obpo16_257_, c_import_e0_.Responseinfo as Respons17_257_ from C_IMPORT_ENTRY c_import_e0_ where c_import_e0_.Typeofdata=$1 and c_import_e0_.ImportStatus=$3 order by c_import_e0_.Created, c_import_e0_.Createdtimestamp limit $2 |
| 214f622e78 | select prpass_pas0_.Prpass_Pass_Inst_ID as Prpass_P1_878_, prpass_pas0_.AD_Client_ID as AD_Clien2_878_, prpass_pas0_.AD_Org_ID as AD_Org_I3_878_, prpass_pas0_.Isactive as Isactive4_878_, prpass_pas0_.Created as Created5_878_, prpass_pas0_.Createdby as Createdb6_878_, prpass_pas0_.Updated as Updated7_878_, prpass_pas0_.Updatedby as Updatedb8_878_, prpass_pas0_.Value as Value9_878_, prpass_pas0_.Status as Status10_878_, prpass_pas0_.C_Orderline_ID as C_Order11_878_, prpass_pas0_.C_Order_ID as C_Order12_878_, prpass_pas0_.Dateordered as Dateord13_878_, prpass_pas0_.C_Bpartner_ID as C_Bpart14_878_, prpass_pas0_.M_Product_ID as M_Produ15_878_, prpass_pas0_.Obpos_Applications_ID as Obpos_A16_878_, prpass_pas0_.Cancel as Cancel17_878_, prpass_pas0_.AD_Creation_Org_ID as AD_Crea18_878_, prpass_pas0_.Expirationdate as Expirat19_878_, prpass_pas0_.EM_Cactl_Gl_Journal_ID as EM_Cact20_878_, prpass_pas0_.Prpass_Timeslots_Detail_ID as Prpass_21_878_, prpass_pas0_.Prpass_Timeslots_Res_ID as Prpass_22_878_, prpass_pas0_.Time_First_Pick as Time_Fi23_878_, prpass_pas0_.Validate_Manual as Validat24_878_, prpass_pas0_.Unlimited as Unlimit25_878_ from prpass_pass_inst prpass_pas0_ where (upper(prpass_pas0_.Value) like upper($1) escape $43) and (prpass_pas0_.AD_Org_ID in ($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)) and (prpass_pas0_.AD_Client_ID in ($40 , $41)) order by prpass_pas0_.Value, prpass_pas0_.Prpass_Pass_Inst_ID limit $42 |
| 695482b977 | COPY public.c_orderline (c_orderline_id, ad_client_id, ad_org_id, isactive, created, createdby, updated, updatedby, c_order_id, line, c_bpartner_id, c_bpartner_location_id, dateordered, datepromised, datedelivered, dateinvoiced, description, m_product_id, m_warehouse_id, directship, c_uom_id, qtyordered, qtyreserved, qtydelivered, qtyinvoiced, m_shipper_id, c_currency_id, pricelist, priceactual, pricelimit, linenetamt, discount, freightamt, c_charge_id, chargeamt, c_tax_id, s_resourceassignment_id, ref_orderline_id, m_attributesetinstance_id, isdescription, quantityorder, m_product_uom_id, m_offer_id, pricestd, cancelpricead, c_order_discount_id, iseditlinenetamt, taxbaseamt, m_inoutline_id, c_return_reason_id, gross_unit_price, line_gross_amount, grosspricelist, c_costcenter_id, grosspricestd, a_asset_id, m_warehouse_rule_id, user1_id, quotationline_id, user2_id, create_reservation, c_project_id, so_res_status, manage_reservation, manage_prereservation, explode, bom_parent_id, print_description, overdue_return_days, relate_orderline, replacedorderline_id, c_aum, aumqty, returnline, em_obmfm_isfreightamt, em_obmfm_freight_definition_id, em_obpos_epccode, em_obpos_serialnumber, em_obpos_isdeleted, em_obpos_service_proposed, em_obpos_qtydeleted, em_obpos_canbedelivered, em_obpos_ispaid, em_obpos_pricereason_id, em_obrdm_delivery_mode, em_obrdm_delivery_date, em_obrdm_delivery_time, em_obrdm_amttopayindelivery, em_prouti_closeline, em_prouti_orderline_id, em_prouti_qtyinitial, em_prouti_linenetamtinitial, em_obwpl_readypl, em_obbom_ingredientsarray, em_prpass_autovalidation, em_prres_qtysenttokitchen, em_prres_menu_section_id, em_prres_menu_oline_id, em_prres_combination_link, em_prres_current_eat, em_psat_activity_log_id, em_psat_act_consumption_id, em_cactl_variety_product_id, em_cactl_priceoperative, em_prres_qtyprintinkitchen, em_cactl_before_order_price, em_cactl_c_bpartner_id, em_cactl_subject_request, em_cactl_aditional_info, em_cactl_totalcostline, em_prouti_cancelreason_id, em_prouti_canceled, em_prouti_canceledby, em_prouti_recalculate_qtyinit, em_prres_ismoved, em_prres_operativeqty_initial) TO stdout |
| fd1086c39a | insert into ad_context_info (ad_user_id, ad_session_id, processType, processId) values ($1, $2, $3, $4) |
| 38988e8d9f | insert into ad_context_info (ad_user_id, ad_session_id, processType, processId) values ($1, $2, $3, $4) |
| 145f4813e8 | insert into ad_context_info (ad_user_id, ad_session_id, processType, processId) values ($1, $2, $3, $4) |
| 943d79be4b | 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 |
| b57306362a | delete from prpass_timeslots_res where Prpass_Timeslots_Res_ID=$1 |
| 75890e23a4 | SELECT * FROM M_GET_STOCK_PARAM($1, $2, TO_NUMBER($3), $4, $5, $6, $7, $8, $9, $10, $11, $12, $13, $14, $15, $16, TO_NUMBER($17), $18, $19, $20, $21, $22, $23) |
| 43a80059e4 | SELECT * FROM C_Invoice_Create($8, v_Record_ID) |
| 22615c404b | select invoice0_.C_Invoice_ID as C_Invoic1_260_, invoice0_.AD_Client_ID as AD_Clien2_260_, invoice0_.AD_Org_ID as AD_Org_I3_260_, invoice0_.IsActive as IsActive4_260_, invoice0_.Created as Created5_260_, invoice0_.CreatedBy as CreatedB6_260_, invoice0_.Updated as Updated7_260_, invoice0_.UpdatedBy as UpdatedB8_260_, invoice0_.IsSOTrx as IsSOTrx9_260_, invoice0_.DocumentNo as Documen10_260_, invoice0_.DocStatus as DocStat11_260_, invoice0_.DocAction as DocActi12_260_, invoice0_.Processing as Process13_260_, invoice0_.Processed as Process14_260_, invoice0_.Posted as Posted15_260_, invoice0_.C_DocType_ID as C_DocTy16_260_, invoice0_.C_DocTypeTarget_ID as C_DocTy17_260_, invoice0_.C_Order_ID as C_Order18_260_, invoice0_.Description as Descrip19_260_, invoice0_.IsPrinted as IsPrint20_260_, invoice0_.SalesRep_ID as SalesRe21_260_, invoice0_.DateInvoiced as DateInv22_260_, invoice0_.DatePrinted as DatePri23_260_, invoice0_.DateAcct as DateAcc24_260_, invoice0_.C_BPartner_ID as C_BPart25_260_, invoice0_.C_BPartner_Location_ID as C_BPart26_260_, invoice0_.POReference as PORefer27_260_, invoice0_.IsDiscountPrinted as IsDisco28_260_, invoice0_.DateOrdered as DateOrd29_260_, invoice0_.C_Currency_ID as C_Curre30_260_, invoice0_.C_PaymentTerm_ID as C_Payme31_260_, invoice0_.C_Charge_ID as C_Charg32_260_, invoice0_.ChargeAmt as ChargeA33_260_, invoice0_.TotalLines as TotalLi34_260_, invoice0_.GrandTotal as GrandTo35_260_, invoice0_.M_PriceList_ID as M_Price36_260_, invoice0_.IsTaxIncluded as IsTaxIn37_260_, invoice0_.C_Campaign_ID as C_Campa38_260_, invoice0_.C_Project_ID as C_Proje39_260_, invoice0_.C_Activity_ID as C_Activ40_260_, invoice0_.CreateFrom as CreateF41_260_, invoice0_.GenerateTo as Generat42_260_, invoice0_.AD_User_ID as AD_User43_260_, invoice0_.CopyFrom as CopyFro44_260_, invoice0_.IsSelfService as IsSelfS45_260_, invoice0_.AD_OrgTrx_ID as AD_OrgT46_260_, invoice0_.User1_ID as User47_260_, invoice0_.User2_ID as User48_260_, invoice0_.Withholdingamount as Withhol49_260_, invoice0_.Taxdate as Taxdate50_260_, invoice0_.C_Withholding_ID as C_Withh51_260_, invoice0_.Ispaid as Ispaid52_260_, invoice0_.EM_Einv_Generated as EM_Einv53_260_, invoice0_.Totalpaid as Totalpa54_260_, invoice0_.EM_Einv_Sent as EM_Einv55_260_, invoice0_.OutstandingAmt as Outstan56_260_, invoice0_.DaysTillDue as DaysTil57_260_, invoice0_.DueAmt as DueAmt58_260_, invoice0_.LastCalculatedOnDate as LastCal59_260_, invoice0_.FIN_Paymentmethod_ID as FIN_Pay60_260_, invoice0_.FIN_Payment_Priority_ID as FIN_Pay61_260_, invoice0_.Finalsettlement as Finalse62_260_, invoice0_.Daysoutstanding as Daysout63_260_, invoice0_.Percentageoverdue as Percent64_260_, invoice0_.C_Costcenter_ID as C_Costc65_260_, invoice0_.Calculate_Promotions as Calcula66_260_, invoice0_.A_Asset_ID as A_Asset67_260_, invoice0_.EM_APRM_Addpayment as EM_APRM68_260_, invoice0_.Iscashvat as Iscashv69_260_, invoice0_.EM_APRM_Processinvoice as EM_APRM70_260_, invoice0_.EM_Obcma_C_Poc_Email_ID as EM_Obcm71_260_, invoice0_.Prepaymentamt as Prepaym72_260_, invoice0_.Createfromorders as Createf73_260_, invoice0_.Createfrominouts as Createf74_260_, invoice0_.EM_Advcrm_Newactivity as EM_Advc75_260_, invoice0_.Paidamtatinvoicing as Paidamt76_260_, invoice0_.EM_Obpos_Rounding_Amount as EM_Obpo77_260_, invoice0_.EM_Sgpcrm_Securitygroups_ID as EM_Sgpc78_260_, invoice0_.BPartner_ExtRef as BPartne79_260_, invoice0_.EM_Aeatsii_Send as EM_Aeat80_260_, invoice0_.EM_Obpos_Sequencename as EM_Obpo81_260_, invoice0_.EM_Aeatsii_Issent as EM_Aeat82_260_, invoice0_.EM_Obpos_Sequencenumber as EM_Obpo83_260_, invoice0_.EM_Aeatsii_Fecha_Operacion as EM_Aeat84_260_, invoice0_.EM_Aeatsii_Clave_Tipo as EM_Aeat85_260_, invoice0_.EM_Aeatsii_Motivo_Rectif as EM_Aeat86_260_, invoice0_.EM_Prouti_Recalculate_Price as EM_Prou87_260_, invoice0_.EM_Aeatsii_Clave_Tipo_Fc as EM_Aeat88_260_, invoice0_.EM_Ml_Select_Product as EM_Ml_S89_260_, invoice0_.EM_Prouti_Pricecalculatetdate as EM_Prou90_260_, invoice0_.EM_Aeatsii_Tipo_Rectif as EM_Aeat91_260_, invoice0_.EM_Prouti_Totalizations as EM_Prou92_260_, invoice0_.EM_Aeatsii_Dua as EM_Aeat93_260_, invoice0_.EM_Aeatsii_Fecha_Dua as EM_Aeat94_260_, invoice0_.EM_Aeatsii_Estado as EM_Aeat95_260_, invoice0_.EM_Aeatsii_Error_Registral as EM_Aeat96_260_, invoice0_.EM_Aeatsii_Modif as EM_Aeat97_260_, invoice0_.EM_Aeatsii_Modified as EM_Aeat98_260_, invoice0_.EM_Aeatsii_Description_ID as EM_Aeat99_260_, invoice0_.EM_Aeatsii_Descripcion_Sii as EM_Aea100_260_, invoice0_.EM_Aeatsii_Fecha_Reg_Cont as EM_Aea101_260_, invoice0_.EM_Aeatsii_Dup as EM_Aea102_260_, invoice0_.EM_Aeatsii_Error_Code as EM_Aea103_260_, invoice0_.EM_Aeatsii_Error_Msg as EM_Aea104_260_, invoice0_.EM_Aeatsii_Unsubscribe as EM_Aea105_260_, invoice0_.EM_Aeatsii_Pur_Description_ID as EM_Aea106_260_, invoice0_.EM_Aeatsii_Multi_Dua as EM_Aea107_260_, invoice0_.EM_Aeatsii_Ejercicio as EM_Aea108_260_, invoice0_.EM_Aeatsii_Periodo as EM_Aea109_260_, invoice0_.EM_Aeatsii_Autofactura as EM_Aea110_260_, invoice0_.EM_Aeatsii_Invoice_ID as EM_Aea111_260_, invoice0_.EM_Aeatsii_Insiidate as EM_Aea112_260_, invoice0_.EM_Aeatsii_Cause_Exemption_ID as EM_Aea113_260_, invoice0_.EM_Aeatsii_Isauthorization as EM_Aea114_260_, invoice0_.EM_Aeatsii_Authorizationno as EM_Aea115_260_, invoice0_.EM_Priuti_Createpurchinv as EM_Pri116_260_, invoice0_.EM_Priuti_Generated as EM_Pri117_260_, invoice0_.EM_Priuti_Date_Complete as EM_Pri118_260_, invoice0_.EM_Prges_Expediente_ID as EM_Prg119_260_, invoice0_.EM_Priuti_User_Complete_ID as EM_Pri120_260_, invoice0_.EM_Prges_Annotation_ID as EM_Prg121_260_, invoice0_.EM_Prges_Record_Number as EM_Prg122_260_, invoice0_.EM_Priuti_Status_Of_Review as EM_Pri123_260_, invoice0_.EM_Prges_Grantotal as EM_Prg124_260_, invoice0_.EM_Priuti_Validate as EM_Pri125_260_, invoice0_.EM_Priuti_Start_Review as EM_Pri126_260_, invoice0_.EM_Prges_Poreference as EM_Prg127_260_, invoice0_.em_cactl_createfromship as em_cac128_260_ from C_Invoice invoice0_ left outer join FIN_Payment_Schedule finpayment1_ on invoice0_.C_Invoice_ID=finpayment1_.C_Invoice_ID where invoice0_.Processed='Y' and (invoice0_.Ispaid='N' or finpayment1_.Updated>=invoice0_.LastCalculatedOnDate or invoice0_.OutstandingAmt<>0 or invoice0_.Finalsettlement is null) and invoice0_.IsActive='Y' |
| c44dfe02a3 | insert into ad_context_info (ad_user_id, ad_session_id, processType, processId) values ($1, $2, $3, $4) |
| 6e47e0b2e7 | select passinst.value as pass, m_product.name as name, m_product.em_prpass_doc_required as requiresDocumentation , coalesce(co.documentno,$1) as ticket, case when pt.slot_type = $2 then ptr.date::date else (ptr.date::date || $3 || ptd.hour::time)::timestamp end as hour, pt.slot_type as slot_type, passinst.unlimited as unlimited from prpass_pass_inst passinst join m_product on m_product.m_product_id=passinst.m_product_id left join c_order co on co.c_order_id = passinst.c_order_id left join prpass_timeslots_res ptr on ptr.prpass_timeslots_res_id = passinst.prpass_timeslots_res_id left join prpass_timeslots_detail ptd on ptd.prpass_timeslots_detail_id = ptr.prpass_timeslots_detail_id left join prpass_timeslots pt on pt.prpass_timeslots_id = ptd.prpass_timeslots_id where (passinst.status NOT IN ($4,$5,$6,$7) AND case when m_product.em_prpass_org_selection=$8 then (exists (select $9 from prpass_organization passorg where passorg.m_product_id=m_product.m_product_id and passorg.ad_orgtrx_id=$10)) else (not exists (select $11 from prpass_organization passorg where passorg.m_product_id=m_product.m_product_id and passorg.ad_orgtrx_id=$12)) end AND case when passinst.unlimited != $13 then not exists (select $14 from prpass_pass_trans passtrans where passtrans.prpass_pass_inst_id=passinst.prpass_pass_inst_id and passtrans.ad_validation_org_id=$15) else $16=$17 end) and (m_product.em_prpass_ispass is not null and m_product.em_prpass_ispass = $18 and m_product.isactive = $19) and (m_product.em_prpass_datefrom is null or m_product.em_prpass_datefrom <= CURRENT_DATE) and (m_product.em_prpass_dateto is null or m_product.em_prpass_dateto >= CURRENT_DATE) |
| 784dd58a53 | SELECT $2 FROM ONLY "public"."c_uom" x WHERE "c_uom_id"::pg_catalog.text OPERATOR(pg_catalog.=) $1::pg_catalog.text FOR KEY SHARE OF x |
| 2e210c7585 | COPY public.m_transaction_cost (m_transaction_cost_id, ad_client_id, ad_org_id, created, createdby, updated, updatedby, isactive, m_transaction_id, cost, costdate, c_currency_id, m_costadjustmentline_id, isunitcost, dateacct) TO stdout |
| fd0b1d2b52 | insert into ad_context_info (ad_user_id, ad_session_id, processType, processId) values ($1, $2, $3, $4) |
| cfc6a9aece | insert into ad_context_info (ad_user_id, ad_session_id, processType, processId) values ($1, $2, $3, $4) |
| ec8c626e99 | 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 |
| 2d3fd9a51f | insert into ad_context_info (ad_user_id, ad_session_id, processType, processId) values ($1, $2, $3, $4) |
| d92125f1e7 | insert into ad_context_info (ad_user_id, ad_session_id, processType, processId) values ($1, $2, $3, $4) |
| 2bbd1014ed | SELECT $2 FROM ONLY "public"."c_doctype" x WHERE "c_doctype_id"::pg_catalog.text OPERATOR(pg_catalog.=) $1::pg_catalog.text FOR KEY SHARE OF x |
| 6aeca8addc | SELECT * FROM (select fa.fin_financial_account_id AS referencekey_id, ad_column_identifier_std($2, fa.fin_financial_account_id) AS record_id, $3 AS ad_role_id, $4 AS ad_user_id, $5 || fa.name || $6 || fa.currentbalance || $7 || (fa.initialbalance + (select sum(depositamt) - sum(paymentamt) from fin_finacc_transaction where fa.fin_financial_account_id=fin_finacc_transaction.fin_financial_account_id and fin_finacc_transaction.processed=$8)) || $9|| fa.currentbalance- (fa.initialbalance + (select sum(depositamt) - sum(paymentamt) from fin_finacc_transaction where fa.fin_financial_account_id=fin_finacc_transaction.fin_financial_account_id and fin_finacc_transaction.processed=$10)) AS description, $11 AS isActive, $12 AS ad_org_id, fa.ad_client_id AS ad_client_id, now() AS created, $13 AS createdBy, now() AS updated, $14 AS updatedBy from fin_financial_account fa where fa.currentbalance <> fa.initialbalance + (select sum(depositamt) - sum(paymentamt) from fin_finacc_transaction where fa.fin_financial_account_id=fin_finacc_transaction.fin_financial_account_id and fin_finacc_transaction.processed=$15)) AAA where not exists (select $16 from ad_alert a where a.ad_alertrule_id = $1 and a.referencekey_id = aaa.referencekey_id and coalesce(a.status, $17) != $18) |
| b51ae16f3e | select order0_.C_Order_ID as C_Order_1_276_, order0_.AD_Client_ID as AD_Clien2_276_, order0_.AD_Org_ID as AD_Org_I3_276_, order0_.IsActive as IsActive4_276_, order0_.Created as Created5_276_, order0_.CreatedBy as CreatedB6_276_, order0_.Updated as Updated7_276_, order0_.UpdatedBy as UpdatedB8_276_, order0_.IsSOTrx as IsSOTrx9_276_, order0_.DocumentNo as Documen10_276_, order0_.DocStatus as DocStat11_276_, order0_.DocAction as DocActi12_276_, order0_.Processing as Process13_276_, order0_.Processed as Process14_276_, order0_.C_DocType_ID as C_DocTy15_276_, order0_.C_DocTypeTarget_ID as C_DocTy16_276_, order0_.Description as Descrip17_276_, order0_.IsDelivered as IsDeliv18_276_, order0_.IsInvoiced as IsInvoi19_276_, order0_.IsPrinted as IsPrint20_276_, order0_.IsSelected as IsSelec21_276_, order0_.SalesRep_ID as SalesRe22_276_, order0_.DateOrdered as DateOrd23_276_, order0_.DatePromised as DatePro24_276_, order0_.DatePrinted as DatePri25_276_, order0_.DateAcct as DateAcc26_276_, order0_.C_BPartner_ID as C_BPart27_276_, order0_.BillTo_ID as BillTo_28_276_, order0_.C_BPartner_Location_ID as C_BPart29_276_, order0_.POReference as PORefer30_276_, order0_.IsDiscountPrinted as IsDisco31_276_, order0_.C_Currency_ID as C_Curre32_276_, order0_.PaymentRule as Payment33_276_, order0_.C_PaymentTerm_ID as C_Payme34_276_, order0_.InvoiceRule as Invoice35_276_, order0_.DeliveryRule as Deliver36_276_, order0_.FreightCostRule as Freight37_276_, order0_.FreightAmt as Freight38_276_, order0_.DeliveryViaRule as Deliver39_276_, order0_.M_Shipper_ID as M_Shipp40_276_, order0_.C_Charge_ID as C_Charg41_276_, order0_.ChargeAmt as ChargeA42_276_, order0_.PriorityRule as Priorit43_276_, order0_.TotalLines as TotalLi44_276_, order0_.GrandTotal as GrandTo45_276_, order0_.M_Warehouse_ID as M_Wareh46_276_, order0_.M_PriceList_ID as M_Price47_276_, order0_.IsTaxIncluded as IsTaxIn48_276_, order0_.C_Campaign_ID as C_Campa49_276_, order0_.C_Project_ID as C_Proje50_276_, order0_.C_Activity_ID as C_Activ51_276_, order0_.Posted as Posted52_276_, order0_.AD_User_ID as AD_User53_276_, order0_.CopyFrom as CopyFro54_276_, order0_.DropShip_BPartner_ID as DropShi55_276_, order0_.DropShip_Location_ID as DropShi56_276_, order0_.DropShip_User_ID as DropShi57_276_, order0_.IsSelfService as IsSelfS58_276_, order0_.AD_OrgTrx_ID as AD_OrgT59_276_, order0_.User1_ID as User60_276_, order0_.User2_ID as User61_276_, order0_.Deliverynotes as Deliver62_276_, order0_.C_Incoterms_ID as C_Incot63_276_, order0_.Incotermsdescription as Incoter64_276_, order0_.Generatetemplate as Generat65_276_, order0_.Delivery_Location_ID as Deliver66_276_, order0_.CopyFromPO as CopyFro67_276_, order0_.FIN_Paymentmethod_ID as FIN_Pay68_276_, order0_.FIN_Payment_Priority_ID as FIN_Pay69_276_, order0_.RM_PickFromShipment as RM_Pick70_276_, order0_.RM_ReceiveMaterials as RM_Rece71_276_, order0_.EM_Obcma_C_Poc_Email_ID as EM_Obcm72_276_, order0_.RM_CreateInvoice as RM_Crea73_276_, order0_.C_Return_Reason_ID as C_Retur74_276_, order0_.RM_AddOrphanLine as RM_AddO75_276_, order0_.A_Asset_ID as A_Asset76_276_, order0_.Calculate_Promotions as Calcula77_276_, order0_.C_Costcenter_ID as C_Costc78_276_, order0_.Convertquotation as Convert79_276_, order0_.C_Reject_Reason_ID as C_Rejec80_276_, order0_.validuntil as validun81_276_, order0_.Quotation_ID as Quotati82_276_, order0_.SO_Res_Status as SO_Res_83_276_, order0_.Create_POLines as Create_84_276_, order0_.EM_Obdisc_Addpack as EM_Obdi85_276_, order0_.Iscashvat as Iscashv86_276_, order0_.EM_OBMFM_Selectfreight as EM_OBMF87_276_, order0_.EM_OBMFM_Delivery_Period_ID as EM_OBMF88_276_, order0_.RM_Pickfromreceipt as RM_Pick89_276_, order0_.Cancelandreplace as Cancela90_276_, order0_.EM_Advcrm_Newactivity as EM_Advc91_276_, order0_.EM_APRM_AddPayment as EM_APRM92_276_, order0_.EM_OBMFM_Delivery_Charges as EM_OBMF93_276_, order0_.EM_OBMFM_Freight_ID as EM_OBMF94_276_, order0_.EM_Obwpl_Generatepicking as EM_Obwp95_276_, order0_.EM_Advcrm_Opportunity_ID as EM_Advc96_276_, order0_.EM_OBMFM_Weight as EM_OBMF97_276_, order0_.EM_Obwpl_Isinpickinglist as EM_Obwp98_276_, order0_.EM_Rcinv_Contractdate as EM_Rcin99_276_, order0_.EM_Obwpl_Readypl as EM_Obw100_276_, order0_.EM_Rcinv_Initialdate as EM_Rci101_276_, order0_.EM_Rcinv_Enddate as EM_Rci102_276_, order0_.EM_Sgpcrm_Securitygroups_ID as EM_Sgp103_276_, order0_.EM_OBMFM_Weight_Uom_ID as EM_OBM104_276_, order0_.EM_Rcinv_Frequency as EM_Rci105_276_, order0_.EM_OBMFM_Set_Weight as EM_OBM106_276_, order0_.EM_Rcinv_Renewautomatically as EM_Rci107_276_, order0_.EM_Aeatsii_Fecha_Operacion as EM_Aea108_276_, order0_.EM_Ml_Select_Product as EM_Ml_109_276_, order0_.EM_Rcinv_Renovationtimes as EM_Rci110_276_, order0_.Confirmcancelandreplace as Confir111_276_, order0_.EM_Aeatsii_Descripcion_Sii as EM_Aea112_276_, order0_.EM_Obpos_Applications_ID as EM_Obp113_276_, order0_.EM_Rcinv_Freqrenovationtime as EM_Rci114_276_, order0_.EM_Obpos_Sendemail as EM_Obp115_276_, order0_.EM_Rcinv_Ordercontract_ID as EM_Rci116_276_, order0_.EM_Obpos_Email_Status as EM_Obp117_276_, order0_.EM_Rcinv_Freqtime as EM_Rci118_276_, order0_.Cancelledorder_id as Cancel119_276_, order0_.EM_Obpos_App_Cashup_ID as EM_Obp120_276_, order0_.EM_Obpos_Createdabsolute as EM_Obp121_276_, order0_.Replacedorder_id as Replac122_276_, order0_.EM_OBPOS_NotInvoiceOnCashUp as EM_OBP123_276_, order0_.EM_Obpos_Rejected_Quotat_ID as EM_Obp124_276_, order0_.EM_Obpos_Isdeleted as EM_Obp125_276_, order0_.Iscancelled as Iscanc126_276_, order0_.EM_Obpos_Islayaway as EM_Obp127_276_, order0_.EM_Obpos_Prepaymentamt as EM_Obp128_276_, order0_.Replacementorder_ID as Replac129_276_, order0_.EM_Obpos_Prepaymentlimitamt as EM_Obp130_276_, order0_.EM_Obpos_Prepaymentlaylimitamt as EM_Obp131_276_, order0_.EM_Obpos_Rounding_Amount as EM_Obp132_276_, order0_.BPartner_ExtRef as BPartn133_276_, order0_.EM_Obpos_Sequencename as EM_Obp134_276_, order0_.EM_Prqc_Clauses_Selector as EM_Prq135_276_, order0_.EM_Obpos_Sequencenumber as EM_Obp136_276_, order0_.EM_Rcinv_Cancelcontract as EM_Rci137_276_, order0_.EM_Rcinv_Cancelleddate as EM_Rci138_276_, order0_.EM_Rcinv_Iscancelled as EM_Rci139_276_, order0_.EM_Psat_Activity_ID as EM_Psa140_276_, order0_.EM_OBSMAIL_EmailAddress as EM_OBS141_276_, order0_.EM_Prouti_Order_Stock as EM_Pro142_276_, order0_.EM_Prouti_Pregenerate_Minout as EM_Pro143_276_, order0_.EM_Prouti_Sotopo as EM_Pro144_276_, order0_.EM_Prouti_Generate_Pick_Inv as EM_Pro145_276_, order0_.EM_Pricm_Order_ID as EM_Pri146_276_, order0_.EM_Prouti_Order_ID as EM_Pro147_276_, order0_.EM_Prouti_Grandtotalinitial as EM_Pro148_276_, order0_.EM_Prouti_Dateclosed as EM_Pro149_276_, order0_.EM_Prouti_Totallinesinitial as EM_Pro150_276_, order0_.EM_Prouti_Changebpartner as EM_Pro151_276_, order0_.EM_Prouti_Recalculate_Price as EM_Pro152_276_, order0_.em_prqr_execute as em_prq153_276_, order0_.EM_Prouti_Pricecalculatetdate as EM_Pro154_276_, order0_.EM_Prqr_Execute_Purchase as EM_Prq155_276_, order0_.EM_Prouti_Reactiveorder as EM_Pro156_276_, order0_.EM_Prqr_Return_Select_Prod as EM_Prq157_276_, order0_.EM_Prouti_Totalizations as EM_Pro158_276_, order0_.em_prouti_Invoiced as em_pro159_276_, order0_.em_prouti_Received as em_pro160_276_, order0_.em_prouti_initial_received as em_pro161_276_, order0_.EM_Prouti_Status_Of_Review as EM_Pro162_276_, order0_.EM_Prouti_Validate_Order as EM_Pro163_276_, order0_.EM_Prouti_Start_Review as EM_Pro164_276_, order0_.EM_Ml_Select_Product_Byattrib as EM_Ml_165_276_, order0_.EM_Prres_Reservation_ID as EM_Prr166_276_, order0_.EM_Prres_Responsible_ID as EM_Prr167_276_, order0_.EM_Prres_Diners as EM_Prr168_276_, order0_.EM_Prres_Sended as EM_Prr169_276_, order0_.EM_Prres_Printed as EM_Prr170_276_, order0_.EM_Prouti_Initial_Bp_ID as EM_Pro171_276_, order0_.EM_Prouti_Addlines_Btn as EM_Pro172_276_, order0_.EM_Prtoma_Tomaticket_ID as EM_Prt173_276_, order0_.EM_Cactl_IsCopy as EM_Cac174_276_, order0_.EM_Prtoma_Jsonorder as EM_Prt175_276_, order0_.EM_Prres_Paid_On_Credit as EM_Prr176_276_, order0_.EM_Prtoma_Grossamount as EM_Prt177_276_, order0_.EM_Cactl_Internal_Notes_Group as EM_Cac178_276_, order0_.EM_Prouti_Changebpartner_Bgt as EM_Pro179_276_, order0_.EM_Prrgr_Locator_ID as EM_Prr180_276_, order0_.EM_Paytef_Transactionreference as EM_Pay181_276_, order0_.EM_Cactl_Indirect_Cost_ID as EM_Cac182_276_, order0_.EM_Cactl_Calculate_Cost as EM_Cac183_276_, order0_.EM_Cactl_Totalcost as EM_Cac184_276_, order0_.EM_Cactl_Forceselectedproject as EM_Cac185_276_, order0_.EM_Cactl_Verified_Return as EM_Cac186_276_, order0_.EM_Cactl_Duplicate_Budget as EM_Cac187_276_, order0_.EM_Prres_Orig_Order_ID as EM_Prr188_276_, order0_.EM_Prcpr_Is_Cloned as EM_Prc189_276_, order0_.EM_Prouti_Select_Soline as EM_Pro190_276_, order0_.EM_Prouti_Return_Quantity as EM_Pro191_276_, order0_.EM_Prqr_Executecredit as EM_Prq192_276_, order0_.Em_Prqr_Credit_Purchase_ID as Em_Prq193_276_ from C_Order order0_ cross join C_DocType documentty1_ where order0_.C_DocTypeTarget_ID=documentty1_.C_DocType_ID and (order0_.DocStatus=$1 or order0_.DocStatus=$2) and (order0_.EM_Obcma_C_Poc_Email_ID is null) and order0_.CreatedBy=$3 and order0_.IsSOTrx=$45 and documentty1_.IsReturn=$46 and (order0_.AD_Org_ID in ($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)) and (order0_.AD_Client_ID in ($42 , $43)) order by order0_.DocumentNo desc, order0_.C_Order_ID desc limit $44 |
| 4cb9cc1cbf | SELECT C_ORDER_POST1($1, $2, $3) |
| 6758866a26 | insert into obmobc_logclient ( obmobc_logclient_id, ad_client_id, ad_org_id, isactive, created, createdby, updated, updatedby, tstamp, deviceid, context, msg, loglevel, cache_session_id, isonline ) values ( get_uuid(), $1, $2, $14, to_timestamp(to_char($3), to_char($15)), $4, to_timestamp(to_char($5), to_char($16)), $6, to_number($7), $8, $9, $10, $11, $12, $13 ) |
| 439a14cffe | DELETE FROM ONLY "public"."prpass_timeslots_res" WHERE $1::pg_catalog.text OPERATOR(pg_catalog.=) "prpass_timeslots_rel_res_id"::pg_catalog.text |
| 59ed037ff5 | UPDATE m_requisitionline rl SET em_cactl_consumption = cactl_calculate_consumption(rl.m_product_id, rl.ad_org_id, rl.ad_client_id) FROM m_requisition r WHERE rl.reqstatus = $1 AND rl.m_requisition_id = r.m_requisition_id AND r.docstatus = $2 |
| e2c4a72c8d | insert into ad_context_info (ad_user_id, ad_session_id, processType, processId) values ($1, $2, $3, $4) |
| 416d959161 | SELECT * FROM (SELECT c_order_id AS referencekey_id, ad_column_identifier_std($2, c_order_id) AS record_id, $3 AS ad_role_id, $4 AS ad_user_id, em_prouti_totalizations AS description, $5 AS isActive, ad_org_id, ad_client_id, now() AS created, $6 AS createdBy, now() AS updated, $7 AS updatedBy FROM c_order WHERE em_prouti_totalizations IS NOT NULL) AAA where not exists (select $8 from ad_alert a where a.ad_alertrule_id = $1 and a.referencekey_id = aaa.referencekey_id and coalesce(a.status, $9) != $10) |
| b25c4a7154 | update M_Transaction_Last set Updated=$1, M_Transaction_ID=$2 where M_Transaction_Last_ID=$3 |
| a9d2b2152f | insert into ad_context_info (ad_user_id, ad_session_id, processType, processId) values ($1, $2, $3, $4) |
| 2b29a08c4c | insert into ad_context_info (ad_user_id, ad_session_id, processType, processId) values ($1, $2, $3, $4) |
| DB | Tablespace | Schema | Table | ~SeqBytes | SeqScan | IxScan | IxFet | Ins | Upd | Del | Upd(HOT) |
|---|---|---|---|---|---|---|---|---|---|---|---|
| openbravo | pg_default | public | c_order | 2109 GB | 277 | 14157910 | 211232708 | 3540 | 13644 | 8056 | |
| c_order(TOAST) | |||||||||||
| openbravo | pg_default | pg_temp_12 | ad_context_info | 323 GB | 71101 | 71091 | 71090 | ||||
| openbravo | pg_default | public | prpass_timeslots_res | 263 GB | 1024 | 5048214 | 720007878 | 2261 | 1211 | 1024 | |
| prpass_timeslots_res(TOAST) | |||||||||||
| openbravo | pg_default | public | prpass_pass_inst | 104 GB | 17 | 10710497 | 263818532 | 7021 | 13238 | 5157 | 3483 |
| prpass_pass_inst(TOAST) | |||||||||||
| openbravo | pg_default | public | ad_audit_trail | 54 GB | 103 | 12960 | 5909 | 4569 | |||
| ad_audit_trail(TOAST) | |||||||||||
| openbravo | pg_default | public | fact_acct | 31 GB | 1 | 25861 | 27870 | 16061 | 4164 | ||
| fact_acct(TOAST) | |||||||||||
| openbravo | pg_default | public | prpass_pass_trans | 30 GB | 6 | 10851526 | 34100 | 6271 | 5107 | ||
| openbravo | pg_default | public | c_bpartner | 17 GB | 1603 | 163036 | 501445 | 3976 | 3976 | ||
| c_bpartner(TOAST) | |||||||||||
| openbravo | pg_default | public | m_transaction | 13 GB | 1 | 148495 | 2641229 | 14133 | 29937 | 858 | |
| m_transaction(TOAST) | |||||||||||
| openbravo | pg_default | public | m_product | 11 GB | 1126 | 2015555 | 3846039 | ||||
| m_product(TOAST) | |||||||||||
| openbravo | pg_default | pg_catalog | pg_class | 10 GB | 7653 | 1260539 | 1171062 | 300 | 23943 | 299 | 23942 |
| openbravo | pg_default | public | c_orderline | 8695 MB | 1 | 71174553 | 125465502 | 7629 | 21104 | 8927 | |
| c_orderline(TOAST) | |||||||||||
| openbravo | pg_default | public | m_productionline | 7879 MB | 1 | 8735109 | 46335475 | 9900 | 19800 | 18880 | |
| m_productionline(TOAST) | |||||||||||
| openbravo | pg_default | public | c_invoiceline | 7433 MB | 1 | 56463076 | 52366796 | 7250 | 2075 | 1794 | |
| c_invoiceline(TOAST) | |||||||||||
| openbravo | pg_default | public | c_invoice | 7098 MB | 1 | 52176420 | 70145316 | 3437 | 105254 | 16576 | |
| c_invoice(TOAST) | |||||||||||
| openbravo | pg_default | public | m_inoutline | 5983 MB | 1 | 56447131 | 55371955 | 7394 | 2075 | 1918 | |
| m_inoutline(TOAST) | |||||||||||
| openbravo | pg_default | profile | last_stat_database | 5183 MB | 132681 | 92 | 184 | 92 | 92 | ||
| openbravo | pg_default | public | fin_payment_schedule | 5112 MB | 1 | 264674 | 7078803 | 6859 | 8179 | 3365 | |
| fin_payment_schedule(TOAST) | |||||||||||
| openbravo | pg_default | public | c_orderlinetax | 4748 MB | 1 | 6477 | 6245 | 7623 | 2069 | 1889 | |
| c_orderlinetax(TOAST) | |||||||||||
| openbravo | pg_default | public | c_invoicelinetax | 4715 MB | 1 | 6416 | 6207 | 7244 | 2069 | 1888 | |
| c_invoicelinetax(TOAST) | |||||||||||
| DB | Tablespace | Schema | Table | Heap | Ix | TOAST | TOAST-Ix | ||||
|---|---|---|---|---|---|---|---|---|---|---|---|
| Blks | %Total | Blks | %Total | Blks | %Total | Blks | %Total | ||||
| openbravo | pg_default | public | fin_finacc_transaction | 655720730 | 15.74 | 7528709 | 0.18 | ||||
| openbravo | pg_default | public | c_order | 482311142 | 11.58 | 60354112 | 1.45 | ||||
| openbravo | pg_default | public | prpass_timeslots_res | 513463868 | 12.32 | 15762262 | 0.38 | ||||
| openbravo | pg_default | public | c_orderline | 88300516 | 2.12 | 400689103 | 9.62 | ||||
| openbravo | pg_default | public | c_invoice | 70404638 | 1.69 | 232740606 | 5.59 | ||||
| openbravo | pg_default | public | m_inoutline | 55883204 | 1.34 | 226678575 | 5.44 | ||||
| openbravo | pg_default | public | c_invoiceline | 53283188 | 1.28 | 226750439 | 5.44 | ||||
| openbravo | pg_default | public | m_inout | 56176091 | 1.35 | 222092752 | 5.33 | 5132 | 0.00 | 59556 | 0.00 |
| openbravo | pg_default | public | prpass_pass_inst | 162384983 | 3.90 | 57062154 | 1.37 | ||||
| openbravo | pg_default | public | m_costing | 70723620 | 1.70 | 3511882 | 0.08 | ||||
| openbravo | pg_default | public | m_productionline | 20687262 | 0.50 | 31914936 | 0.77 | ||||
| openbravo | pg_default | public | prpass_pass_trans | 4034217 | 0.10 | 45209594 | 1.09 | ||||
| openbravo | pg_default | public | m_productionplan | 9967324 | 0.24 | 38345603 | 0.92 | ||||
| openbravo | pg_default | public | prpass_timeslots_exceptions | 30006439 | 0.72 | 11013516 | 0.26 | ||||
| openbravo | pg_default | public | ad_treenode | 689665 | 0.02 | 21344730 | 0.51 | ||||
| openbravo | pg_default | pg_temp_12 | ad_context_info | 21242897 | 0.51 | ||||||
| openbravo | pg_default | public | m_transaction | 3204644 | 0.08 | 10676512 | 0.26 | ||||
| openbravo | pg_default | public | m_product | 5243334 | 0.13 | 4316984 | 0.10 | ||||
| openbravo | pg_default | public | fin_payment_schedule | 7910860 | 0.19 | 1248231 | 0.03 | ||||
| openbravo | pg_default | public | m_storage_detail | 2494129 | 0.06 | 4736630 | 0.11 | ||||
| DB | Tablespace | Schema | Table | Heap | Ix | TOAST | TOAST-Ix | Hit(%) | ||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|
| Blks | %Total | Blks | %Total | Blks | %Total | Blks | %Total | |||||
| openbravo | pg_default | public | c_order | 188922773 | 86.26 | 404018 | 0.18 | 65.11 | ||||
| openbravo | pg_default | public | fact_acct | 4024016 | 1.84 | 81577 | 0.04 | 28.64 | ||||
| openbravo | pg_default | public | c_invoice | 2226297 | 1.02 | 826192 | 0.38 | 98.99 | ||||
| openbravo | pg_default | public | m_productionline | 2078932 | 0.95 | 82869 | 0.04 | 95.89 | ||||
| openbravo | pg_default | public | prpass_pass_inst | 1499361 | 0.68 | 321116 | 0.15 | 99.17 | ||||
| openbravo | pg_default | public | m_transaction | 1680023 | 0.77 | 101560 | 0.05 | 87.17 | ||||
| openbravo | pg_default | public | fin_payment_schedule | 1628251 | 0.74 | 69121 | 0.03 | 81.47 | ||||
| openbravo | pg_default | public | c_orderline | 1052154 | 0.48 | 232576 | 0.11 | 99.74 | ||||
| openbravo | pg_default | public | c_invoiceline | 1050475 | 0.48 | 109790 | 0.05 | 99.59 | ||||
| openbravo | pg_default | public | m_inoutline | 911691 | 0.42 | 49948 | 0.02 | 99.66 | ||||
| openbravo | pg_default | public | prpass_pass_trans | 662645 | 0.30 | 66953 | 0.03 | 98.52 | ||||
| openbravo | pg_default | public | ad_image | 204 | 0.00 | 647358 | 0.30 | 12928 | 0.01 | 3.19 | ||
| openbravo | pg_default | public | m_productionplan | 564887 | 0.26 | 86575 | 0.04 | 98.65 | ||||
| openbravo | pg_default | public | m_inout | 621210 | 0.28 | 24038 | 0.01 | 3384 | 0.00 | 888 | 0.00 | 99.77 |
| openbravo | pg_default | public | c_orderlinetax | 608082 | 0.28 | 34527 | 0.02 | 24.26 | ||||
| openbravo | pg_default | public | c_invoicelinetax | 603836 | 0.28 | 22597 | 0.01 | 22.18 | ||||
| openbravo | pg_default | public | ad_audit_trail | 415132 | 0.19 | 7857 | 0.00 | 94.15 | ||||
| openbravo | pg_default | public | fin_payment_scheduledetail | 366607 | 0.17 | 44908 | 0.02 | 68.98 | ||||
| openbravo | pg_default | public | fin_finacc_transaction | 81860 | 0.04 | 312882 | 0.14 | 99.94 | ||||
| openbravo | pg_default | public | m_costing | 151041 | 0.07 | 41848 | 0.02 | 99.74 | ||||
| DB | Tablespace | Schema | Table | Ins | Upd | Del | Upd(HOT) | SeqScan | SeqFet | IxScan | IxFet |
|---|---|---|---|---|---|---|---|---|---|---|---|
| openbravo | pg_default | profile | last_stat_indexes | 71047 | 1619 | 71047 | 184 | 1136752 | 43422 | 427901 | |
| openbravo | pg_default | pg_temp_12 | ad_context_info | 71091 | 71090 | 71101 | 71100 | ||||
| openbravo | pg_default | public | c_invoice | 3437 | 105254 | 16576 | 1 | 7035861 | 52176420 | 70145316 | |
| c_invoice(TOAST) | |||||||||||
| openbravo | pg_default | profile | last_stat_tables | 41458 | 3768 | 41454 | 49 | 184 | 663296 | 8764 | 4310635 |
| openbravo | pg_default | public | m_stock_aux | 17033 | 42367 | 17033 | 31802 | 321966 | 183176 | ||
| m_stock_aux(TOAST) | |||||||||||
| openbravo | pg_default | public | obmobc_logclient | 67337 | 2 | 84053 | |||||
| obmobc_logclient(TOAST) | 1 | 1 | |||||||||
| openbravo | pg_default | public | m_storage_detail | 63635 | 45442 | 143 | 7337759 | 1382249 | 824918 | ||
| m_storage_detail(TOAST) | |||||||||||
| openbravo | pg_default | public | c_import_entry | 11076 | 11076 | 11074 | 3147 | 55501 | 303988 | 201423 | |
| c_import_entry(TOAST) | 14832 | 14832 | 19990 | 73802 | |||||||
| openbravo | pg_default | public | ad_ep_instance_para | 30941 | 30941 | 51568 | 238388 | ||||
| ad_ep_instance_para(TOAST) | |||||||||||
| openbravo | pg_default | public | m_transaction | 14133 | 29937 | 858 | 1 | 30646465 | 148495 | 2641229 | |
| m_transaction(TOAST) | |||||||||||
| openbravo | pg_default | pg_catalog | pg_statistic | 24625 | 23832 | 952603 | 858101 | ||||
| pg_statistic(TOAST) | 4694 | 4701 | 102568 | 203327 | |||||||
| openbravo | pg_default | public | m_productionline | 9900 | 19800 | 18880 | 1 | 20097162 | 8735109 | 46335475 | |
| m_productionline(TOAST) | |||||||||||
| openbravo | pg_default | public | c_orderline | 7629 | 21104 | 8927 | 1 | 14407320 | 71174553 | 125465502 | |
| c_orderline(TOAST) | |||||||||||
| openbravo | pg_default | profile | last_stat_user_functions | 12443 | 1610 | 12443 | 69 | 388 | 370044 | ||
| last_stat_user_functions(TOAST) | |||||||||||
| openbravo | pg_default | public | prpass_pass_inst | 7021 | 13238 | 5157 | 3483 | 17 | 11801186 | 10710497 | 263818532 |
| prpass_pass_inst(TOAST) | |||||||||||
| openbravo | pg_default | pg_catalog | pg_class | 300 | 23943 | 299 | 23942 | 7653 | 25621777 | 1260539 | 1171062 |
| openbravo | pg_default | pg_temp_6 | ad_context_info | 10419 | 10418 | 11400 | 11399 | ||||
| openbravo | pg_default | public | fact_acct | 16061 | 4164 | 1 | 38093045 | 25861 | 27870 | ||
| fact_acct(TOAST) | |||||||||||
| openbravo | pg_default | public | fin_payment | 2362 | 16362 | 6649 | 58029 | 115832 | |||
| fin_payment(TOAST) | |||||||||||
| openbravo | pg_default | public | c_order | 3540 | 13644 | 8056 | 277 | 2018280397 | 14157910 | 211232708 | |
| c_order(TOAST) | |||||||||||
| DB | Tablespace | Schema | Table | Upd | Upd(HOT) | Del | Vacuum | AutoVacuum | Analyze | AutoAnalyze |
|---|---|---|---|---|---|---|---|---|---|---|
| openbravo | pg_default | public | c_invoice | 105254 | 16576 | |||||
| c_invoice(TOAST) | ||||||||||
| openbravo | pg_default | profile | last_stat_indexes | 1619 | 71047 | 156 | 46 | 23 | ||
| openbravo | pg_default | pg_temp_12 | ad_context_info | 71090 | ||||||
| openbravo | pg_default | public | m_storage_detail | 63635 | 45442 | 2 | 11 | |||
| m_storage_detail(TOAST) | ||||||||||
| openbravo | pg_default | public | m_stock_aux | 42367 | 31802 | 17033 | 111 | 185 | ||
| m_stock_aux(TOAST) | ||||||||||
| openbravo | pg_default | profile | last_stat_tables | 3768 | 49 | 41454 | 156 | 46 | 23 | |
| openbravo | pg_default | public | c_import_entry | 11076 | 11074 | 75 | 168 | |||
| c_import_entry(TOAST) | 14832 | 9 | ||||||||
| openbravo | pg_default | public | ad_ep_instance_para | 30941 | 475 | 659 | ||||
| ad_ep_instance_para(TOAST) | ||||||||||
| openbravo | pg_default | public | m_transaction | 29937 | 858 | |||||
| m_transaction(TOAST) | ||||||||||
| openbravo | pg_default | pg_catalog | pg_statistic | 24625 | 23832 | 1 | ||||
| pg_statistic(TOAST) | 4701 | 9 | ||||||||
| openbravo | pg_default | pg_catalog | pg_class | 23943 | 23942 | 299 | 5 | 23 | ||
| openbravo | pg_default | public | c_orderline | 21104 | 8927 | |||||
| c_orderline(TOAST) | ||||||||||
| openbravo | pg_default | public | m_productionline | 19800 | 18880 | |||||
| m_productionline(TOAST) | ||||||||||
| openbravo | pg_default | public | prpass_pass_inst | 13238 | 3483 | 5157 | ||||
| prpass_pass_inst(TOAST) | ||||||||||
| openbravo | pg_default | public | fin_payment | 16362 | 6649 | |||||
| fin_payment(TOAST) | ||||||||||
| openbravo | pg_default | profile | last_stat_user_functions | 1610 | 69 | 12443 | 156 | 46 | 23 | |
| last_stat_user_functions(TOAST) | ||||||||||
| openbravo | pg_default | public | m_transaction_last | 13846 | 5 | 11 | ||||
| openbravo | pg_default | public | c_order | 13644 | 8056 | |||||
| c_order(TOAST) | ||||||||||
| openbravo | pg_default | public | fin_finacc_transaction | 12005 | 2396 | |||||
| fin_finacc_transaction(TOAST) | ||||||||||
| openbravo | pg_default | public | ad_sequence | 10893 | 10769 | 57 | 104 | |||
| ad_sequence(TOAST) | ||||||||||
| DB | Tablespace | Schema | Table | Size | Growth | Ins | Upd | Del | Upd(HOT) |
|---|---|---|---|---|---|---|---|---|---|
| openbravo | pg_default | public | fact_acct | 31 GB | 14 MB | 16061 | 4164 | ||
| fact_acct(TOAST) | |||||||||
| openbravo | pg_default | public | c_order | 7801 MB | 11 MB | 3540 | 13644 | 8056 | |
| c_order(TOAST) | |||||||||
| openbravo | pg_default | public | c_orderline | 8706 MB | 11 MB | 7629 | 21104 | 8927 | |
| c_orderline(TOAST) | |||||||||
| openbravo | pg_default | public | m_productionline | 7890 MB | 11 MB | 9900 | 19800 | 18880 | |
| m_productionline(TOAST) | |||||||||
| openbravo | pg_default | public | c_invoiceline | 7437 MB | 4536 kB | 7250 | 2075 | 1794 | |
| c_invoiceline(TOAST) | |||||||||
| openbravo | pg_default | public | m_inoutline | 5986 MB | 3736 kB | 7394 | 2075 | 1918 | |
| m_inoutline(TOAST) | |||||||||
| openbravo | pg_default | public | m_inout | 4179 MB | 3608 kB | 3461 | 9184 | 5624 | |
| m_inout(TOAST) | 30 MB | ||||||||
| openbravo | pg_default | public | prpass_pass_inst_hist | 5792 MB | 2552 kB | 5157 | |||
| prpass_pass_inst_hist(TOAST) | |||||||||
| openbravo | pg_default | public | fin_finacc_transaction | 3429 MB | 2000 kB | 2517 | 12005 | 2396 | |
| fin_finacc_transaction(TOAST) | |||||||||
| openbravo | pg_default | public | c_invoicetax | 2781 MB | 1960 kB | 4042 | 3160 | 3105 | |
| c_invoicetax(TOAST) | |||||||||
| openbravo | pg_default | public | prpass_pass_trans_hist | 4821 MB | 1768 kB | 5107 | |||
| openbravo | pg_default | public | prpass_timeslots_res | 263 MB | 888 kB | 2261 | 1211 | 1024 | |
| prpass_timeslots_res(TOAST) | |||||||||
| openbravo | pg_default | public | m_productionplan | 1243 MB | 792 kB | 1677 | |||
| m_productionplan(TOAST) | |||||||||
| openbravo | pg_default | public | obre_reservation | 184 kB | 8192 bytes | 374 | 2303 | 376 | 13 |
| obre_reservation(TOAST) | 480 kB | 288 kB | 4757 | 4756 | |||||
| openbravo | pg_default | public | m_production | 498 MB | 40 kB | 70 | 139 | 70 | |
| m_production(TOAST) | |||||||||
| openbravo | pg_default | profile | last_stat_user_functions | 336 kB | 16 kB | 12443 | 1610 | 12443 | 69 |
| last_stat_user_functions(TOAST) | |||||||||
| openbravo | pg_default | profile | last_stat_tables | 1560 kB | 8192 bytes | 41458 | 3768 | 41454 | 49 |
| openbravo | pg_default | pg_temp_6 | ad_context_info | 8192 bytes | 8192 bytes | 220 | 219 | ||
| openbravo | pg_default | pg_temp_5 | ad_context_info | 8192 bytes | 8192 bytes | 11 | 10 | ||
| openbravo | pg_default | pg_temp_9 | ad_context_info | 8192 bytes | 8192 bytes | 22 | 21 |
| DB | Tablespace | Schema | Table | Index | Scans | Blks | %Total |
|---|---|---|---|---|---|---|---|
| openbravo | pg_default | public | m_inoutline | m_inoutline_orderline | 56329644 | 226105557 | 5.43 |
| openbravo | pg_default | public | c_invoiceline | c_invoiceline_orderline | 56301837 | 225974352 | 5.42 |
| openbravo | pg_default | public | m_inout | m_inout_key | 55148638 | 221040557 | 5.31 |
| openbravo | pg_default | public | c_orderline | em_obpos_orderedqty | 52859615 | 212952303 | 5.11 |
| openbravo | pg_default | public | c_invoice | c_invoice_key | 52166469 | 209529367 | 5.03 |
| openbravo | pg_default | public | c_orderline | c_orderline_product | 6757096 | 140724456 | 3.38 |
| openbravo | pg_default | public | c_order | c_order_key | 14104566 | 56120058 | 1.35 |
| openbravo | pg_default | public | c_orderline | c_orderline_key | 11555992 | 46242839 | 1.11 |
| openbravo | pg_default | public | prpass_pass_inst | prpass_pass_inst_orderline | 10667826 | 46101237 | 1.11 |
| openbravo | pg_default | public | prpass_pass_trans | prpass_pass_trans_inst | 10851509 | 45140289 | 1.08 |
| openbravo | pg_default | public | m_productionline | m_productionline_prodplan | 6594681 | 26514296 | 0.64 |
| openbravo | pg_default | public | m_productionplan | m_productionplan_key | 6417510 | 25719679 | 0.62 |
| openbravo | pg_default | public | ad_treenode | ad_treenode_tree_node_un | 703814 | 21337600 | 0.51 |
| openbravo | pg_default | public | c_invoice | c_invoice_client_org_date_doc | 138 | 16836635 | 0.40 |
| openbravo | pg_default | public | m_productionplan | m_productionplan_production | 3088558 | 12386945 | 0.30 |
| openbravo | pg_default | public | prpass_timeslots_res | prpass_tslots_res_date_idx | 3134731 | 11834745 | 0.28 |
| openbravo | pg_default | public | prpass_timeslots_exceptions | prpass_tslots_exc_timeslt_idx | 2838823 | 11013460 | 0.26 |
| openbravo | pg_default | public | m_transaction | m_transaction_calculated | 8204 | 7489163 | 0.18 |
| openbravo | pg_default | public | prpass_pass_inst | prpass_pass_inst_value | 1819 | 6000655 | 0.14 |
| openbravo | pg_default | public | m_productionline | m_productionline_key | 2012372 | 4957837 | 0.12 |
| DB | Tablespace | Schema | Table | Index | Scans | Blk Reads | %Total | Hits(%) |
|---|---|---|---|---|---|---|---|---|
| openbravo | pg_default | public | c_invoice | c_invoice_client_org_date_doc | 138 | 680589 | 0.31 | 95.96 |
| openbravo | pg_default | public | fin_finacc_transaction | fin_finacc_tr_account_line | 12284 | 302429 | 0.14 | 93.83 |
| openbravo | pg_default | public | c_order | c_order_client_org_date_docno | 2685 | 251907 | 0.12 | 38.73 |
| openbravo | pg_default | public | prpass_pass_inst | prpass_pass_inst_value | 1819 | 234227 | 0.11 | 96.10 |
| openbravo | pg_default | public | c_orderline | c_orderline_key | 11555992 | 192874 | 0.09 | 99.58 |
| openbravo | pg_default | public | c_order | c_order_key | 14104566 | 80486 | 0.04 | 99.86 |
| openbravo | pg_default | public | m_productionplan | m_productionplan_key | 6417510 | 72705 | 0.03 | 99.72 |
| openbravo | pg_default | public | c_order | c_order_documentno_id | 335 | 67221 | 0.03 | 75.61 |
| openbravo | pg_default | public | c_invoice | c_invoice_order | 61376 | 0.03 | 78.10 | |
| openbravo | pg_default | public | prpass_pass_trans | prpass_pass_trans_inst | 10851509 | 59467 | 0.03 | 99.87 |
| openbravo | pg_default | public | c_invoiceline | c_invoiceline_invoice | 83101 | 54697 | 0.02 | 83.86 |
| openbravo | pg_default | public | fin_payment_schedule | fin_paym_sch_inv_idx | 198937 | 48620 | 0.02 | 94.25 |
| openbravo | pg_default | public | prpass_pass_inst | prpass_pass_inst_orderline | 10667826 | 43376 | 0.02 | 99.91 |
| openbravo | pg_default | public | c_invoice | c_invoice_key | 52166469 | 43029 | 0.02 | 99.98 |
| openbravo | pg_default | public | m_productionline | m_productionline_prodplan | 6594681 | 41953 | 0.02 | 99.84 |
| openbravo | pg_default | public | m_transaction | m_transsaction_product | 3813 | 39913 | 0.02 | 93.16 |
| openbravo | pg_default | public | m_costing | m_costing_product_date | 28193 | 36501 | 0.02 | 98.95 |
| openbravo | pg_default | public | obmobc_logclient | obmobc_logclient_pk | 31315 | 0.01 | 88.38 | |
| openbravo | pg_default | public | m_inoutline | m_inoutline_orderline | 56329644 | 30831 | 0.01 | 99.99 |
| openbravo | pg_default | public | m_production | m_production_key | 147620 | 30551 | 0.01 | 93.14 |
| DB | Tablespace | Schema | Table | Index | Index | Table | |||
|---|---|---|---|---|---|---|---|---|---|
| Size | Growth | Ins | Upd | Del | |||||
| openbravo | pg_default | public | fact_acct | fact_acct_line_id | 2807 MB | 9792 kB | 16021 | 4162 | |
| openbravo | pg_default | public | fact_acct | fact_acct_table_record_id | 3021 MB | 6416 kB | 16009 | 4162 | |
| openbravo | pg_default | public | c_orderline | em_obpos_orderedqty | 920 MB | 3288 kB | 7629 | 12177 | |
| openbravo | pg_default | public | c_invoice | c_invoice_client_org_date_doc | 951 MB | 2384 kB | 3437 | 88678 | |
| openbravo | pg_default | public | m_productionline | m_productionline_prodplan | 1169 MB | 2032 kB | 9900 | 920 | |
| openbravo | pg_default | public | c_invoice | c_invoice_key | 411 MB | 1264 kB | 3437 | 88678 | |
| openbravo | pg_default | public | c_orderline | c_orderline_product | 862 MB | 1200 kB | 7629 | 12177 | |
| openbravo | pg_default | public | m_inout | m_inout_key | 403 MB | 616 kB | 3461 | 3560 | |
| openbravo | pg_default | public | prpass_pass_inst_hist | prpass_pass_inst_hist_key | 915 MB | 448 kB | 5157 | ||
| openbravo | pg_default | public | prpass_pass_inst_hist | prpass_pass_inst_hist_prd_ix | 702 MB | 400 kB | 5157 | ||
| openbravo | pg_default | public | prpass_pass_trans_hist | prpass_pass_trans_hist_key | 1037 MB | 360 kB | 5107 | ||
| openbravo | pg_default | public | prpass_pass_inst_hist | prpass_pass_inst_hist_part_ix | 702 MB | 352 kB | 5157 | ||
| openbravo | pg_default | public | prpass_pass_trans_hist | prpass_pass_trans_hist_vlo_ix | 797 MB | 352 kB | 5107 | ||
| openbravo | pg_default | public | m_productionline | em_cactl_m_prodline_prodorg | 1850 MB | 248 kB | 2105 | 174 | |
| openbravo | pg_default | public | m_requisitionline | m_requisitionln_requisit_idx | 30 MB | 232 kB | 3 | 3212 | |
| openbravo | pg_default | public | m_requisitionline | em_cactl_reqln_bp_idx | 28 MB | 232 kB | 3 | 2955 | |
| openbravo | pg_default | public | prpass_pass_inst_hist | prpass_pass_inst_hist_ord_ix | 702 MB | 232 kB | 5157 | ||
| openbravo | pg_default | public | prpass_pass_inst_hist | prpass_pass_inst_hist_pos_ix | 603 MB | 224 kB | 5157 | ||
| openbravo | pg_default | public | prpass_pass_trans_hist | prpass_pass_trans_hist_pos_ix | 590 MB | 208 kB | 5107 | ||
| openbravo | pg_default | public | prpass_timeslots_res | prpass_timeslots_res_key | 71 MB | 208 kB | 1316 | 706 | 565 |
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 | |||||
| openbravo | pg_default | public | fact_acct | fact_acct_line_id | 2807 MB | 9792 kB | 16021 | 4162 | |
| openbravo | pg_default | public | prpass_pass_inst_hist | prpass_pass_inst_hist_ord_ix | 702 MB | 232 kB | 5157 | ||
| openbravo | pg_default | public | prpass_pass_inst_hist | prpass_pass_inst_hist_ol_ix | 702 MB | 168 kB | 5157 | ||
| openbravo | pg_default | public | prpass_pass_inst_hist | prpass_pass_inst_hist_part_ix | 702 MB | 352 kB | 5157 | ||
| openbravo | pg_default | public | prpass_pass_inst_hist | prpass_pass_inst_hist_pos_ix | 603 MB | 224 kB | 5157 | ||
| openbravo | pg_default | public | prpass_pass_inst_hist | prpass_pass_inst_hist_prd_ix | 702 MB | 400 kB | 5157 | ||
| openbravo | pg_default | public | prpass_pass_inst_hist | prpass_pass_inst_hist_sta_ix | 267 MB | 136 kB | 5157 | ||
| openbravo | pg_default | public | prpass_pass_inst_hist | prpass_pass_inst_hist_unl_ix | 267 MB | 136 kB | 5157 | ||
| openbravo | pg_default | public | prpass_pass_inst_hist | prpass_pass_inst_hist_val_ix | 482 MB | 104 kB | 5157 | ||
| openbravo | pg_default | public | prpass_pass_trans_hist | prpass_pass_trans_hist_ins_ix | 795 MB | 5107 | |||
| openbravo | pg_default | public | prpass_pass_trans_hist | prpass_pass_trans_hist_pos_ix | 590 MB | 208 kB | 5107 | ||
| openbravo | pg_default | public | prpass_pass_trans_hist | prpass_pass_trans_hist_vlo_ix | 797 MB | 352 kB | 5107 | ||
| DB | Schema | Function | Executions | Time (s) | |||
|---|---|---|---|---|---|---|---|
| Total | Self | Mean | Mean self | ||||
| openbravo | public | cactl_calculate_consumption | 5221 | 1493.45 | 1492.99 | 0.286 | 0.286 |
| openbravo | public | c_order_post | 1150 | 115.60 | 0.03 | 0.101 | 0.000 |
| openbravo | public | c_order_post1 | 1150 | 115.56 | 0.02 | 0.100 | 0.000 |
| openbravo | public | c_order_post1 | 1150 | 115.54 | 10.24 | 0.100 | 0.009 |
| openbravo | public | c_invoice_create | 1143 | 52.27 | 7.63 | 0.046 | 0.007 |
| openbravo | profile | take_sample | 23 | 39.56 | 0.01 | 1.720 | 0.000 |
| openbravo | profile | take_sample_subset | 23 | 39.55 | 0.04 | 1.719 | 0.002 |
| openbravo | profile | take_sample | 23 | 39.51 | 3.39 | 1.718 | 0.147 |
| openbravo | public | c_invoice_post | 1143 | 35.28 | 11.54 | 0.031 | 0.010 |
| openbravo | public | pricm_createproductprice | 3332 | 35.17 | 17.48 | 0.011 | 0.005 |
| openbravo | public | ad_extension_point_handler | 6874 | 31.42 | 2.78 | 0.005 | 0.000 |
| openbravo | public | m_inout_create | 1143 | 29.99 | 0.03 | 0.026 | 0.000 |
| openbravo | public | m_inout_create | 1143 | 29.96 | 7.38 | 0.026 | 0.006 |
| openbravo | profile | dblink | 621 | 28.24 | 28.24 | 0.045 | 0.045 |
| openbravo | public | to_date | 7687118 | 19.68 | 19.68 | 0.000 | 0.000 |
| openbravo | public | m_inout_post | 1145 | 18.79 | 10.03 | 0.016 | 0.009 |
| openbravo | profile | collect_pg_stat_statements_stats | 22 | 17.72 | 0.46 | 0.806 | 0.021 |
| openbravo | public | m_get_stock_param | 8218 | 13.46 | 13.25 | 0.002 | 0.002 |
| openbravo | public | m_update_inventory | 63635 | 13.45 | 11.70 | 0.000 | 0.000 |
| openbravo | public | ad_column_identifier | 28720 | 13.02 | 12.82 | 0.000 | 0.000 |
| DB | Schema | Function | Executions | Time (s) | |||
|---|---|---|---|---|---|---|---|
| Total | Self | Mean | Mean self | ||||
| openbravo | public | to_date | 7687118 | 19.68 | 19.68 | 0.000 | 0.000 |
| openbravo | public | to_char | 3501717 | 1.83 | 1.83 | 0.000 | 0.000 |
| openbravo | public | substract_days | 2371703 | 1.79 | 1.79 | 0.000 | 0.000 |
| openbravo | public | ad_istriggerenabled | 1539469 | 10.07 | 10.07 | 0.000 | 0.000 |
| openbravo | public | add_days | 1044848 | 1.32 | 1.32 | 0.000 | 0.000 |
| openbravo | public | to_date | 633748 | 1.39 | 1.39 | 0.000 | 0.000 |
| openbravo | public | uuid_generate_v4 | 463284 | 1.55 | 1.55 | 0.000 | 0.000 |
| openbravo | public | substract_days | 416024 | 0.46 | 0.46 | 0.000 | 0.000 |
| openbravo | public | to_char | 319054 | 0.36 | 0.36 | 0.000 | 0.000 |
| openbravo | public | to_number | 186276 | 0.69 | 0.69 | 0.000 | 0.000 |
| openbravo | public | get_uuid | 154428 | 2.83 | 1.28 | 0.000 | 0.000 |
| openbravo | public | ad_isorgincluded | 138924 | 2.11 | 2.11 | 0.000 | 0.000 |
| openbravo | public | trunc | 114906 | 0.23 | 0.23 | 0.000 | 0.000 |
| openbravo | public | trunc | 114610 | 0.24 | 0.24 | 0.000 | 0.000 |
| openbravo | public | round | 79281 | 0.14 | 0.14 | 0.000 | 0.000 |
| openbravo | public | m_update_inventory | 63635 | 13.45 | 11.70 | 0.000 | 0.000 |
| openbravo | public | m_update_stockaux | 58800 | 9.49 | 8.83 | 0.000 | 0.000 |
| openbravo | public | add_days | 58742 | 0.08 | 0.08 | 0.000 | 0.000 |
| openbravo | public | obequals | 51396 | 0.20 | 0.20 | 0.000 | 0.000 |
| openbravo | public | ad_ep_instance_para_insert | 30806 | 1.39 | 1.03 | 0.000 | 0.000 |
| DB | Schema | Function | Executions | Time (s) | |||
|---|---|---|---|---|---|---|---|
| Total | Self | Mean | Mean self | ||||
| openbravo | public | pricm_productprice | 3381 | 35.42 | 0.08 | 0.010 | 0.000 |
| openbravo | public | m_productionline_trg | 29700 | 21.85 | 4.04 | 0.001 | 0.000 |
| openbravo | public | cactl_m_prodline_losses_trg | 9900 | 12.80 | 2.71 | 0.001 | 0.000 |
| openbravo | public | cactl_product_org | 29700 | 9.76 | 1.49 | 0.000 | 0.000 |
| openbravo | public | m_transaction_trg | 44070 | 8.57 | 4.50 | 0.000 | 0.000 |
| openbravo | public | c_orderline_trg2 | 28733 | 7.93 | 2.37 | 0.000 | 0.000 |
| openbravo | public | au_c_order_trg | 17184 | 6.56 | 6.32 | 0.000 | 0.000 |
| openbravo | public | c_invoiceline_trg2 | 9325 | 6.07 | 2.20 | 0.001 | 0.000 |
| openbravo | public | aeatsii_invoice_trg | 111543 | 3.94 | 1.85 | 0.000 | 0.000 |
| openbravo | public | c_invoice_trg | 111543 | 3.93 | 3.22 | 0.000 | 0.000 |
| openbravo | public | c_orderline2_trg | 28733 | 3.10 | 2.94 | 0.000 | 0.000 |
| openbravo | public | c_invoice_trg2 | 108691 | 2.51 | 1.41 | 0.000 | 0.000 |
| openbravo | public | c_orderlinetax_trg | 9704 | 1.87 | 1.55 | 0.000 | 0.000 |
| openbravo | public | c_invoicelinetax_trg | 9325 | 1.85 | 1.23 | 0.000 | 0.000 |
| openbravo | public | m_inoutline_trg | 9469 | 1.80 | 1.76 | 0.000 | 0.000 |
| openbravo | public | c_orderline_trg | 28733 | 1.65 | 1.45 | 0.000 | 0.000 |
| openbravo | public | priuti_c_invoice_ref_trg | 108691 | 1.51 | 0.90 | 0.000 | 0.000 |
| openbravo | public | intr_c_orderline_trg | 28733 | 1.43 | 0.52 | 0.000 | 0.000 |
| openbravo | public | c_ordline_chk_restrictions_trg | 28733 | 1.39 | 1.29 | 0.000 | 0.000 |
| openbravo | public | pruti_inherit_invoice_contact | 108691 | 1.36 | 0.76 | 0.000 | 0.000 |
| DB | Tablespace | Schema | Table | Vacuum count | Autovacuum count | Ins | Upd | Del | Upd(HOT) |
|---|---|---|---|---|---|---|---|---|---|
| openbravo | pg_default | public | ad_ep_instance_para | 475 | 30941 | 30941 | |||
| openbravo | pg_default | profile | last_stat_tables | 156 | 41458 | 3768 | 41454 | 49 | |
| openbravo | pg_default | profile | last_stat_indexes | 156 | 71047 | 1619 | 71047 | ||
| openbravo | pg_default | profile | last_stat_user_functions | 156 | 12443 | 1610 | 12443 | 69 | |
| openbravo | pg_default | public | m_stock_aux | 111 | 17033 | 42367 | 17033 | 31802 | |
| openbravo | pg_default | public | c_import_entry | 75 | 11076 | 11076 | 11074 | ||
| openbravo | pg_default | public | ad_sequence | 57 | 10893 | 10769 | |||
| openbravo | pg_default | public | obre_reservation | 41 | 374 | 2303 | 376 | 13 | |
| openbravo | pg_default | public | obpos_applications | 35 | 4882 | 4881 | |||
| openbravo | pg_default | public | fin_financial_account | 30 | 2457 | 2457 | |||
| openbravo | pg_default | public | obre_resource | 13 | 2660 | 2657 | |||
| openbravo | pg_default | pg_catalog | pg_class | 5 | 300 | 23943 | 299 | 23942 | |
| openbravo | pg_default | public | m_transaction_last | 5 | 13846 | ||||
| openbravo | pg_default | public | m_storage_detail | 2 | 63635 | 45442 | |||
| postgres | pg_global | pg_catalog | pg_shdepend | 1 | 143 | 144 | |||
| postgres | pg_global | pg_catalog | pg_database | 1 | 19 | 19 | |||
| openbravo | pg_global | pg_catalog | pg_shdepend | 1 | 78 | 77 | |||
| openbravo | pg_default | pg_catalog | pg_type | 1 | 138 | 150 | |||
| openbravo | pg_default | pg_catalog | pg_attribute | 1 | 1900 | 1990 | |||
| openbravo | pg_global | pg_catalog | pg_database | 1 | 17 | 17 |
| DB | Tablespace | Schema | Table | Analyze count | Autoanalyze count | Ins | Upd | Del | Upd(HOT) |
|---|---|---|---|---|---|---|---|---|---|
| openbravo | pg_default | public | ad_ep_instance_para | 659 | 30941 | 30941 | |||
| openbravo | pg_default | public | m_stock_aux | 185 | 17033 | 42367 | 17033 | 31802 | |
| openbravo | pg_default | public | c_import_entry | 168 | 11076 | 11076 | 11074 | ||
| openbravo | pg_default | public | ad_sequence | 104 | 10893 | 10769 | |||
| openbravo | pg_default | public | obpos_applications | 77 | 4882 | 4881 | |||
| openbravo | pg_default | profile | last_stat_tables | 46 | 23 | 41458 | 3768 | 41454 | 49 |
| openbravo | pg_default | profile | last_stat_indexes | 46 | 23 | 71047 | 1619 | 71047 | |
| openbravo | pg_default | profile | last_stat_user_functions | 46 | 23 | 12443 | 1610 | 12443 | 69 |
| openbravo | pg_default | public | obre_reservation | 51 | 374 | 2303 | 376 | 13 | |
| openbravo | pg_default | public | fin_financial_account | 37 | 2457 | 2457 | |||
| openbravo | pg_default | public | obre_resource | 27 | 2660 | 2657 | |||
| openbravo | pg_default | pg_catalog | pg_class | 23 | 300 | 23943 | 299 | 23942 | |
| openbravo | pg_default | profile | last_stat_tablespaces | 22 | 46 | 46 | |||
| openbravo | pg_default | public | m_storage_detail | 11 | 63635 | 45442 | |||
| openbravo | pg_default | public | m_transaction_last | 11 | 13846 | ||||
| openbravo | pg_default | public | ad_process_request | 5 | 3 | 494 | 481 | ||
| openbravo | pg_default | public | c_bpartner | 5 | 3976 | 3976 | |||
| openbravo | pg_default | pg_catalog | pg_type | 3 | 138 | 150 | |||
| openbravo | pg_default | profile | last_stat_database | 3 | 92 | 92 | |||
| openbravo | pg_default | profile | sample_stat_tables | 3 | 2159 | 2295 |
| DB | Tablespace | Schema | Table | Index | ~Vacuum bytes | Vacuum cnt | Autovacuum cnt | IX size | Relsize |
|---|---|---|---|---|---|---|---|---|---|
| openbravo | pg_default | public | m_stock_aux | m_stock_aux_aux_id | 284 MB | 111 | 2616 kB | 4400 kB | |
| openbravo | pg_default | public | ad_ep_instance_para | ad_ep_instance_para_key | 160 MB | 475 | 344 kB | 31 kB | |
| openbravo | pg_default | public | c_import_entry | em_prres_organization_idx | 101 MB | 75 | 1384 kB | 1244 kB | |
| openbravo | pg_default | profile | last_stat_indexes | pk_last_stat_indexes | 84 MB | 155 | 552 kB | 2040 kB | |
| openbravo | pg_default | public | m_stock_aux | m_stock_aux_storage_detail_id | 79 MB | 111 | 728 kB | 4400 kB | |
| openbravo | pg_default | public | c_import_entry | c_import_entry_key | 70 MB | 75 | 952 kB | 1244 kB | |
| openbravo | pg_default | public | m_stock_aux | m_stock_aux_key | 67 MB | 111 | 616 kB | 4400 kB | |
| openbravo | pg_default | public | c_import_entry | em_prres_typeofdata_idx | 66 MB | 75 | 904 kB | 1244 kB | |
| openbravo | pg_default | public | c_import_entry | c_import_entry_type_status | 63 MB | 75 | 856 kB | 1244 kB | |
| openbravo | pg_default | public | c_import_entry | em_obpos_application_fk | 57 MB | 75 | 784 kB | 1244 kB | |
| openbravo | pg_default | public | c_import_entry | c_import_entry_idx | 50 MB | 75 | 680 kB | 1244 kB | |
| openbravo | pg_default | profile | last_stat_tables | pk_last_stat_tables | 44 MB | 151 | 296 kB | 1558 kB | |
| openbravo | pg_default | public | m_storage_detail | m_storage_detail_un | 40 MB | 2 | 20 MB | 29 MB | |
| openbravo | pg_default | public | m_storage_detail | m_storage_detail_uom | 31 MB | 2 | 15 MB | 29 MB | |
| openbravo | pg_default | public | m_storage_detail | m_storage_detail_locator | 28 MB | 2 | 14 MB | 29 MB | |
| openbravo | pg_default | public | m_storage_detail | m_storagedet_qtyorderonhand | 28 MB | 2 | 14 MB | 29 MB | |
| openbravo | pg_default | public | m_storage_detail | m_storage_detail_product | 19 MB | 2 | 9896 kB | 29 MB | |
| openbravo | pg_default | public | m_storage_detail | m_storage_detail_key | 18 MB | 2 | 9016 kB | 29 MB | |
| openbravo | pg_default | public | m_transaction_last | m_trx_last_product_org_wh | 13 MB | 5 | 2648 kB | 3552 kB | |
| openbravo | pg_default | public | m_storage_detail | m_storagedet_qtyonhand | 12 MB | 2 | 6120 kB | 29 MB |
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 |
|---|---|---|---|---|---|---|---|
| openbravo | public | prpass_timeslots_res | 722399 | 141015 | 16 | 2026-04-30 12:07:18.698105+01 | 263 MB |
| openbravo | pg_catalog | pg_statistic | 10764 | 1879 | 14 | 2026-07-19 10:33:06.789292+01 | 7064 kB |
| openbravo | public | c_invoice | 7037871 | 1151776 | 14 | 2026-07-08 00:23:08.546646+01 | 7098 MB |
| openbravo | public | m_requisitionline | 318691 | 50539 | 13 | 2026-07-06 12:22:50.3815+01 | 184 MB |
| openbravo | pg_toast | pg_toast_232469 | 13517 | 1930 | 12 | 2026-05-19 02:38:47.391039+01 | 30 MB |
| openbravo | profile | sample_stat_tables | 27279 | 3733 | 12 | 2026-07-19 04:00:30.723333+01 | 8672 kB |
| openbravo | public | m_storage_detail | 51313 | 6856 | 11 | 2026-07-19 15:17:40.789195+01 | 29 MB |
| openbravo | public | m_product | 15688 | 1806 | 10 | 2026-02-20 19:44:18.669967+00 | 10 MB |
| openbravo | public | fin_finacc_transaction | 6615710 | 707481 | 9 | 2026-04-02 14:41:49.577329+01 | 3429 MB |
| openbravo | public | c_order | 7295034 | 691934 | 8 | 7801 MB | |
| openbravo | public | prpass_pass_inst | 675179 | 57756 | 7 | 2026-07-16 21:52:27.999093+01 | 6280 MB |
| openbravo | public | fact_acct | 38088463 | 2800214 | 6 | 2025-07-31 23:28:10.407953+01 | 31 GB |
| openbravo | public | ad_process_run | 21096 | 1329 | 5 | 2026-06-01 11:38:18.108022+01 | 22 MB |
| openbravo | public | c_orderline | 14435297 | 797668 | 5 | 8706 MB | |
| openbravo | pg_catalog | pg_attribute | 37245 | 1350 | 3 | 2026-07-19 15:13:25.008744+01 | 6840 kB |
| openbravo | public | m_inout | 7268575 | 262926 | 3 | 2025-10-20 23:54:32.431835+01 | 4179 MB |
| openbravo | public | m_production | 1544624 | 50320 | 3 | 498 MB | |
| openbravo | public | prpass_pass_trans | 555129 | 20770 | 3 | 2026-07-16 21:39:42.083421+01 | 5152 MB |
| openbravo | pg_toast | pg_toast_2619 | 2510 | 34 | 1 | 2026-07-20 01:00:33.383514+01 | 7288 kB |
| openbravo | public | m_productionline | 20108930 | 224763 | 1 | 7890 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 |
|---|---|---|---|---|---|---|---|---|
| openbravo | pg_catalog | pg_statistic | 10764 | 1879 | 9854593 | 77945 | 7064 kB | |
| openbravo | public | m_productionline | 20108930 | 224763 | 1859575 | 9 | 2026-04-18 16:29:40.193815+01 | 7890 MB |
| openbravo | public | m_production | 1544624 | 50320 | 131063 | 8 | 2026-04-24 10:39:04.707798+01 | 498 MB |
| openbravo | pg_catalog | pg_attribute | 37245 | 1350 | 2710 | 7 | 2026-07-19 15:14:24.201052+01 | 6840 kB |
| openbravo | public | prpass_pass_trans | 555129 | 20770 | 45230 | 7 | 2026-07-16 21:03:29.20469+01 | 5152 MB |
| openbravo | public | m_product | 15688 | 1806 | 1245 | 7 | 2026-07-13 10:43:57.196489+01 | 10 MB |
| openbravo | public | prpass_pass_inst_hist | 12378125 | 0 | 980937 | 7 | 2026-07-16 19:56:26.433478+01 | 5792 MB |
| openbravo | public | prpass_pass_inst | 675179 | 57756 | 50309 | 6 | 2026-07-18 11:00:16.903044+01 | 6280 MB |
| openbravo | public | fin_finacc_transaction | 6615710 | 707481 | 399883 | 5 | 2026-06-27 12:53:00.341557+01 | 3429 MB |
| openbravo | public | c_invoice | 7037871 | 1151776 | 452339 | 5 | 2026-07-16 12:28:46.256497+01 | 7098 MB |
| openbravo | public | c_invoicetax | 8745381 | 32757 | 488506 | 5 | 2026-02-09 12:46:03.970918+00 | 2781 MB |
| openbravo | public | c_order | 7295034 | 691934 | 455520 | 5 | 2026-06-29 09:41:55.68684+01 | 7801 MB |
| openbravo | public | prpass_pass_trans_hist | 14003589 | 0 | 784654 | 5 | 2026-07-16 20:00:37.093696+01 | 4821 MB |
| openbravo | public | c_invoiceline | 14271376 | 50805 | 627488 | 4 | 2026-02-28 09:04:55.209925+00 | 7437 MB |
| openbravo | public | m_inoutline | 14274607 | 29952 | 601789 | 4 | 2026-03-06 11:59:32.517041+00 | 5986 MB |
| openbravo | public | c_orderline | 14435297 | 797668 | 499409 | 3 | 2026-07-06 00:03:35.926283+01 | 8706 MB |
| openbravo | public | m_storage_detail | 51313 | 6856 | 1809 | 3 | 2026-07-19 16:47:26.118612+01 | 29 MB |
| openbravo | public | m_productionplan | 3456863 | 101 | 107343 | 3 | 2026-02-28 13:31:59.297829+00 | 1243 MB |
| openbravo | public | ad_process_run | 21096 | 1329 | 634 | 2 | 2026-07-19 20:34:29.990966+01 | 22 MB |
| openbravo | public | fact_acct | 38088463 | 2800214 | 1043904 | 2 | 2026-06-25 13:36:17.490096+01 | 31 GB |
| Defined settings | ||||
|---|---|---|---|---|
| Setting | reset_val | Unit | Source | Notes |
| archive_command | /bin/true | /var/lib/postgresql/10/main/postgresql.auto.conf:3 | ||
| archive_mode | on | /etc/postgresql/10/main/postgresql.conf:217 | ||
| 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 | 11010048 | 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/09-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 | ||
| listen_addresses | * | /etc/postgresql/10/main/postgresql.conf:59 | ||
| log_autovacuum_min_duration | 0 | ms | /etc/postgresql/10/main/conf.d/09-pgbadger.conf:10 | |
| log_checkpoints | on | /etc/postgresql/10/main/conf.d/09-pgbadger.conf:1 | ||
| log_connections | on | /etc/postgresql/10/main/conf.d/09-pgbadger.conf:2 | ||
| log_disconnections | on | /etc/postgresql/10/main/conf.d/09-pgbadger.conf:3 | ||
| log_line_prefix | %t [%p]:[%l-1] db=%d,user=%u,app=%a,client=%h | /etc/postgresql/10/main/conf.d/09-pgbadger.conf:5 | ||
| log_lock_waits | on | /etc/postgresql/10/main/conf.d/09-pgbadger.conf:6 | ||
| log_min_duration_statement | 5000 | ms | /etc/postgresql/10/main/conf.d/01-openbravo-standard-postgres10.conf:35 | |
| log_temp_files | 0 | kB | /etc/postgresql/10/main/conf.d/09-pgbadger.conf:8 | |
| log_timezone | localtime | /etc/postgresql/10/main/conf.d/01-openbravo-standard-postgres10.conf:22 | ||
| maintenance_work_mem | 2097152 | kB | /etc/postgresql/10/main/postgresql.conf:123 | |
| max_connections | 500 | /etc/postgresql/10/main/postgresql.conf:64 | ||
| max_locks_per_transaction | 128 | /etc/postgresql/10/main/conf.d/01-openbravo-standard-postgres10.conf:17 | ||
| max_parallel_workers | 16 | /etc/postgresql/10/main/postgresql.conf:167 | ||
| max_parallel_workers_per_gather | 4 | /etc/postgresql/10/main/postgresql.conf:166 | ||
| max_stack_depth | 2048 | kB | ||
| max_standby_streaming_delay | 10800000 | ms | /etc/postgresql/10/main/postgresql.conf:264 | |
| max_wal_size | 57344 | MB | /etc/postgresql/10/main/postgresql.conf:209 | |
| max_worker_processes | 16 | /etc/postgresql/10/main/postgresql.conf:165 | ||
| min_wal_size | 1024 | MB | /etc/postgresql/10/main/postgresql.conf:210 | |
| pg_conf_load_time | 2026-05-19 04:01:11.408995+01 | |||
| pg_postmaster_start_time | 2026-05-19 04:01:11.687059+01 | |||
| pg_stat_statements.max | 10000 | /etc/postgresql/10/main/postgresql.conf:660 | ||
| pg_stat_statements.track | all | /etc/postgresql/10/main/postgresql.conf:661 | ||
| random_page_cost | 1.1 | /etc/postgresql/10/main/postgresql.conf:307 | ||
| server_encoding | UTF8 | |||
| shared_buffers | 3670016 | 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/09-pgbadger.conf:9 | ||
| 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 | |
| wal_keep_segments | 2500 | /etc/postgresql/10/main/postgresql.conf:237 | ||
| wal_receiver_timeout | 601000 | ms | /etc/postgresql/10/main/postgresql.conf:271 | |
| wal_sender_timeout | 0 | ms | /etc/postgresql/10/main/postgresql.conf:238 | |
| work_mem | 36700 | 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_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 | /etc/postgresql/10/main/postgresql.conf:259 | ||
| 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 | |||
| 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/09-pgbadger.conf:4 | ||
| 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/09-pgbadger.conf:7 | ||
| log_statement_stats | off | |||
| log_truncate_on_rotation | off | |||
| max_files_per_process | 1000 | |||
| max_function_args | 100 | |||
| max_identifier_length | 63 | |||
| max_index_keys | 32 | |||
| max_logical_replication_workers | 4 | |||
| 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_sync_workers_per_subscription | 2 | |||
| max_wal_senders | 10 | /etc/postgresql/10/main/postgresql.conf:235 | ||
| 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 | 7195940715332384199 | |||
| 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_level | replica | /etc/postgresql/10/main/postgresql.conf:180 | ||
| wal_log_hints | off | |||
| wal_receiver_status_interval | 10 | s | ||
| wal_retrieve_retry_interval | 5000 | ms | ||
| wal_segment_size | 2048 | 8kB | ||
| wal_sync_method | fdatasync | |||
| wal_writer_delay | 200 | ms | ||
| wal_writer_flush_after | 128 | 8kB | ||
| xmlbinary | base64 | |||
| xmloption | content | |||
| zero_damaged_pages | off | |||