pg_profile version 0.3.6
Server name: local
Report interval: 2026-07-18 04:00:01+01 - 2026-07-19 03:00:01+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 | 869605 | 5729 | 96.64 | 147114175 | 4237373529 | 21627820775 | 3393035764 | 886082 | 565255 | 969731 | 3237 MB | 37 | 310 GB | 362 MB | |
| postgres | 11707 | 99.90 | 635 | 657730 | 1906139 | 348268 | 7 | 6391 kB | |||||||
| Total | 881312 | 5729 | 96.65 | 147114810 | 4238031259 | 21629726914 | 3393384032 | 886082 | 565262 | 969731 | 3237 MB | 37 | 310 GB | 362 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 | 12804779 | 16570.25 | 192.63 | 4798047695 | 24754198 | 2168826 | 1969 | 169719 | 414437 | 2232 | 40053 | |||
| postgres | 5612 | 8.74 | 86756 | 345 | ||||||||||
| template1 | 6348 | 8.20 | 7176 | 276 | ||||||||||
| Total | 12816739 | 16587.19 | 192.63 | 4798141627 | 24754198 | 2168826 | 1969 | 169719 | 414437 | 2232 | 40674 | |||
| Metric | Value |
|---|---|
| Scheduled checkpoints | 276 |
| Requested checkpoints | |
| Checkpoint write time (s) | 46941.17 |
| Checkpoint sync time (s) | 20.58 |
| Checkpoints buffers written | 1417163 |
| Background buffers written | 112624 |
| Backend buffers written | 179931 |
| Backend fsync count | |
| Bgwriter interrupts (too many buffers) | 814 |
| Number of buffers allocated | 24012318 |
| WAL generated | 10166 MB |
| WAL segments archived | 635 |
| WAL segments archive failed |
| Tablespace | Path | Size | Growth |
|---|---|---|---|
| pg_default | 310 GB | 362 MB | |
| pg_global | 1014 kB |
| Query ID | Database | Exec (s) | %Total | Rows | Execution times (ms) | Executions | |||
|---|---|---|---|---|---|---|---|---|---|
| Mean | Min | Max | StdErr | ||||||
[9603f2b6] | openbravo | 2614.13 | 15.76 | 206281 | 604.984 | 553.002 | 795.201 | 29.491 | 4321 |
[5b93a467] | openbravo | 2561.16 | 15.44 | 18559.132 | 16430.295 | 193047.258 | 15180.866 | 138 | |
[f51c7e38] | openbravo | 1248.50 | 7.53 | 3439 | 54282.644 | 47614.088 | 70873.150 | 6900.004 | 23 |
[3111e984] | openbravo | 1244.17 | 7.50 | 3439 | 361.783 | 25.212 | 3462.141 | 654.113 | 3439 |
[e0869ab2] | openbravo | 1097.33 | 6.62 | 7951.640 | 7609.764 | 12758.024 | 470.988 | 138 | |
[fb2a3095] | openbravo | 665.70 | 4.01 | 4823.909 | 4205.956 | 17634.363 | 1744.016 | 138 | |
[a6742d25] | openbravo | 654.71 | 3.95 | 905984 | 25.989 | 0.621 | 10420.495 | 141.235 | 25192 |
[cd9c0fd2] | openbravo | 362.72 | 2.19 | 6087 | 362724.584 | 362724.584 | 362724.584 | 1 | |
[7318d810] | openbravo | 341.95 | 2.06 | 38074329 | 341950.986 | 341950.986 | 341950.986 | 1 | |
[3fe437d2] | openbravo | 202.62 | 1.22 | 7418 | 27.307 | 0.007 | 2043.008 | 71.503 | 7420 |
[c4153bc0] | openbravo | 201.42 | 1.21 | 2429186 | 812.191 | 435.153 | 7163.891 | 573.612 | 248 |
[c1020a32] | openbravo | 191.09 | 1.15 | 6 | 191093.618 | 191093.618 | 191093.618 | 1 | |
[92ec818a] | openbravo | 182.44 | 1.10 | 30630373 | 182435.376 | 182435.376 | 182435.376 | 1 | |
[4f62fc29] | openbravo | 174.78 | 1.05 | 52 | 43694.996 | 43158.693 | 44658.314 | 572.312 | 4 |
[cd0b881c] | openbravo | 138.27 | 0.83 | 32690643 | 138272.341 | 138272.341 | 138272.341 | 1 | |
[ba9b8900] | openbravo | 127.49 | 0.77 | 851 | 149.812 | 136.391 | 173.285 | 4.558 | 851 |
[f3303a00] | openbravo | 126.76 | 0.76 | 148.953 | 135.472 | 171.712 | 4.611 | 851 | |
[569d183d] | openbravo | 125.21 | 0.75 | 14255140 | 125210.795 | 125210.795 | 125210.795 | 1 | |
[ae9bc6b7] | openbravo | 122.57 | 0.74 | 14398784 | 122573.625 | 122573.625 | 122573.625 | 1 | |
[57d3e9b9] | openbravo | 121.84 | 0.73 | 923.047 | 309.555 | 66630.757 | 5754.719 | 132 | |
| Query ID | Database | Executions | %Total | Rows | Mean(ms) | Min(ms) | Max(ms) | StdErr(ms) | Elapsed(s) |
|---|---|---|---|---|---|---|---|---|---|
[6df21622] | openbravo | 670822 | 5.23 | 670822 | 0.003 | 0.001 | 1.987 | 0.003 | 1.9 |
[d2788d4] | openbravo | 590948 | 4.61 | 590948 | 0.003 | 0.001 | 4.125 | 0.007 | 1.6 |
[aada7118] | openbravo | 304101 | 2.37 | 10949 | 0.010 | 0.003 | 4.182 | 0.024 | 2.9 |
[2b8e321f] | openbravo | 212939 | 1.66 | 212939 | 0.006 | 0.002 | 0.535 | 0.004 | 1.2 |
[c7e884e0] | openbravo | 212784 | 1.66 | 212784 | 0.003 | 0.002 | 0.705 | 0.003 | 0.7 |
[6f9b1a85] | openbravo | 196134 | 1.53 | 0.001 | 0.000 | 0.171 | 0.001 | 0.1 | |
[2049516b] | openbravo | 192160 | 1.50 | 0.001 | 0.000 | 0.143 | 0.001 | 0.1 | |
[1c1c8a81] | openbravo | 190981 | 1.49 | 190981 | 0.003 | 0.002 | 1.102 | 0.003 | 0.6 |
[6d0d7fc] | openbravo | 179874 | 1.40 | 179874 | 0.005 | 0.002 | 0.442 | 0.004 | 0.9 |
[30f21dca] | openbravo | 137375 | 1.07 | 137375 | 0.252 | 0.203 | 3.978 | 0.056 | 34.6 |
[a5716dbe] | openbravo | 137375 | 1.07 | 137375 | 0.228 | 0.204 | 3.696 | 0.041 | 31.3 |
[d9433e44] | openbravo | 134407 | 1.05 | 134407 | 0.003 | 0.002 | 2.330 | 0.007 | 0.4 |
[81592075] | openbravo | 121905 | 0.95 | 121905 | 0.003 | 0.002 | 0.558 | 0.002 | 0.3 |
[5d6197e1] | openbravo | 111453 | 0.87 | 111453 | 0.008 | 0.004 | 8.415 | 0.029 | 0.8 |
[263f5b0b] | openbravo | 102910 | 0.80 | 57360 | 0.004 | 0.001 | 0.135 | 0.003 | 0.4 |
[880044aa] | openbravo | 100060 | 0.78 | 100060 | 0.002 | 0.001 | 0.236 | 0.001 | 0.2 |
[2b7ebfcc] | openbravo | 97596 | 0.76 | 97596 | 0.009 | 0.007 | 0.899 | 0.005 | 0.9 |
[3081048d] | openbravo | 87618 | 0.68 | 87618 | 0.004 | 0.002 | 0.219 | 0.002 | 0.4 |
[b86e6a95] | openbravo | 86046 | 0.67 | 86046 | 0.002 | 0.001 | 2.655 | 0.009 | 0.1 |
[a342a193] | openbravo | 70753 | 0.55 | 70753 | 0.004 | 0.002 | 0.751 | 0.005 | 0.3 |
| Query ID | Database | blks fetched | %Total | Hits(%) | Elapsed(s) | Rows | Executions |
|---|---|---|---|---|---|---|---|
[5b93a467] | openbravo | 1487934047 | 31.01 | 96.22 | 2561.2 | 138 | |
[a6742d25] | openbravo | 714433217 | 14.89 | 99.98 | 654.7 | 905984 | 25192 |
[e0869ab2] | openbravo | 661775835 | 13.79 | 99.96 | 1097.3 | 138 | |
[f51c7e38] | openbravo | 294558227 | 6.14 | 99.44 | 1248.5 | 3439 | 23 |
[3111e984] | openbravo | 293879663 | 6.12 | 99.44 | 1244.2 | 3439 | 3439 |
[c4153bc0] | openbravo | 145585375 | 3.03 | 99.88 | 201.4 | 2429186 | 248 |
[fb2a3095] | openbravo | 137611188 | 2.87 | 59.65 | 665.7 | 138 | |
[3fe437d2] | openbravo | 90631634 | 1.89 | 99.82 | 202.6 | 7418 | 7420 |
[72db11e8] | openbravo | 80854087 | 1.69 | 99.70 | 46.8 | 138 | |
[427f2756] | openbravo | 67588773 | 1.41 | 100.00 | 63.8 | 11 | 11 |
[2266d068] | openbravo | 62522053 | 1.30 | 100.00 | 61.1 | 267 | 19 |
[9603f2b6] | openbravo | 58806410 | 1.23 | 100.00 | 2614.1 | 206281 | 4321 |
[50544ba4] | openbravo | 30722605 | 0.64 | 100.00 | 29.1 | 5 | 5 |
[85280afd] | openbravo | 30721961 | 0.64 | 96.54 | 35.3 | 5 | 5 |
[ba9b8900] | openbravo | 28570349 | 0.60 | 99.99 | 127.5 | 851 | 851 |
[f3303a00] | openbravo | 28531494 | 0.59 | 100.00 | 126.8 | 851 | |
[4f62fc29] | openbravo | 24599103 | 0.51 | 100.00 | 174.8 | 52 | 4 |
[57d3e9b9] | openbravo | 20544600 | 0.43 | 97.08 | 121.8 | 132 | |
[8790d132] | openbravo | 19485388 | 0.41 | 99.94 | 20.1 | 40 | 9 |
[94eb716f] | openbravo | 18438140 | 0.38 | 100.00 | 16.6 | 3 | 3 |
| Query ID | Database | Reads | %Total | Hits(%) | Elapsed(s) | Rows | Executions |
|---|---|---|---|---|---|---|---|
[5b93a467] | openbravo | 56311311 | 37.51 | 96.22 | 2561.2 | 138 | |
[fb2a3095] | openbravo | 55528142 | 36.99 | 59.65 | 665.7 | 138 | |
[7318d810] | openbravo | 4019533 | 2.68 | 342.0 | 38074329 | 1 | |
[ab56bf1d] | openbravo | 2188181 | 1.46 | 45.54 | 18.7 | 29 | 5 |
[c1020a32] | openbravo | 2179843 | 1.45 | 84.62 | 191.1 | 6 | 1 |
[92ec818a] | openbravo | 1671554 | 1.11 | 0.00 | 182.4 | 30630373 | 1 |
[f51c7e38] | openbravo | 1659377 | 1.11 | 99.44 | 1248.5 | 3439 | 23 |
[3111e984] | openbravo | 1657677 | 1.10 | 99.44 | 1244.2 | 3439 | 3439 |
[85280afd] | openbravo | 1062216 | 0.71 | 96.54 | 35.3 | 5 | 5 |
[9c2209ed] | openbravo | 992402 | 0.66 | 1.42 | 93.5 | 20086259 | 1 |
[4def43cd] | openbravo | 980154 | 0.65 | 1.53 | 86.6 | 7280192 | 1 |
[4a05f158] | openbravo | 970051 | 0.65 | 14.54 | 11.2 | 1 | 1 |
[cd0b881c] | openbravo | 963188 | 0.64 | 138.3 | 32690643 | 1 | |
[ae9bc6b7] | openbravo | 952289 | 0.63 | 14.30 | 122.6 | 14398784 | 1 |
[1a997f87] | openbravo | 946884 | 0.63 | 14.80 | 10.9 | 1 | |
[569d183d] | openbravo | 876834 | 0.58 | 7.75 | 125.2 | 14255140 | 1 |
[6f92ba97] | openbravo | 855072 | 0.57 | 5.86 | 85.4 | 7032003 | 1 |
[336527ac] | openbravo | 740417 | 0.49 | 77.0 | 12451330 | 1 | |
[54e476f8] | openbravo | 738973 | 0.49 | 8.04 | 8.5 | 691938 | 1 |
[90c9c123] | openbravo | 676134 | 0.45 | 77.15 | 85.3 | 7217 | 4 |
| Query ID | Database | Dirtied | %Total | Hits(%) | Elapsed(s) | Rows | Executions |
|---|---|---|---|---|---|---|---|
[a03a69a5] | openbravo | 183602 | 8.47 | 98.30 | 31.0 | 57120 | 57120 |
[eb67e33f] | openbravo | 104464 | 4.82 | 96.10 | 25.0 | 69326 | 69326 |
[4211bbca] | openbravo | 95536 | 4.40 | 43.12 | 15.6 | 2 | |
[3695269c] | openbravo | 81357 | 3.75 | 96.99 | 16.5 | 18709 | 18709 |
[74267a2] | openbravo | 60042 | 2.77 | 99.45 | 111.9 | 1088 | 1088 |
[a35d3b99] | openbravo | 60042 | 2.77 | 99.45 | 111.9 | 1088 | 1088 |
[ea4e56b9] | openbravo | 60042 | 2.77 | 99.45 | 111.9 | 1088 | 1088 |
[c1020a32] | openbravo | 42419 | 1.96 | 84.62 | 191.1 | 6 | 1 |
[2ff59f28] | openbravo | 36698 | 1.69 | 99.88 | 7.7 | 68994 | 68994 |
[205b8c88] | openbravo | 35108 | 1.62 | 98.63 | 6.4 | 12344 | 12344 |
[6f92ba97] | openbravo | 33898 | 1.56 | 5.86 | 85.4 | 7032003 | 1 |
[8f1d721] | openbravo | 33756 | 1.56 | 99.69 | 23.0 | 7567 | 7567 |
[6bdd6481] | openbravo | 31410 | 1.45 | 98.80 | 8.6 | 7271 | 7271 |
[d3eb78] | openbravo | 31392 | 1.45 | 92.54 | 7.8 | 15308 | 15308 |
[baa0f6d7] | openbravo | 24604 | 1.13 | 99.79 | 13.9 | 7953 | 7953 |
[bfd8039a] | openbravo | 24109 | 1.11 | 99.34 | 36.0 | 792 | 792 |
[41b729f2] | openbravo | 23735 | 1.09 | 97.35 | 3.7 | 5573 | 5573 |
[6ee18a4d] | openbravo | 22609 | 1.04 | 50.57 | 1.0 | 2 | |
[12018251] | openbravo | 22252 | 1.03 | 88.84 | 4.3 | 6173 | 6173 |
[89ff8432] | openbravo | 21090 | 0.97 | 95.05 | 1.6 | 7025 | 7025 |
| Query ID | Database | Written | %Total | %BackendW | Hits(%) | Elapsed(s) | Rows | Executions |
|---|---|---|---|---|---|---|---|---|
[4211bbca] | openbravo | 80042 | 4.68 | 44.48 | 43.12 | 15.6 | 2 | |
[6ee18a4d] | openbravo | 21902 | 1.28 | 12.17 | 50.57 | 1.0 | 2 | |
[76ede534] | openbravo | 9024 | 0.53 | 5.02 | 61.48 | 0.2 | 2 | |
[429b2ffc] | openbravo | 7557 | 0.44 | 4.20 | 70.47 | 0.8 | 2 | |
[ab56bf1d] | openbravo | 3818 | 0.22 | 2.12 | 45.54 | 18.7 | 29 | 5 |
[1e5d1bbf] | openbravo | 988 | 0.06 | 0.55 | 91.42 | 0.6 | 2 | |
[bffafbed] | openbravo | 190 | 0.01 | 0.11 | 88.64 | 0.1 | 2 | |
[ccea5876] | openbravo | 162 | 0.01 | 0.09 | 85.74 | 0.1 | 1 | |
[9a64cac6] | openbravo | 91 | 0.01 | 0.05 | 80.54 | 1.3 | 2 | |
[423e83ff] | openbravo | 71 | 0.00 | 0.04 | 95.35 | 0.5 | 2 |
| Query ID | Database | Local fetched | Hits(%) | Local (blk) | Temp (blk) | Elapsed(s) | Rows | Executions | ||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| Write | %Total | Read | %Total | Write | %Total | Read | %Total | |||||||
[6e3dad39] | openbravo | 403236 | 97.30 | 165132 | 97.30 | 115.4 | 936 | 36 | ||||||
[4f137456] | openbravo | 11201 | 2.70 | 4587 | 2.70 | 3.2 | 26 | 1 | ||||||
[a342a193] | openbravo | 72517 | 99.19 | 591 | 26.48 | 0.3 | 70753 | 70753 | ||||||
[1a9c4c53] | openbravo | 10577 | 99.59 | 43 | 1.93 | 0.0 | 10452 | 10452 | ||||||
[cf29166b] | openbravo | 10837 | 99.60 | 43 | 1.93 | 0.0 | 10715 | 10715 | ||||||
[2ad727c8] | openbravo | 8558 | 99.51 | 42 | 1.88 | 0.0 | 8439 | 8439 | ||||||
[cff679c3] | openbravo | 8293 | 99.57 | 36 | 1.61 | 0.0 | 8190 | 8190 | ||||||
[48f3ff5f] | openbravo | 9339 | 99.63 | 35 | 1.57 | 0.0 | 9243 | 9243 | ||||||
[15983ca0] | openbravo | 6774 | 99.57 | 29 | 1.30 | 0.0 | 6692 | 6692 | ||||||
[b538d346] | openbravo | 7721 | 99.62 | 29 | 1.30 | 0.0 | 7643 | 7643 | ||||||
[6fdecd59] | openbravo | 7352 | 99.63 | 27 | 1.21 | 0.0 | 7277 | 7277 | ||||||
[a37345e3] | openbravo | 5221 | 99.50 | 26 | 1.16 | 0.0 | 5152 | 5152 | ||||||
[acc7aa2f] | openbravo | 5894 | 99.58 | 25 | 1.12 | 0.0 | 5828 | 5828 | ||||||
[7f561d8d] | openbravo | 5100 | 99.55 | 23 | 1.03 | 0.0 | 5040 | 5040 | ||||||
[b597e01f] | openbravo | 6103 | 99.62 | 23 | 1.03 | 0.0 | 6043 | 6043 | ||||||
[4ddd357d] | openbravo | 5090 | 99.59 | 21 | 0.94 | 0.0 | 5036 | 5036 | ||||||
[3a828a25] | openbravo | 3296 | 99.42 | 19 | 0.85 | 0.0 | 3246 | 3246 | ||||||
[a5d17c63] | openbravo | 4308 | 99.56 | 19 | 0.85 | 0.0 | 4251 | 4251 | ||||||
[1de636a9] | openbravo | 3770 | 99.52 | 18 | 0.81 | 0.0 | 3725 | 3725 | ||||||
[2eb47d62] | openbravo | 4162 | 99.57 | 18 | 0.81 | 0.0 | 4115 | 4115 | ||||||
| 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) |
| 8c3443e752 | insert into ad_context_info (ad_user_id, ad_session_id, processType, processId) values ($1, $2, $3, $4) |
| 37f1ce8b4f | SELECT $2 FROM ONLY "public"."c_orderline" x WHERE $1::pg_catalog.text OPERATOR(pg_catalog.=) "em_cactl_variety_product_id"::pg_catalog.text FOR KEY SHARE OF x |
| 3b6d5ffa92 | insert into ad_context_info (ad_user_id, ad_session_id, processType, processId) values ($1, $2, $3, $4) |
| 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 |
| 654a1b7b38 | insert into ad_context_info (ad_user_id, ad_session_id, processType, processId) values ($1, $2, $3, $4) |
| 5a62f392ad | vacuum analyze AD_PInstance |
| 8a7672d920 | COMMIT |
| 101ed24576 | update C_Invoice set Updated=$1, DaysTillDue=$2, LastCalculatedOnDate=$3 where C_Invoice_ID=$4 |
| c180ac6f1a | select businesspa0_.C_BPartner_ID as C_BPartn1_203_, businesspa0_.AD_Client_ID as AD_Clien2_203_, businesspa0_.AD_Org_ID as AD_Org_I3_203_, businesspa0_.IsActive as IsActive4_203_, businesspa0_.Created as Created5_203_, businesspa0_.CreatedBy as CreatedB6_203_, businesspa0_.Updated as Updated7_203_, businesspa0_.UpdatedBy as UpdatedB8_203_, businesspa0_.Value as Value9_203_, businesspa0_.Name as Name10_203_, businesspa0_.Name2 as Name11_203_, businesspa0_.Description as Descrip12_203_, businesspa0_.IsSummary as IsSumma13_203_, businesspa0_.C_BP_Group_ID as C_BP_Gr14_203_, businesspa0_.IsOneTime as IsOneTi15_203_, businesspa0_.IsProspect as IsProsp16_203_, businesspa0_.IsVendor as IsVendo17_203_, businesspa0_.IsCustomer as IsCusto18_203_, businesspa0_.IsEmployee as IsEmplo19_203_, businesspa0_.IsSalesRep as IsSales20_203_, businesspa0_.ReferenceNo as Referen21_203_, businesspa0_.DUNS as DUNS22_203_, businesspa0_.URL as URL23_203_, businesspa0_.AD_Language as AD_Lang24_203_, businesspa0_.TaxID as TaxID25_203_, businesspa0_.IsTaxExempt as IsTaxEx26_203_, businesspa0_.C_InvoiceSchedule_ID as C_Invoi27_203_, businesspa0_.Rating as Rating28_203_, businesspa0_.SalesVolume as SalesVo29_203_, businesspa0_.NumberEmployees as NumberE30_203_, businesspa0_.NAICS as NAICS31_203_, businesspa0_.FirstSale as FirstSa32_203_, businesspa0_.AcqusitionCost as Acqusit33_203_, businesspa0_.PotentialLifeTimeValue as Potenti34_203_, businesspa0_.ActualLifeTimeValue as ActualL35_203_, businesspa0_.ShareOfCustomer as ShareOf36_203_, businesspa0_.PaymentRule as Payment37_203_, businesspa0_.SO_CreditLimit as SO_Cred38_203_, businesspa0_.SO_CreditUsed as SO_Cred39_203_, businesspa0_.C_PaymentTerm_ID as C_Payme40_203_, businesspa0_.M_PriceList_ID as M_Price41_203_, businesspa0_.IsDiscountPrinted as IsDisco42_203_, businesspa0_.SO_Description as SO_Desc43_203_, businesspa0_.POReference as PORefer44_203_, businesspa0_.PaymentRulePO as Payment45_203_, businesspa0_.PO_PriceList_ID as PO_Pric46_203_, businesspa0_.PO_PaymentTerm_ID as PO_Paym47_203_, businesspa0_.DocumentCopies as Documen48_203_, businesspa0_.C_Greeting_ID as C_Greet49_203_, businesspa0_.InvoiceRule as Invoice50_203_, businesspa0_.DeliveryRule as Deliver51_203_, businesspa0_.DeliveryViaRule as Deliver52_203_, businesspa0_.SalesRep_ID as SalesRe53_203_, businesspa0_.BPartner_Parent_ID as BPartne54_203_, businesspa0_.SOCreditStatus as SOCredi55_203_, businesspa0_.AD_Forced_Org_ID as AD_Forc56_203_, businesspa0_.ShowPriceInOrder as ShowPri57_203_, businesspa0_.Invoicegrouping as Invoice58_203_, businesspa0_.FixMonthDay as FixMont59_203_, businesspa0_.FixMonthDay2 as FixMont60_203_, businesspa0_.Fixmonthday3 as Fixmont61_203_, businesspa0_.Isworker as Isworke62_203_, businesspa0_.UPC as UPC63_203_, businesspa0_.C_Salary_Category_ID as C_Salar64_203_, businesspa0_.Invoice_Printformat as Invoice65_203_, businesspa0_.Last_Days as Last_Da66_203_, businesspa0_.PO_Bankaccount_ID as PO_Bank67_203_, businesspa0_.PO_BP_TaxCategory_ID as PO_BP_T68_203_, businesspa0_.PO_Fixmonthday as PO_Fixm69_203_, businesspa0_.PO_Fixmonthday2 as PO_Fixm70_203_, businesspa0_.PO_Fixmonthday3 as PO_Fixm71_203_, businesspa0_.SO_Bankaccount_ID as SO_Bank72_203_, businesspa0_.SO_Bp_Taxcategory_ID as SO_Bp_T73_203_, businesspa0_.Fiscalcode as Fiscalc74_203_, businesspa0_.Isofiscalcode as Isofisc75_203_, businesspa0_.EM_Einv_Einvoice as EM_Einv76_203_, businesspa0_.PO_C_Incoterms_ID as PO_C_In77_203_, businesspa0_.EM_Einv_Format_Id as EM_Einv78_203_, businesspa0_.SO_C_Incoterms_ID as SO_C_In79_203_, businesspa0_.EM_Einv_Platform_Id as EM_Einv80_203_, businesspa0_.FIN_Paymentmethod_ID as FIN_Pay81_203_, businesspa0_.EM_Einv_Email as EM_Einv82_203_, businesspa0_.PO_Paymentmethod_ID as PO_Paym83_203_, businesspa0_.FIN_Financial_Account_ID as FIN_Fin84_203_, businesspa0_.EM_Einv_Deliverymode as EM_Einv85_203_, businesspa0_.PO_Financial_Account_ID as PO_Fina86_203_, businesspa0_.Customer_Blocking as Custome87_203_, businesspa0_.Vendor_Blocking as Vendor_88_203_, businesspa0_.SO_Payment_Blocking as SO_Paym89_203_, businesspa0_.PO_Payment_Blocking as PO_Paym90_203_, businesspa0_.SO_Invoice_Blocking as SO_Invo91_203_, businesspa0_.PO_Invoice_Blocking as PO_Invo92_203_, businesspa0_.SO_Order_Blocking as SO_Orde93_203_, businesspa0_.PO_Order_Blocking as PO_Orde94_203_, businesspa0_.SO_Goods_Blocking as SO_Good95_203_, businesspa0_.PO_Goods_Blocking as PO_Good96_203_, businesspa0_.Iscashvat as Iscashv97_203_, businesspa0_.EM_Advcrm_Newactivity as EM_Advc98_203_, businesspa0_.Update_Currency as Update_99_203_, businesspa0_.BP_Currency_ID as BP_Cur100_203_, businesspa0_.Birthplace as Birthp101_203_, businesspa0_.Birthday as Birthd102_203_, businesspa0_.EM_Sgpcrm_Securitygroups_ID as EM_Sgp103_203_, businesspa0_.Is_Customer_Consent as Is_Cus104_203_, businesspa0_.EM_OBSMAIL_INVOICEVIAEMAIL as EM_OBS105_203_, businesspa0_.EM_Obsepad_Mandate_Identifier as EM_Obs106_203_, businesspa0_.EM_Obsmail_Language as EM_Obs107_203_, businesspa0_.EM_Obsepad_Mandate_Date as EM_Obs108_203_, businesspa0_.EM_Aeatsii_Rep_Taxid as EM_Aea109_203_, businesspa0_.EM_Aeatsii_Menor as EM_Aea110_203_, businesspa0_.EM_Pricm_Isintercompany as EM_Pri111_203_, businesspa0_.EM_Psat_Billtobpartner_ID as EM_Psa112_203_, businesspa0_.EM_Psat_Locator_ID as EM_Psa113_203_, businesspa0_.EM_Psat_Mobile_Request as EM_Psa114_203_, businesspa0_.EM_Prges_Glitem_ID as EM_Prg115_203_, businesspa0_.EM_Rrhh_Exemployee as EM_Rrh116_203_, businesspa0_.EM_Rrhh_Candidate as EM_Rrh117_203_, businesspa0_.EM_Prpass_No_Print_Pass as EM_Prp118_203_, businesspa0_.EM_Rrhh_Holidays_Supervisor as EM_Rrh119_203_, businesspa0_.EM_Cactal_Emp_No as EM_Cac120_203_, businesspa0_.EM_Cactal_Emp_Relationship_No as EM_Cac121_203_, businesspa0_.EM_Obwpl_Bp_Block_Pickinglist as EM_Obw122_203_, businesspa0_.EM_Pruti_Addbp as EM_Pru123_203_, businesspa0_.EM_Prpass_Generatepassemployee as EM_Prp124_203_, businesspa0_.EM_Rrhh_Mainworkstation_ID as EM_Rrh125_203_, businesspa0_.EM_Rrhh_Bp_Transfer_Code as EM_Rrh126_203_, businesspa0_.EM_OBTIK_Tax_ID_Key as EM_OBT127_203_ from C_BPartner businesspa0_ where (upper((businesspa0_.Value||$3||businesspa0_.Name||$4||coalesce(to_char(businesspa0_.TaxID), $5)||$6||coalesce(to_char(businesspa0_.Name2), $7))) like upper($1) escape $8) and (exists (select $9 from C_Order order1_ inner join C_BPartner businesspa2_ on order1_.C_BPartner_ID=businesspa2_.C_BPartner_ID cross join C_DocType documentty3_ where order1_.C_DocTypeTarget_ID=documentty3_.C_DocType_ID and order1_.IsSOTrx=$10 and documentty3_.IsReturn=$11 and businesspa2_.C_BPartner_ID=businesspa0_.C_BPartner_ID and (order1_.AD_Org_ID in ($12 , $13 , $14 , $15 , $16 , $17 , $18 , $19 , $20 , $21 , $22 , $23 , $24 , $25 , $26 , $27 , $28 , $29 , $30 , $31 , $32 , $33 , $34 , $35 , $36 , $37 , $38 , $39 , $40 , $41 , $42 , $43 , $44 , $45 , $46 , $47 , $48 , $49)) and (order1_.AD_Client_ID in ($50 , $51)))) order by businesspa0_.Value, businesspa0_.Name, businesspa0_.TaxID, businesspa0_.Name2 limit $2 |
| 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 |
| abd1ffd3da | insert into ad_context_info (ad_user_id, ad_session_id, processType, processId) values ($1, $2, $3, $4) |
| 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 |
| 3d74d8c5f6 | insert into ad_context_info (ad_user_id, ad_session_id, processType, processId) values ($1, $2, $3, $4) |
| 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) |
| 6f5fce3e92 | 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) |
| 2c756b6487 | vacuum analyze obmobc_logclient |
| 60617a23d2 | vacuum analyze AD_Process_Run |
| 92c3ea2c6b | select sum(order0_.GrandTotal) as col_0_0_ 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)) limit $42 |
| 8b47e0efaf | vacuum analyze M_Stock_Proposed |
| c912725120 | insert into ad_context_info (ad_user_id, ad_session_id, processType, processId) values ($1, $2, $3, $4) |
| 41fb274cbd | delete from cactl_variety_product where Cactl_Variety_Product_ID=$1 |
| 88921879fa | 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 |
| a065237476 | select cactl_vari0_.Cactl_Variety_Product_ID as Cactl_Va1_366_, cactl_vari0_.AD_Client_ID as AD_Clien2_366_, cactl_vari0_.AD_Org_ID as AD_Org_I3_366_, cactl_vari0_.Isactive as Isactive4_366_, cactl_vari0_.Created as Created5_366_, cactl_vari0_.Createdby as Createdb6_366_, cactl_vari0_.Updated as Updated7_366_, cactl_vari0_.Updatedby as Updatedb8_366_, cactl_vari0_.M_Product_ID as M_Produc9_366_, cactl_vari0_.C_Bpartner_ID as C_Bpart10_366_, cactl_vari0_.C_Uom_ID as C_Uom_I11_366_, cactl_vari0_.Price as Price12_366_, cactl_vari0_.Cactl_Variety_ID as Cactl_V13_366_, cactl_vari0_.Pricelist as Priceli14_366_, cactl_vari0_.Date_From as Date_Fr15_366_, cactl_vari0_.Date_To as Date_To16_366_, cactl_vari0_.Vendorproductno as Vendorp17_366_, cactl_vari0_.Iscurrentvendor as Iscurre18_366_, cactl_vari0_.Isprocessing as Isproce19_366_ from cactl_variety_product cactl_vari0_ left outer join C_BPartner businesspa1_ on cactl_vari0_.C_Bpartner_ID=businesspa1_.C_BPartner_ID left outer join C_UOM uom2_ on cactl_vari0_.C_Uom_ID=uom2_.C_UOM_ID left outer join cactl_variety cactl_vari3_ on cactl_vari0_.Cactl_Variety_ID=cactl_vari3_.Cactl_Variety_ID where (cactl_vari0_.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 (cactl_vari0_.AD_Client_ID in ($1 , $2)) and cactl_vari0_.Isactive=$42 order by businesspa1_.Value, businesspa1_.Name, businesspa1_.TaxID, businesspa1_.Name2, uom2_.Name, cactl_vari0_.Price, cactl_vari3_.Name, cactl_vari3_.Value, cactl_vari0_.Cactl_Variety_Product_ID limit $3 |
| 4a3e0e1397 | select businesspa0_.C_BPartner_ID as C_BPartn1_203_, businesspa0_.AD_Client_ID as AD_Clien2_203_, businesspa0_.AD_Org_ID as AD_Org_I3_203_, businesspa0_.IsActive as IsActive4_203_, businesspa0_.Created as Created5_203_, businesspa0_.CreatedBy as CreatedB6_203_, businesspa0_.Updated as Updated7_203_, businesspa0_.UpdatedBy as UpdatedB8_203_, businesspa0_.Value as Value9_203_, businesspa0_.Name as Name10_203_, businesspa0_.Name2 as Name11_203_, businesspa0_.Description as Descrip12_203_, businesspa0_.IsSummary as IsSumma13_203_, businesspa0_.C_BP_Group_ID as C_BP_Gr14_203_, businesspa0_.IsOneTime as IsOneTi15_203_, businesspa0_.IsProspect as IsProsp16_203_, businesspa0_.IsVendor as IsVendo17_203_, businesspa0_.IsCustomer as IsCusto18_203_, businesspa0_.IsEmployee as IsEmplo19_203_, businesspa0_.IsSalesRep as IsSales20_203_, businesspa0_.ReferenceNo as Referen21_203_, businesspa0_.DUNS as DUNS22_203_, businesspa0_.URL as URL23_203_, businesspa0_.AD_Language as AD_Lang24_203_, businesspa0_.TaxID as TaxID25_203_, businesspa0_.IsTaxExempt as IsTaxEx26_203_, businesspa0_.C_InvoiceSchedule_ID as C_Invoi27_203_, businesspa0_.Rating as Rating28_203_, businesspa0_.SalesVolume as SalesVo29_203_, businesspa0_.NumberEmployees as NumberE30_203_, businesspa0_.NAICS as NAICS31_203_, businesspa0_.FirstSale as FirstSa32_203_, businesspa0_.AcqusitionCost as Acqusit33_203_, businesspa0_.PotentialLifeTimeValue as Potenti34_203_, businesspa0_.ActualLifeTimeValue as ActualL35_203_, businesspa0_.ShareOfCustomer as ShareOf36_203_, businesspa0_.PaymentRule as Payment37_203_, businesspa0_.SO_CreditLimit as SO_Cred38_203_, businesspa0_.SO_CreditUsed as SO_Cred39_203_, businesspa0_.C_PaymentTerm_ID as C_Payme40_203_, businesspa0_.M_PriceList_ID as M_Price41_203_, businesspa0_.IsDiscountPrinted as IsDisco42_203_, businesspa0_.SO_Description as SO_Desc43_203_, businesspa0_.POReference as PORefer44_203_, businesspa0_.PaymentRulePO as Payment45_203_, businesspa0_.PO_PriceList_ID as PO_Pric46_203_, businesspa0_.PO_PaymentTerm_ID as PO_Paym47_203_, businesspa0_.DocumentCopies as Documen48_203_, businesspa0_.C_Greeting_ID as C_Greet49_203_, businesspa0_.InvoiceRule as Invoice50_203_, businesspa0_.DeliveryRule as Deliver51_203_, businesspa0_.DeliveryViaRule as Deliver52_203_, businesspa0_.SalesRep_ID as SalesRe53_203_, businesspa0_.BPartner_Parent_ID as BPartne54_203_, businesspa0_.SOCreditStatus as SOCredi55_203_, businesspa0_.AD_Forced_Org_ID as AD_Forc56_203_, businesspa0_.ShowPriceInOrder as ShowPri57_203_, businesspa0_.Invoicegrouping as Invoice58_203_, businesspa0_.FixMonthDay as FixMont59_203_, businesspa0_.FixMonthDay2 as FixMont60_203_, businesspa0_.Fixmonthday3 as Fixmont61_203_, businesspa0_.Isworker as Isworke62_203_, businesspa0_.UPC as UPC63_203_, businesspa0_.C_Salary_Category_ID as C_Salar64_203_, businesspa0_.Invoice_Printformat as Invoice65_203_, businesspa0_.Last_Days as Last_Da66_203_, businesspa0_.PO_Bankaccount_ID as PO_Bank67_203_, businesspa0_.PO_BP_TaxCategory_ID as PO_BP_T68_203_, businesspa0_.PO_Fixmonthday as PO_Fixm69_203_, businesspa0_.PO_Fixmonthday2 as PO_Fixm70_203_, businesspa0_.PO_Fixmonthday3 as PO_Fixm71_203_, businesspa0_.SO_Bankaccount_ID as SO_Bank72_203_, businesspa0_.SO_Bp_Taxcategory_ID as SO_Bp_T73_203_, businesspa0_.Fiscalcode as Fiscalc74_203_, businesspa0_.Isofiscalcode as Isofisc75_203_, businesspa0_.EM_Einv_Einvoice as EM_Einv76_203_, businesspa0_.PO_C_Incoterms_ID as PO_C_In77_203_, businesspa0_.EM_Einv_Format_Id as EM_Einv78_203_, businesspa0_.SO_C_Incoterms_ID as SO_C_In79_203_, businesspa0_.EM_Einv_Platform_Id as EM_Einv80_203_, businesspa0_.FIN_Paymentmethod_ID as FIN_Pay81_203_, businesspa0_.EM_Einv_Email as EM_Einv82_203_, businesspa0_.PO_Paymentmethod_ID as PO_Paym83_203_, businesspa0_.FIN_Financial_Account_ID as FIN_Fin84_203_, businesspa0_.EM_Einv_Deliverymode as EM_Einv85_203_, businesspa0_.PO_Financial_Account_ID as PO_Fina86_203_, businesspa0_.Customer_Blocking as Custome87_203_, businesspa0_.Vendor_Blocking as Vendor_88_203_, businesspa0_.SO_Payment_Blocking as SO_Paym89_203_, businesspa0_.PO_Payment_Blocking as PO_Paym90_203_, businesspa0_.SO_Invoice_Blocking as SO_Invo91_203_, businesspa0_.PO_Invoice_Blocking as PO_Invo92_203_, businesspa0_.SO_Order_Blocking as SO_Orde93_203_, businesspa0_.PO_Order_Blocking as PO_Orde94_203_, businesspa0_.SO_Goods_Blocking as SO_Good95_203_, businesspa0_.PO_Goods_Blocking as PO_Good96_203_, businesspa0_.Iscashvat as Iscashv97_203_, businesspa0_.EM_Advcrm_Newactivity as EM_Advc98_203_, businesspa0_.Update_Currency as Update_99_203_, businesspa0_.BP_Currency_ID as BP_Cur100_203_, businesspa0_.Birthplace as Birthp101_203_, businesspa0_.Birthday as Birthd102_203_, businesspa0_.EM_Sgpcrm_Securitygroups_ID as EM_Sgp103_203_, businesspa0_.Is_Customer_Consent as Is_Cus104_203_, businesspa0_.EM_OBSMAIL_INVOICEVIAEMAIL as EM_OBS105_203_, businesspa0_.EM_Obsepad_Mandate_Identifier as EM_Obs106_203_, businesspa0_.EM_Obsmail_Language as EM_Obs107_203_, businesspa0_.EM_Obsepad_Mandate_Date as EM_Obs108_203_, businesspa0_.EM_Aeatsii_Rep_Taxid as EM_Aea109_203_, businesspa0_.EM_Aeatsii_Menor as EM_Aea110_203_, businesspa0_.EM_Pricm_Isintercompany as EM_Pri111_203_, businesspa0_.EM_Psat_Billtobpartner_ID as EM_Psa112_203_, businesspa0_.EM_Psat_Locator_ID as EM_Psa113_203_, businesspa0_.EM_Psat_Mobile_Request as EM_Psa114_203_, businesspa0_.EM_Prges_Glitem_ID as EM_Prg115_203_, businesspa0_.EM_Rrhh_Exemployee as EM_Rrh116_203_, businesspa0_.EM_Rrhh_Candidate as EM_Rrh117_203_, businesspa0_.EM_Prpass_No_Print_Pass as EM_Prp118_203_, businesspa0_.EM_Rrhh_Holidays_Supervisor as EM_Rrh119_203_, businesspa0_.EM_Cactal_Emp_No as EM_Cac120_203_, businesspa0_.EM_Cactal_Emp_Relationship_No as EM_Cac121_203_, businesspa0_.EM_Obwpl_Bp_Block_Pickinglist as EM_Obw122_203_, businesspa0_.EM_Pruti_Addbp as EM_Pru123_203_, businesspa0_.EM_Prpass_Generatepassemployee as EM_Prp124_203_, businesspa0_.EM_Rrhh_Mainworkstation_ID as EM_Rrh125_203_, businesspa0_.EM_Rrhh_Bp_Transfer_Code as EM_Rrh126_203_, businesspa0_.EM_OBTIK_Tax_ID_Key as EM_OBT127_203_ from C_BPartner businesspa0_ where exists (select $3 from C_Order order1_ inner join C_BPartner businesspa2_ on order1_.C_BPartner_ID=businesspa2_.C_BPartner_ID where (upper((order1_.DocumentNo||$4||coalesce(to_char(order1_.DateOrdered), $5)||$6||coalesce(to_char(order1_.GrandTotal), $7))) like upper($1) escape $8) and businesspa2_.C_BPartner_ID=businesspa0_.C_BPartner_ID and (order1_.AD_Org_ID in ($9 , $10 , $11 , $12 , $13 , $14 , $15 , $16 , $17 , $18 , $19 , $20 , $21 , $22 , $23 , $24 , $25 , $26 , $27 , $28 , $29 , $30 , $31 , $32 , $33 , $34 , $35 , $36 , $37 , $38 , $39 , $40 , $41 , $42 , $43 , $44 , $45 , $46)) and (order1_.AD_Client_ID in ($47 , $48))) order by businesspa0_.Value, businesspa0_.Name, businesspa0_.TaxID, businesspa0_.Name2 limit $2 |
| a828594740 | select sum(order0_.GrandTotal) as col_0_0_ from C_Order order0_ cross join C_DocType documentty1_ where order0_.C_DocTypeTarget_ID=documentty1_.C_DocType_ID and order0_.IsSOTrx=$42 and documentty1_.IsReturn=$43 and (order0_.AD_Org_ID in ($1 , $2 , $3 , $4 , $5 , $6 , $7 , $8 , $9 , $10 , $11 , $12 , $13 , $14 , $15 , $16 , $17 , $18 , $19 , $20 , $21 , $22 , $23 , $24 , $25 , $26 , $27 , $28 , $29 , $30 , $31 , $32 , $33 , $34 , $35 , $36 , $37 , $38)) and (order0_.AD_Client_ID in ($39 , $40)) limit $41 |
| 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) |
| 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 |
| 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 |
| 7e62f3b264 | select cactl_vari0_.Cactl_Variety_Product_ID as Cactl_Va1_366_, cactl_vari0_.AD_Client_ID as AD_Clien2_366_, cactl_vari0_.AD_Org_ID as AD_Org_I3_366_, cactl_vari0_.Isactive as Isactive4_366_, cactl_vari0_.Created as Created5_366_, cactl_vari0_.Createdby as Createdb6_366_, cactl_vari0_.Updated as Updated7_366_, cactl_vari0_.Updatedby as Updatedb8_366_, cactl_vari0_.M_Product_ID as M_Produc9_366_, cactl_vari0_.C_Bpartner_ID as C_Bpart10_366_, cactl_vari0_.C_Uom_ID as C_Uom_I11_366_, cactl_vari0_.Price as Price12_366_, cactl_vari0_.Cactl_Variety_ID as Cactl_V13_366_, cactl_vari0_.Pricelist as Priceli14_366_, cactl_vari0_.Date_From as Date_Fr15_366_, cactl_vari0_.Date_To as Date_To16_366_, cactl_vari0_.Vendorproductno as Vendorp17_366_, cactl_vari0_.Iscurrentvendor as Iscurre18_366_, cactl_vari0_.Isprocessing as Isproce19_366_ from cactl_variety_product cactl_vari0_ left outer join C_BPartner businesspa1_ on cactl_vari0_.C_Bpartner_ID=businesspa1_.C_BPartner_ID left outer join C_UOM uom2_ on cactl_vari0_.C_Uom_ID=uom2_.C_UOM_ID left outer join cactl_variety cactl_vari3_ on cactl_vari0_.Cactl_Variety_ID=cactl_vari3_.Cactl_Variety_ID where (cactl_vari0_.AD_Org_ID in ($4 , $5 , $6 , $7 , $8 , $9 , $10)) and (cactl_vari0_.AD_Client_ID in ($1 , $2)) and cactl_vari0_.Isactive=$11 order by businesspa1_.Value, businesspa1_.Name, businesspa1_.TaxID, businesspa1_.Name2, uom2_.Name, cactl_vari0_.Price, cactl_vari3_.Name, cactl_vari3_.Value, cactl_vari0_.Cactl_Variety_Product_ID limit $3 |
| 98d4183d4b | vacuum analyze C_Import_Entry_Archive |
| 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 |
| 8b41e9f2f7 | insert into ad_context_info (ad_user_id, ad_session_id, processType, processId) values ($1, $2, $3, $4) |
| 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 |
| 2ce9536368 | vacuum analyze prsync_entry |
| 97022e6f16 | insert into ad_context_info (ad_user_id, ad_session_id, processType, processId) values ($1, $2, $3, $4) |
| 7f59edd627 | SELECT $2 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 |
| 0278eca167 | 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_.C_Order_ID desc limit $42 |
| 2d90ae2e61 | select businesspa0_.C_BPartner_ID as C_BPartn1_203_, businesspa0_.AD_Client_ID as AD_Clien2_203_, businesspa0_.AD_Org_ID as AD_Org_I3_203_, businesspa0_.IsActive as IsActive4_203_, businesspa0_.Created as Created5_203_, businesspa0_.CreatedBy as CreatedB6_203_, businesspa0_.Updated as Updated7_203_, businesspa0_.UpdatedBy as UpdatedB8_203_, businesspa0_.Value as Value9_203_, businesspa0_.Name as Name10_203_, businesspa0_.Name2 as Name11_203_, businesspa0_.Description as Descrip12_203_, businesspa0_.IsSummary as IsSumma13_203_, businesspa0_.C_BP_Group_ID as C_BP_Gr14_203_, businesspa0_.IsOneTime as IsOneTi15_203_, businesspa0_.IsProspect as IsProsp16_203_, businesspa0_.IsVendor as IsVendo17_203_, businesspa0_.IsCustomer as IsCusto18_203_, businesspa0_.IsEmployee as IsEmplo19_203_, businesspa0_.IsSalesRep as IsSales20_203_, businesspa0_.ReferenceNo as Referen21_203_, businesspa0_.DUNS as DUNS22_203_, businesspa0_.URL as URL23_203_, businesspa0_.AD_Language as AD_Lang24_203_, businesspa0_.TaxID as TaxID25_203_, businesspa0_.IsTaxExempt as IsTaxEx26_203_, businesspa0_.C_InvoiceSchedule_ID as C_Invoi27_203_, businesspa0_.Rating as Rating28_203_, businesspa0_.SalesVolume as SalesVo29_203_, businesspa0_.NumberEmployees as NumberE30_203_, businesspa0_.NAICS as NAICS31_203_, businesspa0_.FirstSale as FirstSa32_203_, businesspa0_.AcqusitionCost as Acqusit33_203_, businesspa0_.PotentialLifeTimeValue as Potenti34_203_, businesspa0_.ActualLifeTimeValue as ActualL35_203_, businesspa0_.ShareOfCustomer as ShareOf36_203_, businesspa0_.PaymentRule as Payment37_203_, businesspa0_.SO_CreditLimit as SO_Cred38_203_, businesspa0_.SO_CreditUsed as SO_Cred39_203_, businesspa0_.C_PaymentTerm_ID as C_Payme40_203_, businesspa0_.M_PriceList_ID as M_Price41_203_, businesspa0_.IsDiscountPrinted as IsDisco42_203_, businesspa0_.SO_Description as SO_Desc43_203_, businesspa0_.POReference as PORefer44_203_, businesspa0_.PaymentRulePO as Payment45_203_, businesspa0_.PO_PriceList_ID as PO_Pric46_203_, businesspa0_.PO_PaymentTerm_ID as PO_Paym47_203_, businesspa0_.DocumentCopies as Documen48_203_, businesspa0_.C_Greeting_ID as C_Greet49_203_, businesspa0_.InvoiceRule as Invoice50_203_, businesspa0_.DeliveryRule as Deliver51_203_, businesspa0_.DeliveryViaRule as Deliver52_203_, businesspa0_.SalesRep_ID as SalesRe53_203_, businesspa0_.BPartner_Parent_ID as BPartne54_203_, businesspa0_.SOCreditStatus as SOCredi55_203_, businesspa0_.AD_Forced_Org_ID as AD_Forc56_203_, businesspa0_.ShowPriceInOrder as ShowPri57_203_, businesspa0_.Invoicegrouping as Invoice58_203_, businesspa0_.FixMonthDay as FixMont59_203_, businesspa0_.FixMonthDay2 as FixMont60_203_, businesspa0_.Fixmonthday3 as Fixmont61_203_, businesspa0_.Isworker as Isworke62_203_, businesspa0_.UPC as UPC63_203_, businesspa0_.C_Salary_Category_ID as C_Salar64_203_, businesspa0_.Invoice_Printformat as Invoice65_203_, businesspa0_.Last_Days as Last_Da66_203_, businesspa0_.PO_Bankaccount_ID as PO_Bank67_203_, businesspa0_.PO_BP_TaxCategory_ID as PO_BP_T68_203_, businesspa0_.PO_Fixmonthday as PO_Fixm69_203_, businesspa0_.PO_Fixmonthday2 as PO_Fixm70_203_, businesspa0_.PO_Fixmonthday3 as PO_Fixm71_203_, businesspa0_.SO_Bankaccount_ID as SO_Bank72_203_, businesspa0_.SO_Bp_Taxcategory_ID as SO_Bp_T73_203_, businesspa0_.Fiscalcode as Fiscalc74_203_, businesspa0_.Isofiscalcode as Isofisc75_203_, businesspa0_.EM_Einv_Einvoice as EM_Einv76_203_, businesspa0_.PO_C_Incoterms_ID as PO_C_In77_203_, businesspa0_.EM_Einv_Format_Id as EM_Einv78_203_, businesspa0_.SO_C_Incoterms_ID as SO_C_In79_203_, businesspa0_.EM_Einv_Platform_Id as EM_Einv80_203_, businesspa0_.FIN_Paymentmethod_ID as FIN_Pay81_203_, businesspa0_.EM_Einv_Email as EM_Einv82_203_, businesspa0_.PO_Paymentmethod_ID as PO_Paym83_203_, businesspa0_.FIN_Financial_Account_ID as FIN_Fin84_203_, businesspa0_.EM_Einv_Deliverymode as EM_Einv85_203_, businesspa0_.PO_Financial_Account_ID as PO_Fina86_203_, businesspa0_.Customer_Blocking as Custome87_203_, businesspa0_.Vendor_Blocking as Vendor_88_203_, businesspa0_.SO_Payment_Blocking as SO_Paym89_203_, businesspa0_.PO_Payment_Blocking as PO_Paym90_203_, businesspa0_.SO_Invoice_Blocking as SO_Invo91_203_, businesspa0_.PO_Invoice_Blocking as PO_Invo92_203_, businesspa0_.SO_Order_Blocking as SO_Orde93_203_, businesspa0_.PO_Order_Blocking as PO_Orde94_203_, businesspa0_.SO_Goods_Blocking as SO_Good95_203_, businesspa0_.PO_Goods_Blocking as PO_Good96_203_, businesspa0_.Iscashvat as Iscashv97_203_, businesspa0_.EM_Advcrm_Newactivity as EM_Advc98_203_, businesspa0_.Update_Currency as Update_99_203_, businesspa0_.BP_Currency_ID as BP_Cur100_203_, businesspa0_.Birthplace as Birthp101_203_, businesspa0_.Birthday as Birthd102_203_, businesspa0_.EM_Sgpcrm_Securitygroups_ID as EM_Sgp103_203_, businesspa0_.Is_Customer_Consent as Is_Cus104_203_, businesspa0_.EM_OBSMAIL_INVOICEVIAEMAIL as EM_OBS105_203_, businesspa0_.EM_Obsepad_Mandate_Identifier as EM_Obs106_203_, businesspa0_.EM_Obsmail_Language as EM_Obs107_203_, businesspa0_.EM_Obsepad_Mandate_Date as EM_Obs108_203_, businesspa0_.EM_Aeatsii_Rep_Taxid as EM_Aea109_203_, businesspa0_.EM_Aeatsii_Menor as EM_Aea110_203_, businesspa0_.EM_Pricm_Isintercompany as EM_Pri111_203_, businesspa0_.EM_Psat_Billtobpartner_ID as EM_Psa112_203_, businesspa0_.EM_Psat_Locator_ID as EM_Psa113_203_, businesspa0_.EM_Psat_Mobile_Request as EM_Psa114_203_, businesspa0_.EM_Prges_Glitem_ID as EM_Prg115_203_, businesspa0_.EM_Rrhh_Exemployee as EM_Rrh116_203_, businesspa0_.EM_Rrhh_Candidate as EM_Rrh117_203_, businesspa0_.EM_Prpass_No_Print_Pass as EM_Prp118_203_, businesspa0_.EM_Rrhh_Holidays_Supervisor as EM_Rrh119_203_, businesspa0_.EM_Cactal_Emp_No as EM_Cac120_203_, businesspa0_.EM_Cactal_Emp_Relationship_No as EM_Cac121_203_, businesspa0_.EM_Obwpl_Bp_Block_Pickinglist as EM_Obw122_203_, businesspa0_.EM_Pruti_Addbp as EM_Pru123_203_, businesspa0_.EM_Prpass_Generatepassemployee as EM_Prp124_203_, businesspa0_.EM_Rrhh_Mainworkstation_ID as EM_Rrh125_203_, businesspa0_.EM_Rrhh_Bp_Transfer_Code as EM_Rrh126_203_, businesspa0_.EM_OBTIK_Tax_ID_Key as EM_OBT127_203_ from C_BPartner businesspa0_ where (upper((businesspa0_.Value||$4||businesspa0_.Name||$5||coalesce(to_char(businesspa0_.TaxID), $6)||$7||coalesce(to_char(businesspa0_.Name2), $8))) like upper($1) escape $9) and (exists (select $10 from C_Order order1_ inner join C_BPartner businesspa2_ on order1_.C_BPartner_ID=businesspa2_.C_BPartner_ID cross join C_DocType documentty3_ where order1_.C_DocTypeTarget_ID=documentty3_.C_DocType_ID and order1_.IsSOTrx=$11 and documentty3_.IsReturn=$12 and (order1_.Updated>$2 or order1_.Processed=$13) and businesspa2_.C_BPartner_ID=businesspa0_.C_BPartner_ID and (order1_.AD_Org_ID in ($14 , $15 , $16 , $17 , $18 , $19 , $20 , $21 , $22 , $23 , $24 , $25 , $26 , $27 , $28 , $29 , $30 , $31 , $32 , $33 , $34 , $35 , $36 , $37 , $38 , $39 , $40 , $41 , $42 , $43 , $44 , $45 , $46 , $47 , $48 , $49 , $50 , $51)) and (order1_.AD_Client_ID in ($52 , $53)))) order by businesspa0_.Value, businesspa0_.Name, businesspa0_.TaxID, businesspa0_.Name2 limit $3 |
| 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 |
| 1838b6bc4e | vacuum analyze AD_Alert |
| 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 |
| 6f6f25cdd3 | insert into ad_context_info (ad_user_id, ad_session_id, processType, processId) values ($1, $2, $3, $4) |
| ff35139986 | SELECT * FROM C_Order_Post($1) |
| b509362d49 | insert into ad_context_info (ad_user_id, ad_session_id, processType, processId) values ($1, $2, $3, $4) |
| 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 |
| 0cb9051ec1 | insert into ad_context_info (ad_user_id, ad_session_id, processType, processId) values ($1, $2, $3, $4) |
| 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 |
| d39b22263f | insert into ad_context_info (ad_user_id, ad_session_id, processType, processId) values ($1, $2, $3, $4) |
| 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 |
| 81212fd9dc | insert into ad_context_info (ad_user_id, ad_session_id, processType, processId) values ($1, $2, $3, $4) |
| 842e889b6e | 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) |
| 296d3e9f8b | vacuum analyze AD_Process_Request |
| 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' |
| 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 |
| b57c313cf3 | vacuum analyze AD_Session |
| 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 |
| 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 |
| a2199342ef | insert into ad_context_info (ad_user_id, ad_session_id, processType, processId) values ($1, $2, $3, $4) |
| 1072260572 | 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) |
| 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 |
| 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) |
| DB | Tablespace | Schema | Table | ~SeqBytes | SeqScan | IxScan | IxFet | Ins | Upd | Del | Upd(HOT) |
|---|---|---|---|---|---|---|---|---|---|---|---|
| openbravo | pg_default | public | c_order | 2106 GB | 277 | 15130677 | 537832265 | 4009 | 13544 | 7598 | |
| c_order(TOAST) | |||||||||||
| openbravo | pg_default | pg_temp_13 | ad_context_info | 319 GB | 70851 | 70763 | 70762 | ||||
| openbravo | pg_default | public | prpass_timeslots_res | 197 GB | 769 | 3037836 | 746225316 | 1885 | 1098 | 769 | |
| prpass_timeslots_res(TOAST) | |||||||||||
| openbravo | pg_default | public | ad_audit_trail | 47 GB | 90 | 8947 | 4586 | 3497 | |||
| ad_audit_trail(TOAST) | |||||||||||
| openbravo | pg_default | public | prpass_pass_trans | 45 GB | 9 | 11073553 | 109790 | 8323 | 7217 | ||
| openbravo | pg_default | public | prpass_pass_inst | 37 GB | 6 | 11288782 | 296237924 | 7974 | 15644 | 7250 | 3951 |
| prpass_pass_inst(TOAST) | |||||||||||
| openbravo | pg_default | public | c_bpartner | 21 GB | 1993 | 211392 | 780569 | 5067 | 5066 | ||
| c_bpartner(TOAST) | |||||||||||
| openbravo | pg_default | public | m_product | 17 GB | 1764 | 4159099 | 7984821 | 2 | 42 | 3 | |
| m_product(TOAST) | |||||||||||
| openbravo | pg_default | public | c_orderline | 17 GB | 2 | 66847712 | 125607258 | 8539 | 22485 | 3 | 9522 |
| c_orderline(TOAST) | |||||||||||
| openbravo | pg_default | public | m_transaction | 13 GB | 1 | 172383 | 3334143 | 16092 | 34069 | 988 | |
| m_transaction(TOAST) | |||||||||||
| openbravo | pg_default | public | m_storage_detail | 11 GB | 407 | 1506405 | 1076427 | 8 | 70500 | 49443 | |
| m_storage_detail(TOAST) | |||||||||||
| openbravo | pg_default | pg_catalog | pg_class | 10057 MB | 7356 | 1273678 | 1172682 | 345 | 22902 | 347 | 22900 |
| openbravo | pg_default | public | m_productionline | 7867 MB | 1 | 4671313 | 19316396 | 10903 | 21725 | 20715 | |
| m_productionline(TOAST) | |||||||||||
| openbravo | pg_default | public | c_invoiceline | 7428 MB | 1 | 56464367 | 52369919 | 8120 | 1880 | 1648 | |
| c_invoiceline(TOAST) | |||||||||||
| openbravo | pg_default | public | c_invoice | 7098 MB | 1 | 52176044 | 70321940 | 3858 | 106894 | 15977 | |
| c_invoice(TOAST) | |||||||||||
| openbravo | pg_default | public | m_inoutline | 5979 MB | 1 | 56460409 | 55368688 | 8285 | 1880 | 1742 | |
| m_inoutline(TOAST) | |||||||||||
| openbravo | pg_default | profile | last_stat_database | 5182 MB | 132649 | 92 | 184 | 92 | 92 | ||
| openbravo | pg_default | public | m_inout | 4172 MB | 1 | 55337755 | 55344573 | 3913 | 9316 | 5300 | |
| m_inout(TOAST) | 2438 | 13517 | |||||||||
| openbravo | pg_default | public | fin_finacc_transaction | 3425 MB | 1 | 53173 | 912342898 | 3013 | 14449 | 2772 | |
| fin_finacc_transaction(TOAST) | |||||||||||
| openbravo | pg_default | pg_temp_9 | ad_context_info | 2801 MB | 9406 | 9011 | 9010 |
| DB | Tablespace | Schema | Table | Heap | Ix | TOAST | TOAST-Ix | ||||
|---|---|---|---|---|---|---|---|---|---|---|---|
| Blks | %Total | Blks | %Total | Blks | %Total | Blks | %Total | ||||
| openbravo | pg_default | public | c_order | 743347404 | 16.95 | 69718124 | 1.59 | ||||
| openbravo | pg_default | public | fin_finacc_transaction | 655480804 | 14.95 | 7615016 | 0.17 | ||||
| openbravo | pg_default | public | prpass_timeslots_res | 511802915 | 11.67 | 9302156 | 0.21 | ||||
| openbravo | pg_default | public | c_orderline | 89704928 | 2.05 | 372560646 | 8.50 | ||||
| openbravo | pg_default | public | c_invoice | 70635711 | 1.61 | 232910301 | 5.31 | ||||
| openbravo | pg_default | public | m_inoutline | 55904118 | 1.28 | 226737323 | 5.17 | ||||
| openbravo | pg_default | public | c_invoiceline | 53307072 | 1.22 | 226774841 | 5.17 | ||||
| openbravo | pg_default | public | m_inout | 56192125 | 1.28 | 222132522 | 5.07 | 5126 | 0.00 | 59484 | 0.00 |
| openbravo | pg_default | public | prpass_pass_inst | 167711826 | 3.83 | 60152147 | 1.37 | ||||
| openbravo | pg_default | public | m_costing | 93654552 | 2.14 | 4804980 | 0.11 | ||||
| openbravo | pg_default | public | prpass_pass_trans | 6068707 | 0.14 | 46178254 | 1.05 | ||||
| openbravo | pg_default | public | m_productionline | 10587968 | 0.24 | 15252724 | 0.35 | ||||
| openbravo | pg_default | public | m_productionplan | 5247686 | 0.12 | 19934070 | 0.45 | ||||
| openbravo | pg_default | public | ad_treenode | 811815 | 0.02 | 22108222 | 0.50 | ||||
| openbravo | pg_default | pg_temp_13 | ad_context_info | 21093789 | 0.48 | ||||||
| openbravo | pg_default | public | m_product | 10231759 | 0.23 | 8584656 | 0.20 | ||||
| openbravo | pg_default | public | m_transaction | 3893712 | 0.09 | 12225677 | 0.28 | ||||
| openbravo | pg_default | public | m_storage_detail | 3766755 | 0.09 | 5220425 | 0.12 | ||||
| openbravo | pg_default | public | fin_payment_schedule | 7289172 | 0.17 | 1306552 | 0.03 | ||||
| openbravo | pg_default | public | ad_audit_trail | 6244745 | 0.14 | 64122 | 0.00 | ||||
| DB | Tablespace | Schema | Table | Heap | Ix | TOAST | TOAST-Ix | Hit(%) | ||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|
| Blks | %Total | Blks | %Total | Blks | %Total | Blks | %Total | |||||
| openbravo | pg_default | public | c_order | 113495237 | 77.15 | 763346 | 0.52 | 85.95 | ||||
| openbravo | pg_default | public | prpass_pass_inst | 2961285 | 2.01 | 369956 | 0.25 | 98.54 | ||||
| openbravo | pg_default | public | c_invoice | 2129922 | 1.45 | 730012 | 0.50 | 99.06 | ||||
| openbravo | pg_default | public | c_orderline | 2052493 | 1.40 | 262134 | 0.18 | 99.50 | ||||
| openbravo | pg_default | public | m_productionline | 1949608 | 1.33 | 115664 | 0.08 | 92.01 | ||||
| openbravo | pg_default | public | m_transaction | 1816024 | 1.23 | 180058 | 0.12 | 87.62 | ||||
| openbravo | pg_default | public | prpass_pass_trans | 1324929 | 0.90 | 124061 | 0.08 | 97.23 | ||||
| openbravo | pg_default | public | c_invoiceline | 1037497 | 0.71 | 128880 | 0.09 | 99.58 | ||||
| openbravo | pg_default | public | m_inoutline | 909401 | 0.62 | 67765 | 0.05 | 99.65 | ||||
| openbravo | pg_default | public | fin_payment_schedule | 888123 | 0.60 | 74156 | 0.05 | 88.81 | ||||
| openbravo | pg_default | public | obmobc_logclient | 346481 | 0.24 | 406854 | 0.28 | 106 | 0.00 | 60 | 0.00 | 73.28 |
| openbravo | pg_default | public | m_productionplan | 554304 | 0.38 | 130298 | 0.09 | 97.28 | ||||
| openbravo | pg_default | public | ad_image | 210 | 0.00 | 29 | 0.00 | 648800 | 0.44 | 12956 | 0.01 | 6.03 |
| openbravo | pg_default | public | m_inout | 615199 | 0.42 | 25853 | 0.02 | 3381 | 0.00 | 852 | 0.00 | 99.77 |
| openbravo | pg_default | public | fin_finacc_transaction | 58596 | 0.04 | 229870 | 0.16 | 99.96 | ||||
| openbravo | pg_default | public | m_costing | 167020 | 0.11 | 57752 | 0.04 | 99.77 | ||||
| openbravo | pg_default | public | c_import_entry_archive | 15529 | 0.01 | 8447 | 0.01 | 154085 | 0.10 | 18552 | 0.01 | 86.99 |
| openbravo | pg_default | public | fact_acct | 2820 | 0.00 | 103974 | 0.07 | 94.79 | ||||
| openbravo | pg_default | public | m_production | 67748 | 0.05 | 15668 | 0.01 | 94.86 | ||||
| openbravo | pg_default | public | ad_audit_trail | 69200 | 0.05 | 5754 | 0.00 | 98.81 | ||||
| DB | Tablespace | Schema | Table | Ins | Upd | Del | Upd(HOT) | SeqScan | SeqFet | IxScan | IxFet |
|---|---|---|---|---|---|---|---|---|---|---|---|
| openbravo | pg_default | public | obmobc_logclient | 69739 | 171422 | 1 | 2602191 | 4 | 332750 | ||
| obmobc_logclient(TOAST) | 2 | 32 | 77 | 124 | |||||||
| openbravo | pg_default | profile | last_stat_indexes | 71047 | 1640 | 71047 | 1 | 184 | 1136752 | 43452 | 427922 |
| openbravo | pg_default | pg_temp_13 | ad_context_info | 70763 | 70762 | 70851 | 70850 | ||||
| openbravo | pg_default | public | ad_session_usage_audit | 1004 | 115339 | 2 | 1457983 | 1128 | 115339 | ||
| ad_session_usage_audit(TOAST) | |||||||||||
| openbravo | pg_default | public | c_invoice | 3858 | 106894 | 15977 | 1 | 7032003 | 52176044 | 70321940 | |
| c_invoice(TOAST) | |||||||||||
| openbravo | pg_default | profile | last_stat_tables | 41467 | 3679 | 41463 | 45 | 184 | 663440 | 8571 | 4144333 |
| openbravo | pg_default | public | m_stock_aux | 19349 | 45907 | 19349 | 34620 | 351898 | 200546 | ||
| m_stock_aux(TOAST) | |||||||||||
| openbravo | pg_default | public | m_storage_detail | 8 | 70500 | 49443 | 407 | 20882676 | 1506405 | 1076427 | |
| m_storage_detail(TOAST) | |||||||||||
| openbravo | pg_default | public | c_import_entry | 11033 | 11033 | 11081 | 1320 | 26661 | 366294 | 247701 | |
| c_import_entry(TOAST) | 17837 | 17837 | 24347 | 88725 | |||||||
| openbravo | pg_default | public | ad_ep_instance_para | 29159 | 29159 | 48599 | 224727 | ||||
| ad_ep_instance_para(TOAST) | |||||||||||
| openbravo | pg_default | public | c_import_entry_archive | 3543 | 5791 | 1 | 95397 | 12568 | 5791 | ||
| c_import_entry_archive(TOAST) | 14834 | 31077 | 100126 | 526102 | |||||||
| openbravo | pg_default | public | m_transaction | 16092 | 34069 | 988 | 1 | 30630373 | 172383 | 3334143 | |
| m_transaction(TOAST) | |||||||||||
| openbravo | pg_default | pg_catalog | pg_statistic | 28569 | 27459 | 1152501 | 1042793 | ||||
| pg_statistic(TOAST) | 5495 | 5485 | 124696 | 247565 | |||||||
| openbravo | pg_default | public | m_productionline | 10903 | 21725 | 20715 | 1 | 20086259 | 4671313 | 19316396 | |
| m_productionline(TOAST) | |||||||||||
| openbravo | pg_default | public | c_orderline | 8539 | 22485 | 3 | 9522 | 2 | 28798575 | 66847712 | 125607258 |
| c_orderline(TOAST) | |||||||||||
| openbravo | pg_default | public | prpass_pass_inst | 7974 | 15644 | 7250 | 3951 | 6 | 4165411 | 11288782 | 296237924 |
| prpass_pass_inst(TOAST) | |||||||||||
| openbravo | pg_default | profile | last_stat_user_functions | 12443 | 1638 | 12443 | 88 | 391 | 373290 | ||
| last_stat_user_functions(TOAST) | |||||||||||
| openbravo | pg_default | public | fact_acct | 18714 | 5238 | 30753 | 34060 | ||||
| fact_acct(TOAST) | |||||||||||
| openbravo | pg_default | pg_catalog | pg_class | 345 | 22902 | 347 | 22900 | 7356 | 24694755 | 1273678 | 1172682 |
| openbravo | pg_default | public | prsync_entry | 4 | 8 | 66 | 8 | 20 | 8142 | 88 | 80 |
| prsync_entry(TOAST) | 4136 | 18798 | 14 | 18798 | |||||||
| DB | Tablespace | Schema | Table | Upd | Upd(HOT) | Del | Vacuum | AutoVacuum | Analyze | AutoAnalyze |
|---|---|---|---|---|---|---|---|---|---|---|
| openbravo | pg_default | public | obmobc_logclient | 171422 | 2 | 2 | ||||
| obmobc_logclient(TOAST) | 32 | 2 | ||||||||
| openbravo | pg_default | public | ad_session_usage_audit | 115339 | 1 | |||||
| ad_session_usage_audit(TOAST) | ||||||||||
| openbravo | pg_default | public | c_invoice | 106894 | 15977 | |||||
| c_invoice(TOAST) | ||||||||||
| openbravo | pg_default | profile | last_stat_indexes | 1640 | 1 | 71047 | 156 | 46 | 23 | |
| openbravo | pg_default | pg_temp_13 | ad_context_info | 70762 | ||||||
| openbravo | pg_default | public | m_storage_detail | 70500 | 49443 | 3 | 13 | |||
| m_storage_detail(TOAST) | ||||||||||
| openbravo | pg_default | public | m_stock_aux | 45907 | 34620 | 19349 | 127 | 217 | ||
| m_stock_aux(TOAST) | ||||||||||
| openbravo | pg_default | profile | last_stat_tables | 3679 | 45 | 41463 | 156 | 46 | 23 | |
| openbravo | pg_default | public | c_import_entry | 11033 | 11081 | 125 | 215 | |||
| c_import_entry(TOAST) | 17837 | 28 | ||||||||
| openbravo | pg_default | public | c_import_entry_archive | 5791 | 2 | 2 | ||||
| c_import_entry_archive(TOAST) | 31077 | 2 | ||||||||
| openbravo | pg_default | public | m_transaction | 34069 | 988 | |||||
| m_transaction(TOAST) | ||||||||||
| openbravo | pg_default | pg_catalog | pg_statistic | 28569 | 27459 | 1 | ||||
| pg_statistic(TOAST) | 5485 | 10 | ||||||||
| openbravo | pg_default | public | ad_ep_instance_para | 29159 | 452 | 651 | ||||
| ad_ep_instance_para(TOAST) | ||||||||||
| openbravo | pg_default | pg_catalog | pg_class | 22902 | 22900 | 347 | 6 | 22 | ||
| openbravo | pg_default | public | prpass_pass_inst | 15644 | 3951 | 7250 | 1 | |||
| prpass_pass_inst(TOAST) | ||||||||||
| openbravo | pg_default | public | c_orderline | 22485 | 9522 | 3 | ||||
| c_orderline(TOAST) | ||||||||||
| openbravo | pg_default | public | m_productionline | 21725 | 20715 | |||||
| m_productionline(TOAST) | ||||||||||
| openbravo | pg_default | public | fin_payment | 18949 | 7645 | |||||
| fin_payment(TOAST) | ||||||||||
| openbravo | pg_default | public | prsync_entry | 8 | 8 | 66 | 2 | 2 | ||
| prsync_entry(TOAST) | 18798 | 2 | ||||||||
| openbravo | pg_default | public | m_stock_proposed | 15828 | 2 | 2 | ||||
| m_stock_proposed(TOAST) | 2 | |||||||||
| DB | Tablespace | Schema | Table | Size | Growth | Ins | Upd | Del | Upd(HOT) |
|---|---|---|---|---|---|---|---|---|---|
| openbravo | pg_default | public | m_productionline | 7879 MB | 12 MB | 10903 | 21725 | 20715 | |
| m_productionline(TOAST) | |||||||||
| openbravo | pg_default | public | c_orderline | 8695 MB | 12 MB | 8539 | 22485 | 3 | 9522 |
| c_orderline(TOAST) | |||||||||
| openbravo | pg_default | public | c_order | 7790 MB | 12 MB | 4009 | 13544 | 7598 | |
| c_order(TOAST) | |||||||||
| openbravo | pg_default | public | c_invoiceline | 7433 MB | 5064 kB | 8120 | 1880 | 1648 | |
| c_invoiceline(TOAST) | |||||||||
| openbravo | pg_default | public | m_inoutline | 5983 MB | 4200 kB | 8285 | 1880 | 1742 | |
| m_inoutline(TOAST) | |||||||||
| openbravo | pg_default | public | m_inout | 4176 MB | 3952 kB | 3913 | 9316 | 5300 | |
| m_inout(TOAST) | 30 MB | ||||||||
| openbravo | pg_default | public | prpass_pass_inst_hist | 5789 MB | 3592 kB | 7250 | |||
| prpass_pass_inst_hist(TOAST) | |||||||||
| openbravo | pg_default | public | prpass_pass_trans_hist | 4819 MB | 2520 kB | 7217 | |||
| openbravo | pg_default | public | fin_finacc_transaction | 3427 MB | 2464 kB | 3013 | 14449 | 2772 | |
| fin_finacc_transaction(TOAST) | |||||||||
| openbravo | pg_default | public | m_productionplan | 1242 MB | 912 kB | 1892 | |||
| m_productionplan(TOAST) | |||||||||
| openbravo | pg_default | public | prpass_timeslots_res | 262 MB | 816 kB | 1885 | 1098 | 769 | |
| prpass_timeslots_res(TOAST) | |||||||||
| openbravo | pg_default | public | c_import_entry | 400 kB | -48 kB | 11033 | 11033 | 11081 | |
| c_import_entry(TOAST) | 472 kB | 448 kB | 17837 | 17837 | |||||
| openbravo | pg_default | pg_temp_17 | ad_context_info | 40 kB | 40 kB | 294 | 293 | ||
| openbravo | pg_default | pg_catalog | pg_statistic | 7064 kB | 24 kB | 28569 | 27459 | ||
| pg_statistic(TOAST) | 7288 kB | 5495 | 5485 | ||||||
| openbravo | pg_default | public | ad_ep_instance_para | 32 kB | 8192 bytes | 29159 | 29159 | ||
| ad_ep_instance_para(TOAST) | |||||||||
| openbravo | pg_default | public | m_product | 10 MB | 8192 bytes | 2 | 42 | 3 | |
| m_product(TOAST) | |||||||||
| openbravo | pg_default | pg_temp_12 | ad_context_info | 8192 bytes | 8192 bytes | 95 | 63 | ||
| openbravo | pg_default | pg_temp_6 | ad_context_info | 8192 bytes | 8192 bytes | 6 | 5 | ||
| openbravo | pg_default | pg_temp_5 | ad_context_info | 8192 bytes | 8192 bytes | 199 | 167 |
| DB | Tablespace | Schema | Table | Index | Scans | Blks | %Total |
|---|---|---|---|---|---|---|---|
| openbravo | pg_default | public | m_inoutline | m_inoutline_orderline | 56331418 | 226117238 | 5.16 |
| openbravo | pg_default | public | c_invoiceline | c_invoiceline_orderline | 56298745 | 225966327 | 5.15 |
| openbravo | pg_default | public | m_inout | m_inout_key | 55148313 | 221043201 | 5.04 |
| openbravo | pg_default | public | c_invoice | c_invoice_key | 52166054 | 209540950 | 4.78 |
| openbravo | pg_default | public | c_orderline | em_obpos_orderedqty | 50441537 | 203237898 | 4.64 |
| openbravo | pg_default | public | c_orderline | c_orderline_product | 4503972 | 120917108 | 2.76 |
| openbravo | pg_default | public | c_order | c_order_key | 15078935 | 59973579 | 1.37 |
| openbravo | pg_default | public | prpass_pass_inst | prpass_pass_inst_orderline | 11234515 | 48601498 | 1.11 |
| openbravo | pg_default | public | c_orderline | c_orderline_key | 11899836 | 47636141 | 1.09 |
| openbravo | pg_default | public | prpass_pass_trans | prpass_pass_trans_inst | 11073517 | 46082840 | 1.05 |
| openbravo | pg_default | public | ad_treenode | ad_treenode_tree_node_un | 805779 | 22031985 | 0.50 |
| openbravo | pg_default | public | c_invoice | c_invoice_client_org_date_doc | 138 | 16801227 | 0.38 |
| openbravo | pg_default | public | m_productionplan | m_productionplan_key | 3882069 | 15561272 | 0.35 |
| openbravo | pg_default | public | m_productionline | m_productionline_prodplan | 2464346 | 9939256 | 0.23 |
| openbravo | pg_default | public | m_product | m_product_key | 4148493 | 8358964 | 0.19 |
| openbravo | pg_default | public | m_transaction | m_transaction_calculated | 8534 | 7651421 | 0.17 |
| openbravo | pg_default | public | prpass_pass_inst | prpass_pass_inst_value | 4154 | 7092973 | 0.16 |
| openbravo | pg_default | public | c_order | c_order_client_org_date_docno | 6577 | 6586810 | 0.15 |
| openbravo | pg_default | public | fin_finacc_transaction | fin_finacc_tr_account_line | 13616 | 5213603 | 0.12 |
| openbravo | pg_default | public | m_costing | m_costing_product_date | 32879 | 4756838 | 0.11 |
| DB | Tablespace | Schema | Table | Index | Scans | Blk Reads | %Total | Hits(%) |
|---|---|---|---|---|---|---|---|---|
| openbravo | pg_default | public | c_invoice | c_invoice_client_org_date_doc | 138 | 581671 | 0.40 | 96.54 |
| openbravo | pg_default | public | c_order | c_order_client_org_date_docno | 6577 | 502717 | 0.34 | 92.37 |
| openbravo | pg_default | public | prpass_pass_inst | prpass_pass_inst_value | 4154 | 234577 | 0.16 | 96.69 |
| openbravo | pg_default | public | fin_finacc_transaction | fin_finacc_tr_account_line | 13616 | 216537 | 0.15 | 95.85 |
| openbravo | pg_default | public | c_orderline | c_orderline_key | 11899836 | 200181 | 0.14 | 99.58 |
| openbravo | pg_default | public | c_order | c_order_documentno_id | 1250 | 130581 | 0.09 | 68.36 |
| openbravo | pg_default | public | obmobc_logclient | obmobc_logclient_pk | 115413 | 0.08 | 66.05 | |
| openbravo | pg_default | public | prpass_pass_trans | prpass_pass_trans_inst | 11073517 | 112180 | 0.08 | 99.76 |
| openbravo | pg_default | public | m_productionplan | m_productionplan_key | 3882069 | 105003 | 0.07 | 99.33 |
| openbravo | pg_default | public | obmobc_logclient | obmobc_logclient_context | 99533 | 0.07 | 18.37 | |
| openbravo | pg_default | public | c_order | c_order_key | 15078935 | 95370 | 0.06 | 99.84 |
| openbravo | pg_default | public | obmobc_logclient | obmobc_logclient_timestamp | 75469 | 0.05 | 55.19 | |
| openbravo | pg_default | public | m_productionline | m_productionline_prodplan | 2464346 | 69469 | 0.05 | 99.30 |
| openbravo | pg_default | public | prpass_pass_inst | prpass_pass_inst_orderline | 11234515 | 63694 | 0.04 | 99.87 |
| openbravo | pg_default | public | m_transaction | m_transsaction_product | 4396 | 63254 | 0.04 | 90.56 |
| openbravo | pg_default | public | c_invoice | c_invoice_order | 60334 | 0.04 | 78.35 | |
| openbravo | pg_default | public | obmobc_logclient | obmobc_logclient_cache | 54547 | 0.04 | 52.72 | |
| openbravo | pg_default | public | c_invoiceline | c_invoiceline_invoice | 79321 | 53860 | 0.04 | 83.32 |
| openbravo | pg_default | public | obmobc_logclient | obmobc_logclient_term_date | 4 | 51932 | 0.04 | 75.51 |
| openbravo | pg_default | public | m_costing | m_costing_product_date | 32879 | 50335 | 0.03 | 98.94 |
| DB | Tablespace | Schema | Table | Index | Index | Table | |||
|---|---|---|---|---|---|---|---|---|---|
| Size | Growth | Ins | Upd | Del | |||||
| openbravo | pg_default | public | c_orderline | em_obpos_orderedqty | 917 MB | 3232 kB | 8539 | 12963 | 3 |
| openbravo | pg_default | public | c_invoice | c_invoice_client_org_date_doc | 949 MB | 2904 kB | 3858 | 90917 | |
| openbravo | pg_default | public | m_productionline | m_productionline_prodplan | 1167 MB | 2160 kB | 10448 | 967 | |
| openbravo | pg_default | public | c_invoice | c_invoice_key | 410 MB | 1608 kB | 3858 | 90917 | |
| openbravo | pg_default | public | c_orderline | c_orderline_product | 861 MB | 1344 kB | 8539 | 12963 | 3 |
| openbravo | pg_default | public | prpass_pass_inst_hist | prpass_pass_inst_hist_ord_ix | 702 MB | 592 kB | 7250 | ||
| openbravo | pg_default | public | prpass_pass_inst_hist | prpass_pass_inst_hist_ol_ix | 702 MB | 568 kB | 7250 | ||
| openbravo | pg_default | public | prpass_pass_trans_hist | prpass_pass_trans_hist_key | 1036 MB | 560 kB | 7217 | ||
| openbravo | pg_default | public | m_inout | m_inout_key | 402 MB | 544 kB | 3913 | 4016 | |
| openbravo | pg_default | public | prpass_pass_inst_hist | prpass_pass_inst_hist_key | 915 MB | 520 kB | 7250 | ||
| openbravo | pg_default | public | prpass_pass_inst_hist | prpass_pass_inst_hist_part_ix | 702 MB | 512 kB | 7250 | ||
| openbravo | pg_default | public | prpass_pass_inst_hist | prpass_pass_inst_hist_prd_ix | 702 MB | 488 kB | 7250 | ||
| openbravo | pg_default | public | prpass_pass_trans_hist | prpass_pass_trans_hist_vlo_ix | 796 MB | 488 kB | 7217 | ||
| openbravo | pg_default | public | prpass_pass_trans_hist | prpass_pass_trans_hist_pos_ix | 589 MB | 328 kB | 7217 | ||
| openbravo | pg_default | public | prpass_pass_inst_hist | prpass_pass_inst_hist_pos_ix | 603 MB | 304 kB | 7250 | ||
| openbravo | pg_default | public | prpass_timeslots_res | prpass_timeslots_res_key | 71 MB | 216 kB | 1050 | 611 | 435 |
| openbravo | pg_default | public | prpass_pass_inst_hist | prpass_pass_inst_hist_sta_ix | 267 MB | 208 kB | 7250 | ||
| openbravo | pg_default | public | prpass_pass_inst_hist | prpass_pass_inst_hist_unl_ix | 267 MB | 208 kB | 7250 | ||
| openbravo | pg_default | public | prpass_pass_inst_hist | prpass_pass_inst_hist_val_ix | 482 MB | 152 kB | 7250 | ||
| openbravo | pg_default | public | m_requisitionline | m_requisitionln_requisit_idx | 30 MB | 128 kB | 1553 | ||
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 | prpass_pass_inst_hist | prpass_pass_inst_hist_ord_ix | 702 MB | 592 kB | 7250 | ||
| openbravo | pg_default | public | prpass_pass_inst_hist | prpass_pass_inst_hist_ol_ix | 702 MB | 568 kB | 7250 | ||
| openbravo | pg_default | public | prpass_pass_inst_hist | prpass_pass_inst_hist_part_ix | 702 MB | 512 kB | 7250 | ||
| openbravo | pg_default | public | prpass_pass_inst_hist | prpass_pass_inst_hist_pos_ix | 603 MB | 304 kB | 7250 | ||
| openbravo | pg_default | public | prpass_pass_inst_hist | prpass_pass_inst_hist_prd_ix | 702 MB | 488 kB | 7250 | ||
| openbravo | pg_default | public | prpass_pass_inst_hist | prpass_pass_inst_hist_sta_ix | 267 MB | 208 kB | 7250 | ||
| openbravo | pg_default | public | prpass_pass_inst_hist | prpass_pass_inst_hist_unl_ix | 267 MB | 208 kB | 7250 | ||
| openbravo | pg_default | public | prpass_pass_inst_hist | prpass_pass_inst_hist_val_ix | 482 MB | 152 kB | 7250 | ||
| openbravo | pg_default | public | prpass_pass_trans_hist | prpass_pass_trans_hist_ins_ix | 795 MB | 7217 | |||
| openbravo | pg_default | public | prpass_pass_trans_hist | prpass_pass_trans_hist_pos_ix | 589 MB | 328 kB | 7217 | ||
| openbravo | pg_default | public | prpass_pass_trans_hist | prpass_pass_trans_hist_vlo_ix | 796 MB | 488 kB | 7217 | ||
| openbravo | pg_default | public | m_requisitionline | em_cactl_reqln_prod_idx | 30 MB | 56 kB | 1174 | ||
| DB | Schema | Function | Executions | Time (s) | |||
|---|---|---|---|---|---|---|---|
| Total | Self | Mean | Mean self | ||||
| openbravo | public | cactl_calculate_consumption | 3439 | 1247.62 | 1247.39 | 0.363 | 0.363 |
| openbravo | public | c_order_post | 1088 | 111.90 | 0.03 | 0.103 | 0.000 |
| openbravo | public | c_order_post1 | 1088 | 111.87 | 0.02 | 0.103 | 0.000 |
| openbravo | public | c_order_post1 | 1088 | 111.85 | 10.33 | 0.103 | 0.009 |
| openbravo | public | pricm_createproductprice | 3715 | 61.07 | 29.07 | 0.016 | 0.008 |
| openbravo | public | c_invoice_create | 1071 | 49.90 | 6.89 | 0.047 | 0.006 |
| openbravo | public | to_char | 29127277 | 49.68 | 49.68 | 0.000 | 0.000 |
| openbravo | profile | take_sample | 23 | 45.71 | 0.01 | 1.987 | 0.001 |
| openbravo | profile | take_sample_subset | 23 | 45.69 | 0.04 | 1.987 | 0.002 |
| openbravo | profile | take_sample | 23 | 45.65 | 4.15 | 1.985 | 0.180 |
| openbravo | public | to_char | 29126893 | 40.49 | 40.49 | 0.000 | 0.000 |
| openbravo | public | to_date | 13516989 | 34.07 | 34.07 | 0.000 | 0.000 |
| openbravo | public | c_invoice_post | 1071 | 34.05 | 11.30 | 0.032 | 0.011 |
| openbravo | profile | dblink | 621 | 34.04 | 34.04 | 0.055 | 0.055 |
| openbravo | public | ad_extension_point_handler | 6475 | 30.90 | 2.66 | 0.005 | 0.000 |
| openbravo | public | m_inout_create | 1071 | 29.37 | 0.03 | 0.027 | 0.000 |
| openbravo | public | m_inout_create | 1071 | 29.34 | 7.14 | 0.027 | 0.007 |
| openbravo | profile | collect_pg_stat_statements_stats | 22 | 22.99 | 0.36 | 1.045 | 0.017 |
| openbravo | public | m_inout_post | 1083 | 18.93 | 10.10 | 0.017 | 0.009 |
| openbravo | public | m_get_stock_param | 8960 | 16.18 | 15.95 | 0.002 | 0.002 |
| DB | Schema | Function | Executions | Time (s) | |||
|---|---|---|---|---|---|---|---|
| Total | Self | Mean | Mean self | ||||
| openbravo | public | to_char | 29127277 | 49.68 | 49.68 | 0.000 | 0.000 |
| openbravo | public | to_char | 29126893 | 40.49 | 40.49 | 0.000 | 0.000 |
| openbravo | public | to_date | 13516989 | 34.07 | 34.07 | 0.000 | 0.000 |
| openbravo | public | to_char | 6923610 | 3.70 | 3.70 | 0.000 | 0.000 |
| openbravo | public | substract_days | 3236114 | 2.52 | 2.52 | 0.000 | 0.000 |
| openbravo | public | to_char | 2783092 | 1.54 | 1.54 | 0.000 | 0.000 |
| openbravo | public | to_number | 2750968 | 4.54 | 4.54 | 0.000 | 0.000 |
| openbravo | public | ad_istriggerenabled | 1621726 | 10.56 | 10.56 | 0.000 | 0.000 |
| openbravo | public | add_days | 1207318 | 1.55 | 1.55 | 0.000 | 0.000 |
| openbravo | public | to_date | 789393 | 1.70 | 1.69 | 0.000 | 0.000 |
| openbravo | public | uuid_generate_v4 | 471165 | 1.63 | 1.63 | 0.000 | 0.000 |
| openbravo | public | substract_days | 178711 | 0.21 | 0.21 | 0.000 | 0.000 |
| openbravo | public | get_uuid | 157055 | 3.02 | 1.39 | 0.000 | 0.000 |
| openbravo | public | trunc | 145441 | 0.33 | 0.33 | 0.000 | 0.000 |
| openbravo | public | ad_isorgincluded | 134685 | 2.17 | 2.17 | 0.000 | 0.000 |
| openbravo | public | trunc | 113981 | 0.24 | 0.24 | 0.000 | 0.000 |
| openbravo | public | round | 72570 | 0.13 | 0.13 | 0.000 | 0.000 |
| openbravo | public | m_update_inventory | 70049 | 15.25 | 13.29 | 0.000 | 0.000 |
| openbravo | public | m_update_stockaux | 64830 | 10.78 | 10.03 | 0.000 | 0.000 |
| openbravo | public | add_days | 58113 | 0.08 | 0.08 | 0.000 | 0.000 |
| DB | Schema | Function | Executions | Time (s) | |||
|---|---|---|---|---|---|---|---|
| Total | Self | Mean | Mean self | ||||
| openbravo | public | pricm_productprice | 3905 | 61.29 | 0.10 | 0.016 | 0.000 |
| openbravo | public | m_productionline_trg | 32628 | 24.69 | 4.57 | 0.001 | 0.000 |
| openbravo | public | cactl_m_prodline_losses_trg | 10903 | 14.76 | 3.26 | 0.001 | 0.000 |
| openbravo | public | cactl_product_org | 32628 | 10.96 | 1.70 | 0.000 | 0.000 |
| openbravo | public | m_transaction_trg | 50161 | 9.96 | 5.36 | 0.000 | 0.000 |
| openbravo | public | c_orderline_trg2 | 31027 | 7.65 | 2.39 | 0.000 | 0.000 |
| openbravo | public | au_c_order_trg | 17555 | 6.84 | 6.59 | 0.000 | 0.000 |
| openbravo | public | c_invoiceline_trg2 | 10000 | 5.80 | 2.16 | 0.001 | 0.000 |
| openbravo | public | c_invoice_trg | 113604 | 4.03 | 3.31 | 0.000 | 0.000 |
| openbravo | public | aeatsii_invoice_trg | 113604 | 3.93 | 1.88 | 0.000 | 0.000 |
| openbravo | public | c_orderline2_trg | 31027 | 3.04 | 2.86 | 0.000 | 0.000 |
| openbravo | public | c_invoice_trg2 | 110752 | 2.55 | 1.45 | 0.000 | 0.000 |
| openbravo | public | c_orderlinetax_trg | 9415 | 1.73 | 1.42 | 0.000 | 0.000 |
| openbravo | public | c_invoicelinetax_trg | 9009 | 1.71 | 1.13 | 0.000 | 0.000 |
| openbravo | public | c_orderline_trg | 31027 | 1.70 | 1.50 | 0.000 | 0.000 |
| openbravo | public | m_storage_detail_trg | 70049 | 1.54 | 1.15 | 0.000 | 0.000 |
| openbravo | public | priuti_c_invoice_ref_trg | 110752 | 1.52 | 0.90 | 0.000 | 0.000 |
| openbravo | public | pricm_skipped_transaction_trg | 15817 | 1.47 | 1.41 | 0.000 | 0.000 |
| openbravo | public | c_ordline_chk_restrictions_trg | 31027 | 1.46 | 1.36 | 0.000 | 0.000 |
| openbravo | public | intr_c_orderline_trg | 31024 | 1.45 | 0.56 | 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 | 452 | 29159 | 29159 | |||
| openbravo | pg_default | profile | last_stat_tables | 156 | 41467 | 3679 | 41463 | 45 | |
| openbravo | pg_default | profile | last_stat_indexes | 156 | 71047 | 1640 | 71047 | 1 | |
| openbravo | pg_default | profile | last_stat_user_functions | 156 | 12443 | 1638 | 12443 | 88 | |
| openbravo | pg_default | public | m_stock_aux | 127 | 19349 | 45907 | 19349 | 34620 | |
| openbravo | pg_default | public | c_import_entry | 125 | 11033 | 11033 | 11081 | ||
| openbravo | pg_default | public | obre_reservation | 49 | 417 | 2617 | 418 | 8 | |
| openbravo | pg_default | public | obpos_applications | 44 | 5882 | 5882 | |||
| openbravo | pg_default | public | fin_financial_account | 34 | 2874 | 2874 | |||
| openbravo | pg_default | public | obre_resource | 14 | 2912 | 2912 | |||
| openbravo | pg_default | public | ad_sequence | 9 | 12003 | 11872 | |||
| openbravo | pg_default | public | m_transaction_last | 7 | 1 | 15213 | |||
| openbravo | pg_default | pg_catalog | pg_class | 6 | 345 | 22902 | 347 | 22900 | |
| openbravo | pg_default | public | m_storage_detail | 3 | 8 | 70500 | 49443 | ||
| openbravo | pg_default | public | ad_alert | 2 | 25 | 29 | 3 | ||
| openbravo | pg_default | public | ad_pinstance | 2 | 106 | 212 | 3529 | 200 | |
| openbravo | pg_default | public | ad_process_request | 2 | 7 | 498 | 388 | 480 | |
| openbravo | pg_default | public | ad_process_run | 2 | 395 | 395 | 3592 | ||
| openbravo | pg_default | public | c_import_entry_archive | 2 | 3543 | 5791 | |||
| openbravo | pg_default | public | m_stock_proposed | 2 | 108 | 15828 |
| DB | Tablespace | Schema | Table | Analyze count | Autoanalyze count | Ins | Upd | Del | Upd(HOT) |
|---|---|---|---|---|---|---|---|---|---|
| openbravo | pg_default | public | ad_ep_instance_para | 651 | 29159 | 29159 | |||
| openbravo | pg_default | public | m_stock_aux | 217 | 19349 | 45907 | 19349 | 34620 | |
| openbravo | pg_default | public | c_import_entry | 215 | 11033 | 11033 | 11081 | ||
| openbravo | pg_default | public | ad_sequence | 120 | 12003 | 11872 | |||
| openbravo | pg_default | public | obpos_applications | 92 | 5882 | 5882 | |||
| openbravo | pg_default | profile | last_stat_tables | 46 | 23 | 41467 | 3679 | 41463 | 45 |
| openbravo | pg_default | profile | last_stat_indexes | 46 | 23 | 71047 | 1640 | 71047 | 1 |
| openbravo | pg_default | profile | last_stat_user_functions | 46 | 23 | 12443 | 1638 | 12443 | 88 |
| openbravo | pg_default | public | obre_reservation | 58 | 417 | 2617 | 418 | 8 | |
| openbravo | pg_default | public | fin_financial_account | 44 | 2874 | 2874 | |||
| openbravo | pg_default | public | obre_resource | 30 | 2912 | 2912 | |||
| openbravo | pg_default | pg_catalog | pg_class | 22 | 345 | 22902 | 347 | 22900 | |
| openbravo | pg_default | profile | last_stat_tablespaces | 21 | 44 | 44 | |||
| openbravo | pg_default | public | m_storage_detail | 13 | 8 | 70500 | 49443 | ||
| openbravo | pg_default | public | m_transaction_last | 11 | 1 | 15213 | |||
| openbravo | pg_default | public | c_bpartner | 7 | 5067 | 5066 | |||
| openbravo | pg_default | public | ad_process_request | 2 | 4 | 7 | 498 | 388 | 480 |
| openbravo | pg_default | pg_catalog | pg_type | 4 | 232 | 228 | |||
| openbravo | pg_default | public | ad_session | 1 | 3 | 47 | 837 | 1128 | 762 |
| openbravo | pg_default | public | ad_pinstance | 2 | 1 | 106 | 212 | 3529 | 200 |
| DB | Tablespace | Schema | Table | Index | ~Vacuum bytes | Vacuum cnt | Autovacuum cnt | IX size | Relsize |
|---|---|---|---|---|---|---|---|---|---|
| openbravo | pg_default | public | obmobc_logclient | obmobc_logclient_timestamp | 587 MB | 2 | 294 MB | 1412 MB | |
| openbravo | pg_default | public | obmobc_logclient | obmobc_logclient_pk | 485 MB | 2 | 242 MB | 1412 MB | |
| openbravo | pg_default | public | obmobc_logclient | obmobc_logclient_cache | 422 MB | 2 | 211 MB | 1412 MB | |
| openbravo | pg_default | public | obmobc_logclient | obmobc_logclient_term_date | 406 MB | 2 | 203 MB | 1412 MB | |
| openbravo | pg_default | public | obmobc_logclient | obmobc_logclient_context | 378 MB | 2 | 189 MB | 1412 MB | |
| openbravo | pg_default | public | m_stock_aux | m_stock_aux_aux_id | 324 MB | 127 | 2616 kB | 4400 kB | |
| openbravo | pg_default | public | c_import_entry | em_prres_organization_idx | 168 MB | 124 | 1384 kB | 1056 kB | |
| openbravo | pg_default | public | ad_ep_instance_para | ad_ep_instance_para_key | 152 MB | 452 | 344 kB | 28 kB | |
| openbravo | pg_default | public | c_import_entry | c_import_entry_key | 115 MB | 124 | 952 kB | 1056 kB | |
| openbravo | pg_default | public | c_import_entry | em_prres_typeofdata_idx | 109 MB | 124 | 904 kB | 1056 kB | |
| openbravo | pg_default | public | c_import_entry | c_import_entry_type_status | 104 MB | 124 | 856 kB | 1056 kB | |
| openbravo | pg_default | public | c_import_entry | em_obpos_application_fk | 95 MB | 124 | 784 kB | 1056 kB | |
| openbravo | pg_default | public | m_stock_aux | m_stock_aux_storage_detail_id | 87 MB | 122 | 728 kB | 4400 kB | |
| openbravo | pg_default | profile | last_stat_indexes | pk_last_stat_indexes | 82 MB | 152 | 552 kB | 2040 kB | |
| openbravo | pg_default | public | m_stock_aux | m_stock_aux_key | 73 MB | 122 | 616 kB | 4400 kB | |
| openbravo | pg_default | public | c_import_entry | c_import_entry_idx | 72 MB | 109 | 680 kB | 1080 kB | |
| openbravo | pg_default | public | m_storage_detail | m_storage_detail_un | 60 MB | 3 | 20 MB | 29 MB | |
| openbravo | pg_default | public | m_storage_detail | m_storage_detail_uom | 45 MB | 3 | 15 MB | 29 MB | |
| openbravo | pg_default | profile | last_stat_tables | pk_last_stat_tables | 43 MB | 148 | 296 kB | 1540 kB | |
| openbravo | pg_default | public | m_storage_detail | m_storage_detail_locator | 42 MB | 3 | 14 MB | 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 | 721081 | 138575 | 16 | 2026-04-30 12:07:18.698105+01 | 262 MB |
| openbravo | profile | sample_stat_tables | 27206 | 5237 | 16 | 2026-07-17 17:00:47.297023+01 | 8672 kB |
| openbravo | pg_catalog | pg_statistic | 10764 | 1795 | 14 | 2026-07-18 13:44:48.950217+01 | 7064 kB |
| openbravo | public | c_invoice | 7034434 | 1062737 | 13 | 2026-07-08 00:23:08.546646+01 | 7098 MB |
| openbravo | pg_catalog | pg_attribute | 37235 | 5500 | 12 | 2026-07-17 16:18:46.858639+01 | 6840 kB |
| openbravo | pg_toast | pg_toast_2619 | 2483 | 358 | 12 | 2026-07-18 22:38:10.984245+01 | 7288 kB |
| openbravo | pg_toast | pg_toast_232469 | 13517 | 1930 | 12 | 2026-05-19 02:38:47.391039+01 | 30 MB |
| openbravo | public | m_requisitionline | 318611 | 41393 | 11 | 2026-07-06 12:22:50.3815+01 | 184 MB |
| openbravo | public | m_product | 15688 | 1806 | 10 | 2026-02-20 19:44:18.669967+00 | 10 MB |
| openbravo | public | fin_finacc_transaction | 6613193 | 697827 | 9 | 2026-04-02 14:41:49.577329+01 | 3427 MB |
| openbravo | public | c_order | 7291494 | 686148 | 8 | 7790 MB | |
| openbravo | public | c_orderline | 14427668 | 785217 | 5 | 8695 MB | |
| openbravo | public | prpass_pass_inst | 673315 | 42089 | 5 | 2026-07-16 21:52:27.999093+01 | 6280 MB |
| openbravo | public | m_inout | 7265114 | 259131 | 3 | 2025-10-20 23:54:32.431835+01 | 4176 MB |
| openbravo | public | prpass_pass_trans | 553965 | 15663 | 2 | 2026-07-16 21:39:42.083421+01 | 5152 MB |
| openbravo | public | m_productionline | 20099030 | 221479 | 1 | 7879 MB | |
| openbravo | pg_toast | pg_toast_227856 | 2016 | 1 | 0 | 2026-06-29 05:14:25.739162+01 | 6104 kB |
| openbravo | public | ad_process_run | 19919 | 150 | 0 | 2026-06-01 11:38:18.108022+01 | 22 MB |
| openbravo | public | c_invoiceline | 14264126 | 50348 | 0 | 7433 MB | |
| openbravo | public | m_inoutline | 14267213 | 29518 | 0 | 5983 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 | 1795 | 9829296 | 78264 | 7064 kB | |
| openbravo | public | m_productionline | 20099030 | 221479 | 1829875 | 9 | 2026-04-18 16:29:40.193815+01 | 7879 MB |
| openbravo | pg_catalog | pg_attribute | 37235 | 5500 | 3420 | 8 | 2026-07-18 14:48:49.041364+01 | 6840 kB |
| openbravo | public | m_product | 15688 | 1806 | 1245 | 7 | 2026-07-13 10:43:57.196489+01 | 10 MB |
| openbravo | public | prpass_pass_inst_hist | 12372968 | 0 | 975780 | 7 | 2026-07-16 19:56:26.433478+01 | 5789 MB |
| openbravo | public | fin_finacc_transaction | 6613193 | 697827 | 385361 | 5 | 2026-06-27 12:53:00.341557+01 | 3427 MB |
| openbravo | public | c_order | 7291494 | 686148 | 438336 | 5 | 2026-06-29 09:41:55.68684+01 | 7790 MB |
| openbravo | public | prpass_pass_trans | 553965 | 15663 | 33852 | 5 | 2026-07-16 21:03:29.20469+01 | 5152 MB |
| openbravo | profile | sample_stat_tables | 27206 | 5237 | 1680 | 5 | 2026-07-18 21:00:10.229722+01 | 8672 kB |
| openbravo | public | prpass_pass_trans_hist | 13998482 | 0 | 779547 | 5 | 2026-07-16 20:00:37.093696+01 | 4819 MB |
| openbravo | public | c_invoice | 7034434 | 1062737 | 343648 | 4 | 2026-07-16 12:28:46.256497+01 | 7098 MB |
| openbravo | public | c_invoiceline | 14264126 | 50348 | 618163 | 4 | 2026-02-28 09:04:55.209925+00 | 7433 MB |
| openbravo | public | m_inoutline | 14267213 | 29518 | 592320 | 4 | 2026-03-06 11:59:32.517041+00 | 5983 MB |
| openbravo | public | m_requisitionline | 318611 | 41393 | 17973 | 4 | 2026-07-16 12:22:03.316362+01 | 184 MB |
| openbravo | public | c_orderline | 14427668 | 785217 | 470676 | 3 | 2026-07-06 00:03:35.926283+01 | 8695 MB |
| openbravo | public | m_productionplan | 3455186 | 101 | 105666 | 3 | 2026-02-28 13:31:59.297829+00 | 1242 MB |
| openbravo | public | prpass_pass_inst | 673315 | 42089 | 24893 | 3 | 2026-07-18 11:00:16.903044+01 | 6280 MB |
| openbravo | public | ad_process_run | 19919 | 150 | 298 | 1 | 2026-07-18 21:40:11.641015+01 | 22 MB |
| openbravo | public | m_inout | 7265114 | 259131 | 113880 | 1 | 2026-07-11 14:36:35.462074+01 | 4176 MB |
| openbravo | public | prpass_timeslots_res | 721081 | 138575 | 10033 | 1 | 2026-07-16 20:03:13.270013+01 | 262 MB |
| 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 | |||