-
Global information
- Generated on Fri Dec 2 23:50:34 2022
- Log file: /var/log/postgresql/postgresql-14-main.log
- Parsed 186,475 log entries in 33s
- Log start from 2022-12-01 00:00:01 to 2022-12-01 23:59:53
-
Overview
Global Stats
- 652 Number of unique normalized queries
- 35,121 Number of queries
- 3h35m21s Total query duration
- 2022-12-01 00:00:50 First query
- 2022-12-01 23:59:10 Last query
- 21 queries/s at 2022-12-01 20:41:06 Query peak
- 3h35m21s Total query duration
- 0ms Prepare/parse total duration
- 0ms Bind total duration
- 3h35m21s Execute total duration
- 42,651 Number of events
- 13 Number of unique normalized events
- 31,751 Max number of times the same event was reported
- 0 Number of cancellation
- 0 Total number of automatic vacuums
- 0 Total number of automatic analyzes
- 0 Number temporary file
- 0 Max size of temporary file
- 0.00 B Average size of temporary file
- 0 Total number of sessions
- 0 sessions at Session peak
- 0ms Total duration of sessions
- 0ms Average duration of sessions
- 35,121 Average queries per session
- 3h35m21s Average queries duration per session
- n/a Average idle time per session
- 0 Total number of connections
- 1 Total number of databases
SQL Traffic
Key values
- 21 queries/s Query Peak
- 2022-12-01 20:41:06 Date
SELECT Traffic
Key values
- 21 queries/s Query Peak
- 2022-12-01 14:26:28 Date
INSERT/UPDATE/DELETE Traffic
Key values
- 11 queries/s Query Peak
- 2022-12-01 20:00:52 Date
Queries duration
Key values
- 3h35m21s Total query duration
Prepared queries ratio
Key values
- 0.00 Ratio of bind vs prepare
- 0.00 % Ratio between prepared and "usual" statements
General Activity
Day Hour Count Min duration Max duration Avg duration Latency Percentile(90) Latency Percentile(95) Latency Percentile(99) Dec 01 00 86 0ms 1s792ms 1s104ms 666ms 2s2ms 45s827ms 01 16 0ms 862ms 551ms 0ms 2s148ms 3s980ms 02 788 0ms 1s698ms 282ms 17s178ms 21s353ms 24s957ms 03 848 0ms 1s681ms 294ms 13s126ms 26s87ms 29s683ms 04 3 0ms 662ms 656ms 0ms 653ms 662ms 05 1 0ms 167ms 167ms 0ms 0ms 167ms 06 71 0ms 16s510ms 927ms 562ms 1s799ms 32s172ms 07 47 0ms 349ms 136ms 0ms 1s795ms 2s141ms 08 282 0ms 3s69ms 167ms 3s782ms 3s824ms 6s588ms 09 86 0ms 19s373ms 938ms 498ms 1s890ms 49s839ms 10 478 0ms 54s259ms 450ms 2s865ms 28s232ms 1m25s 11 725 0ms 1s204ms 151ms 4s708ms 5s254ms 7s631ms 12 1,002 0ms 19s375ms 508ms 23s796ms 33s706ms 1m10s 13 2,820 120ms 2s233ms 369ms 34s427ms 47s774ms 1m14s 14 3,795 120ms 5s322ms 392ms 51s305ms 1m26s 2m2s 15 3,682 120ms 4s905ms 366ms 40s286ms 50s24ms 1m15s 16 4,580 120ms 4s329ms 362ms 54s618ms 1m34s 2m10s 17 2,233 120ms 34s523ms 369ms 27s21ms 38s16ms 47s822ms 18 4,113 120ms 20s51ms 379ms 55s38ms 1m9s 1m28s 19 3,131 120ms 3s96ms 390ms 40s347ms 54s281ms 1m28s 20 2,769 121ms 2s612ms 360ms 33s963ms 49s577ms 1m12s 21 1,382 0ms 6s872ms 341ms 18s960ms 24s634ms 27s921ms 22 299 0ms 2s220ms 491ms 5s478ms 10s888ms 19s263ms 23 1,884 0ms 1s696ms 290ms 35s83ms 41s626ms 1m3s Day Hour SELECT COPY TO Average Duration Latency Percentile(90) Latency Percentile(95) Latency Percentile(99) Dec 01 00 76 0 1s229ms 0ms 0ms 44s980ms 01 16 0 551ms 0ms 0ms 2s696ms 02 739 0 262ms 5s592ms 13s88ms 21s353ms 03 822 0 280ms 6s920ms 13s4ms 25s955ms 04 3 0 656ms 0ms 0ms 654ms 05 1 0 167ms 0ms 0ms 0ms 06 42 29 927ms 0ms 562ms 28s296ms 07 46 0 131ms 0ms 0ms 1s802ms 08 282 0 167ms 1s796ms 3s782ms 6s3ms 09 43 43 938ms 0ms 498ms 25s350ms 10 473 0 152ms 1s972ms 2s664ms 3s952ms 11 713 0 149ms 3s754ms 4s708ms 5s605ms 12 691 43 614ms 14s160ms 19s85ms 40s571ms 13 2,061 0 424ms 20s752ms 31s179ms 51s278ms 14 2,709 0 437ms 24s584ms 49s372ms 1m19s 15 2,389 0 421ms 22s299ms 33s606ms 54s606ms 16 3,246 0 400ms 33s900ms 51s550ms 1m33s 17 1,621 0 408ms 16s799ms 23s861ms 35s287ms 18 2,926 43 436ms 31s316ms 50s967ms 1m5s 19 2,145 0 452ms 24s289ms 28s721ms 1m9s 20 1,715 0 430ms 14s174ms 28s486ms 47s396ms 21 795 0 435ms 11s662ms 14s799ms 21s404ms 22 241 0 533ms 2s595ms 4s868ms 17s673ms 23 1,756 0 287ms 22s864ms 34s441ms 1m3s Day Hour INSERT UPDATE DELETE COPY FROM Average Duration Latency Percentile(90) Latency Percentile(95) Latency Percentile(99) Dec 01 00 4 6 0 0 155ms 0ms 0ms 315ms 01 0 0 0 0 0ms 0ms 0ms 0ms 02 0 38 0 0 443ms 0ms 0ms 4s443ms 03 4 6 0 0 189ms 0ms 0ms 314ms 04 0 0 0 0 0ms 0ms 0ms 0ms 05 0 0 0 0 0ms 0ms 0ms 0ms 06 0 0 0 0 0ms 0ms 0ms 0ms 07 0 0 0 0 0ms 0ms 0ms 0ms 08 0 0 0 0 0ms 0ms 0ms 0ms 09 0 0 0 0 0ms 0ms 0ms 0ms 10 0 0 5 0 28s654ms 0ms 0ms 4s96ms 11 1 9 1 0 252ms 0ms 0ms 301ms 12 75 186 7 0 216ms 740ms 1s373ms 3s431ms 13 164 572 9 0 220ms 1s822ms 3s349ms 8s878ms 14 233 821 10 0 278ms 2s902ms 7s198ms 17s399ms 15 289 976 12 0 262ms 4s600ms 6s829ms 12s955ms 16 327 962 11 0 265ms 3s887ms 6s453ms 16s776ms 17 159 441 4 0 263ms 1s643ms 3s203ms 6s531ms 18 324 784 18 0 228ms 2s830ms 5s885ms 12s838ms 19 244 701 24 0 255ms 2s778ms 4s92ms 14s856ms 20 209 825 10 0 245ms 3s244ms 5s292ms 11s757ms 21 148 431 8 0 214ms 1s178ms 2s370ms 11s56ms 22 11 41 5 0 320ms 0ms 309ms 2s940ms 23 27 92 0 0 286ms 0ms 325ms 6s214ms Day Hour Prepare Bind Bind/Prepare Percentage of prepare Dec 01 00 0 0 0.00 0.00% 01 0 0 0.00 0.00% 02 0 0 0.00 0.00% 03 0 0 0.00 0.00% 04 0 0 0.00 0.00% 05 0 0 0.00 0.00% 06 0 0 0.00 0.00% 07 0 0 0.00 0.00% 08 0 0 0.00 0.00% 09 0 0 0.00 0.00% 10 0 0 0.00 0.00% 11 0 0 0.00 0.00% 12 0 0 0.00 0.00% 13 0 0 0.00 0.00% 14 0 0 0.00 0.00% 15 0 0 0.00 0.00% 16 0 0 0.00 0.00% 17 0 0 0.00 0.00% 18 0 0 0.00 0.00% 19 0 0 0.00 0.00% 20 0 0 0.00 0.00% 21 0 0 0.00 0.00% 22 0 0 0.00 0.00% 23 0 0 0.00 0.00% Day Hour Count Average / Second Dec 01 00 0 0.00/s 01 0 0.00/s 02 0 0.00/s 03 0 0.00/s 04 0 0.00/s 05 0 0.00/s 06 0 0.00/s 07 0 0.00/s 08 0 0.00/s 09 0 0.00/s 10 0 0.00/s 11 0 0.00/s 12 0 0.00/s 13 0 0.00/s 14 0 0.00/s 15 0 0.00/s 16 0 0.00/s 17 0 0.00/s 18 0 0.00/s 19 0 0.00/s 20 0 0.00/s 21 0 0.00/s 22 0 0.00/s 23 0 0.00/s Day Hour Count Average Duration Average idle time Dec 01 00 0 0ms 0ms 01 0 0ms 0ms 02 0 0ms 0ms 03 0 0ms 0ms 04 0 0ms 0ms 05 0 0ms 0ms 06 0 0ms 0ms 07 0 0ms 0ms 08 0 0ms 0ms 09 0 0ms 0ms 10 0 0ms 0ms 11 0 0ms 0ms 12 0 0ms 0ms 13 0 0ms 0ms 14 0 0ms 0ms 15 0 0ms 0ms 16 0 0ms 0ms 17 0 0ms 0ms 18 0 0ms 0ms 19 0 0ms 0ms 20 0 0ms 0ms 21 0 0ms 0ms 22 0 0ms 0ms 23 0 0ms 0ms -
Connections
Established Connections
Key values
- 0 connections Connection Peak
- Date
Connections per database
Key values
- unknown Main Database
- 0 connections Total
Connections per user
Key values
- unknown Main User
- 0 connections Total
-
Sessions
Simultaneous sessions
Key values
- 0 sessions Session Peak
- Date
Histogram of session times
Key values
- duration
Sessions per database
Key values
- unknown Main Database
- 0 sessions Total
Sessions per user
Key values
- unknown Main User
- 0 sessions Total
Sessions per host
Key values
- unknown Main Host
- 0 sessions Total
-
Checkpoints / Restartpoints
Checkpoints Buffers
Key values
- 0 buffers Checkpoint Peak
- Date
- seconds Highest write time
- seconds Sync time
Checkpoint write buffers (5 minutes period)
NO DATASET
Checkpoints Wal files
Key values
- 0 files Wal files usage Peak
- Date
Checkpoint Wal files usage (5 minutes period)
NO DATASET
Checkpoints distance
Key values
- 0 Mo Distance Peak
- Date
Checkpoints Activity
Day Hour Written buffers Write time Sync time Total time Dec 01 00 0 0s 0s 0s 01 0 0s 0s 0s 02 0 0s 0s 0s 03 0 0s 0s 0s 04 0 0s 0s 0s 05 0 0s 0s 0s 06 0 0s 0s 0s 07 0 0s 0s 0s 08 0 0s 0s 0s 09 0 0s 0s 0s 10 0 0s 0s 0s 11 0 0s 0s 0s 12 0 0s 0s 0s 13 0 0s 0s 0s 14 0 0s 0s 0s 15 0 0s 0s 0s 16 0 0s 0s 0s 17 0 0s 0s 0s 18 0 0s 0s 0s 19 0 0s 0s 0s 20 0 0s 0s 0s 21 0 0s 0s 0s 22 0 0s 0s 0s 23 0 0s 0s 0s Day Hour Added Removed Recycled Synced files Longest sync Average sync Dec 01 00 0 0 0 0 0s 0s 01 0 0 0 0 0s 0s 02 0 0 0 0 0s 0s 03 0 0 0 0 0s 0s 04 0 0 0 0 0s 0s 05 0 0 0 0 0s 0s 06 0 0 0 0 0s 0s 07 0 0 0 0 0s 0s 08 0 0 0 0 0s 0s 09 0 0 0 0 0s 0s 10 0 0 0 0 0s 0s 11 0 0 0 0 0s 0s 12 0 0 0 0 0s 0s 13 0 0 0 0 0s 0s 14 0 0 0 0 0s 0s 15 0 0 0 0 0s 0s 16 0 0 0 0 0s 0s 17 0 0 0 0 0s 0s 18 0 0 0 0 0s 0s 19 0 0 0 0 0s 0s 20 0 0 0 0 0s 0s 21 0 0 0 0 0s 0s 22 0 0 0 0 0s 0s 23 0 0 0 0 0s 0s Day Hour Count Avg time (sec) Dec 01 00 0 0s 01 0 0s 02 0 0s 03 0 0s 04 0 0s 05 0 0s 06 0 0s 07 0 0s 08 0 0s 09 0 0s 10 0 0s 11 0 0s 12 0 0s 13 0 0s 14 0 0s 15 0 0s 16 0 0s 17 0 0s 18 0 0s 19 0 0s 20 0 0s 21 0 0s 22 0 0s 23 0 0s Day Hour Mean distance Mean estimate Dec 01 00 0.00 kB 0.00 kB 01 0.00 kB 0.00 kB 02 0.00 kB 0.00 kB 03 0.00 kB 0.00 kB 04 0.00 kB 0.00 kB 05 0.00 kB 0.00 kB 06 0.00 kB 0.00 kB 07 0.00 kB 0.00 kB 08 0.00 kB 0.00 kB 09 0.00 kB 0.00 kB 10 0.00 kB 0.00 kB 11 0.00 kB 0.00 kB 12 0.00 kB 0.00 kB 13 0.00 kB 0.00 kB 14 0.00 kB 0.00 kB 15 0.00 kB 0.00 kB 16 0.00 kB 0.00 kB 17 0.00 kB 0.00 kB 18 0.00 kB 0.00 kB 19 0.00 kB 0.00 kB 20 0.00 kB 0.00 kB 21 0.00 kB 0.00 kB 22 0.00 kB 0.00 kB 23 0.00 kB 0.00 kB -
Temporary Files
Size of temporary files
Key values
- 0 Temp Files size Peak
- Date
Size of temporary files (5 minutes period)
NO DATASET
Number of temporary files
Key values
- 0 per second Temp Files Peak
- Date
Number of temporary files (5 minutes period)
NO DATASET
Temporary Files Activity
Day Hour Count Total size Average size Dec 01 00 0 0 0 01 0 0 0 02 0 0 0 03 0 0 0 04 0 0 0 05 0 0 0 06 0 0 0 07 0 0 0 08 0 0 0 09 0 0 0 10 0 0 0 11 0 0 0 12 0 0 0 13 0 0 0 14 0 0 0 15 0 0 0 16 0 0 0 17 0 0 0 18 0 0 0 19 0 0 0 20 0 0 0 21 0 0 0 22 0 0 0 23 0 0 0 -
Vacuums
Vacuums / Analyzes Distribution
Key values
- 0 sec Highest CPU-cost vacuum
Table
Database - Date
- 0 sec Highest CPU-cost analyze
Table
Database - Date
Autovacuum actions (5 minutes period)
NO DATASET
Analyzes per table
Key values
- unknown (0) Main table analyzed (database )
- 0 analyzes Total
Vacuums per table
Key values
- unknown (0) Main table vacuumed on database
- 0 vacuums Total
Tuples removed per table
Key values
- unknown (0) Main table with removed tuples on database
- 0 tuples Total removed
Pages removed per table
Key values
- unknown (0) Main table with removed pages on database unknown
- 0 pages Total removed
Autovacuum Activity
Day Hour VACUUMs ANALYZEs Dec 01 00 0 0 01 0 0 02 0 0 03 0 0 04 0 0 05 0 0 06 0 0 07 0 0 08 0 0 09 0 0 10 0 0 11 0 0 12 0 0 13 0 0 14 0 0 15 0 0 16 0 0 17 0 0 18 0 0 19 0 0 20 0 0 21 0 0 22 0 0 23 0 0 - 0 sec Highest CPU-cost vacuum
-
Locks
Locks by types
Key values
- ShareLock Main Lock Type
- 20 locks Total
Most frequent waiting queries (N)
Rank Count Total time Min time Max time Avg duration Query 1 10 16s94ms 1s110ms 2s346ms 1s609ms update account_move set write_date = write_date where id = ( select id from account_move where journal_id = ? and name != ? and sequence_prefix !~ ? and move_type not in (...) and id != ? and sequence_prefix = ( select sequence_prefix from account_move where journal_id = ? and name != ? and sequence_prefix !~ ? and move_type not in (...) and id != ? order by id desc limit ?) order by sequence_number desc limit ?) returning name;-
UPDATE account_move SET write_date = write_date WHERE id = ( SELECT id FROM account_move WHERE journal_id = 1 AND name != '/' AND sequence_prefix !~ '^(?:.*?)(?:((?<=\D)|(?<=^))((19|20|21)?\d{2}))(?:\D+?)$' AND move_type NOT IN ('out_refund', 'in_refund') AND id != 249834 AND sequence_prefix = ( SELECT sequence_prefix FROM account_move WHERE journal_id = 1 AND name != '/' AND sequence_prefix !~ '^(?:.*?)(?:((?<=\D)|(?<=^))((19|20|21)?\d{2}))(?:\D+?)$' AND move_type NOT IN ('out_refund', 'in_refund') AND id != 249834 ORDER BY id DESC LIMIT 1) ORDER BY sequence_number DESC LIMIT 1) RETURNING name;
Date: 2022-12-01 14:12:24
2 3 8s410ms 1s950ms 3s471ms 2s803ms update "account_move" set "access_token" = ?, "write_uid" = ?, "write_date" = (now() at time zone ?) where id in (...);-
UPDATE "account_move" SET "access_token" = '1d5b1b5a-a733-484a-bf98-092a9af8dc33', "write_uid" = 1035, "write_date" = (now() at time zone 'UTC') WHERE id IN (250079);
Date: 2022-12-01 15:07:27
3 4 6s174ms 1s112ms 2s159ms 1s543ms update "account_move" set "message_main_attachment_id" = ?, "write_uid" = ?, "write_date" = (now() at time zone ?) where id in (...);-
UPDATE "account_move" SET "message_main_attachment_id" = 90040, "write_uid" = 999, "write_date" = (now() at time zone 'UTC') WHERE id IN (250443);
Date: 2022-12-01 15:56:10
4 2 2s71ms 1s23ms 1s48ms 1s35ms delete from ir_attachment where id in (...);-
DELETE FROM ir_attachment WHERE id IN (89106, 89104, 89102, 89100, 89098, 89096, 89094, 89092, 89090, 89088, 89086, 89084, 89082, 89080, 89078, 89076, 89074, 89072, 89070, 89068, 89066, 89064, 89062, 89060, 89058, 89056, 89054, 89052, 89050, 89048, 89046, 89044, 89042, 89040, 89038, 89036, 89034, 89032, 89030, 89028, 89026, 89024, 89022, 89020, 89018, 89016, 89014, 89012, 89010, 89009, 89008, 89006, 89004, 89002, 89000, 88998, 88996, 88994, 88992, 88990, 88988, 88986, 88984, 88982, 88980, 88978, 88976, 88974, 88972, 88970, 88968, 88966, 88964, 88962, 88960, 88958, 88956, 88954, 88952, 88950, 88948, 88946, 88944, 88942, 88940, 88938, 88936, 88934, 88932, 88930, 88928, 88926, 88924, 88922, 88920, 88918, 88916, 88914, 88912, 88910, 88908, 88906, 88904, 88902, 88900, 88898, 88896, 88894, 88892, 88890, 88888, 88887, 88885, 88883, 88881, 88879, 88877, 88875, 88874, 88872, 88870, 88868, 88866, 88864, 88862, 88860, 88858, 88856, 88854, 88852, 88850, 88849, 88847, 88845, 88843, 88841, 88835, 88833, 88831, 88829, 88827, 88825, 88823, 88821, 88819, 88817, 88815, 88813, 88811, 88809, 88806, 88803, 88801, 88799, 88797, 88795, 88793, 88791, 88789, 88787, 88785, 88783, 88781, 88779, 88778, 88777, 88775, 88773, 88771, 88769, 88767, 88765, 88763, 88761, 88759, 88757, 88755, 88753, 88751, 88749, 88747, 88745, 88743, 88741, 88739, 88737, 88735, 88733, 88731, 88729, 88727, 88725, 88723, 88721, 88719, 88717, 88715, 88713, 88711, 88709, 88707, 88705, 88703, 88701, 88699, 88695, 88693, 88691, 88689, 88687, 88685, 88683, 88681, 88679, 88677, 88675, 88673, 88671, 88669, 88667, 88665, 88663, 88661, 88659, 88657, 88655, 88653, 88651, 88649, 88647, 88646, 88644, 88642, 88640, 88638, 88636, 88634, 88632, 88630, 88628, 88626, 88624, 88622, 88620, 88618, 88616, 88614, 88612, 88610, 88608, 88606, 88604, 88602, 88600, 88598, 88596, 88594, 88592, 88590, 88589, 88587, 88585, 88583, 88581, 88579, 88577, 88575, 88574, 88572, 88570, 88568, 88566, 88564, 88562, 88560, 88558, 88556, 88554, 88552, 88550, 88548, 88546, 88544, 88542, 88540, 88538, 88536, 88534, 88532, 88530, 88528, 88526, 88524, 88522, 88520, 88518, 88516, 88514, 88512, 88510, 88508, 88506, 88504, 88502, 88500, 88498, 88496, 88494, 88492, 88490, 88488, 88486, 88484, 88482, 88480, 88478, 88476, 88474, 88472, 88470, 88468, 88466, 88464, 88462, 88460, 88458, 88456, 88454, 88452, 88450, 88448, 88446, 88444, 88442, 88440, 88438, 88436, 88434, 88432, 88430, 88429, 88427, 88425, 88423, 88421, 88419, 88417, 88415, 88413, 88411, 88409, 88407, 88405, 88403, 88401, 88399, 88397, 88395, 88393, 88391, 88389, 88387, 88385, 88383, 88381, 88379, 88377, 88375, 88373, 88371, 88369, 88367, 88365, 88363, 88361, 88359, 88357, 88355, 88353, 88351, 88349, 88347, 88345, 88343, 88341, 88339, 88337, 88335, 88333, 88331, 88329, 88327, 88325, 88323, 88321, 88319, 88317, 88315, 88313, 88311, 88309, 88307, 88305, 88303, 88301, 88299, 88297, 88295, 88293, 88291, 88289, 88287, 88285, 88283, 88281, 88280, 88278, 88276, 88274, 88272, 88270, 88268, 88266, 88264, 88262, 88260, 88258, 88256, 88254, 88252, 88250, 88248, 88246, 88245, 88243, 88242, 88240, 88238, 88236, 88234, 88232, 88230, 88228, 88226, 88224, 88222, 88220, 88218, 88216, 88214, 88212, 86841, 86839, 86837, 86835, 86833, 86831, 86829, 86827, 86825, 86823, 86821, 86819, 86817, 86815, 86813, 86811, 86809, 86807, 86805, 86803, 86797, 86795, 86793, 86791, 86789, 86787, 86785, 86783, 86781, 86779, 86777, 86775, 86773, 86771, 86769, 86767, 86765, 86763, 86761, 86759, 86755, 86753, 86751, 86749, 86747, 86745, 86743, 86741, 86739);
Date: 2022-12-01 13:18:07
-
DELETE FROM ir_attachment WHERE id IN (86737, 86735, 86733, 86731, 86729, 86727, 86725, 86723, 86721, 86719, 86717, 86715, 86713, 86711, 86709, 86707, 86705, 86703, 86701, 86699, 86697, 86695, 86693, 86691, 86689, 86687, 86685, 86683, 86681, 86679, 86677, 86675, 86673, 86671, 86669, 86667, 86665, 86663, 86661, 86659, 86657, 86655, 86653, 86651, 86649, 86647, 86645, 86643, 86641, 86639, 86637, 86635, 86633, 86631, 86629, 86627, 86625, 86623, 86621, 86619, 86617, 86615, 86613, 86611, 86609, 86607, 86605, 86603, 86601, 86599, 86597, 86595, 86593, 86591, 86589, 86587, 86585, 86583, 86581, 86579, 86577, 86575, 86573, 86571, 86569, 86567, 86565, 86563, 86561, 86559, 86557, 86555, 86553, 86551, 86549, 86547, 86545, 86543, 86541, 86539, 86537, 86535, 86533, 86531, 86529, 86527, 86525, 86523, 86521, 86519, 86517, 86515, 86513, 86511, 86509, 86507, 86505, 86503, 86501, 86499, 86497, 86495, 86493, 86491, 86489, 86487, 86485, 86483, 86481, 86479, 86477, 86475, 86473, 86471, 86469, 86467, 86465, 86463, 86461, 86459, 86457, 86455, 86453, 86451, 86449, 86447, 86445, 86443, 86441, 86439, 86437, 86435, 86433, 86432, 86430, 86428, 86426, 86424, 86422, 86420, 86418, 86416, 86414, 86412, 86410, 86408, 86406, 86404, 86402, 86400, 86398, 86396, 86394, 86392, 86390, 86388, 86386, 86384, 86383, 86381, 86379, 86377, 86375, 86373, 86371, 86369, 86367, 86365, 86364, 86362, 86360, 86358, 86356, 86354, 86352, 86350, 86348, 86346, 86344, 86342, 86340, 86338, 86336, 86334, 86332, 86330, 86328, 86326, 86324, 86322, 86320, 86238, 86236, 86234, 86232, 86230, 86228, 86224, 86222, 86220, 86218, 86216, 86214, 86212, 86210, 86208, 86206, 86204, 86202, 86200, 86198, 85223, 78588, 78584, 72859, 72858, 72857, 72856, 71441, 71438, 71069, 65157);
Date: 2022-12-01 13:18:28
-
DELETE FROM ir_attachment WHERE id IN (86264);
Date: 2022-12-01 03:07:46
5 1 1s229ms 1s229ms 1s229ms 1s229ms update "stock_move" set "write_uid" = ?, "write_date" = (now() at time zone ?) where id in (...);-
UPDATE "stock_move" SET "write_uid" = 1031, "write_date" = (now() at time zone 'UTC') WHERE id IN (166087, 154766, 154767);
Date: 2022-12-01 16:14:56
-
UPDATE "stock_move" SET "write_uid" = 982, "write_date" = (now() at time zone 'UTC') WHERE id IN (166781, 166782);
Date: 2022-12-01 18:54:20
-
UPDATE "stock_move" SET "write_uid" = 982, "write_date" = (now() at time zone 'UTC') WHERE id IN (166324, 166325);
Date: 2022-12-01 16:45:42
Queries that waited the most
Rank Wait time Query 1 3s471ms UPDATE "account_move" SET "access_token" = '1d5b1b5a-a733-484a-bf98-092a9af8dc33', "write_uid" = 1035, "write_date" = (now() at time zone 'UTC') WHERE id IN (250079);[ Date: 2022-12-01 15:07:27 ]
2 2s988ms UPDATE "account_move" SET "access_token" = 'f3ee7a5d-029b-488c-af61-cb736997d78c', "write_uid" = 1035, "write_date" = (now() at time zone 'UTC') WHERE id IN (250094);[ Date: 2022-12-01 15:13:00 ]
3 2s346ms UPDATE account_move SET write_date = write_date WHERE id = ( SELECT id FROM account_move WHERE journal_id = 1 AND name != '/' AND sequence_prefix !~ '^(?:.*?)(?:((?<=\D)|(?<=^))((19|20|21)?\d{2}))(?:\D+?)$' AND move_type NOT IN ('out_refund', 'in_refund') AND id != 13352 AND sequence_prefix = ( SELECT sequence_prefix FROM account_move WHERE journal_id = 1 AND name != '/' AND sequence_prefix !~ '^(?:.*?)(?:((?<=\D)|(?<=^))((19|20|21)?\d{2}))(?:\D+?)$' AND move_type NOT IN ('out_refund', 'in_refund') AND id != 13352 ORDER BY id DESC LIMIT 1) ORDER BY sequence_number DESC LIMIT 1) RETURNING name;[ Date: 2022-12-01 17:17:11 ]
4 2s174ms UPDATE account_move SET write_date = write_date WHERE id = ( SELECT id FROM account_move WHERE journal_id = 1 AND name != '/' AND sequence_prefix !~ '^(?:.*?)(?:((?<=\D)|(?<=^))((19|20|21)?\d{2}))(?:\D+?)$' AND move_type NOT IN ('out_refund', 'in_refund') AND id != 250209 AND sequence_prefix = ( SELECT sequence_prefix FROM account_move WHERE journal_id = 1 AND name != '/' AND sequence_prefix !~ '^(?:.*?)(?:((?<=\D)|(?<=^))((19|20|21)?\d{2}))(?:\D+?)$' AND move_type NOT IN ('out_refund', 'in_refund') AND id != 250209 ORDER BY id DESC LIMIT 1) ORDER BY sequence_number DESC LIMIT 1) RETURNING name;[ Date: 2022-12-01 15:28:33 ]
5 2s159ms UPDATE "account_move" SET "message_main_attachment_id" = 90610, "write_uid" = 1058, "write_date" = (now() at time zone 'UTC') WHERE id IN (251197);[ Date: 2022-12-01 19:25:36 ]
6 1s971ms UPDATE account_move SET write_date = write_date WHERE id = ( SELECT id FROM account_move WHERE journal_id = 1 AND name != '/' AND sequence_prefix !~ '^(?:.*?)(?:((?<=\D)|(?<=^))((19|20|21)?\d{2}))(?:\D+?)$' AND move_type NOT IN ('out_refund', 'in_refund') AND id != 251327 AND sequence_prefix = ( SELECT sequence_prefix FROM account_move WHERE journal_id = 1 AND name != '/' AND sequence_prefix !~ '^(?:.*?)(?:((?<=\D)|(?<=^))((19|20|21)?\d{2}))(?:\D+?)$' AND move_type NOT IN ('out_refund', 'in_refund') AND id != 251327 ORDER BY id DESC LIMIT 1) ORDER BY sequence_number DESC LIMIT 1) RETURNING name;[ Date: 2022-12-01 20:01:37 ]
7 1s950ms UPDATE "account_move" SET "access_token" = '74dd08e7-536a-4ebd-9a55-76cc3866e9ca', "write_uid" = 1035, "write_date" = (now() at time zone 'UTC') WHERE id IN (250446);[ Date: 2022-12-01 15:56:14 ]
8 1s849ms UPDATE account_move SET write_date = write_date WHERE id = ( SELECT id FROM account_move WHERE journal_id = 1 AND name != '/' AND sequence_prefix !~ '^(?:.*?)(?:((?<=\D)|(?<=^))((19|20|21)?\d{2}))(?:\D+?)$' AND move_type NOT IN ('out_refund', 'in_refund') AND id != 250961 AND sequence_prefix = ( SELECT sequence_prefix FROM account_move WHERE journal_id = 1 AND name != '/' AND sequence_prefix !~ '^(?:.*?)(?:((?<=\D)|(?<=^))((19|20|21)?\d{2}))(?:\D+?)$' AND move_type NOT IN ('out_refund', 'in_refund') AND id != 250961 ORDER BY id DESC LIMIT 1) ORDER BY sequence_number DESC LIMIT 1) RETURNING name;[ Date: 2022-12-01 18:12:50 ]
9 1s738ms UPDATE "account_move" SET "message_main_attachment_id" = 90709, "write_uid" = 951, "write_date" = (now() at time zone 'UTC') WHERE id IN (251318);[ Date: 2022-12-01 20:00:35 ]
10 1s683ms UPDATE account_move SET write_date = write_date WHERE id = ( SELECT id FROM account_move WHERE journal_id = 1 AND name != '/' AND sequence_prefix !~ '^(?:.*?)(?:((?<=\D)|(?<=^))((19|20|21)?\d{2}))(?:\D+?)$' AND move_type NOT IN ('out_refund', 'in_refund') AND id != 250401 AND sequence_prefix = ( SELECT sequence_prefix FROM account_move WHERE journal_id = 1 AND name != '/' AND sequence_prefix !~ '^(?:.*?)(?:((?<=\D)|(?<=^))((19|20|21)?\d{2}))(?:\D+?)$' AND move_type NOT IN ('out_refund', 'in_refund') AND id != 250401 ORDER BY id DESC LIMIT 1) ORDER BY sequence_number DESC LIMIT 1) RETURNING name;[ Date: 2022-12-01 15:52:03 ]
11 1s333ms UPDATE account_move SET write_date = write_date WHERE id = ( SELECT id FROM account_move WHERE journal_id = 1 AND name != '/' AND sequence_prefix !~ '^(?:.*?)(?:((?<=\D)|(?<=^))((19|20|21)?\d{2}))(?:\D+?)$' AND move_type NOT IN ('out_refund', 'in_refund') AND id != 241693 AND sequence_prefix = ( SELECT sequence_prefix FROM account_move WHERE journal_id = 1 AND name != '/' AND sequence_prefix !~ '^(?:.*?)(?:((?<=\D)|(?<=^))((19|20|21)?\d{2}))(?:\D+?)$' AND move_type NOT IN ('out_refund', 'in_refund') AND id != 241693 ORDER BY id DESC LIMIT 1) ORDER BY sequence_number DESC LIMIT 1) RETURNING name;[ Date: 2022-12-01 19:58:28 ]
12 1s267ms UPDATE account_move SET write_date = write_date WHERE id = ( SELECT id FROM account_move WHERE journal_id = 1 AND name != '/' AND sequence_prefix !~ '^(?:.*?)(?:((?<=\D)|(?<=^))((19|20|21)?\d{2}))(?:\D+?)$' AND move_type NOT IN ('out_refund', 'in_refund') AND id != 249902 AND sequence_prefix = ( SELECT sequence_prefix FROM account_move WHERE journal_id = 1 AND name != '/' AND sequence_prefix !~ '^(?:.*?)(?:((?<=\D)|(?<=^))((19|20|21)?\d{2}))(?:\D+?)$' AND move_type NOT IN ('out_refund', 'in_refund') AND id != 249902 ORDER BY id DESC LIMIT 1) ORDER BY sequence_number DESC LIMIT 1) RETURNING name;[ Date: 2022-12-01 15:28:36 ]
13 1s229ms UPDATE "stock_move" SET "write_uid" = 1035, "write_date" = (now() at time zone 'UTC') WHERE id IN (161425);[ Date: 2022-12-01 16:13:08 ]
14 1s198ms UPDATE account_move SET write_date = write_date WHERE id = ( SELECT id FROM account_move WHERE journal_id = 1 AND name != '/' AND sequence_prefix !~ '^(?:.*?)(?:((?<=\D)|(?<=^))((19|20|21)?\d{2}))(?:\D+?)$' AND move_type NOT IN ('out_refund', 'in_refund') AND id != 251388 AND sequence_prefix = ( SELECT sequence_prefix FROM account_move WHERE journal_id = 1 AND name != '/' AND sequence_prefix !~ '^(?:.*?)(?:((?<=\D)|(?<=^))((19|20|21)?\d{2}))(?:\D+?)$' AND move_type NOT IN ('out_refund', 'in_refund') AND id != 251388 ORDER BY id DESC LIMIT 1) ORDER BY sequence_number DESC LIMIT 1) RETURNING name;[ Date: 2022-12-01 20:15:13 ]
15 1s164ms UPDATE "account_move" SET "message_main_attachment_id" = 90943, "write_uid" = 1028, "write_date" = (now() at time zone 'UTC') WHERE id IN (251648);[ Date: 2022-12-01 20:56:23 ]
16 1s157ms UPDATE account_move SET write_date = write_date WHERE id = ( SELECT id FROM account_move WHERE journal_id = 1 AND name != '/' AND sequence_prefix !~ '^(?:.*?)(?:((?<=\D)|(?<=^))((19|20|21)?\d{2}))(?:\D+?)$' AND move_type NOT IN ('out_refund', 'in_refund') AND id != 249834 AND sequence_prefix = ( SELECT sequence_prefix FROM account_move WHERE journal_id = 1 AND name != '/' AND sequence_prefix !~ '^(?:.*?)(?:((?<=\D)|(?<=^))((19|20|21)?\d{2}))(?:\D+?)$' AND move_type NOT IN ('out_refund', 'in_refund') AND id != 249834 ORDER BY id DESC LIMIT 1) ORDER BY sequence_number DESC LIMIT 1) RETURNING name;[ Date: 2022-12-01 14:12:24 ]
17 1s112ms UPDATE "account_move" SET "message_main_attachment_id" = 90040, "write_uid" = 999, "write_date" = (now() at time zone 'UTC') WHERE id IN (250443);[ Date: 2022-12-01 15:56:10 ]
18 1s110ms UPDATE account_move SET write_date = write_date WHERE id = ( SELECT id FROM account_move WHERE journal_id = 1 AND name != '/' AND sequence_prefix !~ '^(?:.*?)(?:((?<=\D)|(?<=^))((19|20|21)?\d{2}))(?:\D+?)$' AND move_type NOT IN ('out_refund', 'in_refund') AND id != 153842 AND sequence_prefix = ( SELECT sequence_prefix FROM account_move WHERE journal_id = 1 AND name != '/' AND sequence_prefix !~ '^(?:.*?)(?:((?<=\D)|(?<=^))((19|20|21)?\d{2}))(?:\D+?)$' AND move_type NOT IN ('out_refund', 'in_refund') AND id != 153842 ORDER BY id DESC LIMIT 1) ORDER BY sequence_number DESC LIMIT 1) RETURNING name;[ Date: 2022-12-01 14:45:11 ]
19 1s48ms DELETE FROM ir_attachment WHERE id IN (89346);[ Date: 2022-12-01 12:54:08 ]
20 1s23ms DELETE FROM ir_attachment WHERE id IN (86264);[ Date: 2022-12-01 03:07:46 ]
-
Queries
Queries by type
Key values
- 25,551 Total read queries
- 9,570 Total write queries
Queries by database
Key values
- unknown Main database
- 35,121 Requests
- 3h35m21s (unknown)
- Main time consuming database
Queries by user
Key values
- unknown Main user
- 35,124 Requests
User Request type Count Duration unknown Total 35,124 3h35m23s copy to 158 4m48s cte 177 1m25s ddl 1 349ms delete 124 4m33s insert 2,219 6m select 25,554 2h48m5s update 6,891 30m29s Duration by user
Key values
- 3h35m23s (unknown) Main time consuming user
User Request type Count Duration unknown Total 35,124 3h35m23s copy to 158 4m48s cte 177 1m25s ddl 1 349ms delete 124 4m33s insert 2,219 6m select 25,554 2h48m5s update 6,891 30m29s Queries by host
Key values
- unknown Main host
- 35,124 Requests
- 3h35m23s (unknown)
- Main time consuming host
Queries by application
Key values
- unknown Main application
- 35,121 Requests
- 3h35m21s (unknown)
- Main time consuming application
Number of cancelled queries
Key values
- 0 per second Cancelled query Peak
- 2022-12-01 01:45:34 Date
Number of cancelled queries (5 minutes period)
NO DATASET
-
Top Queries
Histogram of query times
Key values
- 24,844 100-500ms duration
Slowest individual queries
Rank Duration Query 1 54s259ms DELETE FROM edi_810_invoice WHERE id IN (5700, 5709, 5717, 5718, 5736, 5738, 5751, 5758, 5789, 5791, 5799, 5811, 5815, 5826, 5840, 5864, 5867, 5868, 5879, 5885, 5887, 5912, 5920, 5922, 5926, 5928, 5939, 5968, 5972, 5981, 6005, 6021, 6032, 6038, 6043, 6049, 6050, 6054, 6056, 6071, 6080, 6086, 6087, 6091, 6098, 6116, 6123, 6133, 6138, 6142, 6162, 6193, 6205, 6211, 6214, 6223, 6224, 6236, 6253, 6258, 6267, 6270, 6297, 6324, 6327, 6328, 6340, 6367, 6368, 6371, 6393, 6394, 6399, 6425, 6427, 6433, 6435, 6463, 6475, 6479, 6491, 6498, 6502, 6512, 6537, 6563, 6596, 6625, 6637, 6649, 6654, 6664, 6679, 6691, 6713, 6729, 6736, 6742, 6745, 6749, 6760, 6788, 6808, 6823, 6835, 6843, 6856, 6860, 6861, 6870, 6890, 6897, 6898, 6903, 6906, 6913, 6923, 6925, 6927, 6947, 6984, 7004, 7007, 7071, 7072, 7088, 7092, 7098, 7103, 7131, 7134, 7139, 7147, 7155, 7172, 7180, 7184, 7206, 7242, 7259, 7266, 7271, 7298, 7311, 7323, 7342, 7350, 7352, 7360, 7369, 7401, 7402, 7406, 7420, 7459, 7464, 7497, 7546, 7553, 7564, 7567, 7583, 7590, 7592, 7600, 7621, 7624, 7645, 7665, 7698, 7703, 7706, 7708, 7721, 7725, 7730, 7765, 7780, 7811, 7815, 7833, 7837, 7840, 7860, 7874, 7879, 7885, 7889, 7891, 7892, 7907, 7953, 7955, 7959, 7961, 7976, 7979, 7992, 7993, 7995, 8005, 8006, 8028, 8047, 8086, 8089, 8101, 8102, 8107, 8133, 8167, 8180, 8187, 8215, 8216, 8234, 8238, 8249, 8261, 8273, 8283, 8286, 8310, 8314, 8329, 8332, 8336, 8361, 8368, 8375, 8386, 8403, 8426, 8429, 8437, 8460, 8494, 8496, 8502, 8532, 8535, 8538, 8548, 8572, 8574, 8582, 8591, 8596, 8613, 8617, 8636, 8652, 8677, 8680, 8687, 8705, 8724, 8727, 8728, 8739, 8774, 8778, 8786, 8813, 8820, 8821, 8835, 8855, 8856, 8863, 8876, 8892, 8923, 8935, 8941, 8954, 8962, 8978, 8995, 9004, 9006, 9045, 9049, 9053, 9061, 9074, 9077, 9127, 9142, 9185, 9280, 9285, 9294, 9307, 9324, 9329, 9350, 9366, 9367, 9370, 9375, 9391, 9392, 9400, 9407, 9418, 9421, 9431, 9439, 9451, 9462, 9495, 9511, 9520, 9523, 9534, 9558, 9570, 9576, 9584, 9590, 9592, 9593, 9594, 9619, 9625, 9632, 9664, 9668, 9679, 9682, 9708, 9710, 9719, 9720, 9721, 9743, 9744, 9754, 9777, 9799, 9800, 9813, 9816, 9821, 9848, 9851, 9864, 9878, 9879, 9886, 9887, 9908, 9909, 9935, 9951, 9969, 9981, 9989, 9995, 10011, 10019, 10043, 10045, 10065, 10088, 10118, 10120, 10127, 10133, 10146, 10147, 10154, 10155, 10156, 10164, 10167, 10168, 10172, 10177, 10196, 10239, 10253, 10258, 10264, 10265, 10278, 10279, 10288, 10292, 10307, 10317, 10320, 10333, 10335, 10359, 10387, 10402, 10410, 10424, 10430, 10433, 10438, 10439, 10445, 10458, 10465, 10484, 10487, 10502, 10519, 10521, 10529, 10531, 10539, 10575, 10612, 10617, 10630, 10632, 10655, 10664, 10691, 10701, 10703, 10704, 10708, 10740, 10742, 10745, 10791, 10805, 10809, 10810, 10811, 10817, 10823, 10829, 10893, 10908, 10956, 10959, 10962, 10969, 10971, 10977, 10982, 11017, 11020, 11041, 11044, 11051, 11068, 11080, 11093, 11101, 11105, 11120, 11124, 11170, 11173, 11178, 11189, 11196, 11201, 11202, 11206, 11214, 11221, 11233, 11246, 11255, 11272, 11273, 11283, 11289, 11301, 11314, 11322, 11326, 11327, 11350, 11367, 12269, 12270, 12271, 12272, 12273, 12274, 12275, 12276, 12277, 12278, 12279, 12280, 12281, 12282, 12283, 12284, 12285, 12286, 12287, 12288, 12289, 12290, 12291, 12292, 12293, 12294, 12295, 12296, 12297, 12298, 12299, 12300, 12301, 12302, 12303, 12304, 12305, 12306, 12307, 12308, 12309, 12310, 12311, 12312, 12313, 12314, 12315, 12316, 12317, 12318, 12319, 12320, 12321, 12322, 12323, 12324, 12325, 12326, 12327, 12328, 12329, 12330, 12331, 12332, 12333, 12334, 12335, 12336, 12337, 12338, 12339, 12340, 12341, 12342, 12343, 12344, 12345, 12346, 12347, 12348, 12349, 12350, 12351, 12352, 12353, 12354, 12355, 12356, 12357, 12358, 12359, 12360, 12361, 12362, 12363, 12364, 12365, 12366, 12367, 12368, 12369, 12370, 12371, 12372, 12373, 12374, 12375, 12376, 12377, 12378, 12379, 12380, 12381, 12382, 12383, 12384, 12385, 12386, 12387, 12388, 12389, 12390, 12391, 12392, 12393, 12394, 12395, 12396, 12397, 12398, 12399, 12400, 12401, 12402, 12403, 12404, 12405, 12406, 12407, 12408, 12409, 12410, 12411, 12412, 12413, 12414, 12415, 12416, 12417, 12418, 12419, 12420, 12421, 12422, 12423, 12424, 12425, 12426, 12427, 12428, 12429, 12430, 12431, 12432, 12433, 12434, 12435, 12436, 12437, 12438, 12439, 12440, 12441, 12442, 12443, 12444, 12445, 12446, 12447, 12448, 12449, 12450, 12451, 12452, 12453, 12454, 12455, 12456, 12457, 12458, 12459, 12460, 12461, 12462, 12463, 12464, 12465, 12466, 12467, 12468, 12469, 12470, 12471, 12472, 12473, 12474, 12475, 12476, 12477, 12478, 12479, 12480, 12481, 12482, 12483, 12484, 12485, 12486, 12487, 12488, 12489, 12490, 12491, 12492, 12493, 12494, 12495, 12496, 12497, 12498, 12499, 12500, 12501, 12502, 12503, 12504, 12505, 12506, 12507, 12508, 12509, 12510, 12511, 12512, 12513, 12514, 12515, 12516, 12517, 12518, 12519, 12520, 12521, 12522, 12523, 12524, 12525, 12526, 12527, 12528, 12529, 12530, 12531, 12532, 12533, 12534, 12535, 12536, 12537, 12538, 12539, 12540, 12541, 12542, 12543, 12544, 12545, 12546, 12547, 12548, 12549, 12550, 12551, 12552, 12553, 12554, 12555, 12556, 12557, 12558, 12559, 12560, 12561, 12562, 12563, 12564, 12565, 12566, 12567, 12568, 12569, 12570, 12571, 12572, 12573, 12574, 12575, 12576, 12577, 12578, 12579, 12580, 12581, 12582, 12583, 12584, 12585, 12586, 12587, 12588, 12589, 12590, 12591, 12592, 12593, 12594, 12595, 12596, 12597, 12598, 12599, 12600, 12601, 12602, 12603, 12604, 12605, 12606, 12607, 12608, 12609, 12610, 12611, 12612, 12613, 12614, 12615, 12616, 12617, 12618, 12619, 12620, 12621, 12622, 12623, 12624, 12625, 12626, 12627, 12628, 12629, 12630, 12631, 12632, 12633, 12634, 12635, 12636, 12637, 12638, 12639, 12640, 12641, 12642, 12643, 12644, 12645, 12646, 12647, 12648, 12649, 12650, 12651, 12652, 12653, 12654, 12655, 12656, 12657, 12658, 12659, 12660, 12661, 12662, 12663, 12664, 12665, 12666, 12667, 12668, 12669, 12670, 12671, 12672, 12673, 12674, 12675, 12676, 12677, 12678, 12679, 12680, 12681, 12682, 12683, 12684, 12685, 12686, 12687, 12688, 12689, 12690, 12691, 12692, 12693, 12694, 12695, 12696, 12697, 12698, 12699, 12700, 12701, 12702, 12703, 12704, 12705, 12706, 12707, 12708, 12709, 12710, 12711, 12712, 12713, 12714, 12715, 12716, 12717, 12718, 12719, 12720, 12721, 12722, 12723, 12724, 12725, 12726, 12727, 12728, 12729, 12730, 12731, 12732, 12733, 12734, 12735, 12736, 12737, 12738, 12739, 12740, 12741, 12742, 12743, 12744, 12745, 12746, 12747, 12748, 12749, 12750, 12751, 12752, 12753, 12754, 12755, 12756, 12757, 12758, 12759, 12760, 12761, 12762, 12763, 12764, 12765, 12766, 12767, 12768, 12769, 12770, 12771, 12772, 12773, 12774, 12775, 12776, 12777, 12778, 12779, 12780, 12781, 12782, 12783, 12784, 12785);[ Date: 2022-12-01 10:10:12 ]
2 51s325ms DELETE FROM edi_810_invoice WHERE id IN (13387, 13389, 13391, 13392, 13393, 13394, 13397, 13398, 13401, 13403, 13406, 13407, 13409, 13410, 13411, 13412, 13413, 13415, 13419, 13420, 13421, 13422, 13423, 13426, 13427, 13428, 13429, 13430, 13431, 13432, 13433, 13435, 13436, 13437, 13439, 13440, 13441, 13443, 13445, 13446, 13447, 13448, 13449, 13450, 13451, 13452, 13453, 13455, 13457, 13458, 13460, 13462, 13463, 13465, 13466, 13468, 13469, 13471, 13472, 13473, 13474, 13476, 13477, 13479, 13480, 13481, 13482, 13484, 13485, 13486, 13487, 13488, 13489, 13490, 13492, 13493, 13494, 13496, 13498, 13500, 13504, 13505, 13506, 13507, 13508, 13509, 13510, 13511, 13514, 13515, 13516, 13518, 13519, 13521, 13523, 13525, 13526, 13529, 13530, 13531, 13532, 13534, 13536, 13537, 13539, 13541, 13542, 13544, 13545, 13546, 13548, 13549, 13550, 13555, 13558, 13560, 13562, 13565, 13566, 13567, 13568, 13571, 13572, 13573, 13577, 13579, 13580, 13581, 13582, 13583, 13584, 13585, 13587, 13590, 13591, 13592, 13594, 13595, 13596, 13598, 13599, 13600, 13601, 13602, 13603, 13604, 13605, 13606, 13607, 13608, 13609, 13610, 13611, 13612, 13613, 13614, 13615, 13616, 13617, 13618, 13619, 13620, 13621, 13622, 13623, 13624, 13625, 13626, 13627, 13628, 13629, 13630, 13631, 13632, 13633, 13634, 13635, 13636, 13637, 13638, 13639, 13640, 13641, 13642, 13643, 13644, 13645, 13646, 13647, 13648, 13649, 13650, 13651, 13652, 13653, 13654, 13655, 13656, 13657, 13658, 13659, 13660, 13661, 13662, 13663, 13664, 13665, 13666, 13667, 13668, 13669, 13670, 13671, 13672, 13673, 13674, 13675, 13676, 13677, 13678, 13679, 13680, 13681, 13682, 13683, 13684, 13685, 13686, 13687, 13688, 13689, 13690, 13691, 13692, 13693, 13694, 13695, 13696, 13697, 13698, 13699, 13700, 13701, 13702, 13703, 13704, 13705, 13706, 13707, 13708, 13709, 13710, 13711, 13712, 13713, 13714, 13715, 13716, 13717, 13718, 13719, 13720, 13721, 13722, 13723, 13724, 13725, 13726, 13727, 13728, 13729, 13730, 13731, 13732, 13733, 13734, 13735, 13736, 13737, 13738, 13739, 13740, 13741, 13742, 13743, 13744, 13745, 13746, 13747, 13748, 13749, 13750, 13751, 13752, 13753, 13754, 13755, 13756, 13757, 13758, 13759, 13760, 13761, 13762, 13763, 13764, 13765, 13766, 13767, 13768, 13769, 13770, 13771, 13772, 13773, 13774, 13775, 13776, 13777, 13778, 13779, 13780, 13781, 13782, 13783, 13784, 13785, 13786, 13787, 13788, 13789, 13790, 13791, 13792, 13793, 13794, 13795, 13796, 13797, 13798, 13799, 13800, 13801, 13802, 13803, 13804, 13805, 13806, 13807, 13808, 13809, 13810, 13811, 13812, 13813, 13814, 13815, 13816, 13817, 13818, 13819, 13820, 13821, 13822, 13823, 13824, 13825, 13826, 13827, 13828, 13829, 13830, 13831, 13832, 13833, 13834, 13835, 13836, 13837, 13838, 13839, 13840, 13841, 13842, 13843, 13844, 13845, 13846, 13847, 13848, 13849, 13850, 13851, 13852, 13853, 13854, 13855, 13856, 13857, 13858, 13859, 13860, 13861, 13862, 13863, 13864, 13865, 13866, 13867, 13868, 13869, 13870, 13871, 13872, 13873, 13874, 13875, 13876, 13877, 13878, 13879, 13880, 13881, 13882, 13883, 13884, 13885, 13886, 13887, 13888, 13889, 13890, 13891, 13892, 13893, 13894, 13895, 13896, 13897, 13898, 13899, 13900, 13901, 13902, 13903, 13904, 13905, 13906, 13907, 13908, 13909, 13910, 13911, 13912, 13913, 13914, 13915, 13916, 13917, 13918, 13919, 13920, 13921, 13922, 13923, 13924, 13925, 13926, 13927, 13928, 13929, 13930, 13931, 13932, 13933, 13934, 13935, 13936, 13937, 13938, 13939, 13940, 13941, 13942, 13943, 13944, 13945, 13946, 13947, 13948, 13949, 13950, 13951, 13952, 13953, 13954, 13955, 13956, 13957, 13958, 13959, 13960, 13961, 13962, 13963, 13964, 13965, 13966, 13967, 13968, 13969, 13970, 13971, 13972, 13973, 13974, 13975, 13976, 13977, 13978, 13979, 13980, 13981, 13982, 13983, 13984, 13985, 13986, 13987, 13988, 13989, 13990, 13991, 13992, 13993, 13994, 13995, 13996, 13997, 13998, 13999, 14000, 14001, 14002, 14003, 14004, 14005, 14006, 14007, 14008, 14009, 14010, 14011, 14012, 14013, 14014, 14015, 14016, 14017, 14018, 14019, 14020, 14021, 14022, 14023, 14024, 14025, 14026, 14027, 14028, 14029, 14030, 14031, 14032, 14033, 14034, 14035, 14036, 14037, 14038, 14039, 14040, 14041, 14042, 14043, 14044, 14045, 14046, 14047, 14048, 14049, 14050, 14051, 14052, 14053, 14054, 14055, 14056, 14057, 14058, 14059, 14060, 14061, 14062, 14063, 14064, 14065, 14066, 14067, 14068, 14069, 14070, 14071, 14072, 14074, 14075, 14076, 14077, 14078, 14079, 14080, 14081, 14082, 14083, 14084, 14085, 14086, 14087, 14088, 14089, 14090, 14091, 14092, 14093, 14094, 14095, 14096, 14097, 14098, 14099, 14100, 14101, 14102, 14103, 14104, 14105, 14106, 14107, 14108, 14109, 14110, 14111, 14112, 14113, 14114, 14115, 14116, 14117, 14118, 14119, 14120, 14121, 14122, 14123, 14124, 14125, 14126, 14127, 14128, 14129, 14130, 14131, 14132, 14133, 14134, 14135, 14136, 14137, 14138, 14139, 14140, 14141, 14142, 14143, 14144, 14145, 14146, 14147, 14148, 14149, 14150, 14151, 14152, 14153, 14154, 14155, 14156, 14157, 14158, 14159, 14160, 14161, 14162, 14163, 14164, 14165, 14166, 14167, 14168, 14169, 14170, 14171, 14172, 14173, 14174, 14175, 14176, 14177, 14178, 14179, 14180, 14181, 14182, 14183, 14184, 14185, 14186, 14187, 14188, 14189, 14190, 14191, 14192, 14193, 14194, 14195, 14196, 14197, 14198, 14199, 14200, 14201, 14202, 14203, 14204, 14205, 14206, 14207, 14208, 14209, 14210, 14211, 14212, 14213, 14214, 14215, 14216, 14217, 14218, 14219, 14220, 14221, 14222, 14223, 14224, 14225, 14226, 14227, 14228, 14229, 14230, 14231, 14232, 14233, 14234, 14235, 14236, 14237, 14238, 14239, 14240, 14241, 14242, 14243, 14244, 14245, 14246, 14247, 14248, 14249, 14250, 14251, 14252, 14253, 14254, 14255, 14256, 14257, 14258, 14259, 14260, 14261, 14262, 14263, 14264, 14265, 14266, 14267, 14268, 14269, 14270, 14271, 14272, 14273, 14274, 14275, 14276, 14277, 14278, 14279, 14280, 14281, 14282, 14283, 14284, 14285, 14286, 14287, 14288, 14289, 14290, 14291, 14292, 14293, 14294, 14295, 14296, 14297, 14298, 14299, 14300, 14301, 14302, 14303, 14305, 14306, 14307, 14308, 14309, 14310, 14311, 14312, 14313, 14314, 14315, 14316, 14317, 14318, 14319, 14320, 14321, 14322, 14323, 14324, 14325, 14326, 14327, 14328, 14329, 14330, 14331, 14332, 14333, 14334, 14335, 14336, 14337, 14338, 14339, 14340, 14341, 14342, 14343, 14344, 14345, 14346, 14347, 14348, 14349, 14350, 14351, 14352, 14353, 14354, 14355, 14356, 14357, 14358, 14359, 14360, 14361, 14362, 14363, 14364, 14365, 14366, 14367, 14368, 14369, 14370, 14371, 14372, 14373, 14374, 14375, 14376, 14377, 14378, 14379, 14380, 14381, 14382, 14383, 14384, 14385, 14386, 14387, 14388, 14389, 14390, 14391, 14392, 14393, 14394, 14395, 14396, 14397, 14398, 14399, 14400, 14401, 14402, 14403, 14404, 14406, 14407, 14408, 14409, 14411, 14412, 14413, 14414, 14415, 14416, 14418, 14419, 14420, 14421, 14422, 14423, 14424, 14425, 14426, 14427, 14428, 14429, 14430, 14431, 14432, 14433, 14434, 14435, 14436, 14437, 14438, 14439, 14440, 14441, 14442, 14443, 14444, 14445, 14446, 14447, 14448, 14449, 14450, 14451, 14452, 14453, 14454, 14456, 14457, 14458, 14459, 14460, 14461, 14462, 14463, 14464);[ Date: 2022-12-01 10:45:48 ]
3 34s523ms UPDATE "sale_order_line" SET "is_service" = false, "write_uid" = 1213, "write_date" = (now() at time zone 'UTC') WHERE id IN (26625, 26648, 24608, 24610, 18469, 10279, 24620, 20526, 10289, 22578, 26680, 24645, 24656, 14418, 28758, 24664, 18525, 14433, 12387, 16491, 10349, 22643, 14452, 28791, 30846, 16511, 14465, 20609, 18568, 22665, 2187, 18572, 26765, 22671, 20631, 30871, 22681, 12445, 28829, 30879, 22690, 16548, 16549, 22692, 20647, 12458, 26794, 20653, 16559, 14513, 24753, 12467, 8373, 10422, 12469, 12472, 10428, 14524, 12483, 24772, 24773, 14535, 30924, 8397, 24783, 28880, 28881, 20696, 30941, 14562, 24802, 24807, 16617, 22762, 26862, 20719, 2288, 2290, 30968, 18680, 26879, 22788, 30987, 12560, 26896, 28946, 14615, 16665, 26906, 31003, 14622, 22820, 18731, 20781, 22829, 24878, 10544, 20785, 24880, 16711, 22858, 16717, 22861, 24911, 20822, 20839, 12648, 20841, 8557, 16750, 26992, 22901, 12662, 16759, 26997, 16764, 27006, 29055, 16769, 14722, 16770, 24961, 16782, 29072, 27027, 16789, 27033, 18843, 20892, 29090, 8611, 18852, 27045, 27046, 22952, 27048, 27050, 27051, 14764, 29099, 16816, 27070, 25024, 27074, 29139, 8663, 29143, 20957, 23006, 29155, 8679, 27112, 8681, 8682, 18921, 25067, 18927, 23024, 25071, 20978, 18934, 16889, 18937, 18938, 25086, 20991, 23042, 6660, 12806, 18955, 12818, 12821, 18967, 2588, 14876, 18976, 23074, 18979, 25126, 6697, 21034, 27182, 10804, 29241, 29243, 23103, 25155, 12872, 12877, 8783, 16984, 14938, 27226, 27238, 6762, 14959, 19062, 8824, 4728, 10874, 2682, 23163, 27267, 2694, 23181, 19087, 2707, 17046, 17048, 19097, 21147, 17052, 23198, 15032, 8890, 8893, 12989, 29376, 10953, 8907, 8929, 2807, 15097, 6911, 6913, 21251, 15123, 19223, 17180, 11049, 27450, 11073, 11077, 17221, 29515, 11089, 21330, 11092, 29524, 4954, 7002, 13148, 19292, 27492, 11110, 21352, 11119, 4976, 9073, 19320, 25473, 9093, 27525, 25480, 13194, 13211, 23460, 11182, 27566, 27568, 15302, 11209, 15311, 21457, 13271, 25568, 25578, 15341, 13294, 27632, 29681, 29682, 9203, 25587, 29684, 23562, 17447, 17450, 17451, 13359, 27711, 27713, 15428, 25682, 15445, 15446, 23638, 29786, 15453, 13410, 21602, 19561, 21610, 11376, 15474, 15479, 7287, 3192, 11385, 3198, 25726, 11394, 11396, 21638, 27787, 19599, 13456, 17552, 17553, 9363, 15512, 23704, 13468, 21666, 11427, 25766, 29863, 27817, 9387, 11436, 27824, 21682, 27826, 15541, 23742, 29888, 25799, 3272, 27847, 3274, 23755, 27850, 15567, 27855, 25810, 7384, 13529, 19672, 25818, 11496, 21737, 9451, 19693, 13550, 21743, 25837, 19699, 29941, 29942, 21754, 21755, 27901, 15615, 17667, 29956, 21765, 27914, 9484, 13585, 19730, 1300, 17684, 23829, 29972, 27930, 19739, 21787, 11550, 13598, 11552, 21797, 23850, 29994, 7469, 29998, 21807, 30000, 30001, 15668, 27956, 17720, 23870, 21827, 9549, 23889, 27985, 13651, 21844, 27986, 15709, 1382, 17768, 15721, 15723, 19824, 28020, 13685, 11650, 28042, 23947, 7565, 28047, 21904, 13713, 21906, 21907, 13717, 21910, 28055, 15768, 26008, 15770, 9627, 30103, 15782, 30119, 21928, 23976, 23977, 7596, 9648, 13747, 28095, 26050, 30147, 7621, 7624, 15821, 7630, 26064, 17875, 19924, 30171, 21980, 9695, 21990, 17895, 30185, 21995, 17901, 26094, 17904, 17910, 13816, 26104, 30203, 13822, 30207, 24066, 19978, 19979, 28171, 30218, 30220, 19984, 30226, 30228, 9751, 30231, 30235, 13852, 9759, 28193, 30242, 22058, 9777, 26166, 20024, 22072, 20026, 20029, 26173, 20035, 24132, 26179, 22086, 9801, 11849, 15946, 28236, 13906, 9811, 18003, 7769, 30300, 9844, 15991, 22136, 20098, 30338, 30339, 30342, 20112, 26260, 20117, 16030, 16041, 18115, 11983, 16079, 20178, 9961, 9963, 16112, 28408, 12031, 20230, 30476, 24340, 24342, 16151, 7963, 22300, 10014, 14113, 16169, 26413, 28466, 30523, 1860, 30537, 18250, 26454, 12136, 26475, 30574, 12144, 22386, 14200, 10108, 30589, 30607, 24466, 28563, 1948, 24476, 14240, 28579, 10150, 1960, 10153, 28586, 1968, 6065, 22459, 16319, 14273, 30660, 26587, 4060, 26591, 14314, 18416, 12277, 10236);[ Date: 2022-12-01 17:30:38 ]
4 31s650ms DELETE FROM edi_810_invoice WHERE id IN (12786, 12787, 12788, 12789, 12790, 12791, 12792, 12793, 12794, 12795, 12796, 12797, 12798, 12799, 12800, 12801, 12802, 12803, 12804, 12805, 12806, 12807, 12808, 12809, 12810, 12811, 12812, 12813, 12814, 12815, 12816, 12817, 12818, 12819, 12820, 12821, 12822, 12823, 12824, 12825, 12826, 12827, 12828, 12829, 12830, 12831, 12832, 12833, 12834, 12835, 12836, 12837, 12838, 12839, 12840, 12841, 12842, 12843, 12844, 12845, 12846, 12847, 12848, 12849, 12850, 12851, 12852, 12853, 12854, 12855, 12856, 12857, 12858, 12859, 12860, 12861, 12862, 12863, 12864, 12865, 12866, 12867, 12868, 12869, 12870, 12871, 12872, 12873, 12874, 12875, 12876, 12877, 12878, 12879, 12880, 12881, 12882, 12883, 12884, 12885, 12886, 12887, 12888, 12889, 12890, 12891, 12892, 12893, 12894, 12895, 12896, 12897, 12898, 12899, 12900, 12901, 12902, 12903, 12904, 12905, 12906, 12907, 12908, 12909, 12910, 12911, 12912, 12913, 12914, 12915, 12916, 12917, 12918, 12919, 12920, 12921, 12922, 12923, 12924, 12925, 12926, 12927, 12928, 12929, 12930, 12931, 12932, 12933, 12934, 12935, 12936, 12937, 12938, 12939, 12940, 12941, 12942, 12943, 12944, 12945, 12946, 12947, 12948, 12949, 12950, 12951, 12952, 12953, 12954, 12955, 12956, 12957, 12958, 12959, 12960, 12961, 12962, 12963, 12964, 12965, 12966, 12967, 12968, 12969, 12970, 12971, 12972, 12973, 12974, 12975, 12976, 12977, 12978, 12979, 12980, 12981, 12982, 12983, 12984, 12985, 12986, 12987, 12988, 12989, 12990, 12991, 12992, 12993, 12994, 12995, 12996, 12997, 12998, 12999, 13000, 13001, 13002, 13003, 13004, 13005, 13006, 13007, 13008, 13009, 13010, 13011, 13012, 13013, 13014, 13015, 13016, 13017, 13018, 13019, 13021, 13022, 13023, 13024, 13025, 13026, 13027, 13028, 13029, 13030, 13031, 13032, 13033, 13034, 13035, 13036, 13037, 13038, 13039, 13040, 13041, 13042, 13043, 13044, 13045, 13046, 13047, 13048, 13049, 13050, 13051, 13052, 13053, 13054, 13055, 13056, 13057, 13058, 13059, 13060, 13061, 13062, 13063, 13064, 13065, 13066, 13067, 13068, 13069, 13070, 13071, 13072, 13073, 13074, 13075, 13076, 13077, 13078, 13079, 13080, 13081, 13082, 13083, 13084, 13085, 13086, 13087, 13088, 13089, 13090, 13091, 13092, 13093, 13094, 13095, 13096, 13097, 13098, 13099, 13100, 13101, 13102, 13103, 13104, 13105, 13106, 13107, 13108, 13109, 13110, 13111, 13112, 13113, 13114, 13115, 13116, 13117, 13118, 13119, 13120, 13121, 13122, 13123, 13124, 13125, 13126, 13127, 13128, 13129, 13130, 13131, 13132, 13133, 13134, 13135, 13136, 13137, 13138, 13139, 13140, 13141, 13142, 13143, 13144, 13145, 13146, 13147, 13148, 13149, 13150, 13151, 13152, 13153, 13154, 13155, 13156, 13157, 13158, 13159, 13160, 13161, 13162, 13163, 13164, 13165, 13166, 13167, 13168, 13169, 13170, 13171, 13172, 13173, 13174, 13175, 13176, 13177, 13178, 13179, 13180, 13181, 13182, 13183, 13184, 13185, 13186, 13187, 13188, 13189, 13190, 13191, 13192, 13193, 13194, 13195, 13196, 13197, 13198, 13199, 13200, 13201, 13202, 13203, 13204, 13205, 13206, 13207, 13208, 13209, 13210, 13211, 13212, 13213, 13214, 13215, 13216, 13217, 13218, 13219, 13220, 13221, 13222, 13223, 13224, 13225, 13226, 13227, 13228, 13229, 13230, 13231, 13232, 13233, 13234, 13235, 13236, 13237, 13238, 13239, 13240, 13241, 13242, 13243, 13244, 13245, 13246, 13247, 13248, 13249, 13250, 13251, 13252, 13253, 13254, 13255, 13256, 13257, 13258, 13259, 13260, 13261, 13262, 13263, 13264, 13265, 13266, 13267, 13268, 13269, 13270, 13271, 13272, 13273, 13274, 13275, 13276, 13277, 13278, 13279, 13280, 13281, 13282, 13283, 13284, 13285, 13286, 13287, 13288, 13289, 13290, 13291, 13292, 13293, 13294, 13295, 13296, 13297, 13298, 13299, 13300, 13301, 13302, 13303, 13304, 13305, 13306, 13307, 13308, 13309, 13310, 13311, 13312, 13313, 13314, 13315, 13316, 13317, 13318, 13319, 13320, 13321, 13322, 13323, 13324, 13325, 13326, 13327, 13328, 13329, 13330, 13331, 13332, 13333, 13334, 13335, 13336, 13337, 13338, 13339, 13340, 13341, 13342, 13343, 13344, 13345, 13346, 13347, 13348, 13349, 13350, 13351, 13352, 13353, 13354, 13355, 13356, 13357, 13358, 13359, 13360, 13361, 13362, 13363, 13364, 13365, 13366, 13367, 13368, 13369, 13370, 13371, 13372, 13373, 13374, 13375, 13376, 13377, 13378, 13379, 13380, 13381, 13382, 13383, 13384);[ Date: 2022-12-01 10:10:43 ]
5 20s51ms COPY public.sale_history_line (id, history_data_link, company_id, customer_id, product_id, invoice_id, product_name, name, product_uom_qty, price_unit, cost_price_unit, price_subtotal, cost_subtotal, gross_profit, rebate_amount, rebate_subtotal, invoice_item_no, inventory_product_categ, inventory_part_type, inventory_short_vendor_name, currency_id, core_sales_amount, core_cost_amount, labor_amount, serial_number, labor_flag, note, under_warranty, contact_reference, contact_name, selling_branch, vehicle_unit_no, vehicle_identification_number, vehicle_odometer, customer_reference_no, sales_obtain, sale_order_no, sale_order_date, invoice_number, invoice_date, user_id, exception_sale, create_uid, create_date, write_uid, write_date, product_pricelist_item_id, history_id, history_date, history_type, so_line_id, new_user_id, gross_profit_amount, is_shipping, move_options, manufacturing_usage) TO stdout;[ Date: 2022-12-01 18:51:18 ]
6 19s375ms COPY public.sale_history_line (id, history_data_link, company_id, customer_id, product_id, invoice_id, product_name, name, product_uom_qty, price_unit, cost_price_unit, price_subtotal, cost_subtotal, gross_profit, rebate_amount, rebate_subtotal, invoice_item_no, inventory_product_categ, inventory_part_type, inventory_short_vendor_name, currency_id, core_sales_amount, core_cost_amount, labor_amount, serial_number, labor_flag, note, under_warranty, contact_reference, contact_name, selling_branch, vehicle_unit_no, vehicle_identification_number, vehicle_odometer, customer_reference_no, sales_obtain, sale_order_no, sale_order_date, invoice_number, invoice_date, user_id, exception_sale, create_uid, create_date, write_uid, write_date, product_pricelist_item_id, history_id, history_date, history_type, so_line_id, new_user_id, gross_profit_amount, is_shipping, move_options, manufacturing_usage) TO stdout;[ Date: 2022-12-01 12:24:51 ]
7 19s373ms COPY public.sale_history_line (id, history_data_link, company_id, customer_id, product_id, invoice_id, product_name, name, product_uom_qty, price_unit, cost_price_unit, price_subtotal, cost_subtotal, gross_profit, rebate_amount, rebate_subtotal, invoice_item_no, inventory_product_categ, inventory_part_type, inventory_short_vendor_name, currency_id, core_sales_amount, core_cost_amount, labor_amount, serial_number, labor_flag, note, under_warranty, contact_reference, contact_name, selling_branch, vehicle_unit_no, vehicle_identification_number, vehicle_odometer, customer_reference_no, sales_obtain, sale_order_no, sale_order_date, invoice_number, invoice_date, user_id, exception_sale, create_uid, create_date, write_uid, write_date, product_pricelist_item_id, history_id, history_date, history_type, so_line_id, new_user_id, gross_profit_amount, is_shipping, move_options, manufacturing_usage) TO stdout;[ Date: 2022-12-01 09:01:15 ]
8 16s510ms COPY public.sale_history_line (id, history_data_link, company_id, customer_id, product_id, invoice_id, product_name, name, product_uom_qty, price_unit, cost_price_unit, price_subtotal, cost_subtotal, gross_profit, rebate_amount, rebate_subtotal, invoice_item_no, inventory_product_categ, inventory_part_type, inventory_short_vendor_name, currency_id, core_sales_amount, core_cost_amount, labor_amount, serial_number, labor_flag, note, under_warranty, contact_reference, contact_name, selling_branch, vehicle_unit_no, vehicle_identification_number, vehicle_odometer, customer_reference_no, sales_obtain, sale_order_no, sale_order_date, invoice_number, invoice_date, user_id, exception_sale, create_uid, create_date, write_uid, write_date, product_pricelist_item_id, history_id, history_date, history_type, so_line_id, new_user_id, gross_profit_amount, is_shipping, move_options, manufacturing_usage) TO stdout;[ Date: 2022-12-01 06:33:25 ]
9 13s15ms COPY public.item_list_line (id, item_demand_plan_id, product_id, selling_branch, product_uom_qty, invoice_date, warehouse_id, method, inventory_vendor_id, create_uid, create_date, write_uid, write_date, active, min_product_len_1, min_product_len_2, min_baseline_size, seasonal_period, supercede_product_id, superceded, campaign_id, source_id, medium_id, message_main_attachment_id, access_token) TO stdout;[ Date: 2022-12-01 12:24:04 ]
10 12s980ms COPY public.item_list_line (id, item_demand_plan_id, product_id, selling_branch, product_uom_qty, invoice_date, warehouse_id, method, inventory_vendor_id, create_uid, create_date, write_uid, write_date, active, min_product_len_1, min_product_len_2, min_baseline_size, seasonal_period, supercede_product_id, superceded, campaign_id, source_id, medium_id, message_main_attachment_id, access_token) TO stdout;[ Date: 2022-12-01 18:50:31 ]
11 12s907ms COPY public.item_list_line (id, item_demand_plan_id, product_id, selling_branch, product_uom_qty, invoice_date, warehouse_id, method, inventory_vendor_id, create_uid, create_date, write_uid, write_date, active, min_product_len_1, min_product_len_2, min_baseline_size, seasonal_period, supercede_product_id, superceded, campaign_id, source_id, medium_id, message_main_attachment_id, access_token) TO stdout;[ Date: 2022-12-01 09:00:28 ]
12 11s473ms COPY public.item_list_line (id, item_demand_plan_id, product_id, selling_branch, product_uom_qty, invoice_date, warehouse_id, method, inventory_vendor_id, create_uid, create_date, write_uid, write_date, active, min_product_len_1, min_product_len_2, min_baseline_size, seasonal_period, supercede_product_id, superceded, campaign_id, source_id, medium_id, message_main_attachment_id, access_token) TO stdout;[ Date: 2022-12-01 06:32:45 ]
13 7s885ms COPY public.mail_tracking_value (id, field, field_desc, field_type, old_value_integer, old_value_float, old_value_monetary, old_value_char, old_value_text, old_value_datetime, new_value_integer, new_value_float, new_value_monetary, new_value_char, new_value_text, new_value_datetime, mail_message_id, tracking_sequence, create_uid, create_date, write_uid, write_date) TO stdout;[ Date: 2022-12-01 18:50:47 ]
14 7s808ms COPY public.mail_tracking_value (id, field, field_desc, field_type, old_value_integer, old_value_float, old_value_monetary, old_value_char, old_value_text, old_value_datetime, new_value_integer, new_value_float, new_value_monetary, new_value_char, new_value_text, new_value_datetime, mail_message_id, tracking_sequence, create_uid, create_date, write_uid, write_date) TO stdout;[ Date: 2022-12-01 12:24:20 ]
15 7s723ms COPY public.mail_tracking_value (id, field, field_desc, field_type, old_value_integer, old_value_float, old_value_monetary, old_value_char, old_value_text, old_value_datetime, new_value_integer, new_value_float, new_value_monetary, new_value_char, new_value_text, new_value_datetime, mail_message_id, tracking_sequence, create_uid, create_date, write_uid, write_date) TO stdout;[ Date: 2022-12-01 09:00:44 ]
16 7s610ms COPY public.mail_message (id, subject, date, body, parent_id, model, res_id, record_name, message_type, subtype_id, mail_activity_type_id, is_internal, email_from, author_id, no_auto_thread, message_id, reply_to, mail_server_id, moderation_status, moderator_id, email_layout_xmlid, add_sign, create_uid, create_date, write_uid, write_date, email_cc, email_bcc, email_to, ks_email_cc_string, ks_email_bcc_string, ks_cc_partners, ks_bcc_partners) TO stdout;[ Date: 2022-12-01 18:50:39 ]
17 7s390ms COPY public.mail_message (id, subject, date, body, parent_id, model, res_id, record_name, message_type, subtype_id, mail_activity_type_id, is_internal, email_from, author_id, no_auto_thread, message_id, reply_to, mail_server_id, moderation_status, moderator_id, email_layout_xmlid, add_sign, create_uid, create_date, write_uid, write_date, email_cc, email_bcc, email_to, ks_email_cc_string, ks_email_bcc_string, ks_cc_partners, ks_bcc_partners) TO stdout;[ Date: 2022-12-01 12:24:13 ]
18 7s337ms COPY public.mail_message (id, subject, date, body, parent_id, model, res_id, record_name, message_type, subtype_id, mail_activity_type_id, is_internal, email_from, author_id, no_auto_thread, message_id, reply_to, mail_server_id, moderation_status, moderator_id, email_layout_xmlid, add_sign, create_uid, create_date, write_uid, write_date, email_cc, email_bcc, email_to, ks_email_cc_string, ks_email_bcc_string, ks_cc_partners, ks_bcc_partners) TO stdout;[ Date: 2022-12-01 09:00:36 ]
19 6s993ms COPY public.mail_tracking_value (id, field, field_desc, field_type, old_value_integer, old_value_float, old_value_monetary, old_value_char, old_value_text, old_value_datetime, new_value_integer, new_value_float, new_value_monetary, new_value_char, new_value_text, new_value_datetime, mail_message_id, tracking_sequence, create_uid, create_date, write_uid, write_date) TO stdout;[ Date: 2022-12-01 06:32:59 ]
20 6s872ms UPDATE "stock_move" SET "state" = 'confirmed', "write_uid" = 1003, "write_date" = (now() at time zone 'UTC') WHERE id IN (167298, 167299, 167300, 167301, 167302, 167303, 167304, 167305, 167308, 167310, 167311, 167316, 167227, 167228, 167229, 167230, 167231, 167232, 167253, 167255, 167256, 167257, 167258, 167259, 167260, 167268, 167269, 167270, 167272, 167275, 167277, 167281, 167284, 167285, 167287, 167288, 167289, 167290, 167293, 167294);[ Date: 2022-12-01 21:04:33 ]
Time consuming queries (N)
Rank Total duration Times executed Min duration Max duration Avg duration Query 1 40m52s 4,246 490ms 2s251ms 577ms select product_product.id from "product_product" left join "product_template" AS "product_product__product_tmpl_id" on ("product_product"."product_tmpl_id" = "product_product__product_tmpl_id"."id") left join "ir_translation" AS "product_product__product_tmpl_id__name" on ("product_product__product_tmpl_id"."id" = "product_product__product_tmpl_id__name"."res_id" and "product_product__product_tmpl_id__name"."type" = ? and "product_product__product_tmpl_id__name"."name" = ? and "product_product__product_tmpl_id__name"."lang" = ? and "product_product__product_tmpl_id__name"."value" != ?) where ((("product_product"."active" = true) and (((unaccent ("product_product"."condensed_internal_ref"::text) ilike unaccent (?)) or (unaccent ("product_product"."default_code"::text) ilike unaccent (?))) or unaccent (coalesce("product_product__product_tmpl_id__name"."value", "product_product__product_tmpl_id"."name")) ilike unaccent (?))) and ("product_product__product_tmpl_id"."sale_ok" is not null and "product_product__product_tmpl_id"."sale_ok" != false)) and (("product_product__product_tmpl_id"."company_id" in (...)) or "product_product__product_tmpl_id"."company_id" is null) order by product_product.default_code, product_product.condensed_internal_ref;Times Reported Time consuming queries #1
Day Hour Count Duration Avg duration Dec 01 12 254 2m18s 543ms 13 544 5m4s 560ms 14 588 5m59s 611ms 15 542 5m3s 559ms 16 273 3m 662ms 17 290 2m39s 550ms 18 582 5m55s 610ms 19 482 4m39s 579ms 20 387 3m28s 539ms 21 165 1m27s 530ms 22 45 23s503ms 522ms 23 94 51s226ms 544ms -
SELECT product_product.id FROM "product_product" LEFT JOIN "product_template" AS "product_product__product_tmpl_id" ON ("product_product"."product_tmpl_id" = "product_product__product_tmpl_id"."id") LEFT JOIN "ir_translation" AS "product_product__product_tmpl_id__name" ON ("product_product__product_tmpl_id"."id" = "product_product__product_tmpl_id__name"."res_id" AND "product_product__product_tmpl_id__name"."type" = 'model' AND "product_product__product_tmpl_id__name"."name" = 'product.template,name' AND "product_product__product_tmpl_id__name"."lang" = 'en_US' AND "product_product__product_tmpl_id__name"."value" != '') WHERE ((("product_product"."active" = true) AND (((unaccent ("product_product"."condensed_internal_ref"::text) ilike unaccent ('%%70747%%')) OR (unaccent ("product_product"."default_code"::text) ilike unaccent ('%70747%'))) OR unaccent (COALESCE("product_product__product_tmpl_id__name"."value", "product_product__product_tmpl_id"."name")) ilike unaccent ('%70747%'))) AND ("product_product__product_tmpl_id"."sale_ok" IS NOT NULL and "product_product__product_tmpl_id"."sale_ok" != false)) AND (("product_product__product_tmpl_id"."company_id" in (1)) OR "product_product__product_tmpl_id"."company_id" IS NULL) ORDER BY product_product.default_code, product_product.condensed_internal_ref;
Date: 2022-12-01 19:02:55 Duration: 2s251ms
-
SELECT product_product.id FROM "product_product" LEFT JOIN "product_template" AS "product_product__product_tmpl_id" ON ("product_product"."product_tmpl_id" = "product_product__product_tmpl_id"."id") LEFT JOIN "ir_translation" AS "product_product__product_tmpl_id__name" ON ("product_product__product_tmpl_id"."id" = "product_product__product_tmpl_id__name"."res_id" AND "product_product__product_tmpl_id__name"."type" = 'model' AND "product_product__product_tmpl_id__name"."name" = 'product.template,name' AND "product_product__product_tmpl_id__name"."lang" = 'en_US' AND "product_product__product_tmpl_id__name"."value" != '') WHERE ((("product_product"."active" = true) AND (((unaccent ("product_product"."condensed_internal_ref"::text) ilike unaccent ('%%4664%%')) OR (unaccent ("product_product"."default_code"::text) ilike unaccent ('%4664%'))) OR unaccent (COALESCE("product_product__product_tmpl_id__name"."value", "product_product__product_tmpl_id"."name")) ilike unaccent ('%4664%'))) AND ("product_product__product_tmpl_id"."sale_ok" IS NOT NULL and "product_product__product_tmpl_id"."sale_ok" != false)) AND (("product_product__product_tmpl_id"."company_id" in (1)) OR "product_product__product_tmpl_id"."company_id" IS NULL) ORDER BY product_product.default_code, product_product.condensed_internal_ref;
Date: 2022-12-01 14:38:55 Duration: 2s234ms
-
SELECT product_product.id FROM "product_product" LEFT JOIN "product_template" AS "product_product__product_tmpl_id" ON ("product_product"."product_tmpl_id" = "product_product__product_tmpl_id"."id") LEFT JOIN "ir_translation" AS "product_product__product_tmpl_id__name" ON ("product_product__product_tmpl_id"."id" = "product_product__product_tmpl_id__name"."res_id" AND "product_product__product_tmpl_id__name"."type" = 'model' AND "product_product__product_tmpl_id__name"."name" = 'product.template,name' AND "product_product__product_tmpl_id__name"."lang" = 'en_US' AND "product_product__product_tmpl_id__name"."value" != '') WHERE ((("product_product"."active" = true) AND (((unaccent ("product_product"."condensed_internal_ref"::text) ilike unaccent ('%%442GCAHXA5%%')) OR (unaccent ("product_product"."default_code"::text) ilike unaccent ('%442GCAHX-A5%'))) OR unaccent (COALESCE("product_product__product_tmpl_id__name"."value", "product_product__product_tmpl_id"."name")) ilike unaccent ('%442GCAHX-A5%'))) AND ("product_product__product_tmpl_id"."sale_ok" IS NOT NULL and "product_product__product_tmpl_id"."sale_ok" != false)) AND (("product_product__product_tmpl_id"."company_id" in (1)) OR "product_product__product_tmpl_id"."company_id" IS NULL) ORDER BY product_product.default_code, product_product.condensed_internal_ref;
Date: 2022-12-01 16:08:03 Duration: 2s212ms
2 28m19s 4,898 275ms 1s85ms 346ms select "item_list_line".id from "item_list_line" where (((("item_list_line"."active" = true) and ("item_list_line"."product_id" = ?)) and (("item_list_line"."method" not in (...)) or "item_list_line"."method" is null)) and ("item_list_line"."item_demand_plan_id" = ?)) order by "item_list_line"."id" limit ?;Times Reported Time consuming queries #2
Day Hour Count Duration Avg duration Dec 01 02 261 1m31s 349ms 03 308 1m52s 365ms 14 421 2m36s 371ms 15 364 2m3s 340ms 16 947 5m38s 356ms 17 422 2m11s 310ms 18 755 4m25s 351ms 19 342 2m1s 354ms 20 369 2m4s 336ms 23 709 3m55s 332ms -
SELECT "item_list_line".id FROM "item_list_line" WHERE (((("item_list_line"."active" = true) AND ("item_list_line"."product_id" = 183835)) AND (("item_list_line"."method" not in (7, 8)) OR "item_list_line"."method" IS NULL)) AND ("item_list_line"."item_demand_plan_id" = 1018)) ORDER BY "item_list_line"."id" LIMIT 1;
Date: 2022-12-01 16:08:02 Duration: 1s85ms
-
SELECT "item_list_line".id FROM "item_list_line" WHERE (((("item_list_line"."active" = true) AND ("item_list_line"."product_id" = 183514)) AND (("item_list_line"."method" not in (7, 8)) OR "item_list_line"."method" IS NULL)) AND ("item_list_line"."item_demand_plan_id" = 1013)) ORDER BY "item_list_line"."id" LIMIT 1;
Date: 2022-12-01 14:38:54 Duration: 986ms
-
SELECT "item_list_line".id FROM "item_list_line" WHERE (((("item_list_line"."active" = true) AND ("item_list_line"."product_id" = 183834)) AND (("item_list_line"."method" not in (7, 8)) OR "item_list_line"."method" IS NULL)) AND ("item_list_line"."item_demand_plan_id" = 1018)) ORDER BY "item_list_line"."id" LIMIT 1;
Date: 2022-12-01 16:08:01 Duration: 940ms
3 13m38s 1,389 498ms 1s850ms 588ms select product_product.id from "product_product" left join "product_template" AS "product_product__product_tmpl_id" on ("product_product"."product_tmpl_id" = "product_product__product_tmpl_id"."id") left join "ir_translation" AS "product_product__product_tmpl_id__name" on ("product_product__product_tmpl_id"."id" = "product_product__product_tmpl_id__name"."res_id" and "product_product__product_tmpl_id__name"."type" = ? and "product_product__product_tmpl_id__name"."name" = ? and "product_product__product_tmpl_id__name"."lang" = ? and "product_product__product_tmpl_id__name"."value" != ?) where (("product_product"."active" = true) and (((unaccent ("product_product"."condensed_internal_ref"::text) ilike unaccent (?)) or (unaccent ("product_product"."default_code"::text) ilike unaccent (?))) or unaccent (coalesce("product_product__product_tmpl_id__name"."value", "product_product__product_tmpl_id"."name")) ilike unaccent (?))) and (("product_product__product_tmpl_id"."company_id" in (...)) or "product_product__product_tmpl_id"."company_id" is null) order by product_product.default_code, product_product.condensed_internal_ref;Times Reported Time consuming queries #3
Day Hour Count Duration Avg duration Dec 01 10 6 3s145ms 524ms 12 54 28s765ms 532ms 13 80 44s34ms 550ms 14 127 1m11s 564ms 15 242 2m31s 624ms 16 250 2m44s 656ms 17 33 17s930ms 543ms 18 139 1m22s 592ms 19 234 2m14s 574ms 20 184 1m39s 538ms 21 40 21s474ms 536ms -
SELECT product_product.id FROM "product_product" LEFT JOIN "product_template" AS "product_product__product_tmpl_id" ON ("product_product"."product_tmpl_id" = "product_product__product_tmpl_id"."id") LEFT JOIN "ir_translation" AS "product_product__product_tmpl_id__name" ON ("product_product__product_tmpl_id"."id" = "product_product__product_tmpl_id__name"."res_id" AND "product_product__product_tmpl_id__name"."type" = 'model' AND "product_product__product_tmpl_id__name"."name" = 'product.template,name' AND "product_product__product_tmpl_id__name"."lang" = 'en_US' AND "product_product__product_tmpl_id__name"."value" != '') WHERE (("product_product"."active" = true) AND (((unaccent ("product_product"."condensed_internal_ref"::text) ilike unaccent ('%%27900%%')) OR (unaccent ("product_product"."default_code"::text) ilike unaccent ('%27900%'))) OR unaccent (COALESCE("product_product__product_tmpl_id__name"."value", "product_product__product_tmpl_id"."name")) ilike unaccent ('%27900%'))) AND (("product_product__product_tmpl_id"."company_id" in (1)) OR "product_product__product_tmpl_id"."company_id" IS NULL) ORDER BY product_product.default_code, product_product.condensed_internal_ref;
Date: 2022-12-01 16:07:17 Duration: 1s850ms
-
SELECT product_product.id FROM "product_product" LEFT JOIN "product_template" AS "product_product__product_tmpl_id" ON ("product_product"."product_tmpl_id" = "product_product__product_tmpl_id"."id") LEFT JOIN "ir_translation" AS "product_product__product_tmpl_id__name" ON ("product_product__product_tmpl_id"."id" = "product_product__product_tmpl_id__name"."res_id" AND "product_product__product_tmpl_id__name"."type" = 'model' AND "product_product__product_tmpl_id__name"."name" = 'product.template,name' AND "product_product__product_tmpl_id__name"."lang" = 'en_US' AND "product_product__product_tmpl_id__name"."value" != '') WHERE (("product_product"."active" = true) AND (((unaccent ("product_product"."condensed_internal_ref"::text) ilike unaccent ('%%279000%%')) OR (unaccent ("product_product"."default_code"::text) ilike unaccent ('%279000%'))) OR unaccent (COALESCE("product_product__product_tmpl_id__name"."value", "product_product__product_tmpl_id"."name")) ilike unaccent ('%279000%'))) AND (("product_product__product_tmpl_id"."company_id" in (1)) OR "product_product__product_tmpl_id"."company_id" IS NULL) ORDER BY product_product.default_code, product_product.condensed_internal_ref;
Date: 2022-12-01 16:07:17 Duration: 1s715ms
-
SELECT product_product.id FROM "product_product" LEFT JOIN "product_template" AS "product_product__product_tmpl_id" ON ("product_product"."product_tmpl_id" = "product_product__product_tmpl_id"."id") LEFT JOIN "ir_translation" AS "product_product__product_tmpl_id__name" ON ("product_product__product_tmpl_id"."id" = "product_product__product_tmpl_id__name"."res_id" AND "product_product__product_tmpl_id__name"."type" = 'model' AND "product_product__product_tmpl_id__name"."name" = 'product.template,name' AND "product_product__product_tmpl_id__name"."lang" = 'en_US' AND "product_product__product_tmpl_id__name"."value" != '') WHERE (("product_product"."active" = true) AND (((unaccent ("product_product"."condensed_internal_ref"::text) ilike unaccent ('%%513%%')) OR (unaccent ("product_product"."default_code"::text) ilike unaccent ('%5-13%'))) OR unaccent (COALESCE("product_product__product_tmpl_id__name"."value", "product_product__product_tmpl_id"."name")) ilike unaccent ('%5-13%'))) AND (("product_product__product_tmpl_id"."company_id" in (1)) OR "product_product__product_tmpl_id"."company_id" IS NULL) ORDER BY product_product.default_code, product_product.condensed_internal_ref;
Date: 2022-12-01 16:24:49 Duration: 1s708ms
4 10m53s 933 602ms 1s734ms 700ms select "product_template".id from "product_template" left join "ir_translation" AS "product_template__name" on ("product_template"."id" = "product_template__name"."res_id" and "product_template__name"."type" = ? and "product_template__name"."name" = ? and "product_template__name"."lang" = ? and "product_template__name"."value" != ?) where (("product_template"."active" = true) and (("product_template"."is_core" is null or "product_template"."is_core" = false) and (("product_template"."type" in (...)) and (((((unaccent ("product_template"."default_code"::text) ilike unaccent (?)) or ("product_template"."id" in ( select "product_product"."product_tmpl_id" from "product_product" left join "product_template" AS "product_product__product_tmpl_id" on ("product_product"."product_tmpl_id" = "product_product__product_tmpl_id"."id") where (("product_product"."active" = true) and (unaccent ("product_product"."default_code"::text) ilike unaccent (?))) and (("product_product__product_tmpl_id"."company_id" in (...)) or "product_product__product_tmpl_id"."company_id" is null)))) or unaccent (coalesce("product_template__name"."value", "product_template"."name")) ilike unaccent (?)) or false) or (unaccent ("product_template"."condensed_internal_ref"::text) ilike unaccent (?)))))) and (("product_template"."company_id" in (...)) or "product_template"."company_id" is null) order by coalesce("product_template__name"."value", "product_template"."name") limit ?;Times Reported Time consuming queries #4
Day Hour Count Duration Avg duration Dec 01 00 4 2s668ms 667ms 11 2 1s302ms 651ms 12 46 30s757ms 668ms 13 113 1m19s 701ms 14 119 1m26s 729ms 15 70 50s178ms 716ms 16 107 1m15s 702ms 17 73 49s942ms 684ms 18 134 1m32s 690ms 19 107 1m14s 694ms 20 108 1m16s 705ms 21 37 25s342ms 684ms 22 12 7s979ms 664ms 23 1 659ms 659ms -
SELECT "product_template".id FROM "product_template" LEFT JOIN "ir_translation" AS "product_template__name" ON ("product_template"."id" = "product_template__name"."res_id" AND "product_template__name"."type" = 'model' AND "product_template__name"."name" = 'product.template,name' AND "product_template__name"."lang" = 'en_US' AND "product_template__name"."value" != '') WHERE (("product_template"."active" = true) AND (("product_template"."is_core" IS NULL or "product_template"."is_core" = false) AND (("product_template"."type" in ('consu', 'product')) AND (((((unaccent ("product_template"."default_code"::text) ilike unaccent ('%12z-612%')) OR ("product_template"."id" IN ( SELECT "product_product"."product_tmpl_id" FROM "product_product" LEFT JOIN "product_template" AS "product_product__product_tmpl_id" ON ("product_product"."product_tmpl_id" = "product_product__product_tmpl_id"."id") WHERE (("product_product"."active" = true) AND (unaccent ("product_product"."default_code"::text) ilike unaccent ('%12z-612%'))) AND (("product_product__product_tmpl_id"."company_id" in (1)) OR "product_product__product_tmpl_id"."company_id" IS NULL)))) OR unaccent (COALESCE("product_template__name"."value", "product_template"."name")) ilike unaccent ('%12z-612%')) OR FALSE) OR (unaccent ("product_template"."condensed_internal_ref"::text) ilike unaccent ('%12z-612%')))))) AND (("product_template"."company_id" in (1)) OR "product_template"."company_id" IS NULL) ORDER BY COALESCE("product_template__name"."value", "product_template"."name") LIMIT 80;
Date: 2022-12-01 14:40:37 Duration: 1s734ms
-
SELECT "product_template".id FROM "product_template" LEFT JOIN "ir_translation" AS "product_template__name" ON ("product_template"."id" = "product_template__name"."res_id" AND "product_template__name"."type" = 'model' AND "product_template__name"."name" = 'product.template,name' AND "product_template__name"."lang" = 'en_US' AND "product_template__name"."value" != '') WHERE (("product_template"."active" = true) AND (("product_template"."is_core" IS NULL or "product_template"."is_core" = false) AND (("product_template"."type" in ('consu', 'product')) AND (((((unaccent ("product_template"."default_code"::text) ilike unaccent ('%325-544%')) OR ("product_template"."id" IN ( SELECT "product_product"."product_tmpl_id" FROM "product_product" LEFT JOIN "product_template" AS "product_product__product_tmpl_id" ON ("product_product"."product_tmpl_id" = "product_product__product_tmpl_id"."id") WHERE (("product_product"."active" = true) AND (unaccent ("product_product"."default_code"::text) ilike unaccent ('%325-544%'))) AND (("product_product__product_tmpl_id"."company_id" in (1)) OR "product_product__product_tmpl_id"."company_id" IS NULL)))) OR unaccent (COALESCE("product_template__name"."value", "product_template"."name")) ilike unaccent ('%325-544%')) OR FALSE) OR (unaccent ("product_template"."condensed_internal_ref"::text) ilike unaccent ('%325-544%')))))) AND (("product_template"."company_id" in (1)) OR "product_template"."company_id" IS NULL) ORDER BY COALESCE("product_template__name"."value", "product_template"."name") LIMIT 80;
Date: 2022-12-01 20:18:52 Duration: 1s369ms
-
SELECT "product_template".id FROM "product_template" LEFT JOIN "ir_translation" AS "product_template__name" ON ("product_template"."id" = "product_template__name"."res_id" AND "product_template__name"."type" = 'model' AND "product_template__name"."name" = 'product.template,name' AND "product_template__name"."lang" = 'en_US' AND "product_template__name"."value" != '') WHERE (("product_template"."active" = true) AND (("product_template"."is_core" IS NULL or "product_template"."is_core" = false) AND (("product_template"."type" in ('consu', 'product')) AND (((((unaccent ("product_template"."default_code"::text) ilike unaccent ('%40010013%')) OR ("product_template"."id" IN ( SELECT "product_product"."product_tmpl_id" FROM "product_product" LEFT JOIN "product_template" AS "product_product__product_tmpl_id" ON ("product_product"."product_tmpl_id" = "product_product__product_tmpl_id"."id") WHERE (("product_product"."active" = true) AND (unaccent ("product_product"."default_code"::text) ilike unaccent ('%40010013%'))) AND (("product_product__product_tmpl_id"."company_id" in (1)) OR "product_product__product_tmpl_id"."company_id" IS NULL)))) OR unaccent (COALESCE("product_template__name"."value", "product_template"."name")) ilike unaccent ('%40010013%')) OR FALSE) OR (unaccent ("product_template"."condensed_internal_ref"::text) ilike unaccent ('%40010013%')))))) AND (("product_template"."company_id" in (1)) OR "product_template"."company_id" IS NULL) ORDER BY COALESCE("product_template__name"."value", "product_template"."name") LIMIT 80;
Date: 2022-12-01 14:42:43 Duration: 1s351ms
5 6m15s 651 506ms 2s187ms 576ms select product_product.id from "product_product" left join "product_template" AS "product_product__product_tmpl_id" on ("product_product"."product_tmpl_id" = "product_product__product_tmpl_id"."id") left join "ir_translation" AS "product_product__product_tmpl_id__name" on ("product_product__product_tmpl_id"."id" = "product_product__product_tmpl_id__name"."res_id" and "product_product__product_tmpl_id__name"."type" = ? and "product_product__product_tmpl_id__name"."name" = ? and "product_product__product_tmpl_id__name"."lang" = ? and "product_product__product_tmpl_id__name"."value" != ?) where (((("product_product"."active" = true) and (((unaccent ("product_product"."condensed_internal_ref"::text) ilike unaccent (?)) or (unaccent ("product_product"."default_code"::text) ilike unaccent (?))) or unaccent (coalesce("product_product__product_tmpl_id__name"."value", "product_product__product_tmpl_id"."name")) ilike unaccent (?))) and ("product_product__product_tmpl_id"."is_core" is null or "product_product__product_tmpl_id"."is_core" = false)) and ("product_product__product_tmpl_id"."purchase_ok" is not null and "product_product__product_tmpl_id"."purchase_ok" != false)) and (("product_product__product_tmpl_id"."company_id" in (...)) or "product_product__product_tmpl_id"."company_id" is null) order by product_product.default_code, product_product.condensed_internal_ref;Times Reported Time consuming queries #5
Day Hour Count Duration Avg duration Dec 01 11 7 3s796ms 542ms 13 7 3s827ms 546ms 14 49 27s966ms 570ms 15 29 15s550ms 536ms 16 26 16s149ms 621ms 17 33 18s367ms 556ms 18 69 42s694ms 618ms 19 222 2m13s 599ms 20 39 23s16ms 590ms 21 133 1m11s 536ms 22 28 14s621ms 522ms 23 9 4s710ms 523ms -
SELECT product_product.id FROM "product_product" LEFT JOIN "product_template" AS "product_product__product_tmpl_id" ON ("product_product"."product_tmpl_id" = "product_product__product_tmpl_id"."id") LEFT JOIN "ir_translation" AS "product_product__product_tmpl_id__name" ON ("product_product__product_tmpl_id"."id" = "product_product__product_tmpl_id__name"."res_id" AND "product_product__product_tmpl_id__name"."type" = 'model' AND "product_product__product_tmpl_id__name"."name" = 'product.template,name' AND "product_product__product_tmpl_id__name"."lang" = 'en_US' AND "product_product__product_tmpl_id__name"."value" != '') WHERE (((("product_product"."active" = true) AND (((unaccent ("product_product"."condensed_internal_ref"::text) ilike unaccent ('%%L97863%%')) OR (unaccent ("product_product"."default_code"::text) ilike unaccent ('%L97863%'))) OR unaccent (COALESCE("product_product__product_tmpl_id__name"."value", "product_product__product_tmpl_id"."name")) ilike unaccent ('%L97863%'))) AND ("product_product__product_tmpl_id"."is_core" IS NULL or "product_product__product_tmpl_id"."is_core" = false)) AND ("product_product__product_tmpl_id"."purchase_ok" IS NOT NULL and "product_product__product_tmpl_id"."purchase_ok" != false)) AND (("product_product__product_tmpl_id"."company_id" in (1)) OR "product_product__product_tmpl_id"."company_id" IS NULL) ORDER BY product_product.default_code, product_product.condensed_internal_ref;
Date: 2022-12-01 19:02:55 Duration: 2s187ms
-
SELECT product_product.id FROM "product_product" LEFT JOIN "product_template" AS "product_product__product_tmpl_id" ON ("product_product"."product_tmpl_id" = "product_product__product_tmpl_id"."id") LEFT JOIN "ir_translation" AS "product_product__product_tmpl_id__name" ON ("product_product__product_tmpl_id"."id" = "product_product__product_tmpl_id__name"."res_id" AND "product_product__product_tmpl_id__name"."type" = 'model' AND "product_product__product_tmpl_id__name"."name" = 'product.template,name' AND "product_product__product_tmpl_id__name"."lang" = 'en_US' AND "product_product__product_tmpl_id__name"."value" != '') WHERE (((("product_product"."active" = true) AND (((unaccent ("product_product"."condensed_internal_ref"::text) ilike unaccent ('%%L9786%%')) OR (unaccent ("product_product"."default_code"::text) ilike unaccent ('%L9786%'))) OR unaccent (COALESCE("product_product__product_tmpl_id__name"."value", "product_product__product_tmpl_id"."name")) ilike unaccent ('%L9786%'))) AND ("product_product__product_tmpl_id"."is_core" IS NULL or "product_product__product_tmpl_id"."is_core" = false)) AND ("product_product__product_tmpl_id"."purchase_ok" IS NOT NULL and "product_product__product_tmpl_id"."purchase_ok" != false)) AND (("product_product__product_tmpl_id"."company_id" in (1)) OR "product_product__product_tmpl_id"."company_id" IS NULL) ORDER BY product_product.default_code, product_product.condensed_internal_ref;
Date: 2022-12-01 19:02:54 Duration: 1s819ms
-
SELECT product_product.id FROM "product_product" LEFT JOIN "product_template" AS "product_product__product_tmpl_id" ON ("product_product"."product_tmpl_id" = "product_product__product_tmpl_id"."id") LEFT JOIN "ir_translation" AS "product_product__product_tmpl_id__name" ON ("product_product__product_tmpl_id"."id" = "product_product__product_tmpl_id__name"."res_id" AND "product_product__product_tmpl_id__name"."type" = 'model' AND "product_product__product_tmpl_id__name"."name" = 'product.template,name' AND "product_product__product_tmpl_id__name"."lang" = 'en_US' AND "product_product__product_tmpl_id__name"."value" != '') WHERE (((("product_product"."active" = true) AND (((unaccent ("product_product"."condensed_internal_ref"::text) ilike unaccent ('%%L978%%')) OR (unaccent ("product_product"."default_code"::text) ilike unaccent ('%L978%'))) OR unaccent (COALESCE("product_product__product_tmpl_id__name"."value", "product_product__product_tmpl_id"."name")) ilike unaccent ('%L978%'))) AND ("product_product__product_tmpl_id"."is_core" IS NULL or "product_product__product_tmpl_id"."is_core" = false)) AND ("product_product__product_tmpl_id"."purchase_ok" IS NOT NULL and "product_product__product_tmpl_id"."purchase_ok" != false)) AND (("product_product__product_tmpl_id"."company_id" in (1)) OR "product_product__product_tmpl_id"."company_id" IS NULL) ORDER BY product_product.default_code, product_product.condensed_internal_ref;
Date: 2022-12-01 19:02:54 Duration: 1s802ms
6 4m58s 1,052 241ms 695ms 283ms select "sale_history_line".id from "sale_history_line" where ("sale_history_line"."so_line_id" in (...)) order by "sale_history_line"."id";Times Reported Time consuming queries #6
Day Hour Count Duration Avg duration Dec 01 11 1 337ms 337ms 12 71 19s473ms 274ms 13 101 30s116ms 298ms 14 126 34s462ms 273ms 15 212 1m1s 289ms 16 66 19s930ms 301ms 17 84 23s795ms 283ms 18 118 33s95ms 280ms 19 103 29s152ms 283ms 20 97 26s627ms 274ms 21 38 10s524ms 276ms 22 14 3s567ms 254ms 23 21 5s728ms 272ms -
SELECT "sale_history_line".id FROM "sale_history_line" WHERE ("sale_history_line"."so_line_id" in (31101)) ORDER BY "sale_history_line"."id";
Date: 2022-12-01 18:06:15 Duration: 695ms
-
SELECT "sale_history_line".id FROM "sale_history_line" WHERE ("sale_history_line"."so_line_id" in (30699)) ORDER BY "sale_history_line"."id";
Date: 2022-12-01 14:40:07 Duration: 633ms
-
SELECT "sale_history_line".id FROM "sale_history_line" WHERE ("sale_history_line"."so_line_id" in (30980)) ORDER BY "sale_history_line"."id";
Date: 2022-12-01 16:33:17 Duration: 618ms
7 4m14s 917 197ms 857ms 277ms select distinct ill.product_id from item_list_line as ill left join res_forecast_method as fm on fm.id = ill.method where ill.item_demand_plan_id = ? and ill.method not in (...);Times Reported Time consuming queries #7
Day Hour Count Duration Avg duration Dec 01 02 73 19s905ms 272ms 03 87 25s494ms 293ms 10 141 28s232ms 200ms 11 1 221ms 221ms 13 58 14s12ms 241ms 14 78 23s805ms 305ms 15 39 11s705ms 300ms 16 119 38s52ms 319ms 17 17 4s277ms 251ms 18 91 29s594ms 325ms 19 30 9s133ms 304ms 20 15 3s927ms 261ms 21 14 3s489ms 249ms 23 154 42s672ms 277ms -
select DISTINCT ill.product_id from item_list_line as ill LEFT JOIN res_forecast_method as fm ON fm.id = ill.method where ill.item_demand_plan_id = 1013 and ill.method not in (8, 7);
Date: 2022-12-01 14:38:54 Duration: 857ms
-
select DISTINCT ill.product_id from item_list_line as ill LEFT JOIN res_forecast_method as fm ON fm.id = ill.method where ill.item_demand_plan_id = 1018 and ill.method not in (8, 7);
Date: 2022-12-01 16:07:17 Duration: 756ms
-
select DISTINCT ill.product_id from item_list_line as ill LEFT JOIN res_forecast_method as fm ON fm.id = ill.method where ill.item_demand_plan_id = 1027 and ill.method not in (8, 7);
Date: 2022-12-01 19:02:55 Duration: 664ms
8 4m8s 281 578ms 2s117ms 882ms select "product_template".id from "product_template" left join "ir_translation" AS "product_template__description_sale" on ("product_template"."id" = "product_template__description_sale"."res_id" and "product_template__description_sale"."type" = ? and "product_template__description_sale"."name" = ? and "product_template__description_sale"."lang" = ? and "product_template__description_sale"."value" != ?) left join "ir_translation" AS "product_template__description" on ("product_template"."id" = "product_template__description"."res_id" and "product_template__description"."type" = ? and "product_template__description"."name" = ? and "product_template__description"."lang" = ? and "product_template__description"."value" != ?) left join "ir_translation" AS "product_template__name" on ("product_template"."id" = "product_template__name"."res_id" and "product_template__name"."type" = ? and "product_template__name"."name" = ? and "product_template__name"."lang" = ? and "product_template__name"."value" != ?) where (("product_template"."active" = true) and ((("product_template"."sale_ok" = true) and (("product_template"."website_id" in (...)) or "product_template"."website_id" is null)) and (((((unaccent (coalesce("product_template__name"."value", "product_template"."name")) ilike unaccent (?) or ("product_template"."id" in ( select "product_product"."product_tmpl_id" from "product_product" where (("product_product"."active" = true) and (unaccent ("product_product"."default_code"::text) ilike unaccent (?)))))) or ("product_template"."id" in ( select "product_product"."product_tmpl_id" from "product_product" where (("product_product"."active" = true) and (unaccent ("product_product"."condensed_internal_ref"::text) ilike unaccent (?)))))) or ("product_template"."inventory_vendor_id" in ( select "psd_custom_inventory_vendor".id from "psd_custom_inventory_vendor" where (unaccent ("psd_custom_inventory_vendor"."name"::text) ilike unaccent (?))))) or unaccent (coalesce("product_template__description"."value", "product_template"."description")) ilike unaccent (?)) or unaccent (coalesce("product_template__description_sale"."value", "product_template"."description_sale")) ilike unaccent (?)))) order by coalesce("product_template"."is_published", false) desc, "product_template"."website_sequence" asc, "product_template"."id" desc limit ?;Times Reported Time consuming queries #8
Day Hour Count Duration Avg duration Dec 01 00 2 1s368ms 684ms 12 37 31s486ms 850ms 13 27 23s920ms 885ms 14 49 49s146ms 1s2ms 15 31 25s478ms 821ms 16 34 30s89ms 884ms 17 52 43s767ms 841ms 18 8 6s810ms 851ms 20 14 14s102ms 1s7ms 21 9 7s298ms 810ms 22 18 14s595ms 810ms -
SELECT "product_template".id FROM "product_template" LEFT JOIN "ir_translation" AS "product_template__description_sale" ON ("product_template"."id" = "product_template__description_sale"."res_id" AND "product_template__description_sale"."type" = 'model' AND "product_template__description_sale"."name" = 'product.template,description_sale' AND "product_template__description_sale"."lang" = 'en_US' AND "product_template__description_sale"."value" != '') LEFT JOIN "ir_translation" AS "product_template__description" ON ("product_template"."id" = "product_template__description"."res_id" AND "product_template__description"."type" = 'model' AND "product_template__description"."name" = 'product.template,description' AND "product_template__description"."lang" = 'en_US' AND "product_template__description"."value" != '') LEFT JOIN "ir_translation" AS "product_template__name" ON ("product_template"."id" = "product_template__name"."res_id" AND "product_template__name"."type" = 'model' AND "product_template__name"."name" = 'product.template,name' AND "product_template__name"."lang" = 'en_US' AND "product_template__name"."value" != '') WHERE (("product_template"."active" = true) AND ((("product_template"."sale_ok" = true) AND (("product_template"."website_id" in (1)) OR "product_template"."website_id" IS NULL)) AND (((((unaccent (COALESCE("product_template__name"."value", "product_template"."name")) ilike unaccent ('%k303-%') OR ("product_template"."id" IN ( SELECT "product_product"."product_tmpl_id" FROM "product_product" WHERE (("product_product"."active" = true) AND (unaccent ("product_product"."default_code"::text) ilike unaccent ('%k303-%')))))) OR ("product_template"."id" IN ( SELECT "product_product"."product_tmpl_id" FROM "product_product" WHERE (("product_product"."active" = true) AND (unaccent ("product_product"."condensed_internal_ref"::text) ilike unaccent ('%k303-%')))))) OR ("product_template"."inventory_vendor_id" in ( SELECT "psd_custom_inventory_vendor".id FROM "psd_custom_inventory_vendor" WHERE (unaccent ("psd_custom_inventory_vendor"."name"::text) ilike unaccent ('%k303-%'))))) OR unaccent (COALESCE("product_template__description"."value", "product_template"."description")) ilike unaccent ('%k303-%')) OR unaccent (COALESCE("product_template__description_sale"."value", "product_template"."description_sale")) ilike unaccent ('%k303-%')))) ORDER BY COALESCE("product_template"."is_published", false) DESC, "product_template"."website_sequence" ASC, "product_template"."id" DESC LIMIT 5;
Date: 2022-12-01 14:40:08 Duration: 2s117ms
-
SELECT "product_template".id FROM "product_template" LEFT JOIN "ir_translation" AS "product_template__description_sale" ON ("product_template"."id" = "product_template__description_sale"."res_id" AND "product_template__description_sale"."type" = 'model' AND "product_template__description_sale"."name" = 'product.template,description_sale' AND "product_template__description_sale"."lang" = 'en_US' AND "product_template__description_sale"."value" != '') LEFT JOIN "ir_translation" AS "product_template__description" ON ("product_template"."id" = "product_template__description"."res_id" AND "product_template__description"."type" = 'model' AND "product_template__description"."name" = 'product.template,description' AND "product_template__description"."lang" = 'en_US' AND "product_template__description"."value" != '') LEFT JOIN "ir_translation" AS "product_template__name" ON ("product_template"."id" = "product_template__name"."res_id" AND "product_template__name"."type" = 'model' AND "product_template__name"."name" = 'product.template,name' AND "product_template__name"."lang" = 'en_US' AND "product_template__name"."value" != '') WHERE (("product_template"."active" = true) AND ((("product_template"."sale_ok" = true) AND (("product_template"."website_id" in (1)) OR "product_template"."website_id" IS NULL)) AND (((((unaccent (COALESCE("product_template__name"."value", "product_template"."name")) ilike unaccent ('%k303-22%') OR ("product_template"."id" IN ( SELECT "product_product"."product_tmpl_id" FROM "product_product" WHERE (("product_product"."active" = true) AND (unaccent ("product_product"."default_code"::text) ilike unaccent ('%k303-22%')))))) OR ("product_template"."id" IN ( SELECT "product_product"."product_tmpl_id" FROM "product_product" WHERE (("product_product"."active" = true) AND (unaccent ("product_product"."condensed_internal_ref"::text) ilike unaccent ('%k303-22%')))))) OR ("product_template"."inventory_vendor_id" in ( SELECT "psd_custom_inventory_vendor".id FROM "psd_custom_inventory_vendor" WHERE (unaccent ("psd_custom_inventory_vendor"."name"::text) ilike unaccent ('%k303-22%'))))) OR unaccent (COALESCE("product_template__description"."value", "product_template"."description")) ilike unaccent ('%k303-22%')) OR unaccent (COALESCE("product_template__description_sale"."value", "product_template"."description_sale")) ilike unaccent ('%k303-22%')))) ORDER BY COALESCE("product_template"."is_published", false) DESC, "product_template"."website_sequence" ASC, "product_template"."id" DESC LIMIT 5;
Date: 2022-12-01 14:40:09 Duration: 1s997ms
-
SELECT "product_template".id FROM "product_template" LEFT JOIN "ir_translation" AS "product_template__description_sale" ON ("product_template"."id" = "product_template__description_sale"."res_id" AND "product_template__description_sale"."type" = 'model' AND "product_template__description_sale"."name" = 'product.template,description_sale' AND "product_template__description_sale"."lang" = 'en_US' AND "product_template__description_sale"."value" != '') LEFT JOIN "ir_translation" AS "product_template__description" ON ("product_template"."id" = "product_template__description"."res_id" AND "product_template__description"."type" = 'model' AND "product_template__description"."name" = 'product.template,description' AND "product_template__description"."lang" = 'en_US' AND "product_template__description"."value" != '') LEFT JOIN "ir_translation" AS "product_template__name" ON ("product_template"."id" = "product_template__name"."res_id" AND "product_template__name"."type" = 'model' AND "product_template__name"."name" = 'product.template,name' AND "product_template__name"."lang" = 'en_US' AND "product_template__name"."value" != '') WHERE (("product_template"."active" = true) AND ((("product_template"."sale_ok" = true) AND (("product_template"."website_id" in (1)) OR "product_template"."website_id" IS NULL)) AND (((((unaccent (COALESCE("product_template__name"."value", "product_template"."name")) ilike unaccent ('%057977%') OR ("product_template"."id" IN ( SELECT "product_product"."product_tmpl_id" FROM "product_product" WHERE (("product_product"."active" = true) AND (unaccent ("product_product"."default_code"::text) ilike unaccent ('%057977%')))))) OR ("product_template"."id" IN ( SELECT "product_product"."product_tmpl_id" FROM "product_product" WHERE (("product_product"."active" = true) AND (unaccent ("product_product"."condensed_internal_ref"::text) ilike unaccent ('%057977%')))))) OR ("product_template"."inventory_vendor_id" in ( SELECT "psd_custom_inventory_vendor".id FROM "psd_custom_inventory_vendor" WHERE (unaccent ("psd_custom_inventory_vendor"."name"::text) ilike unaccent ('%057977%'))))) OR unaccent (COALESCE("product_template__description"."value", "product_template"."description")) ilike unaccent ('%057977%')) OR unaccent (COALESCE("product_template__description_sale"."value", "product_template"."description_sale")) ilike unaccent ('%057977%')))) ORDER BY COALESCE("product_template"."is_published", false) DESC, "product_template"."website_sequence" ASC, "product_template"."id" DESC LIMIT 5;
Date: 2022-12-01 14:42:35 Duration: 1s986ms
9 3m44s 259 555ms 2s371ms 867ms select count(?) from "product_template" left join "ir_translation" AS "product_template__description_sale" on ("product_template"."id" = "product_template__description_sale"."res_id" and "product_template__description_sale"."type" = ? and "product_template__description_sale"."name" = ? and "product_template__description_sale"."lang" = ? and "product_template__description_sale"."value" != ?) left join "ir_translation" AS "product_template__description" on ("product_template"."id" = "product_template__description"."res_id" and "product_template__description"."type" = ? and "product_template__description"."name" = ? and "product_template__description"."lang" = ? and "product_template__description"."value" != ?) left join "ir_translation" AS "product_template__name" on ("product_template"."id" = "product_template__name"."res_id" and "product_template__name"."type" = ? and "product_template__name"."name" = ? and "product_template__name"."lang" = ? and "product_template__name"."value" != ?) where (("product_template"."active" = true) and ((("product_template"."sale_ok" = true) and (("product_template"."website_id" in (...)) or "product_template"."website_id" is null)) and (((((unaccent (coalesce("product_template__name"."value", "product_template"."name")) ilike unaccent (?) or ("product_template"."id" in ( select "product_product"."product_tmpl_id" from "product_product" where (("product_product"."active" = true) and (unaccent ("product_product"."default_code"::text) ilike unaccent (?)))))) or ("product_template"."id" in ( select "product_product"."product_tmpl_id" from "product_product" where (("product_product"."active" = true) and (unaccent ("product_product"."condensed_internal_ref"::text) ilike unaccent (?)))))) or ("product_template"."inventory_vendor_id" in ( select "psd_custom_inventory_vendor".id from "psd_custom_inventory_vendor" where (unaccent ("psd_custom_inventory_vendor"."name"::text) ilike unaccent (?))))) or unaccent (coalesce("product_template__description"."value", "product_template"."description")) ilike unaccent (?)) or unaccent (coalesce("product_template__description_sale"."value", "product_template"."description_sale")) ilike unaccent (?))));Times Reported Time consuming queries #9
Day Hour Count Duration Avg duration Dec 01 00 2 1s347ms 673ms 12 35 31s129ms 889ms 13 22 19s122ms 869ms 14 44 42s313ms 961ms 15 30 24s312ms 810ms 16 29 24s844ms 856ms 17 49 40s757ms 831ms 18 8 7s46ms 880ms 20 14 12s738ms 909ms 21 9 7s301ms 811ms 22 17 13s727ms 807ms -
SELECT count(1) FROM "product_template" LEFT JOIN "ir_translation" AS "product_template__description_sale" ON ("product_template"."id" = "product_template__description_sale"."res_id" AND "product_template__description_sale"."type" = 'model' AND "product_template__description_sale"."name" = 'product.template,description_sale' AND "product_template__description_sale"."lang" = 'en_US' AND "product_template__description_sale"."value" != '') LEFT JOIN "ir_translation" AS "product_template__description" ON ("product_template"."id" = "product_template__description"."res_id" AND "product_template__description"."type" = 'model' AND "product_template__description"."name" = 'product.template,description' AND "product_template__description"."lang" = 'en_US' AND "product_template__description"."value" != '') LEFT JOIN "ir_translation" AS "product_template__name" ON ("product_template"."id" = "product_template__name"."res_id" AND "product_template__name"."type" = 'model' AND "product_template__name"."name" = 'product.template,name' AND "product_template__name"."lang" = 'en_US' AND "product_template__name"."value" != '') WHERE (("product_template"."active" = true) AND ((("product_template"."sale_ok" = true) AND (("product_template"."website_id" in (1)) OR "product_template"."website_id" IS NULL)) AND (((((unaccent (COALESCE("product_template__name"."value", "product_template"."name")) ilike unaccent ('%057%') OR ("product_template"."id" IN ( SELECT "product_product"."product_tmpl_id" FROM "product_product" WHERE (("product_product"."active" = true) AND (unaccent ("product_product"."default_code"::text) ilike unaccent ('%057%')))))) OR ("product_template"."id" IN ( SELECT "product_product"."product_tmpl_id" FROM "product_product" WHERE (("product_product"."active" = true) AND (unaccent ("product_product"."condensed_internal_ref"::text) ilike unaccent ('%057%')))))) OR ("product_template"."inventory_vendor_id" in ( SELECT "psd_custom_inventory_vendor".id FROM "psd_custom_inventory_vendor" WHERE (unaccent ("psd_custom_inventory_vendor"."name"::text) ilike unaccent ('%057%'))))) OR unaccent (COALESCE("product_template__description"."value", "product_template"."description")) ilike unaccent ('%057%')) OR unaccent (COALESCE("product_template__description_sale"."value", "product_template"."description_sale")) ilike unaccent ('%057%'))));
Date: 2022-12-01 14:42:35 Duration: 2s371ms
-
SELECT count(1) FROM "product_template" LEFT JOIN "ir_translation" AS "product_template__description_sale" ON ("product_template"."id" = "product_template__description_sale"."res_id" AND "product_template__description_sale"."type" = 'model' AND "product_template__description_sale"."name" = 'product.template,description_sale' AND "product_template__description_sale"."lang" = 'en_US' AND "product_template__description_sale"."value" != '') LEFT JOIN "ir_translation" AS "product_template__description" ON ("product_template"."id" = "product_template__description"."res_id" AND "product_template__description"."type" = 'model' AND "product_template__description"."name" = 'product.template,description' AND "product_template__description"."lang" = 'en_US' AND "product_template__description"."value" != '') LEFT JOIN "ir_translation" AS "product_template__name" ON ("product_template"."id" = "product_template__name"."res_id" AND "product_template__name"."type" = 'model' AND "product_template__name"."name" = 'product.template,name' AND "product_template__name"."lang" = 'en_US' AND "product_template__name"."value" != '') WHERE (("product_template"."active" = true) AND ((("product_template"."sale_ok" = true) AND (("product_template"."website_id" in (1)) OR "product_template"."website_id" IS NULL)) AND (((((unaccent (COALESCE("product_template__name"."value", "product_template"."name")) ilike unaccent ('%k303%') OR ("product_template"."id" IN ( SELECT "product_product"."product_tmpl_id" FROM "product_product" WHERE (("product_product"."active" = true) AND (unaccent ("product_product"."default_code"::text) ilike unaccent ('%k303%')))))) OR ("product_template"."id" IN ( SELECT "product_product"."product_tmpl_id" FROM "product_product" WHERE (("product_product"."active" = true) AND (unaccent ("product_product"."condensed_internal_ref"::text) ilike unaccent ('%k303%')))))) OR ("product_template"."inventory_vendor_id" in ( SELECT "psd_custom_inventory_vendor".id FROM "psd_custom_inventory_vendor" WHERE (unaccent ("psd_custom_inventory_vendor"."name"::text) ilike unaccent ('%k303%'))))) OR unaccent (COALESCE("product_template__description"."value", "product_template"."description")) ilike unaccent ('%k303%')) OR unaccent (COALESCE("product_template__description_sale"."value", "product_template"."description_sale")) ilike unaccent ('%k303%'))));
Date: 2022-12-01 14:40:09 Duration: 1s880ms
-
SELECT count(1) FROM "product_template" LEFT JOIN "ir_translation" AS "product_template__description_sale" ON ("product_template"."id" = "product_template__description_sale"."res_id" AND "product_template__description_sale"."type" = 'model' AND "product_template__description_sale"."name" = 'product.template,description_sale' AND "product_template__description_sale"."lang" = 'en_US' AND "product_template__description_sale"."value" != '') LEFT JOIN "ir_translation" AS "product_template__description" ON ("product_template"."id" = "product_template__description"."res_id" AND "product_template__description"."type" = 'model' AND "product_template__description"."name" = 'product.template,description' AND "product_template__description"."lang" = 'en_US' AND "product_template__description"."value" != '') LEFT JOIN "ir_translation" AS "product_template__name" ON ("product_template"."id" = "product_template__name"."res_id" AND "product_template__name"."type" = 'model' AND "product_template__name"."name" = 'product.template,name' AND "product_template__name"."lang" = 'en_US' AND "product_template__name"."value" != '') WHERE (("product_template"."active" = true) AND ((("product_template"."sale_ok" = true) AND (("product_template"."website_id" in (1)) OR "product_template"."website_id" IS NULL)) AND (((((unaccent (COALESCE("product_template__name"."value", "product_template"."name")) ilike unaccent ('%057977-000%') OR ("product_template"."id" IN ( SELECT "product_product"."product_tmpl_id" FROM "product_product" WHERE (("product_product"."active" = true) AND (unaccent ("product_product"."default_code"::text) ilike unaccent ('%057977-000%')))))) OR ("product_template"."id" IN ( SELECT "product_product"."product_tmpl_id" FROM "product_product" WHERE (("product_product"."active" = true) AND (unaccent ("product_product"."condensed_internal_ref"::text) ilike unaccent ('%057977-000%')))))) OR ("product_template"."inventory_vendor_id" in ( SELECT "psd_custom_inventory_vendor".id FROM "psd_custom_inventory_vendor" WHERE (unaccent ("psd_custom_inventory_vendor"."name"::text) ilike unaccent ('%057977-000%'))))) OR unaccent (COALESCE("product_template__description"."value", "product_template"."description")) ilike unaccent ('%057977-000%')) OR unaccent (COALESCE("product_template__description_sale"."value", "product_template"."description_sale")) ilike unaccent ('%057977-000%'))));
Date: 2022-12-01 14:42:46 Duration: 1s619ms
10 3m41s 1,235 150ms 460ms 179ms select date_part(?, invoice_date) as year, date_part(?, invoice_date) as month, date_part(?, invoice_date) as day, product_id, sum(product_uom_qty) as total from item_list_line where product_id = ? and item_demand_plan_id = ? group by product_id, date_part(?, invoice_date), date_part(?, invoice_date), date_part(?, invoice_date) order by date_part(?, invoice_date), date_part(?, invoice_date), date_part(?, invoice_date);Times Reported Time consuming queries #10
Day Hour Count Duration Avg duration Dec 01 02 65 11s884ms 182ms 03 66 12s407ms 187ms 08 238 37s831ms 158ms 14 74 14s425ms 194ms 15 65 12s83ms 185ms 16 171 33s537ms 196ms 17 84 14s319ms 170ms 18 186 34s519ms 185ms 19 37 6s553ms 177ms 20 65 11s513ms 177ms 23 184 32s655ms 177ms -
select date_part('year', invoice_date) as Year, date_part('month', invoice_date) as Month, date_part('day', invoice_date) as day, product_id, sum(product_uom_qty) as total from item_list_line where product_id = 183631 and item_demand_plan_id = 1018 group by product_id, date_part('month', invoice_date), date_part('year', invoice_date), date_part('day', invoice_date) order by date_part('year', invoice_date), date_part('month', invoice_date), date_part('day', invoice_date);
Date: 2022-12-01 16:07:17 Duration: 460ms
-
select date_part('year', invoice_date) as Year, date_part('month', invoice_date) as Month, date_part('day', invoice_date) as day, product_id, sum(product_uom_qty) as total from item_list_line where product_id = 183896 and item_demand_plan_id = 1013 group by product_id, date_part('month', invoice_date), date_part('year', invoice_date), date_part('day', invoice_date) order by date_part('year', invoice_date), date_part('month', invoice_date), date_part('day', invoice_date);
Date: 2022-12-01 14:41:46 Duration: 448ms
-
select date_part('year', invoice_date) as Year, date_part('month', invoice_date) as Month, date_part('day', invoice_date) as day, product_id, sum(product_uom_qty) as total from item_list_line where product_id = 183835 and item_demand_plan_id = 1018 group by product_id, date_part('month', invoice_date), date_part('year', invoice_date), date_part('day', invoice_date) order by date_part('year', invoice_date), date_part('month', invoice_date), date_part('day', invoice_date);
Date: 2022-12-01 16:08:03 Duration: 432ms
11 3m40s 249 796ms 2s24ms 886ms select "product_template".id from "product_template" left join "ir_translation" AS "product_template__description_sale" on ("product_template"."id" = "product_template__description_sale"."res_id" and "product_template__description_sale"."type" = ? and "product_template__description_sale"."name" = ? and "product_template__description_sale"."lang" = ? and "product_template__description_sale"."value" != ?) left join "ir_translation" AS "product_template__description" on ("product_template"."id" = "product_template__description"."res_id" and "product_template__description"."type" = ? and "product_template__description"."name" = ? and "product_template__description"."lang" = ? and "product_template__description"."value" != ?) left join "ir_translation" AS "product_template__name" on ("product_template"."id" = "product_template__name"."res_id" and "product_template__name"."type" = ? and "product_template__name"."name" = ? and "product_template__name"."lang" = ? and "product_template__name"."value" != ?) where (("product_template"."active" = true) and ((("product_template"."sale_ok" = true) and (("product_template"."website_id" in (...)) or "product_template"."website_id" is null)) and (((((unaccent (coalesce("product_template__name"."value", "product_template"."name")) ilike unaccent (?) or ("product_template"."id" in ( select "product_product"."product_tmpl_id" from "product_product" where (("product_product"."active" = true) and (unaccent ("product_product"."default_code"::text) ilike unaccent (?)))))) or ("product_template"."id" in ( select "product_product"."product_tmpl_id" from "product_product" where (("product_product"."active" = true) and (unaccent ("product_product"."condensed_internal_ref"::text) ilike unaccent (?)))))) or ("product_template"."inventory_vendor_id" in ( select "psd_custom_inventory_vendor".id from "psd_custom_inventory_vendor" where (unaccent ("psd_custom_inventory_vendor"."name"::text) ilike unaccent (?))))) or unaccent (coalesce("product_template__description"."value", "product_template"."description")) ilike unaccent (?)) or unaccent (coalesce("product_template__description_sale"."value", "product_template"."description_sale")) ilike unaccent (?)))) order by coalesce("product_template"."is_published", false) desc, "product_template"."website_sequence" asc, "product_template"."id" desc;Times Reported Time consuming queries #11
Day Hour Count Duration Avg duration Dec 01 12 33 28s912ms 876ms 13 27 24s140ms 894ms 14 24 25s142ms 1s47ms 15 24 22s243ms 926ms 16 39 33s878ms 868ms 17 24 20s181ms 840ms 18 21 17s659ms 840ms 20 12 11s468ms 955ms 21 27 22s179ms 821ms 22 18 14s867ms 825ms -
SELECT "product_template".id FROM "product_template" LEFT JOIN "ir_translation" AS "product_template__description_sale" ON ("product_template"."id" = "product_template__description_sale"."res_id" AND "product_template__description_sale"."type" = 'model' AND "product_template__description_sale"."name" = 'product.template,description_sale' AND "product_template__description_sale"."lang" = 'en_US' AND "product_template__description_sale"."value" != '') LEFT JOIN "ir_translation" AS "product_template__description" ON ("product_template"."id" = "product_template__description"."res_id" AND "product_template__description"."type" = 'model' AND "product_template__description"."name" = 'product.template,description' AND "product_template__description"."lang" = 'en_US' AND "product_template__description"."value" != '') LEFT JOIN "ir_translation" AS "product_template__name" ON ("product_template"."id" = "product_template__name"."res_id" AND "product_template__name"."type" = 'model' AND "product_template__name"."name" = 'product.template,name' AND "product_template__name"."lang" = 'en_US' AND "product_template__name"."value" != '') WHERE (("product_template"."active" = true) AND ((("product_template"."sale_ok" = true) AND (("product_template"."website_id" in (1)) OR "product_template"."website_id" IS NULL)) AND (((((unaccent (COALESCE("product_template__name"."value", "product_template"."name")) ilike unaccent ('%057977-000%') OR ("product_template"."id" IN ( SELECT "product_product"."product_tmpl_id" FROM "product_product" WHERE (("product_product"."active" = true) AND (unaccent ("product_product"."default_code"::text) ilike unaccent ('%057977-000%')))))) OR ("product_template"."id" IN ( SELECT "product_product"."product_tmpl_id" FROM "product_product" WHERE (("product_product"."active" = true) AND (unaccent ("product_product"."condensed_internal_ref"::text) ilike unaccent ('%057977-000%')))))) OR ("product_template"."inventory_vendor_id" in ( SELECT "psd_custom_inventory_vendor".id FROM "psd_custom_inventory_vendor" WHERE (unaccent ("psd_custom_inventory_vendor"."name"::text) ilike unaccent ('%057977-000%'))))) OR unaccent (COALESCE("product_template__description"."value", "product_template"."description")) ilike unaccent ('%057977-000%')) OR unaccent (COALESCE("product_template__description_sale"."value", "product_template"."description_sale")) ilike unaccent ('%057977-000%')))) ORDER BY COALESCE("product_template"."is_published", false) DESC, "product_template"."website_sequence" ASC, "product_template"."id" DESC;
Date: 2022-12-01 14:42:47 Duration: 2s24ms
-
SELECT "product_template".id FROM "product_template" LEFT JOIN "ir_translation" AS "product_template__description_sale" ON ("product_template"."id" = "product_template__description_sale"."res_id" AND "product_template__description_sale"."type" = 'model' AND "product_template__description_sale"."name" = 'product.template,description_sale' AND "product_template__description_sale"."lang" = 'en_US' AND "product_template__description_sale"."value" != '') LEFT JOIN "ir_translation" AS "product_template__description" ON ("product_template"."id" = "product_template__description"."res_id" AND "product_template__description"."type" = 'model' AND "product_template__description"."name" = 'product.template,description' AND "product_template__description"."lang" = 'en_US' AND "product_template__description"."value" != '') LEFT JOIN "ir_translation" AS "product_template__name" ON ("product_template"."id" = "product_template__name"."res_id" AND "product_template__name"."type" = 'model' AND "product_template__name"."name" = 'product.template,name' AND "product_template__name"."lang" = 'en_US' AND "product_template__name"."value" != '') WHERE (("product_template"."active" = true) AND ((("product_template"."sale_ok" = true) AND (("product_template"."website_id" in (1)) OR "product_template"."website_id" IS NULL)) AND (((((unaccent (COALESCE("product_template__name"."value", "product_template"."name")) ilike unaccent ('%k303-22%') OR ("product_template"."id" IN ( SELECT "product_product"."product_tmpl_id" FROM "product_product" WHERE (("product_product"."active" = true) AND (unaccent ("product_product"."default_code"::text) ilike unaccent ('%k303-22%')))))) OR ("product_template"."id" IN ( SELECT "product_product"."product_tmpl_id" FROM "product_product" WHERE (("product_product"."active" = true) AND (unaccent ("product_product"."condensed_internal_ref"::text) ilike unaccent ('%k303-22%')))))) OR ("product_template"."inventory_vendor_id" in ( SELECT "psd_custom_inventory_vendor".id FROM "psd_custom_inventory_vendor" WHERE (unaccent ("psd_custom_inventory_vendor"."name"::text) ilike unaccent ('%k303-22%'))))) OR unaccent (COALESCE("product_template__description"."value", "product_template"."description")) ilike unaccent ('%k303-22%')) OR unaccent (COALESCE("product_template__description_sale"."value", "product_template"."description_sale")) ilike unaccent ('%k303-22%')))) ORDER BY COALESCE("product_template"."is_published", false) DESC, "product_template"."website_sequence" ASC, "product_template"."id" DESC;
Date: 2022-12-01 14:40:08 Duration: 1s874ms
-
SELECT "product_template".id FROM "product_template" LEFT JOIN "ir_translation" AS "product_template__description_sale" ON ("product_template"."id" = "product_template__description_sale"."res_id" AND "product_template__description_sale"."type" = 'model' AND "product_template__description_sale"."name" = 'product.template,description_sale' AND "product_template__description_sale"."lang" = 'en_US' AND "product_template__description_sale"."value" != '') LEFT JOIN "ir_translation" AS "product_template__description" ON ("product_template"."id" = "product_template__description"."res_id" AND "product_template__description"."type" = 'model' AND "product_template__description"."name" = 'product.template,description' AND "product_template__description"."lang" = 'en_US' AND "product_template__description"."value" != '') LEFT JOIN "ir_translation" AS "product_template__name" ON ("product_template"."id" = "product_template__name"."res_id" AND "product_template__name"."type" = 'model' AND "product_template__name"."name" = 'product.template,name' AND "product_template__name"."lang" = 'en_US' AND "product_template__name"."value" != '') WHERE (("product_template"."active" = true) AND ((("product_template"."sale_ok" = true) AND (("product_template"."website_id" in (1)) OR "product_template"."website_id" IS NULL)) AND (((((unaccent (COALESCE("product_template__name"."value", "product_template"."name")) ilike unaccent ('%e10914%') OR ("product_template"."id" IN ( SELECT "product_product"."product_tmpl_id" FROM "product_product" WHERE (("product_product"."active" = true) AND (unaccent ("product_product"."default_code"::text) ilike unaccent ('%e10914%')))))) OR ("product_template"."id" IN ( SELECT "product_product"."product_tmpl_id" FROM "product_product" WHERE (("product_product"."active" = true) AND (unaccent ("product_product"."condensed_internal_ref"::text) ilike unaccent ('%e10914%')))))) OR ("product_template"."inventory_vendor_id" in ( SELECT "psd_custom_inventory_vendor".id FROM "psd_custom_inventory_vendor" WHERE (unaccent ("psd_custom_inventory_vendor"."name"::text) ilike unaccent ('%e10914%'))))) OR unaccent (COALESCE("product_template__description"."value", "product_template"."description")) ilike unaccent ('%e10914%')) OR unaccent (COALESCE("product_template__description_sale"."value", "product_template"."description_sale")) ilike unaccent ('%e10914%')))) ORDER BY COALESCE("product_template"."is_published", false) DESC, "product_template"."website_sequence" ASC, "product_template"."id" DESC;
Date: 2022-12-01 15:56:39 Duration: 1s697ms
12 3m39s 1,264 151ms 826ms 173ms select res_partner.id from "res_partner" where ("res_partner"."active" = true) and (((("res_partner"."partner_share" is null or "res_partner"."partner_share" = false) or ("res_partner"."company_id" in (...))) or "res_partner"."company_id" is null) and (((("res_partner"."type" != ?) or "res_partner"."type" is null) or "res_partner"."type" is null) or ("res_partner"."type" = ?))) and (unaccent (res_partner.email) ilike unaccent (?) or unaccent (res_partner.display_name) ilike unaccent (?) or unaccent (res_partner.ref) ilike unaccent (?) or unaccent (res_partner.vat) ilike unaccent (?)) unaccent (res_partner.display_name);Times Reported Time consuming queries #12
Day Hour Count Duration Avg duration Dec 01 02 9 1s541ms 171ms 11 7 1s104ms 157ms 12 29 4s641ms 160ms 13 90 15s168ms 168ms 14 306 55s300ms 180ms 15 169 28s426ms 168ms 16 278 51s268ms 184ms 17 68 10s962ms 161ms 18 97 16s996ms 175ms 19 57 9s397ms 164ms 20 76 12s399ms 163ms 21 59 9s638ms 163ms 22 18 2s802ms 155ms 23 1 156ms 156ms -
SELECT res_partner.id FROM "res_partner" WHERE ("res_partner"."active" = true) AND (((("res_partner"."partner_share" IS NULL or "res_partner"."partner_share" = false) OR ("res_partner"."company_id" in (1))) OR "res_partner"."company_id" IS NULL) AND (((("res_partner"."type" != 'private') OR "res_partner"."type" IS NULL) OR "res_partner"."type" IS NULL) OR ("res_partner"."type" = 'private'))) AND (unaccent (res_partner.email) ilike unaccent ('%reds%') OR unaccent (res_partner.display_name) ilike unaccent ('%reds%') OR unaccent (res_partner.ref) ilike unaccent ('%reds%') OR unaccent (res_partner.vat) ilike unaccent ('reds')) -- don't panic, trust postgres bitmap ORDER BY unaccent (res_partner.display_name) ilike unaccent ('%reds%') desc, unaccent (res_partner.display_name);
Date: 2022-12-01 16:08:02 Duration: 826ms
-
SELECT res_partner.id FROM "res_partner" WHERE ("res_partner"."active" = true) AND (((("res_partner"."partner_share" IS NULL or "res_partner"."partner_share" = false) OR ("res_partner"."company_id" in (1))) OR "res_partner"."company_id" IS NULL) AND (((("res_partner"."type" != 'private') OR "res_partner"."type" IS NULL) OR "res_partner"."type" IS NULL) OR ("res_partner"."type" = 'private'))) AND (unaccent (res_partner.email) ilike unaccent ('%30264%') OR unaccent (res_partner.display_name) ilike unaccent ('%30264%') OR unaccent (res_partner.ref) ilike unaccent ('%30264%') OR unaccent (res_partner.vat) ilike unaccent ('30264')) -- don't panic, trust postgres bitmap ORDER BY unaccent (res_partner.display_name) ilike unaccent ('%30264%') desc, unaccent (res_partner.display_name);
Date: 2022-12-01 14:38:54 Duration: 772ms
-
SELECT res_partner.id FROM "res_partner" WHERE ("res_partner"."active" = true) AND (((("res_partner"."partner_share" IS NULL or "res_partner"."partner_share" = false) OR ("res_partner"."company_id" in (1))) OR "res_partner"."company_id" IS NULL) AND (((("res_partner"."type" != 'private') OR "res_partner"."type" IS NULL) OR "res_partner"."type" IS NULL) OR ("res_partner"."type" = 'private'))) AND (unaccent (res_partner.email) ilike unaccent ('%32294%') OR unaccent (res_partner.display_name) ilike unaccent ('%32294%') OR unaccent (res_partner.ref) ilike unaccent ('%32294%') OR unaccent (res_partner.vat) ilike unaccent ('32294')) -- don't panic, trust postgres bitmap ORDER BY unaccent (res_partner.display_name) ilike unaccent ('%32294%') desc, unaccent (res_partner.display_name);
Date: 2022-12-01 14:38:56 Duration: 665ms
13 3m31s 776 188ms 708ms 271ms select count(id) as total_count from item_list_line where item_demand_plan_id = ? and active = true;Times Reported Time consuming queries #13
Day Hour Count Duration Avg duration Dec 01 02 73 18s941ms 259ms 03 87 23s664ms 272ms 11 1 197ms 197ms 13 58 13s625ms 234ms 14 78 22s374ms 286ms 15 39 10s417ms 267ms 16 119 35s158ms 295ms 17 17 4s53ms 238ms 18 91 26s168ms 287ms 19 30 8s127ms 270ms 20 15 3s917ms 261ms 21 14 3s350ms 239ms 23 154 41s27ms 266ms -
select count(id) as total_count from item_list_line where item_demand_plan_id = 1018 and active = True;
Date: 2022-12-01 16:08:01 Duration: 708ms
-
select count(id) as total_count from item_list_line where item_demand_plan_id = 1013 and active = True;
Date: 2022-12-01 14:38:56 Duration: 664ms
-
select count(id) as total_count from item_list_line where item_demand_plan_id = 1027 and active = True;
Date: 2022-12-01 19:02:54 Duration: 643ms
14 3m14s 647 147ms 6s872ms 301ms update "stock_move" set "state" = ?, "write_uid" = ?, "write_date" = (now() at time zone ?) where id in (...);Times Reported Time consuming queries #14
Day Hour Count Duration Avg duration Dec 01 00 2 308ms 154ms 03 1 150ms 150ms 11 1 150ms 150ms 12 24 5s774ms 240ms 13 70 18s342ms 262ms 14 75 31s771ms 423ms 15 107 28s825ms 269ms 16 97 26s362ms 271ms 17 43 12s89ms 281ms 18 58 19s926ms 343ms 19 53 14s625ms 275ms 20 60 17s819ms 296ms 21 46 15s710ms 341ms 22 4 1s64ms 266ms 23 6 2s46ms 341ms -
UPDATE "stock_move" SET "state" = 'confirmed', "write_uid" = 1003, "write_date" = (now() at time zone 'UTC') WHERE id IN (167298, 167299, 167300, 167301, 167302, 167303, 167304, 167305, 167308, 167310, 167311, 167316, 167227, 167228, 167229, 167230, 167231, 167232, 167253, 167255, 167256, 167257, 167258, 167259, 167260, 167268, 167269, 167270, 167272, 167275, 167277, 167281, 167284, 167285, 167287, 167288, 167289, 167290, 167293, 167294);
Date: 2022-12-01 21:04:33 Duration: 6s872ms
-
UPDATE "stock_move" SET "state" = 'assigned', "write_uid" = 1037, "write_date" = (now() at time zone 'UTC') WHERE id IN (166603, 166604, 166605, 166606, 166607, 166608, 166609, 166610, 166611, 166612, 166613, 166614, 166615, 166616, 166617, 166618, 166619, 166620, 166621, 166622, 166623, 166624, 166625, 166626, 166627);
Date: 2022-12-01 18:22:19 Duration: 3s993ms
-
UPDATE "stock_move" SET "state" = 'assigned', "write_uid" = 997, "write_date" = (now() at time zone 'UTC') WHERE id IN (165713, 165714, 165715, 165716, 165717, 165718, 165719, 165720, 165721, 165722, 165723, 165724, 165725, 165726, 165727, 165728, 165729, 165730, 165731, 165732, 165733, 165734);
Date: 2022-12-01 14:52:47 Duration: 3s444ms
15 3m11s 331 512ms 1s250ms 578ms select product_product.id from "product_product" left join "product_template" AS "product_product__product_tmpl_id" on ("product_product"."product_tmpl_id" = "product_product__product_tmpl_id"."id") left join "ir_translation" AS "product_product__product_tmpl_id__name" on ("product_product__product_tmpl_id"."id" = "product_product__product_tmpl_id__name"."res_id" and "product_product__product_tmpl_id__name"."type" = ? and "product_product__product_tmpl_id__name"."name" = ? and "product_product__product_tmpl_id__name"."lang" = ? and "product_product__product_tmpl_id__name"."value" != ?) where (((unaccent ("product_product"."condensed_internal_ref"::text) ilike unaccent (?)) or (unaccent ("product_product"."default_code"::text) ilike unaccent (?))) or unaccent (coalesce("product_product__product_tmpl_id__name"."value", "product_product__product_tmpl_id"."name")) ilike unaccent (?)) and (("product_product__product_tmpl_id"."company_id" in (...)) or "product_product__product_tmpl_id"."company_id" is null) order by product_product.default_code, product_product.condensed_internal_ref;Times Reported Time consuming queries #15
Day Hour Count Duration Avg duration Dec 01 11 10 5s366ms 536ms 12 2 1s81ms 540ms 13 23 12s800ms 556ms 14 57 34s753ms 609ms 15 63 37s152ms 589ms 16 73 42s747ms 585ms 17 18 9s955ms 553ms 18 31 17s515ms 565ms 19 26 14s80ms 541ms 20 21 12s245ms 583ms 21 7 3s729ms 532ms -
SELECT product_product.id FROM "product_product" LEFT JOIN "product_template" AS "product_product__product_tmpl_id" ON ("product_product"."product_tmpl_id" = "product_product__product_tmpl_id"."id") LEFT JOIN "ir_translation" AS "product_product__product_tmpl_id__name" ON ("product_product__product_tmpl_id"."id" = "product_product__product_tmpl_id__name"."res_id" AND "product_product__product_tmpl_id__name"."type" = 'model' AND "product_product__product_tmpl_id__name"."name" = 'product.template,name' AND "product_product__product_tmpl_id__name"."lang" = 'en_US' AND "product_product__product_tmpl_id__name"."value" != '') WHERE (((unaccent ("product_product"."condensed_internal_ref"::text) ilike unaccent ('%%5541095%%')) OR (unaccent ("product_product"."default_code"::text) ilike unaccent ('%5541095%'))) OR unaccent (COALESCE("product_product__product_tmpl_id__name"."value", "product_product__product_tmpl_id"."name")) ilike unaccent ('%5541095%')) AND (("product_product__product_tmpl_id"."company_id" in (1)) OR "product_product__product_tmpl_id"."company_id" IS NULL) ORDER BY product_product.default_code, product_product.condensed_internal_ref;
Date: 2022-12-01 16:23:10 Duration: 1s250ms
-
SELECT product_product.id FROM "product_product" LEFT JOIN "product_template" AS "product_product__product_tmpl_id" ON ("product_product"."product_tmpl_id" = "product_product__product_tmpl_id"."id") LEFT JOIN "ir_translation" AS "product_product__product_tmpl_id__name" ON ("product_product__product_tmpl_id"."id" = "product_product__product_tmpl_id__name"."res_id" AND "product_product__product_tmpl_id__name"."type" = 'model' AND "product_product__product_tmpl_id__name"."name" = 'product.template,name' AND "product_product__product_tmpl_id__name"."lang" = 'en_US' AND "product_product__product_tmpl_id__name"."value" != '') WHERE (((unaccent ("product_product"."condensed_internal_ref"::text) ilike unaccent ('%%munnel%%')) OR (unaccent ("product_product"."default_code"::text) ilike unaccent ('%munnel%'))) OR unaccent (COALESCE("product_product__product_tmpl_id__name"."value", "product_product__product_tmpl_id"."name")) ilike unaccent ('%munnel%')) AND (("product_product__product_tmpl_id"."company_id" in (1)) OR "product_product__product_tmpl_id"."company_id" IS NULL) ORDER BY product_product.default_code, product_product.condensed_internal_ref;
Date: 2022-12-01 14:41:46 Duration: 1s153ms
-
SELECT product_product.id FROM "product_product" LEFT JOIN "product_template" AS "product_product__product_tmpl_id" ON ("product_product"."product_tmpl_id" = "product_product__product_tmpl_id"."id") LEFT JOIN "ir_translation" AS "product_product__product_tmpl_id__name" ON ("product_product__product_tmpl_id"."id" = "product_product__product_tmpl_id__name"."res_id" AND "product_product__product_tmpl_id__name"."type" = 'model' AND "product_product__product_tmpl_id__name"."name" = 'product.template,name' AND "product_product__product_tmpl_id__name"."lang" = 'en_US' AND "product_product__product_tmpl_id__name"."value" != '') WHERE (((unaccent ("product_product"."condensed_internal_ref"::text) ilike unaccent ('%%gaff1326%%')) OR (unaccent ("product_product"."default_code"::text) ilike unaccent ('%gaff1326%'))) OR unaccent (COALESCE("product_product__product_tmpl_id__name"."value", "product_product__product_tmpl_id"."name")) ilike unaccent ('%gaff1326%')) AND (("product_product__product_tmpl_id"."company_id" in (1)) OR "product_product__product_tmpl_id"."company_id" IS NULL) ORDER BY product_product.default_code, product_product.condensed_internal_ref;
Date: 2022-12-01 15:51:09 Duration: 1s78ms
16 2m57s 776 160ms 601ms 229ms select ill.item_demand_plan_id from item_list_line ill left join item_demand_plan as idp on ill.item_demand_plan_id = idp.id where ill.method is null and idp.active = true and ill.item_demand_plan_id = ? group by ill.item_demand_plan_id having count(ill.id) > ?;Times Reported Time consuming queries #16
Day Hour Count Duration Avg duration Dec 01 02 73 15s481ms 212ms 03 87 19s364ms 222ms 11 1 173ms 173ms 13 58 11s588ms 199ms 14 78 18s463ms 236ms 15 39 9s104ms 233ms 16 119 30s680ms 257ms 17 17 3s409ms 200ms 18 91 21s932ms 241ms 19 30 7s114ms 237ms 20 15 3s272ms 218ms 21 14 2s818ms 201ms 23 154 34s497ms 224ms -
select ill.item_demand_plan_id from item_list_line ill LEFT JOIN item_demand_plan as idp ON ill.item_demand_plan_id = idp.id where ill.method is NULL and idp.active = True and ill.item_demand_plan_id = 1027 GROUP BY ill.item_demand_plan_id having count(ill.id) > 0;
Date: 2022-12-01 19:02:55 Duration: 601ms
-
select ill.item_demand_plan_id from item_list_line ill LEFT JOIN item_demand_plan as idp ON ill.item_demand_plan_id = idp.id where ill.method is NULL and idp.active = True and ill.item_demand_plan_id = 1013 GROUP BY ill.item_demand_plan_id having count(ill.id) > 0;
Date: 2022-12-01 14:38:53 Duration: 558ms
-
select ill.item_demand_plan_id from item_list_line ill LEFT JOIN item_demand_plan as idp ON ill.item_demand_plan_id = idp.id where ill.method is NULL and idp.active = True and ill.item_demand_plan_id = 1018 GROUP BY ill.item_demand_plan_id having count(ill.id) > 0;
Date: 2022-12-01 16:07:16 Duration: 539ms
17 2m53s 883 137ms 492ms 196ms select "item_list_line".id from "item_list_line" where ("item_list_line"."item_demand_plan_id" in (...)) order by "item_list_line"."id";Times Reported Time consuming queries #17
Day Hour Count Duration Avg duration Dec 01 02 95 17s340ms 182ms 03 116 22s685ms 195ms 11 1 148ms 148ms 13 61 10s491ms 171ms 14 84 16s967ms 201ms 15 46 9s22ms 196ms 16 131 27s571ms 210ms 17 20 3s836ms 191ms 18 98 21s302ms 217ms 19 36 7s374ms 204ms 20 17 3s83ms 181ms 21 14 2s444ms 174ms 23 164 31s310ms 190ms -
SELECT "item_list_line".id FROM "item_list_line" WHERE ("item_list_line"."item_demand_plan_id" in (1013)) ORDER BY "item_list_line"."id";
Date: 2022-12-01 14:38:55 Duration: 492ms
-
SELECT "item_list_line".id FROM "item_list_line" WHERE ("item_list_line"."item_demand_plan_id" in (1027)) ORDER BY "item_list_line"."id";
Date: 2022-12-01 19:02:53 Duration: 476ms
-
SELECT "item_list_line".id FROM "item_list_line" WHERE ("item_list_line"."item_demand_plan_id" in (1020)) ORDER BY "item_list_line"."id";
Date: 2022-12-01 16:24:49 Duration: 452ms
18 2m36s 508 150ms 4s905ms 307ms update "stock_move" set "date" = ?, "is_done" = true, "state" = ?, "write_uid" = ?, "write_date" = (now() at time zone ?) where id in (...);Times Reported Time consuming queries #18
Day Hour Count Duration Avg duration Dec 01 11 1 152ms 152ms 12 10 2s506ms 250ms 13 60 17s445ms 290ms 14 67 22s230ms 331ms 15 83 27s782ms 334ms 16 71 20s685ms 291ms 17 23 6s610ms 287ms 18 29 14s67ms 485ms 19 33 13s324ms 403ms 20 100 25s341ms 253ms 21 29 5s541ms 191ms 22 2 770ms 385ms -
UPDATE "stock_move" SET "date" = '2022-12-01 15:58:52', "is_done" = true, "state" = 'done', "write_uid" = 969, "write_date" = (now() at time zone 'UTC') WHERE id IN (165925, 165926, 165927, 165931, 165934, 165935, 145460, 165951, 165952, 165955, 165956, 131655, 131656, 131657, 131658, 131659, 131660, 131661, 131662, 131663, 131664, 131665, 131666, 131667, 131668, 131669, 131670, 165966, 165974, 165975, 165977, 166009);
Date: 2022-12-01 15:58:59 Duration: 4s905ms
-
UPDATE "stock_move" SET "date" = '2022-12-01 16:23:07', "is_done" = true, "state" = 'done', "write_uid" = 969, "write_date" = (now() at time zone 'UTC') WHERE id IN (166057, 166058, 166060, 166068, 166070, 166082, 166091, 166092, 166093, 166094, 166097, 162008, 166105, 166106, 166107, 166104, 166109, 166111, 166112, 166114, 163952);
Date: 2022-12-01 16:23:13 Duration: 4s139ms
-
UPDATE "stock_move" SET "date" = '2022-12-01 18:22:43', "is_done" = true, "state" = 'done', "write_uid" = 1037, "write_date" = (now() at time zone 'UTC') WHERE id IN (166602, 166603, 166604, 166605, 166606, 166607, 166608, 166609, 166610, 166611, 166612, 166613, 166614, 166615, 166616, 166617, 166618, 166619, 166620, 166621, 166622, 166623, 166624, 166625, 166626, 166627);
Date: 2022-12-01 18:22:51 Duration: 4s52ms
19 2m28s 1,173 120ms 289ms 126ms select "sale_history_line".id from "sale_history_line" where ("sale_history_line"."customer_id" in (...)) order by "sale_history_line"."id";Times Reported Time consuming queries #19
Day Hour Count Duration Avg duration Dec 01 02 18 3s271ms 181ms 06 41 5s284ms 128ms 07 45 5s739ms 127ms 08 41 5s287ms 128ms 09 43 5s543ms 128ms 10 326 40s785ms 125ms 11 640 1m20s 125ms 13 2 260ms 130ms 15 5 808ms 161ms 17 3 386ms 128ms 18 2 277ms 138ms 19 4 584ms 146ms 20 2 360ms 180ms 21 1 134ms 134ms -
SELECT "sale_history_line".id FROM "sale_history_line" WHERE ("sale_history_line"."customer_id" in (49768)) ORDER BY "sale_history_line"."id";
Date: 2022-12-01 02:41:15 Duration: 289ms
-
SELECT "sale_history_line".id FROM "sale_history_line" WHERE ("sale_history_line"."customer_id" in (37125)) ORDER BY "sale_history_line"."id";
Date: 2022-12-01 02:41:44 Duration: 243ms
-
SELECT "sale_history_line".id FROM "sale_history_line" WHERE ("sale_history_line"."customer_id" in (49768)) ORDER BY "sale_history_line"."id";
Date: 2022-12-01 02:41:15 Duration: 240ms
20 2m23s 5 1s941ms 54s259ms 28s654ms delete from edi_810_invoice where id in (...);Times Reported Time consuming queries #20
Day Hour Count Duration Avg duration Dec 01 10 5 2m23s 28s654ms -
DELETE FROM edi_810_invoice WHERE id IN (5700, 5709, 5717, 5718, 5736, 5738, 5751, 5758, 5789, 5791, 5799, 5811, 5815, 5826, 5840, 5864, 5867, 5868, 5879, 5885, 5887, 5912, 5920, 5922, 5926, 5928, 5939, 5968, 5972, 5981, 6005, 6021, 6032, 6038, 6043, 6049, 6050, 6054, 6056, 6071, 6080, 6086, 6087, 6091, 6098, 6116, 6123, 6133, 6138, 6142, 6162, 6193, 6205, 6211, 6214, 6223, 6224, 6236, 6253, 6258, 6267, 6270, 6297, 6324, 6327, 6328, 6340, 6367, 6368, 6371, 6393, 6394, 6399, 6425, 6427, 6433, 6435, 6463, 6475, 6479, 6491, 6498, 6502, 6512, 6537, 6563, 6596, 6625, 6637, 6649, 6654, 6664, 6679, 6691, 6713, 6729, 6736, 6742, 6745, 6749, 6760, 6788, 6808, 6823, 6835, 6843, 6856, 6860, 6861, 6870, 6890, 6897, 6898, 6903, 6906, 6913, 6923, 6925, 6927, 6947, 6984, 7004, 7007, 7071, 7072, 7088, 7092, 7098, 7103, 7131, 7134, 7139, 7147, 7155, 7172, 7180, 7184, 7206, 7242, 7259, 7266, 7271, 7298, 7311, 7323, 7342, 7350, 7352, 7360, 7369, 7401, 7402, 7406, 7420, 7459, 7464, 7497, 7546, 7553, 7564, 7567, 7583, 7590, 7592, 7600, 7621, 7624, 7645, 7665, 7698, 7703, 7706, 7708, 7721, 7725, 7730, 7765, 7780, 7811, 7815, 7833, 7837, 7840, 7860, 7874, 7879, 7885, 7889, 7891, 7892, 7907, 7953, 7955, 7959, 7961, 7976, 7979, 7992, 7993, 7995, 8005, 8006, 8028, 8047, 8086, 8089, 8101, 8102, 8107, 8133, 8167, 8180, 8187, 8215, 8216, 8234, 8238, 8249, 8261, 8273, 8283, 8286, 8310, 8314, 8329, 8332, 8336, 8361, 8368, 8375, 8386, 8403, 8426, 8429, 8437, 8460, 8494, 8496, 8502, 8532, 8535, 8538, 8548, 8572, 8574, 8582, 8591, 8596, 8613, 8617, 8636, 8652, 8677, 8680, 8687, 8705, 8724, 8727, 8728, 8739, 8774, 8778, 8786, 8813, 8820, 8821, 8835, 8855, 8856, 8863, 8876, 8892, 8923, 8935, 8941, 8954, 8962, 8978, 8995, 9004, 9006, 9045, 9049, 9053, 9061, 9074, 9077, 9127, 9142, 9185, 9280, 9285, 9294, 9307, 9324, 9329, 9350, 9366, 9367, 9370, 9375, 9391, 9392, 9400, 9407, 9418, 9421, 9431, 9439, 9451, 9462, 9495, 9511, 9520, 9523, 9534, 9558, 9570, 9576, 9584, 9590, 9592, 9593, 9594, 9619, 9625, 9632, 9664, 9668, 9679, 9682, 9708, 9710, 9719, 9720, 9721, 9743, 9744, 9754, 9777, 9799, 9800, 9813, 9816, 9821, 9848, 9851, 9864, 9878, 9879, 9886, 9887, 9908, 9909, 9935, 9951, 9969, 9981, 9989, 9995, 10011, 10019, 10043, 10045, 10065, 10088, 10118, 10120, 10127, 10133, 10146, 10147, 10154, 10155, 10156, 10164, 10167, 10168, 10172, 10177, 10196, 10239, 10253, 10258, 10264, 10265, 10278, 10279, 10288, 10292, 10307, 10317, 10320, 10333, 10335, 10359, 10387, 10402, 10410, 10424, 10430, 10433, 10438, 10439, 10445, 10458, 10465, 10484, 10487, 10502, 10519, 10521, 10529, 10531, 10539, 10575, 10612, 10617, 10630, 10632, 10655, 10664, 10691, 10701, 10703, 10704, 10708, 10740, 10742, 10745, 10791, 10805, 10809, 10810, 10811, 10817, 10823, 10829, 10893, 10908, 10956, 10959, 10962, 10969, 10971, 10977, 10982, 11017, 11020, 11041, 11044, 11051, 11068, 11080, 11093, 11101, 11105, 11120, 11124, 11170, 11173, 11178, 11189, 11196, 11201, 11202, 11206, 11214, 11221, 11233, 11246, 11255, 11272, 11273, 11283, 11289, 11301, 11314, 11322, 11326, 11327, 11350, 11367, 12269, 12270, 12271, 12272, 12273, 12274, 12275, 12276, 12277, 12278, 12279, 12280, 12281, 12282, 12283, 12284, 12285, 12286, 12287, 12288, 12289, 12290, 12291, 12292, 12293, 12294, 12295, 12296, 12297, 12298, 12299, 12300, 12301, 12302, 12303, 12304, 12305, 12306, 12307, 12308, 12309, 12310, 12311, 12312, 12313, 12314, 12315, 12316, 12317, 12318, 12319, 12320, 12321, 12322, 12323, 12324, 12325, 12326, 12327, 12328, 12329, 12330, 12331, 12332, 12333, 12334, 12335, 12336, 12337, 12338, 12339, 12340, 12341, 12342, 12343, 12344, 12345, 12346, 12347, 12348, 12349, 12350, 12351, 12352, 12353, 12354, 12355, 12356, 12357, 12358, 12359, 12360, 12361, 12362, 12363, 12364, 12365, 12366, 12367, 12368, 12369, 12370, 12371, 12372, 12373, 12374, 12375, 12376, 12377, 12378, 12379, 12380, 12381, 12382, 12383, 12384, 12385, 12386, 12387, 12388, 12389, 12390, 12391, 12392, 12393, 12394, 12395, 12396, 12397, 12398, 12399, 12400, 12401, 12402, 12403, 12404, 12405, 12406, 12407, 12408, 12409, 12410, 12411, 12412, 12413, 12414, 12415, 12416, 12417, 12418, 12419, 12420, 12421, 12422, 12423, 12424, 12425, 12426, 12427, 12428, 12429, 12430, 12431, 12432, 12433, 12434, 12435, 12436, 12437, 12438, 12439, 12440, 12441, 12442, 12443, 12444, 12445, 12446, 12447, 12448, 12449, 12450, 12451, 12452, 12453, 12454, 12455, 12456, 12457, 12458, 12459, 12460, 12461, 12462, 12463, 12464, 12465, 12466, 12467, 12468, 12469, 12470, 12471, 12472, 12473, 12474, 12475, 12476, 12477, 12478, 12479, 12480, 12481, 12482, 12483, 12484, 12485, 12486, 12487, 12488, 12489, 12490, 12491, 12492, 12493, 12494, 12495, 12496, 12497, 12498, 12499, 12500, 12501, 12502, 12503, 12504, 12505, 12506, 12507, 12508, 12509, 12510, 12511, 12512, 12513, 12514, 12515, 12516, 12517, 12518, 12519, 12520, 12521, 12522, 12523, 12524, 12525, 12526, 12527, 12528, 12529, 12530, 12531, 12532, 12533, 12534, 12535, 12536, 12537, 12538, 12539, 12540, 12541, 12542, 12543, 12544, 12545, 12546, 12547, 12548, 12549, 12550, 12551, 12552, 12553, 12554, 12555, 12556, 12557, 12558, 12559, 12560, 12561, 12562, 12563, 12564, 12565, 12566, 12567, 12568, 12569, 12570, 12571, 12572, 12573, 12574, 12575, 12576, 12577, 12578, 12579, 12580, 12581, 12582, 12583, 12584, 12585, 12586, 12587, 12588, 12589, 12590, 12591, 12592, 12593, 12594, 12595, 12596, 12597, 12598, 12599, 12600, 12601, 12602, 12603, 12604, 12605, 12606, 12607, 12608, 12609, 12610, 12611, 12612, 12613, 12614, 12615, 12616, 12617, 12618, 12619, 12620, 12621, 12622, 12623, 12624, 12625, 12626, 12627, 12628, 12629, 12630, 12631, 12632, 12633, 12634, 12635, 12636, 12637, 12638, 12639, 12640, 12641, 12642, 12643, 12644, 12645, 12646, 12647, 12648, 12649, 12650, 12651, 12652, 12653, 12654, 12655, 12656, 12657, 12658, 12659, 12660, 12661, 12662, 12663, 12664, 12665, 12666, 12667, 12668, 12669, 12670, 12671, 12672, 12673, 12674, 12675, 12676, 12677, 12678, 12679, 12680, 12681, 12682, 12683, 12684, 12685, 12686, 12687, 12688, 12689, 12690, 12691, 12692, 12693, 12694, 12695, 12696, 12697, 12698, 12699, 12700, 12701, 12702, 12703, 12704, 12705, 12706, 12707, 12708, 12709, 12710, 12711, 12712, 12713, 12714, 12715, 12716, 12717, 12718, 12719, 12720, 12721, 12722, 12723, 12724, 12725, 12726, 12727, 12728, 12729, 12730, 12731, 12732, 12733, 12734, 12735, 12736, 12737, 12738, 12739, 12740, 12741, 12742, 12743, 12744, 12745, 12746, 12747, 12748, 12749, 12750, 12751, 12752, 12753, 12754, 12755, 12756, 12757, 12758, 12759, 12760, 12761, 12762, 12763, 12764, 12765, 12766, 12767, 12768, 12769, 12770, 12771, 12772, 12773, 12774, 12775, 12776, 12777, 12778, 12779, 12780, 12781, 12782, 12783, 12784, 12785);
Date: 2022-12-01 10:10:12 Duration: 54s259ms
-
DELETE FROM edi_810_invoice WHERE id IN (13387, 13389, 13391, 13392, 13393, 13394, 13397, 13398, 13401, 13403, 13406, 13407, 13409, 13410, 13411, 13412, 13413, 13415, 13419, 13420, 13421, 13422, 13423, 13426, 13427, 13428, 13429, 13430, 13431, 13432, 13433, 13435, 13436, 13437, 13439, 13440, 13441, 13443, 13445, 13446, 13447, 13448, 13449, 13450, 13451, 13452, 13453, 13455, 13457, 13458, 13460, 13462, 13463, 13465, 13466, 13468, 13469, 13471, 13472, 13473, 13474, 13476, 13477, 13479, 13480, 13481, 13482, 13484, 13485, 13486, 13487, 13488, 13489, 13490, 13492, 13493, 13494, 13496, 13498, 13500, 13504, 13505, 13506, 13507, 13508, 13509, 13510, 13511, 13514, 13515, 13516, 13518, 13519, 13521, 13523, 13525, 13526, 13529, 13530, 13531, 13532, 13534, 13536, 13537, 13539, 13541, 13542, 13544, 13545, 13546, 13548, 13549, 13550, 13555, 13558, 13560, 13562, 13565, 13566, 13567, 13568, 13571, 13572, 13573, 13577, 13579, 13580, 13581, 13582, 13583, 13584, 13585, 13587, 13590, 13591, 13592, 13594, 13595, 13596, 13598, 13599, 13600, 13601, 13602, 13603, 13604, 13605, 13606, 13607, 13608, 13609, 13610, 13611, 13612, 13613, 13614, 13615, 13616, 13617, 13618, 13619, 13620, 13621, 13622, 13623, 13624, 13625, 13626, 13627, 13628, 13629, 13630, 13631, 13632, 13633, 13634, 13635, 13636, 13637, 13638, 13639, 13640, 13641, 13642, 13643, 13644, 13645, 13646, 13647, 13648, 13649, 13650, 13651, 13652, 13653, 13654, 13655, 13656, 13657, 13658, 13659, 13660, 13661, 13662, 13663, 13664, 13665, 13666, 13667, 13668, 13669, 13670, 13671, 13672, 13673, 13674, 13675, 13676, 13677, 13678, 13679, 13680, 13681, 13682, 13683, 13684, 13685, 13686, 13687, 13688, 13689, 13690, 13691, 13692, 13693, 13694, 13695, 13696, 13697, 13698, 13699, 13700, 13701, 13702, 13703, 13704, 13705, 13706, 13707, 13708, 13709, 13710, 13711, 13712, 13713, 13714, 13715, 13716, 13717, 13718, 13719, 13720, 13721, 13722, 13723, 13724, 13725, 13726, 13727, 13728, 13729, 13730, 13731, 13732, 13733, 13734, 13735, 13736, 13737, 13738, 13739, 13740, 13741, 13742, 13743, 13744, 13745, 13746, 13747, 13748, 13749, 13750, 13751, 13752, 13753, 13754, 13755, 13756, 13757, 13758, 13759, 13760, 13761, 13762, 13763, 13764, 13765, 13766, 13767, 13768, 13769, 13770, 13771, 13772, 13773, 13774, 13775, 13776, 13777, 13778, 13779, 13780, 13781, 13782, 13783, 13784, 13785, 13786, 13787, 13788, 13789, 13790, 13791, 13792, 13793, 13794, 13795, 13796, 13797, 13798, 13799, 13800, 13801, 13802, 13803, 13804, 13805, 13806, 13807, 13808, 13809, 13810, 13811, 13812, 13813, 13814, 13815, 13816, 13817, 13818, 13819, 13820, 13821, 13822, 13823, 13824, 13825, 13826, 13827, 13828, 13829, 13830, 13831, 13832, 13833, 13834, 13835, 13836, 13837, 13838, 13839, 13840, 13841, 13842, 13843, 13844, 13845, 13846, 13847, 13848, 13849, 13850, 13851, 13852, 13853, 13854, 13855, 13856, 13857, 13858, 13859, 13860, 13861, 13862, 13863, 13864, 13865, 13866, 13867, 13868, 13869, 13870, 13871, 13872, 13873, 13874, 13875, 13876, 13877, 13878, 13879, 13880, 13881, 13882, 13883, 13884, 13885, 13886, 13887, 13888, 13889, 13890, 13891, 13892, 13893, 13894, 13895, 13896, 13897, 13898, 13899, 13900, 13901, 13902, 13903, 13904, 13905, 13906, 13907, 13908, 13909, 13910, 13911, 13912, 13913, 13914, 13915, 13916, 13917, 13918, 13919, 13920, 13921, 13922, 13923, 13924, 13925, 13926, 13927, 13928, 13929, 13930, 13931, 13932, 13933, 13934, 13935, 13936, 13937, 13938, 13939, 13940, 13941, 13942, 13943, 13944, 13945, 13946, 13947, 13948, 13949, 13950, 13951, 13952, 13953, 13954, 13955, 13956, 13957, 13958, 13959, 13960, 13961, 13962, 13963, 13964, 13965, 13966, 13967, 13968, 13969, 13970, 13971, 13972, 13973, 13974, 13975, 13976, 13977, 13978, 13979, 13980, 13981, 13982, 13983, 13984, 13985, 13986, 13987, 13988, 13989, 13990, 13991, 13992, 13993, 13994, 13995, 13996, 13997, 13998, 13999, 14000, 14001, 14002, 14003, 14004, 14005, 14006, 14007, 14008, 14009, 14010, 14011, 14012, 14013, 14014, 14015, 14016, 14017, 14018, 14019, 14020, 14021, 14022, 14023, 14024, 14025, 14026, 14027, 14028, 14029, 14030, 14031, 14032, 14033, 14034, 14035, 14036, 14037, 14038, 14039, 14040, 14041, 14042, 14043, 14044, 14045, 14046, 14047, 14048, 14049, 14050, 14051, 14052, 14053, 14054, 14055, 14056, 14057, 14058, 14059, 14060, 14061, 14062, 14063, 14064, 14065, 14066, 14067, 14068, 14069, 14070, 14071, 14072, 14074, 14075, 14076, 14077, 14078, 14079, 14080, 14081, 14082, 14083, 14084, 14085, 14086, 14087, 14088, 14089, 14090, 14091, 14092, 14093, 14094, 14095, 14096, 14097, 14098, 14099, 14100, 14101, 14102, 14103, 14104, 14105, 14106, 14107, 14108, 14109, 14110, 14111, 14112, 14113, 14114, 14115, 14116, 14117, 14118, 14119, 14120, 14121, 14122, 14123, 14124, 14125, 14126, 14127, 14128, 14129, 14130, 14131, 14132, 14133, 14134, 14135, 14136, 14137, 14138, 14139, 14140, 14141, 14142, 14143, 14144, 14145, 14146, 14147, 14148, 14149, 14150, 14151, 14152, 14153, 14154, 14155, 14156, 14157, 14158, 14159, 14160, 14161, 14162, 14163, 14164, 14165, 14166, 14167, 14168, 14169, 14170, 14171, 14172, 14173, 14174, 14175, 14176, 14177, 14178, 14179, 14180, 14181, 14182, 14183, 14184, 14185, 14186, 14187, 14188, 14189, 14190, 14191, 14192, 14193, 14194, 14195, 14196, 14197, 14198, 14199, 14200, 14201, 14202, 14203, 14204, 14205, 14206, 14207, 14208, 14209, 14210, 14211, 14212, 14213, 14214, 14215, 14216, 14217, 14218, 14219, 14220, 14221, 14222, 14223, 14224, 14225, 14226, 14227, 14228, 14229, 14230, 14231, 14232, 14233, 14234, 14235, 14236, 14237, 14238, 14239, 14240, 14241, 14242, 14243, 14244, 14245, 14246, 14247, 14248, 14249, 14250, 14251, 14252, 14253, 14254, 14255, 14256, 14257, 14258, 14259, 14260, 14261, 14262, 14263, 14264, 14265, 14266, 14267, 14268, 14269, 14270, 14271, 14272, 14273, 14274, 14275, 14276, 14277, 14278, 14279, 14280, 14281, 14282, 14283, 14284, 14285, 14286, 14287, 14288, 14289, 14290, 14291, 14292, 14293, 14294, 14295, 14296, 14297, 14298, 14299, 14300, 14301, 14302, 14303, 14305, 14306, 14307, 14308, 14309, 14310, 14311, 14312, 14313, 14314, 14315, 14316, 14317, 14318, 14319, 14320, 14321, 14322, 14323, 14324, 14325, 14326, 14327, 14328, 14329, 14330, 14331, 14332, 14333, 14334, 14335, 14336, 14337, 14338, 14339, 14340, 14341, 14342, 14343, 14344, 14345, 14346, 14347, 14348, 14349, 14350, 14351, 14352, 14353, 14354, 14355, 14356, 14357, 14358, 14359, 14360, 14361, 14362, 14363, 14364, 14365, 14366, 14367, 14368, 14369, 14370, 14371, 14372, 14373, 14374, 14375, 14376, 14377, 14378, 14379, 14380, 14381, 14382, 14383, 14384, 14385, 14386, 14387, 14388, 14389, 14390, 14391, 14392, 14393, 14394, 14395, 14396, 14397, 14398, 14399, 14400, 14401, 14402, 14403, 14404, 14406, 14407, 14408, 14409, 14411, 14412, 14413, 14414, 14415, 14416, 14418, 14419, 14420, 14421, 14422, 14423, 14424, 14425, 14426, 14427, 14428, 14429, 14430, 14431, 14432, 14433, 14434, 14435, 14436, 14437, 14438, 14439, 14440, 14441, 14442, 14443, 14444, 14445, 14446, 14447, 14448, 14449, 14450, 14451, 14452, 14453, 14454, 14456, 14457, 14458, 14459, 14460, 14461, 14462, 14463, 14464);
Date: 2022-12-01 10:45:48 Duration: 51s325ms
-
DELETE FROM edi_810_invoice WHERE id IN (12786, 12787, 12788, 12789, 12790, 12791, 12792, 12793, 12794, 12795, 12796, 12797, 12798, 12799, 12800, 12801, 12802, 12803, 12804, 12805, 12806, 12807, 12808, 12809, 12810, 12811, 12812, 12813, 12814, 12815, 12816, 12817, 12818, 12819, 12820, 12821, 12822, 12823, 12824, 12825, 12826, 12827, 12828, 12829, 12830, 12831, 12832, 12833, 12834, 12835, 12836, 12837, 12838, 12839, 12840, 12841, 12842, 12843, 12844, 12845, 12846, 12847, 12848, 12849, 12850, 12851, 12852, 12853, 12854, 12855, 12856, 12857, 12858, 12859, 12860, 12861, 12862, 12863, 12864, 12865, 12866, 12867, 12868, 12869, 12870, 12871, 12872, 12873, 12874, 12875, 12876, 12877, 12878, 12879, 12880, 12881, 12882, 12883, 12884, 12885, 12886, 12887, 12888, 12889, 12890, 12891, 12892, 12893, 12894, 12895, 12896, 12897, 12898, 12899, 12900, 12901, 12902, 12903, 12904, 12905, 12906, 12907, 12908, 12909, 12910, 12911, 12912, 12913, 12914, 12915, 12916, 12917, 12918, 12919, 12920, 12921, 12922, 12923, 12924, 12925, 12926, 12927, 12928, 12929, 12930, 12931, 12932, 12933, 12934, 12935, 12936, 12937, 12938, 12939, 12940, 12941, 12942, 12943, 12944, 12945, 12946, 12947, 12948, 12949, 12950, 12951, 12952, 12953, 12954, 12955, 12956, 12957, 12958, 12959, 12960, 12961, 12962, 12963, 12964, 12965, 12966, 12967, 12968, 12969, 12970, 12971, 12972, 12973, 12974, 12975, 12976, 12977, 12978, 12979, 12980, 12981, 12982, 12983, 12984, 12985, 12986, 12987, 12988, 12989, 12990, 12991, 12992, 12993, 12994, 12995, 12996, 12997, 12998, 12999, 13000, 13001, 13002, 13003, 13004, 13005, 13006, 13007, 13008, 13009, 13010, 13011, 13012, 13013, 13014, 13015, 13016, 13017, 13018, 13019, 13021, 13022, 13023, 13024, 13025, 13026, 13027, 13028, 13029, 13030, 13031, 13032, 13033, 13034, 13035, 13036, 13037, 13038, 13039, 13040, 13041, 13042, 13043, 13044, 13045, 13046, 13047, 13048, 13049, 13050, 13051, 13052, 13053, 13054, 13055, 13056, 13057, 13058, 13059, 13060, 13061, 13062, 13063, 13064, 13065, 13066, 13067, 13068, 13069, 13070, 13071, 13072, 13073, 13074, 13075, 13076, 13077, 13078, 13079, 13080, 13081, 13082, 13083, 13084, 13085, 13086, 13087, 13088, 13089, 13090, 13091, 13092, 13093, 13094, 13095, 13096, 13097, 13098, 13099, 13100, 13101, 13102, 13103, 13104, 13105, 13106, 13107, 13108, 13109, 13110, 13111, 13112, 13113, 13114, 13115, 13116, 13117, 13118, 13119, 13120, 13121, 13122, 13123, 13124, 13125, 13126, 13127, 13128, 13129, 13130, 13131, 13132, 13133, 13134, 13135, 13136, 13137, 13138, 13139, 13140, 13141, 13142, 13143, 13144, 13145, 13146, 13147, 13148, 13149, 13150, 13151, 13152, 13153, 13154, 13155, 13156, 13157, 13158, 13159, 13160, 13161, 13162, 13163, 13164, 13165, 13166, 13167, 13168, 13169, 13170, 13171, 13172, 13173, 13174, 13175, 13176, 13177, 13178, 13179, 13180, 13181, 13182, 13183, 13184, 13185, 13186, 13187, 13188, 13189, 13190, 13191, 13192, 13193, 13194, 13195, 13196, 13197, 13198, 13199, 13200, 13201, 13202, 13203, 13204, 13205, 13206, 13207, 13208, 13209, 13210, 13211, 13212, 13213, 13214, 13215, 13216, 13217, 13218, 13219, 13220, 13221, 13222, 13223, 13224, 13225, 13226, 13227, 13228, 13229, 13230, 13231, 13232, 13233, 13234, 13235, 13236, 13237, 13238, 13239, 13240, 13241, 13242, 13243, 13244, 13245, 13246, 13247, 13248, 13249, 13250, 13251, 13252, 13253, 13254, 13255, 13256, 13257, 13258, 13259, 13260, 13261, 13262, 13263, 13264, 13265, 13266, 13267, 13268, 13269, 13270, 13271, 13272, 13273, 13274, 13275, 13276, 13277, 13278, 13279, 13280, 13281, 13282, 13283, 13284, 13285, 13286, 13287, 13288, 13289, 13290, 13291, 13292, 13293, 13294, 13295, 13296, 13297, 13298, 13299, 13300, 13301, 13302, 13303, 13304, 13305, 13306, 13307, 13308, 13309, 13310, 13311, 13312, 13313, 13314, 13315, 13316, 13317, 13318, 13319, 13320, 13321, 13322, 13323, 13324, 13325, 13326, 13327, 13328, 13329, 13330, 13331, 13332, 13333, 13334, 13335, 13336, 13337, 13338, 13339, 13340, 13341, 13342, 13343, 13344, 13345, 13346, 13347, 13348, 13349, 13350, 13351, 13352, 13353, 13354, 13355, 13356, 13357, 13358, 13359, 13360, 13361, 13362, 13363, 13364, 13365, 13366, 13367, 13368, 13369, 13370, 13371, 13372, 13373, 13374, 13375, 13376, 13377, 13378, 13379, 13380, 13381, 13382, 13383, 13384);
Date: 2022-12-01 10:10:43 Duration: 31s650ms
Most frequent queries (N)
Rank Times executed Total duration Min duration Max duration Avg duration Query 1 4,898 28m19s 275ms 1s85ms 346ms select "item_list_line".id from "item_list_line" where (((("item_list_line"."active" = true) and ("item_list_line"."product_id" = ?)) and (("item_list_line"."method" not in (...)) or "item_list_line"."method" is null)) and ("item_list_line"."item_demand_plan_id" = ?)) order by "item_list_line"."id" limit ?;Times Reported Time consuming queries #1
Day Hour Count Duration Avg duration Dec 01 02 261 1m31s 349ms 03 308 1m52s 365ms 14 421 2m36s 371ms 15 364 2m3s 340ms 16 947 5m38s 356ms 17 422 2m11s 310ms 18 755 4m25s 351ms 19 342 2m1s 354ms 20 369 2m4s 336ms 23 709 3m55s 332ms -
SELECT "item_list_line".id FROM "item_list_line" WHERE (((("item_list_line"."active" = true) AND ("item_list_line"."product_id" = 183835)) AND (("item_list_line"."method" not in (7, 8)) OR "item_list_line"."method" IS NULL)) AND ("item_list_line"."item_demand_plan_id" = 1018)) ORDER BY "item_list_line"."id" LIMIT 1;
Date: 2022-12-01 16:08:02 Duration: 1s85ms
-
SELECT "item_list_line".id FROM "item_list_line" WHERE (((("item_list_line"."active" = true) AND ("item_list_line"."product_id" = 183514)) AND (("item_list_line"."method" not in (7, 8)) OR "item_list_line"."method" IS NULL)) AND ("item_list_line"."item_demand_plan_id" = 1013)) ORDER BY "item_list_line"."id" LIMIT 1;
Date: 2022-12-01 14:38:54 Duration: 986ms
-
SELECT "item_list_line".id FROM "item_list_line" WHERE (((("item_list_line"."active" = true) AND ("item_list_line"."product_id" = 183834)) AND (("item_list_line"."method" not in (7, 8)) OR "item_list_line"."method" IS NULL)) AND ("item_list_line"."item_demand_plan_id" = 1018)) ORDER BY "item_list_line"."id" LIMIT 1;
Date: 2022-12-01 16:08:01 Duration: 940ms
2 4,246 40m52s 490ms 2s251ms 577ms select product_product.id from "product_product" left join "product_template" AS "product_product__product_tmpl_id" on ("product_product"."product_tmpl_id" = "product_product__product_tmpl_id"."id") left join "ir_translation" AS "product_product__product_tmpl_id__name" on ("product_product__product_tmpl_id"."id" = "product_product__product_tmpl_id__name"."res_id" and "product_product__product_tmpl_id__name"."type" = ? and "product_product__product_tmpl_id__name"."name" = ? and "product_product__product_tmpl_id__name"."lang" = ? and "product_product__product_tmpl_id__name"."value" != ?) where ((("product_product"."active" = true) and (((unaccent ("product_product"."condensed_internal_ref"::text) ilike unaccent (?)) or (unaccent ("product_product"."default_code"::text) ilike unaccent (?))) or unaccent (coalesce("product_product__product_tmpl_id__name"."value", "product_product__product_tmpl_id"."name")) ilike unaccent (?))) and ("product_product__product_tmpl_id"."sale_ok" is not null and "product_product__product_tmpl_id"."sale_ok" != false)) and (("product_product__product_tmpl_id"."company_id" in (...)) or "product_product__product_tmpl_id"."company_id" is null) order by product_product.default_code, product_product.condensed_internal_ref;Times Reported Time consuming queries #2
Day Hour Count Duration Avg duration Dec 01 12 254 2m18s 543ms 13 544 5m4s 560ms 14 588 5m59s 611ms 15 542 5m3s 559ms 16 273 3m 662ms 17 290 2m39s 550ms 18 582 5m55s 610ms 19 482 4m39s 579ms 20 387 3m28s 539ms 21 165 1m27s 530ms 22 45 23s503ms 522ms 23 94 51s226ms 544ms -
SELECT product_product.id FROM "product_product" LEFT JOIN "product_template" AS "product_product__product_tmpl_id" ON ("product_product"."product_tmpl_id" = "product_product__product_tmpl_id"."id") LEFT JOIN "ir_translation" AS "product_product__product_tmpl_id__name" ON ("product_product__product_tmpl_id"."id" = "product_product__product_tmpl_id__name"."res_id" AND "product_product__product_tmpl_id__name"."type" = 'model' AND "product_product__product_tmpl_id__name"."name" = 'product.template,name' AND "product_product__product_tmpl_id__name"."lang" = 'en_US' AND "product_product__product_tmpl_id__name"."value" != '') WHERE ((("product_product"."active" = true) AND (((unaccent ("product_product"."condensed_internal_ref"::text) ilike unaccent ('%%70747%%')) OR (unaccent ("product_product"."default_code"::text) ilike unaccent ('%70747%'))) OR unaccent (COALESCE("product_product__product_tmpl_id__name"."value", "product_product__product_tmpl_id"."name")) ilike unaccent ('%70747%'))) AND ("product_product__product_tmpl_id"."sale_ok" IS NOT NULL and "product_product__product_tmpl_id"."sale_ok" != false)) AND (("product_product__product_tmpl_id"."company_id" in (1)) OR "product_product__product_tmpl_id"."company_id" IS NULL) ORDER BY product_product.default_code, product_product.condensed_internal_ref;
Date: 2022-12-01 19:02:55 Duration: 2s251ms
-
SELECT product_product.id FROM "product_product" LEFT JOIN "product_template" AS "product_product__product_tmpl_id" ON ("product_product"."product_tmpl_id" = "product_product__product_tmpl_id"."id") LEFT JOIN "ir_translation" AS "product_product__product_tmpl_id__name" ON ("product_product__product_tmpl_id"."id" = "product_product__product_tmpl_id__name"."res_id" AND "product_product__product_tmpl_id__name"."type" = 'model' AND "product_product__product_tmpl_id__name"."name" = 'product.template,name' AND "product_product__product_tmpl_id__name"."lang" = 'en_US' AND "product_product__product_tmpl_id__name"."value" != '') WHERE ((("product_product"."active" = true) AND (((unaccent ("product_product"."condensed_internal_ref"::text) ilike unaccent ('%%4664%%')) OR (unaccent ("product_product"."default_code"::text) ilike unaccent ('%4664%'))) OR unaccent (COALESCE("product_product__product_tmpl_id__name"."value", "product_product__product_tmpl_id"."name")) ilike unaccent ('%4664%'))) AND ("product_product__product_tmpl_id"."sale_ok" IS NOT NULL and "product_product__product_tmpl_id"."sale_ok" != false)) AND (("product_product__product_tmpl_id"."company_id" in (1)) OR "product_product__product_tmpl_id"."company_id" IS NULL) ORDER BY product_product.default_code, product_product.condensed_internal_ref;
Date: 2022-12-01 14:38:55 Duration: 2s234ms
-
SELECT product_product.id FROM "product_product" LEFT JOIN "product_template" AS "product_product__product_tmpl_id" ON ("product_product"."product_tmpl_id" = "product_product__product_tmpl_id"."id") LEFT JOIN "ir_translation" AS "product_product__product_tmpl_id__name" ON ("product_product__product_tmpl_id"."id" = "product_product__product_tmpl_id__name"."res_id" AND "product_product__product_tmpl_id__name"."type" = 'model' AND "product_product__product_tmpl_id__name"."name" = 'product.template,name' AND "product_product__product_tmpl_id__name"."lang" = 'en_US' AND "product_product__product_tmpl_id__name"."value" != '') WHERE ((("product_product"."active" = true) AND (((unaccent ("product_product"."condensed_internal_ref"::text) ilike unaccent ('%%442GCAHXA5%%')) OR (unaccent ("product_product"."default_code"::text) ilike unaccent ('%442GCAHX-A5%'))) OR unaccent (COALESCE("product_product__product_tmpl_id__name"."value", "product_product__product_tmpl_id"."name")) ilike unaccent ('%442GCAHX-A5%'))) AND ("product_product__product_tmpl_id"."sale_ok" IS NOT NULL and "product_product__product_tmpl_id"."sale_ok" != false)) AND (("product_product__product_tmpl_id"."company_id" in (1)) OR "product_product__product_tmpl_id"."company_id" IS NULL) ORDER BY product_product.default_code, product_product.condensed_internal_ref;
Date: 2022-12-01 16:08:03 Duration: 2s212ms
3 1,389 13m38s 498ms 1s850ms 588ms select product_product.id from "product_product" left join "product_template" AS "product_product__product_tmpl_id" on ("product_product"."product_tmpl_id" = "product_product__product_tmpl_id"."id") left join "ir_translation" AS "product_product__product_tmpl_id__name" on ("product_product__product_tmpl_id"."id" = "product_product__product_tmpl_id__name"."res_id" and "product_product__product_tmpl_id__name"."type" = ? and "product_product__product_tmpl_id__name"."name" = ? and "product_product__product_tmpl_id__name"."lang" = ? and "product_product__product_tmpl_id__name"."value" != ?) where (("product_product"."active" = true) and (((unaccent ("product_product"."condensed_internal_ref"::text) ilike unaccent (?)) or (unaccent ("product_product"."default_code"::text) ilike unaccent (?))) or unaccent (coalesce("product_product__product_tmpl_id__name"."value", "product_product__product_tmpl_id"."name")) ilike unaccent (?))) and (("product_product__product_tmpl_id"."company_id" in (...)) or "product_product__product_tmpl_id"."company_id" is null) order by product_product.default_code, product_product.condensed_internal_ref;Times Reported Time consuming queries #3
Day Hour Count Duration Avg duration Dec 01 10 6 3s145ms 524ms 12 54 28s765ms 532ms 13 80 44s34ms 550ms 14 127 1m11s 564ms 15 242 2m31s 624ms 16 250 2m44s 656ms 17 33 17s930ms 543ms 18 139 1m22s 592ms 19 234 2m14s 574ms 20 184 1m39s 538ms 21 40 21s474ms 536ms -
SELECT product_product.id FROM "product_product" LEFT JOIN "product_template" AS "product_product__product_tmpl_id" ON ("product_product"."product_tmpl_id" = "product_product__product_tmpl_id"."id") LEFT JOIN "ir_translation" AS "product_product__product_tmpl_id__name" ON ("product_product__product_tmpl_id"."id" = "product_product__product_tmpl_id__name"."res_id" AND "product_product__product_tmpl_id__name"."type" = 'model' AND "product_product__product_tmpl_id__name"."name" = 'product.template,name' AND "product_product__product_tmpl_id__name"."lang" = 'en_US' AND "product_product__product_tmpl_id__name"."value" != '') WHERE (("product_product"."active" = true) AND (((unaccent ("product_product"."condensed_internal_ref"::text) ilike unaccent ('%%27900%%')) OR (unaccent ("product_product"."default_code"::text) ilike unaccent ('%27900%'))) OR unaccent (COALESCE("product_product__product_tmpl_id__name"."value", "product_product__product_tmpl_id"."name")) ilike unaccent ('%27900%'))) AND (("product_product__product_tmpl_id"."company_id" in (1)) OR "product_product__product_tmpl_id"."company_id" IS NULL) ORDER BY product_product.default_code, product_product.condensed_internal_ref;
Date: 2022-12-01 16:07:17 Duration: 1s850ms
-
SELECT product_product.id FROM "product_product" LEFT JOIN "product_template" AS "product_product__product_tmpl_id" ON ("product_product"."product_tmpl_id" = "product_product__product_tmpl_id"."id") LEFT JOIN "ir_translation" AS "product_product__product_tmpl_id__name" ON ("product_product__product_tmpl_id"."id" = "product_product__product_tmpl_id__name"."res_id" AND "product_product__product_tmpl_id__name"."type" = 'model' AND "product_product__product_tmpl_id__name"."name" = 'product.template,name' AND "product_product__product_tmpl_id__name"."lang" = 'en_US' AND "product_product__product_tmpl_id__name"."value" != '') WHERE (("product_product"."active" = true) AND (((unaccent ("product_product"."condensed_internal_ref"::text) ilike unaccent ('%%279000%%')) OR (unaccent ("product_product"."default_code"::text) ilike unaccent ('%279000%'))) OR unaccent (COALESCE("product_product__product_tmpl_id__name"."value", "product_product__product_tmpl_id"."name")) ilike unaccent ('%279000%'))) AND (("product_product__product_tmpl_id"."company_id" in (1)) OR "product_product__product_tmpl_id"."company_id" IS NULL) ORDER BY product_product.default_code, product_product.condensed_internal_ref;
Date: 2022-12-01 16:07:17 Duration: 1s715ms
-
SELECT product_product.id FROM "product_product" LEFT JOIN "product_template" AS "product_product__product_tmpl_id" ON ("product_product"."product_tmpl_id" = "product_product__product_tmpl_id"."id") LEFT JOIN "ir_translation" AS "product_product__product_tmpl_id__name" ON ("product_product__product_tmpl_id"."id" = "product_product__product_tmpl_id__name"."res_id" AND "product_product__product_tmpl_id__name"."type" = 'model' AND "product_product__product_tmpl_id__name"."name" = 'product.template,name' AND "product_product__product_tmpl_id__name"."lang" = 'en_US' AND "product_product__product_tmpl_id__name"."value" != '') WHERE (("product_product"."active" = true) AND (((unaccent ("product_product"."condensed_internal_ref"::text) ilike unaccent ('%%513%%')) OR (unaccent ("product_product"."default_code"::text) ilike unaccent ('%5-13%'))) OR unaccent (COALESCE("product_product__product_tmpl_id__name"."value", "product_product__product_tmpl_id"."name")) ilike unaccent ('%5-13%'))) AND (("product_product__product_tmpl_id"."company_id" in (1)) OR "product_product__product_tmpl_id"."company_id" IS NULL) ORDER BY product_product.default_code, product_product.condensed_internal_ref;
Date: 2022-12-01 16:24:49 Duration: 1s708ms
4 1,264 3m39s 151ms 826ms 173ms select res_partner.id from "res_partner" where ("res_partner"."active" = true) and (((("res_partner"."partner_share" is null or "res_partner"."partner_share" = false) or ("res_partner"."company_id" in (...))) or "res_partner"."company_id" is null) and (((("res_partner"."type" != ?) or "res_partner"."type" is null) or "res_partner"."type" is null) or ("res_partner"."type" = ?))) and (unaccent (res_partner.email) ilike unaccent (?) or unaccent (res_partner.display_name) ilike unaccent (?) or unaccent (res_partner.ref) ilike unaccent (?) or unaccent (res_partner.vat) ilike unaccent (?)) unaccent (res_partner.display_name);Times Reported Time consuming queries #4
Day Hour Count Duration Avg duration Dec 01 02 9 1s541ms 171ms 11 7 1s104ms 157ms 12 29 4s641ms 160ms 13 90 15s168ms 168ms 14 306 55s300ms 180ms 15 169 28s426ms 168ms 16 278 51s268ms 184ms 17 68 10s962ms 161ms 18 97 16s996ms 175ms 19 57 9s397ms 164ms 20 76 12s399ms 163ms 21 59 9s638ms 163ms 22 18 2s802ms 155ms 23 1 156ms 156ms -
SELECT res_partner.id FROM "res_partner" WHERE ("res_partner"."active" = true) AND (((("res_partner"."partner_share" IS NULL or "res_partner"."partner_share" = false) OR ("res_partner"."company_id" in (1))) OR "res_partner"."company_id" IS NULL) AND (((("res_partner"."type" != 'private') OR "res_partner"."type" IS NULL) OR "res_partner"."type" IS NULL) OR ("res_partner"."type" = 'private'))) AND (unaccent (res_partner.email) ilike unaccent ('%reds%') OR unaccent (res_partner.display_name) ilike unaccent ('%reds%') OR unaccent (res_partner.ref) ilike unaccent ('%reds%') OR unaccent (res_partner.vat) ilike unaccent ('reds')) -- don't panic, trust postgres bitmap ORDER BY unaccent (res_partner.display_name) ilike unaccent ('%reds%') desc, unaccent (res_partner.display_name);
Date: 2022-12-01 16:08:02 Duration: 826ms
-
SELECT res_partner.id FROM "res_partner" WHERE ("res_partner"."active" = true) AND (((("res_partner"."partner_share" IS NULL or "res_partner"."partner_share" = false) OR ("res_partner"."company_id" in (1))) OR "res_partner"."company_id" IS NULL) AND (((("res_partner"."type" != 'private') OR "res_partner"."type" IS NULL) OR "res_partner"."type" IS NULL) OR ("res_partner"."type" = 'private'))) AND (unaccent (res_partner.email) ilike unaccent ('%30264%') OR unaccent (res_partner.display_name) ilike unaccent ('%30264%') OR unaccent (res_partner.ref) ilike unaccent ('%30264%') OR unaccent (res_partner.vat) ilike unaccent ('30264')) -- don't panic, trust postgres bitmap ORDER BY unaccent (res_partner.display_name) ilike unaccent ('%30264%') desc, unaccent (res_partner.display_name);
Date: 2022-12-01 14:38:54 Duration: 772ms
-
SELECT res_partner.id FROM "res_partner" WHERE ("res_partner"."active" = true) AND (((("res_partner"."partner_share" IS NULL or "res_partner"."partner_share" = false) OR ("res_partner"."company_id" in (1))) OR "res_partner"."company_id" IS NULL) AND (((("res_partner"."type" != 'private') OR "res_partner"."type" IS NULL) OR "res_partner"."type" IS NULL) OR ("res_partner"."type" = 'private'))) AND (unaccent (res_partner.email) ilike unaccent ('%32294%') OR unaccent (res_partner.display_name) ilike unaccent ('%32294%') OR unaccent (res_partner.ref) ilike unaccent ('%32294%') OR unaccent (res_partner.vat) ilike unaccent ('32294')) -- don't panic, trust postgres bitmap ORDER BY unaccent (res_partner.display_name) ilike unaccent ('%32294%') desc, unaccent (res_partner.display_name);
Date: 2022-12-01 14:38:56 Duration: 665ms
5 1,235 3m41s 150ms 460ms 179ms select date_part(?, invoice_date) as year, date_part(?, invoice_date) as month, date_part(?, invoice_date) as day, product_id, sum(product_uom_qty) as total from item_list_line where product_id = ? and item_demand_plan_id = ? group by product_id, date_part(?, invoice_date), date_part(?, invoice_date), date_part(?, invoice_date) order by date_part(?, invoice_date), date_part(?, invoice_date), date_part(?, invoice_date);Times Reported Time consuming queries #5
Day Hour Count Duration Avg duration Dec 01 02 65 11s884ms 182ms 03 66 12s407ms 187ms 08 238 37s831ms 158ms 14 74 14s425ms 194ms 15 65 12s83ms 185ms 16 171 33s537ms 196ms 17 84 14s319ms 170ms 18 186 34s519ms 185ms 19 37 6s553ms 177ms 20 65 11s513ms 177ms 23 184 32s655ms 177ms -
select date_part('year', invoice_date) as Year, date_part('month', invoice_date) as Month, date_part('day', invoice_date) as day, product_id, sum(product_uom_qty) as total from item_list_line where product_id = 183631 and item_demand_plan_id = 1018 group by product_id, date_part('month', invoice_date), date_part('year', invoice_date), date_part('day', invoice_date) order by date_part('year', invoice_date), date_part('month', invoice_date), date_part('day', invoice_date);
Date: 2022-12-01 16:07:17 Duration: 460ms
-
select date_part('year', invoice_date) as Year, date_part('month', invoice_date) as Month, date_part('day', invoice_date) as day, product_id, sum(product_uom_qty) as total from item_list_line where product_id = 183896 and item_demand_plan_id = 1013 group by product_id, date_part('month', invoice_date), date_part('year', invoice_date), date_part('day', invoice_date) order by date_part('year', invoice_date), date_part('month', invoice_date), date_part('day', invoice_date);
Date: 2022-12-01 14:41:46 Duration: 448ms
-
select date_part('year', invoice_date) as Year, date_part('month', invoice_date) as Month, date_part('day', invoice_date) as day, product_id, sum(product_uom_qty) as total from item_list_line where product_id = 183835 and item_demand_plan_id = 1018 group by product_id, date_part('month', invoice_date), date_part('year', invoice_date), date_part('day', invoice_date) order by date_part('year', invoice_date), date_part('month', invoice_date), date_part('day', invoice_date);
Date: 2022-12-01 16:08:03 Duration: 432ms
6 1,173 2m28s 120ms 289ms 126ms select "sale_history_line".id from "sale_history_line" where ("sale_history_line"."customer_id" in (...)) order by "sale_history_line"."id";Times Reported Time consuming queries #6
Day Hour Count Duration Avg duration Dec 01 02 18 3s271ms 181ms 06 41 5s284ms 128ms 07 45 5s739ms 127ms 08 41 5s287ms 128ms 09 43 5s543ms 128ms 10 326 40s785ms 125ms 11 640 1m20s 125ms 13 2 260ms 130ms 15 5 808ms 161ms 17 3 386ms 128ms 18 2 277ms 138ms 19 4 584ms 146ms 20 2 360ms 180ms 21 1 134ms 134ms -
SELECT "sale_history_line".id FROM "sale_history_line" WHERE ("sale_history_line"."customer_id" in (49768)) ORDER BY "sale_history_line"."id";
Date: 2022-12-01 02:41:15 Duration: 289ms
-
SELECT "sale_history_line".id FROM "sale_history_line" WHERE ("sale_history_line"."customer_id" in (37125)) ORDER BY "sale_history_line"."id";
Date: 2022-12-01 02:41:44 Duration: 243ms
-
SELECT "sale_history_line".id FROM "sale_history_line" WHERE ("sale_history_line"."customer_id" in (49768)) ORDER BY "sale_history_line"."id";
Date: 2022-12-01 02:41:15 Duration: 240ms
7 1,052 4m58s 241ms 695ms 283ms select "sale_history_line".id from "sale_history_line" where ("sale_history_line"."so_line_id" in (...)) order by "sale_history_line"."id";Times Reported Time consuming queries #7
Day Hour Count Duration Avg duration Dec 01 11 1 337ms 337ms 12 71 19s473ms 274ms 13 101 30s116ms 298ms 14 126 34s462ms 273ms 15 212 1m1s 289ms 16 66 19s930ms 301ms 17 84 23s795ms 283ms 18 118 33s95ms 280ms 19 103 29s152ms 283ms 20 97 26s627ms 274ms 21 38 10s524ms 276ms 22 14 3s567ms 254ms 23 21 5s728ms 272ms -
SELECT "sale_history_line".id FROM "sale_history_line" WHERE ("sale_history_line"."so_line_id" in (31101)) ORDER BY "sale_history_line"."id";
Date: 2022-12-01 18:06:15 Duration: 695ms
-
SELECT "sale_history_line".id FROM "sale_history_line" WHERE ("sale_history_line"."so_line_id" in (30699)) ORDER BY "sale_history_line"."id";
Date: 2022-12-01 14:40:07 Duration: 633ms
-
SELECT "sale_history_line".id FROM "sale_history_line" WHERE ("sale_history_line"."so_line_id" in (30980)) ORDER BY "sale_history_line"."id";
Date: 2022-12-01 16:33:17 Duration: 618ms
8 933 10m53s 602ms 1s734ms 700ms select "product_template".id from "product_template" left join "ir_translation" AS "product_template__name" on ("product_template"."id" = "product_template__name"."res_id" and "product_template__name"."type" = ? and "product_template__name"."name" = ? and "product_template__name"."lang" = ? and "product_template__name"."value" != ?) where (("product_template"."active" = true) and (("product_template"."is_core" is null or "product_template"."is_core" = false) and (("product_template"."type" in (...)) and (((((unaccent ("product_template"."default_code"::text) ilike unaccent (?)) or ("product_template"."id" in ( select "product_product"."product_tmpl_id" from "product_product" left join "product_template" AS "product_product__product_tmpl_id" on ("product_product"."product_tmpl_id" = "product_product__product_tmpl_id"."id") where (("product_product"."active" = true) and (unaccent ("product_product"."default_code"::text) ilike unaccent (?))) and (("product_product__product_tmpl_id"."company_id" in (...)) or "product_product__product_tmpl_id"."company_id" is null)))) or unaccent (coalesce("product_template__name"."value", "product_template"."name")) ilike unaccent (?)) or false) or (unaccent ("product_template"."condensed_internal_ref"::text) ilike unaccent (?)))))) and (("product_template"."company_id" in (...)) or "product_template"."company_id" is null) order by coalesce("product_template__name"."value", "product_template"."name") limit ?;Times Reported Time consuming queries #8
Day Hour Count Duration Avg duration Dec 01 00 4 2s668ms 667ms 11 2 1s302ms 651ms 12 46 30s757ms 668ms 13 113 1m19s 701ms 14 119 1m26s 729ms 15 70 50s178ms 716ms 16 107 1m15s 702ms 17 73 49s942ms 684ms 18 134 1m32s 690ms 19 107 1m14s 694ms 20 108 1m16s 705ms 21 37 25s342ms 684ms 22 12 7s979ms 664ms 23 1 659ms 659ms -
SELECT "product_template".id FROM "product_template" LEFT JOIN "ir_translation" AS "product_template__name" ON ("product_template"."id" = "product_template__name"."res_id" AND "product_template__name"."type" = 'model' AND "product_template__name"."name" = 'product.template,name' AND "product_template__name"."lang" = 'en_US' AND "product_template__name"."value" != '') WHERE (("product_template"."active" = true) AND (("product_template"."is_core" IS NULL or "product_template"."is_core" = false) AND (("product_template"."type" in ('consu', 'product')) AND (((((unaccent ("product_template"."default_code"::text) ilike unaccent ('%12z-612%')) OR ("product_template"."id" IN ( SELECT "product_product"."product_tmpl_id" FROM "product_product" LEFT JOIN "product_template" AS "product_product__product_tmpl_id" ON ("product_product"."product_tmpl_id" = "product_product__product_tmpl_id"."id") WHERE (("product_product"."active" = true) AND (unaccent ("product_product"."default_code"::text) ilike unaccent ('%12z-612%'))) AND (("product_product__product_tmpl_id"."company_id" in (1)) OR "product_product__product_tmpl_id"."company_id" IS NULL)))) OR unaccent (COALESCE("product_template__name"."value", "product_template"."name")) ilike unaccent ('%12z-612%')) OR FALSE) OR (unaccent ("product_template"."condensed_internal_ref"::text) ilike unaccent ('%12z-612%')))))) AND (("product_template"."company_id" in (1)) OR "product_template"."company_id" IS NULL) ORDER BY COALESCE("product_template__name"."value", "product_template"."name") LIMIT 80;
Date: 2022-12-01 14:40:37 Duration: 1s734ms
-
SELECT "product_template".id FROM "product_template" LEFT JOIN "ir_translation" AS "product_template__name" ON ("product_template"."id" = "product_template__name"."res_id" AND "product_template__name"."type" = 'model' AND "product_template__name"."name" = 'product.template,name' AND "product_template__name"."lang" = 'en_US' AND "product_template__name"."value" != '') WHERE (("product_template"."active" = true) AND (("product_template"."is_core" IS NULL or "product_template"."is_core" = false) AND (("product_template"."type" in ('consu', 'product')) AND (((((unaccent ("product_template"."default_code"::text) ilike unaccent ('%325-544%')) OR ("product_template"."id" IN ( SELECT "product_product"."product_tmpl_id" FROM "product_product" LEFT JOIN "product_template" AS "product_product__product_tmpl_id" ON ("product_product"."product_tmpl_id" = "product_product__product_tmpl_id"."id") WHERE (("product_product"."active" = true) AND (unaccent ("product_product"."default_code"::text) ilike unaccent ('%325-544%'))) AND (("product_product__product_tmpl_id"."company_id" in (1)) OR "product_product__product_tmpl_id"."company_id" IS NULL)))) OR unaccent (COALESCE("product_template__name"."value", "product_template"."name")) ilike unaccent ('%325-544%')) OR FALSE) OR (unaccent ("product_template"."condensed_internal_ref"::text) ilike unaccent ('%325-544%')))))) AND (("product_template"."company_id" in (1)) OR "product_template"."company_id" IS NULL) ORDER BY COALESCE("product_template__name"."value", "product_template"."name") LIMIT 80;
Date: 2022-12-01 20:18:52 Duration: 1s369ms
-
SELECT "product_template".id FROM "product_template" LEFT JOIN "ir_translation" AS "product_template__name" ON ("product_template"."id" = "product_template__name"."res_id" AND "product_template__name"."type" = 'model' AND "product_template__name"."name" = 'product.template,name' AND "product_template__name"."lang" = 'en_US' AND "product_template__name"."value" != '') WHERE (("product_template"."active" = true) AND (("product_template"."is_core" IS NULL or "product_template"."is_core" = false) AND (("product_template"."type" in ('consu', 'product')) AND (((((unaccent ("product_template"."default_code"::text) ilike unaccent ('%40010013%')) OR ("product_template"."id" IN ( SELECT "product_product"."product_tmpl_id" FROM "product_product" LEFT JOIN "product_template" AS "product_product__product_tmpl_id" ON ("product_product"."product_tmpl_id" = "product_product__product_tmpl_id"."id") WHERE (("product_product"."active" = true) AND (unaccent ("product_product"."default_code"::text) ilike unaccent ('%40010013%'))) AND (("product_product__product_tmpl_id"."company_id" in (1)) OR "product_product__product_tmpl_id"."company_id" IS NULL)))) OR unaccent (COALESCE("product_template__name"."value", "product_template"."name")) ilike unaccent ('%40010013%')) OR FALSE) OR (unaccent ("product_template"."condensed_internal_ref"::text) ilike unaccent ('%40010013%')))))) AND (("product_template"."company_id" in (1)) OR "product_template"."company_id" IS NULL) ORDER BY COALESCE("product_template__name"."value", "product_template"."name") LIMIT 80;
Date: 2022-12-01 14:42:43 Duration: 1s351ms
9 917 4m14s 197ms 857ms 277ms select distinct ill.product_id from item_list_line as ill left join res_forecast_method as fm on fm.id = ill.method where ill.item_demand_plan_id = ? and ill.method not in (...);Times Reported Time consuming queries #9
Day Hour Count Duration Avg duration Dec 01 02 73 19s905ms 272ms 03 87 25s494ms 293ms 10 141 28s232ms 200ms 11 1 221ms 221ms 13 58 14s12ms 241ms 14 78 23s805ms 305ms 15 39 11s705ms 300ms 16 119 38s52ms 319ms 17 17 4s277ms 251ms 18 91 29s594ms 325ms 19 30 9s133ms 304ms 20 15 3s927ms 261ms 21 14 3s489ms 249ms 23 154 42s672ms 277ms -
select DISTINCT ill.product_id from item_list_line as ill LEFT JOIN res_forecast_method as fm ON fm.id = ill.method where ill.item_demand_plan_id = 1013 and ill.method not in (8, 7);
Date: 2022-12-01 14:38:54 Duration: 857ms
-
select DISTINCT ill.product_id from item_list_line as ill LEFT JOIN res_forecast_method as fm ON fm.id = ill.method where ill.item_demand_plan_id = 1018 and ill.method not in (8, 7);
Date: 2022-12-01 16:07:17 Duration: 756ms
-
select DISTINCT ill.product_id from item_list_line as ill LEFT JOIN res_forecast_method as fm ON fm.id = ill.method where ill.item_demand_plan_id = 1027 and ill.method not in (8, 7);
Date: 2022-12-01 19:02:55 Duration: 664ms
10 883 2m53s 137ms 492ms 196ms select "item_list_line".id from "item_list_line" where ("item_list_line"."item_demand_plan_id" in (...)) order by "item_list_line"."id";Times Reported Time consuming queries #10
Day Hour Count Duration Avg duration Dec 01 02 95 17s340ms 182ms 03 116 22s685ms 195ms 11 1 148ms 148ms 13 61 10s491ms 171ms 14 84 16s967ms 201ms 15 46 9s22ms 196ms 16 131 27s571ms 210ms 17 20 3s836ms 191ms 18 98 21s302ms 217ms 19 36 7s374ms 204ms 20 17 3s83ms 181ms 21 14 2s444ms 174ms 23 164 31s310ms 190ms -
SELECT "item_list_line".id FROM "item_list_line" WHERE ("item_list_line"."item_demand_plan_id" in (1013)) ORDER BY "item_list_line"."id";
Date: 2022-12-01 14:38:55 Duration: 492ms
-
SELECT "item_list_line".id FROM "item_list_line" WHERE ("item_list_line"."item_demand_plan_id" in (1027)) ORDER BY "item_list_line"."id";
Date: 2022-12-01 19:02:53 Duration: 476ms
-
SELECT "item_list_line".id FROM "item_list_line" WHERE ("item_list_line"."item_demand_plan_id" in (1020)) ORDER BY "item_list_line"."id";
Date: 2022-12-01 16:24:49 Duration: 452ms
11 776 3m31s 188ms 708ms 271ms select count(id) as total_count from item_list_line where item_demand_plan_id = ? and active = true;Times Reported Time consuming queries #11
Day Hour Count Duration Avg duration Dec 01 02 73 18s941ms 259ms 03 87 23s664ms 272ms 11 1 197ms 197ms 13 58 13s625ms 234ms 14 78 22s374ms 286ms 15 39 10s417ms 267ms 16 119 35s158ms 295ms 17 17 4s53ms 238ms 18 91 26s168ms 287ms 19 30 8s127ms 270ms 20 15 3s917ms 261ms 21 14 3s350ms 239ms 23 154 41s27ms 266ms -
select count(id) as total_count from item_list_line where item_demand_plan_id = 1018 and active = True;
Date: 2022-12-01 16:08:01 Duration: 708ms
-
select count(id) as total_count from item_list_line where item_demand_plan_id = 1013 and active = True;
Date: 2022-12-01 14:38:56 Duration: 664ms
-
select count(id) as total_count from item_list_line where item_demand_plan_id = 1027 and active = True;
Date: 2022-12-01 19:02:54 Duration: 643ms
12 776 2m57s 160ms 601ms 229ms select ill.item_demand_plan_id from item_list_line ill left join item_demand_plan as idp on ill.item_demand_plan_id = idp.id where ill.method is null and idp.active = true and ill.item_demand_plan_id = ? group by ill.item_demand_plan_id having count(ill.id) > ?;Times Reported Time consuming queries #12
Day Hour Count Duration Avg duration Dec 01 02 73 15s481ms 212ms 03 87 19s364ms 222ms 11 1 173ms 173ms 13 58 11s588ms 199ms 14 78 18s463ms 236ms 15 39 9s104ms 233ms 16 119 30s680ms 257ms 17 17 3s409ms 200ms 18 91 21s932ms 241ms 19 30 7s114ms 237ms 20 15 3s272ms 218ms 21 14 2s818ms 201ms 23 154 34s497ms 224ms -
select ill.item_demand_plan_id from item_list_line ill LEFT JOIN item_demand_plan as idp ON ill.item_demand_plan_id = idp.id where ill.method is NULL and idp.active = True and ill.item_demand_plan_id = 1027 GROUP BY ill.item_demand_plan_id having count(ill.id) > 0;
Date: 2022-12-01 19:02:55 Duration: 601ms
-
select ill.item_demand_plan_id from item_list_line ill LEFT JOIN item_demand_plan as idp ON ill.item_demand_plan_id = idp.id where ill.method is NULL and idp.active = True and ill.item_demand_plan_id = 1013 GROUP BY ill.item_demand_plan_id having count(ill.id) > 0;
Date: 2022-12-01 14:38:53 Duration: 558ms
-
select ill.item_demand_plan_id from item_list_line ill LEFT JOIN item_demand_plan as idp ON ill.item_demand_plan_id = idp.id where ill.method is NULL and idp.active = True and ill.item_demand_plan_id = 1018 GROUP BY ill.item_demand_plan_id having count(ill.id) > 0;
Date: 2022-12-01 16:07:16 Duration: 539ms
13 737 1m59s 147ms 481ms 161ms insert into "stock_move" ("id", "create_uid", "create_date", "write_uid", "write_date", "additional", "bom_action", "branch_id", "company_id", "date", "date_deadline", "description_picking", "group_id", "location_dest_id", "location_id", "move_options", "name", "orderpoint_id", "origin", "partner_id", "picking_type_id", "priority", "procure_method", "product_id", "product_uom", "product_uom_qty", "propagate_cancel", "rule_id", "sale_line_id", "sequence", "state", "warehouse_id") values (nextval(?), ?, (now() at time zone ?), ?, (now() at time zone ?), false, null, null, ?, ?, ?, ?, ?, ?, ?, ?, ?, null, ?, ?, ?, ?, ?, ?, ?, ?, false, ?, ?, ?, ?, ?) returning id;Times Reported Time consuming queries #13
Day Hour Count Duration Avg duration Dec 01 12 50 7s749ms 154ms 13 79 12s779ms 161ms 14 97 15s715ms 162ms 15 114 18s538ms 162ms 16 54 9s415ms 174ms 17 52 8s246ms 158ms 18 87 14s294ms 164ms 19 70 11s200ms 160ms 20 79 12s627ms 159ms 21 30 4s742ms 158ms 22 7 1s94ms 156ms 23 18 2s916ms 162ms -
INSERT INTO "stock_move" ("id", "create_uid", "create_date", "write_uid", "write_date", "additional", "bom_action", "branch_id", "company_id", "date", "date_deadline", "description_picking", "group_id", "location_dest_id", "location_id", "move_options", "name", "orderpoint_id", "origin", "partner_id", "picking_type_id", "priority", "procure_method", "product_id", "product_uom", "product_uom_qty", "propagate_cancel", "rule_id", "sale_line_id", "sequence", "state", "warehouse_id") VALUES (nextval('stock_move_id_seq'), 1, (now() at time zone 'UTC'), 1, (now() at time zone 'UTC'), false, NULL, NULL, 1, '2022-12-01 17:49:02', '2022-12-01 17:49:02', 'Shipping', 19250, 5, 437, 'new_product', 'UPS GROUND', NULL, 'I-01438', 36124, 330, '0', 'make_to_stock', 3, 1, '1.00', false, 371, 31104, 10, 'draft', 42) RETURNING id;
Date: 2022-12-01 18:06:15 Duration: 481ms
-
INSERT INTO "stock_move" ("id", "create_uid", "create_date", "write_uid", "write_date", "additional", "bom_action", "branch_id", "company_id", "date", "date_deadline", "description_picking", "group_id", "location_dest_id", "location_id", "move_options", "name", "orderpoint_id", "origin", "partner_id", "picking_type_id", "priority", "procure_method", "product_id", "product_uom", "product_uom_qty", "propagate_cancel", "rule_id", "sale_line_id", "sequence", "state", "warehouse_id") VALUES (nextval('stock_move_id_seq'), 1, (now() at time zone 'UTC'), 1, (now() at time zone 'UTC'), false, NULL, NULL, 1, '2022-12-01 18:04:24', '2022-12-01 18:04:24', 'Element', 19261, 5, 461, 'new_product', '[CV50628FLG] Element', NULL, 'T-01967', 42624, 354, '0', 'make_to_stock', 200936, 1, '2.00', false, 398, 31101, 10, 'draft', 45) RETURNING id;
Date: 2022-12-01 18:06:16 Duration: 418ms
-
INSERT INTO "stock_move" ("id", "create_uid", "create_date", "write_uid", "write_date", "additional", "bom_action", "branch_id", "company_id", "date", "date_deadline", "description_picking", "group_id", "location_dest_id", "location_id", "move_options", "name", "orderpoint_id", "origin", "partner_id", "picking_type_id", "priority", "procure_method", "product_id", "product_uom", "product_uom_qty", "propagate_cancel", "rule_id", "sale_line_id", "sequence", "state", "warehouse_id") VALUES (nextval('stock_move_id_seq'), 1, (now() at time zone 'UTC'), 1, (now() at time zone 'UTC'), false, NULL, NULL, 1, '2022-12-01 16:13:20', '2022-12-01 16:13:20', '3030 Long Stroke W/Welded Clev', 19125, 5, 429, 'new_product', '[3230951] 3030 Long Stroke W/Welded Clev', NULL, 'B-00693', 37679, 322, '0', 'make_to_stock', 183353, 1, '2.00', false, 362, 30951, 10, 'draft', 41) RETURNING id;
Date: 2022-12-01 16:13:51 Duration: 327ms
14 677 2m2s 146ms 675ms 180ms update "stock_move" set "delay_alert_date" = ?, "is_done" = false, "picking_code" = ?, "product_qty" = ?.?, "reference" = ?, "unit_factor" = ?.?, "weight" = ?, "write_uid" = ?, "write_date" = (now() at time zone ?) where id in (...);Times Reported Time consuming queries #14
Day Hour Count Duration Avg duration Dec 01 12 44 7s746ms 176ms 13 75 12s653ms 168ms 14 82 15s156ms 184ms 15 97 18s56ms 186ms 16 56 9s931ms 177ms 17 49 8s88ms 165ms 18 73 14s457ms 198ms 19 74 13s390ms 180ms 20 69 12s635ms 183ms 21 34 6s365ms 187ms 22 7 1s69ms 152ms 23 17 2s790ms 164ms -
UPDATE "stock_move" SET "delay_alert_date" = NULL, "is_done" = false, "picking_code" = 'outgoing', "product_qty" = 8.0, "reference" = '09-B/OUT/00818', "unit_factor" = 1.0, "weight" = '0.00', "write_uid" = 1, "write_date" = (now() at time zone 'UTC') WHERE id IN (165320, 165317, 165318, 165319);
Date: 2022-12-01 12:44:09 Duration: 675ms
-
UPDATE "stock_move" SET "delay_alert_date" = NULL, "is_done" = false, "picking_code" = 'outgoing', "product_qty" = 1.0, "reference" = '12-S/OUT/00635', "unit_factor" = 1.0, "weight" = '0.00', "write_uid" = 1, "write_date" = (now() at time zone 'UTC') WHERE id IN (167089, 167092, 167093, 167094);
Date: 2022-12-01 20:00:11 Duration: 623ms
-
UPDATE "stock_move" SET "delay_alert_date" = NULL, "is_done" = false, "picking_code" = 'outgoing', "product_qty" = 1.0, "reference" = '12-S/OUT/00621', "unit_factor" = 1.0, "weight" = '0.00', "write_uid" = 1, "write_date" = (now() at time zone 'UTC') WHERE id IN (165704, 165705, 165701, 165702);
Date: 2022-12-01 14:50:13 Duration: 618ms
15 651 6m15s 506ms 2s187ms 576ms select product_product.id from "product_product" left join "product_template" AS "product_product__product_tmpl_id" on ("product_product"."product_tmpl_id" = "product_product__product_tmpl_id"."id") left join "ir_translation" AS "product_product__product_tmpl_id__name" on ("product_product__product_tmpl_id"."id" = "product_product__product_tmpl_id__name"."res_id" and "product_product__product_tmpl_id__name"."type" = ? and "product_product__product_tmpl_id__name"."name" = ? and "product_product__product_tmpl_id__name"."lang" = ? and "product_product__product_tmpl_id__name"."value" != ?) where (((("product_product"."active" = true) and (((unaccent ("product_product"."condensed_internal_ref"::text) ilike unaccent (?)) or (unaccent ("product_product"."default_code"::text) ilike unaccent (?))) or unaccent (coalesce("product_product__product_tmpl_id__name"."value", "product_product__product_tmpl_id"."name")) ilike unaccent (?))) and ("product_product__product_tmpl_id"."is_core" is null or "product_product__product_tmpl_id"."is_core" = false)) and ("product_product__product_tmpl_id"."purchase_ok" is not null and "product_product__product_tmpl_id"."purchase_ok" != false)) and (("product_product__product_tmpl_id"."company_id" in (...)) or "product_product__product_tmpl_id"."company_id" is null) order by product_product.default_code, product_product.condensed_internal_ref;Times Reported Time consuming queries #15
Day Hour Count Duration Avg duration Dec 01 11 7 3s796ms 542ms 13 7 3s827ms 546ms 14 49 27s966ms 570ms 15 29 15s550ms 536ms 16 26 16s149ms 621ms 17 33 18s367ms 556ms 18 69 42s694ms 618ms 19 222 2m13s 599ms 20 39 23s16ms 590ms 21 133 1m11s 536ms 22 28 14s621ms 522ms 23 9 4s710ms 523ms -
SELECT product_product.id FROM "product_product" LEFT JOIN "product_template" AS "product_product__product_tmpl_id" ON ("product_product"."product_tmpl_id" = "product_product__product_tmpl_id"."id") LEFT JOIN "ir_translation" AS "product_product__product_tmpl_id__name" ON ("product_product__product_tmpl_id"."id" = "product_product__product_tmpl_id__name"."res_id" AND "product_product__product_tmpl_id__name"."type" = 'model' AND "product_product__product_tmpl_id__name"."name" = 'product.template,name' AND "product_product__product_tmpl_id__name"."lang" = 'en_US' AND "product_product__product_tmpl_id__name"."value" != '') WHERE (((("product_product"."active" = true) AND (((unaccent ("product_product"."condensed_internal_ref"::text) ilike unaccent ('%%L97863%%')) OR (unaccent ("product_product"."default_code"::text) ilike unaccent ('%L97863%'))) OR unaccent (COALESCE("product_product__product_tmpl_id__name"."value", "product_product__product_tmpl_id"."name")) ilike unaccent ('%L97863%'))) AND ("product_product__product_tmpl_id"."is_core" IS NULL or "product_product__product_tmpl_id"."is_core" = false)) AND ("product_product__product_tmpl_id"."purchase_ok" IS NOT NULL and "product_product__product_tmpl_id"."purchase_ok" != false)) AND (("product_product__product_tmpl_id"."company_id" in (1)) OR "product_product__product_tmpl_id"."company_id" IS NULL) ORDER BY product_product.default_code, product_product.condensed_internal_ref;
Date: 2022-12-01 19:02:55 Duration: 2s187ms
-
SELECT product_product.id FROM "product_product" LEFT JOIN "product_template" AS "product_product__product_tmpl_id" ON ("product_product"."product_tmpl_id" = "product_product__product_tmpl_id"."id") LEFT JOIN "ir_translation" AS "product_product__product_tmpl_id__name" ON ("product_product__product_tmpl_id"."id" = "product_product__product_tmpl_id__name"."res_id" AND "product_product__product_tmpl_id__name"."type" = 'model' AND "product_product__product_tmpl_id__name"."name" = 'product.template,name' AND "product_product__product_tmpl_id__name"."lang" = 'en_US' AND "product_product__product_tmpl_id__name"."value" != '') WHERE (((("product_product"."active" = true) AND (((unaccent ("product_product"."condensed_internal_ref"::text) ilike unaccent ('%%L9786%%')) OR (unaccent ("product_product"."default_code"::text) ilike unaccent ('%L9786%'))) OR unaccent (COALESCE("product_product__product_tmpl_id__name"."value", "product_product__product_tmpl_id"."name")) ilike unaccent ('%L9786%'))) AND ("product_product__product_tmpl_id"."is_core" IS NULL or "product_product__product_tmpl_id"."is_core" = false)) AND ("product_product__product_tmpl_id"."purchase_ok" IS NOT NULL and "product_product__product_tmpl_id"."purchase_ok" != false)) AND (("product_product__product_tmpl_id"."company_id" in (1)) OR "product_product__product_tmpl_id"."company_id" IS NULL) ORDER BY product_product.default_code, product_product.condensed_internal_ref;
Date: 2022-12-01 19:02:54 Duration: 1s819ms
-
SELECT product_product.id FROM "product_product" LEFT JOIN "product_template" AS "product_product__product_tmpl_id" ON ("product_product"."product_tmpl_id" = "product_product__product_tmpl_id"."id") LEFT JOIN "ir_translation" AS "product_product__product_tmpl_id__name" ON ("product_product__product_tmpl_id"."id" = "product_product__product_tmpl_id__name"."res_id" AND "product_product__product_tmpl_id__name"."type" = 'model' AND "product_product__product_tmpl_id__name"."name" = 'product.template,name' AND "product_product__product_tmpl_id__name"."lang" = 'en_US' AND "product_product__product_tmpl_id__name"."value" != '') WHERE (((("product_product"."active" = true) AND (((unaccent ("product_product"."condensed_internal_ref"::text) ilike unaccent ('%%L978%%')) OR (unaccent ("product_product"."default_code"::text) ilike unaccent ('%L978%'))) OR unaccent (COALESCE("product_product__product_tmpl_id__name"."value", "product_product__product_tmpl_id"."name")) ilike unaccent ('%L978%'))) AND ("product_product__product_tmpl_id"."is_core" IS NULL or "product_product__product_tmpl_id"."is_core" = false)) AND ("product_product__product_tmpl_id"."purchase_ok" IS NOT NULL and "product_product__product_tmpl_id"."purchase_ok" != false)) AND (("product_product__product_tmpl_id"."company_id" in (1)) OR "product_product__product_tmpl_id"."company_id" IS NULL) ORDER BY product_product.default_code, product_product.condensed_internal_ref;
Date: 2022-12-01 19:02:54 Duration: 1s802ms
16 647 3m14s 147ms 6s872ms 301ms update "stock_move" set "state" = ?, "write_uid" = ?, "write_date" = (now() at time zone ?) where id in (...);Times Reported Time consuming queries #16
Day Hour Count Duration Avg duration Dec 01 00 2 308ms 154ms 03 1 150ms 150ms 11 1 150ms 150ms 12 24 5s774ms 240ms 13 70 18s342ms 262ms 14 75 31s771ms 423ms 15 107 28s825ms 269ms 16 97 26s362ms 271ms 17 43 12s89ms 281ms 18 58 19s926ms 343ms 19 53 14s625ms 275ms 20 60 17s819ms 296ms 21 46 15s710ms 341ms 22 4 1s64ms 266ms 23 6 2s46ms 341ms -
UPDATE "stock_move" SET "state" = 'confirmed', "write_uid" = 1003, "write_date" = (now() at time zone 'UTC') WHERE id IN (167298, 167299, 167300, 167301, 167302, 167303, 167304, 167305, 167308, 167310, 167311, 167316, 167227, 167228, 167229, 167230, 167231, 167232, 167253, 167255, 167256, 167257, 167258, 167259, 167260, 167268, 167269, 167270, 167272, 167275, 167277, 167281, 167284, 167285, 167287, 167288, 167289, 167290, 167293, 167294);
Date: 2022-12-01 21:04:33 Duration: 6s872ms
-
UPDATE "stock_move" SET "state" = 'assigned', "write_uid" = 1037, "write_date" = (now() at time zone 'UTC') WHERE id IN (166603, 166604, 166605, 166606, 166607, 166608, 166609, 166610, 166611, 166612, 166613, 166614, 166615, 166616, 166617, 166618, 166619, 166620, 166621, 166622, 166623, 166624, 166625, 166626, 166627);
Date: 2022-12-01 18:22:19 Duration: 3s993ms
-
UPDATE "stock_move" SET "state" = 'assigned', "write_uid" = 997, "write_date" = (now() at time zone 'UTC') WHERE id IN (165713, 165714, 165715, 165716, 165717, 165718, 165719, 165720, 165721, 165722, 165723, 165724, 165725, 165726, 165727, 165728, 165729, 165730, 165731, 165732, 165733, 165734);
Date: 2022-12-01 14:52:47 Duration: 3s444ms
17 609 1m37s 149ms 566ms 160ms insert into "stock_move" ("id", "create_uid", "create_date", "write_uid", "write_date", "additional", "bom_action", "branch_id", "company_id", "date", "date_deadline", "description_picking", "group_id", "location_dest_id", "location_id", "move_options", "name", "origin", "partner_id", "picking_id", "picking_type_id", "price_unit", "priority", "procure_method", "product_id", "product_uom", "product_uom_qty", "propagate_cancel", "purchase_line_id", "sequence", "state", "warehouse_id") values (nextval(?), ?, (now() at time zone ?), ?, (now() at time zone ?), false, null, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, null, ?, ?, ?.?, ?, ?, ?, ?, ?, true, ?, ?, ?, ?) returning id;Times Reported Time consuming queries #17
Day Hour Count Duration Avg duration Dec 01 11 1 156ms 156ms 13 3 471ms 157ms 14 30 4s694ms 156ms 15 43 7s164ms 166ms 16 90 14s702ms 163ms 17 47 7s517ms 159ms 18 161 25s308ms 157ms 19 118 19s116ms 162ms 20 27 4s384ms 162ms 21 79 12s438ms 157ms 22 2 321ms 160ms 23 8 1s229ms 153ms -
INSERT INTO "stock_move" ("id", "create_uid", "create_date", "write_uid", "write_date", "additional", "bom_action", "branch_id", "company_id", "date", "date_deadline", "description_picking", "group_id", "location_dest_id", "location_id", "move_options", "name", "origin", "partner_id", "picking_id", "picking_type_id", "price_unit", "priority", "procure_method", "product_id", "product_uom", "product_uom_qty", "propagate_cancel", "purchase_line_id", "sequence", "state", "warehouse_id") VALUES (nextval('stock_move_id_seq'), 1035, (now() at time zone 'UTC'), 1035, (now() at time zone 'UTC'), false, NULL, 46, 1, '2022-12-01 15:31:14', '2022-12-01 15:31:14', '[801996] TABS6 Harness', 19100, 445, 4, 'new_product', '[801996] TABS6 Harness', 'N-00368', NULL, 24354, 337, 40.83, '0', 'make_to_stock', 174089, 1, '1.00', true, 15744, 10, 'draft', 43) RETURNING id;
Date: 2022-12-01 15:41:22 Duration: 566ms
-
INSERT INTO "stock_move" ("id", "create_uid", "create_date", "write_uid", "write_date", "additional", "bom_action", "branch_id", "company_id", "date", "date_deadline", "description_picking", "group_id", "location_dest_id", "location_id", "move_options", "name", "origin", "partner_id", "picking_id", "picking_type_id", "price_unit", "priority", "procure_method", "product_id", "product_uom", "product_uom_qty", "propagate_cancel", "purchase_line_id", "sequence", "state", "warehouse_id") VALUES (nextval('stock_move_id_seq'), 997, (now() at time zone 'UTC'), 997, (now() at time zone 'UTC'), false, NULL, 45, 1, '2022-12-01 16:13:15.685803', '2022-12-01 16:13:15.685803', '[GC2024] BRAKE CHAMBER R MAXI R1PT40', 19126, 437, 4, 'new_product', '[GC2024] BRAKE CHAMBER R MAXI R1PT40', 'I-00284', NULL, 24420, 329, 85.42, '0', 'make_to_stock', 183526, 1, '2.00', true, 15768, 10, 'draft', 42) RETURNING id;
Date: 2022-12-01 16:13:51 Duration: 326ms
-
INSERT INTO "stock_move" ("id", "create_uid", "create_date", "write_uid", "write_date", "additional", "bom_action", "branch_id", "company_id", "date", "date_deadline", "description_picking", "group_id", "location_dest_id", "location_id", "move_options", "name", "origin", "partner_id", "picking_id", "picking_type_id", "price_unit", "priority", "procure_method", "product_id", "product_uom", "product_uom_qty", "propagate_cancel", "purchase_line_id", "sequence", "state", "warehouse_id") VALUES (nextval('stock_move_id_seq'), 997, (now() at time zone 'UTC'), 997, (now() at time zone 'UTC'), false, NULL, 45, 1, '2022-12-01 16:13:15.692692', '2022-12-01 16:13:15.692692', '[GC3030CW] BRAKE CHAMBER GOLDSEAL 3030GC', 19126, 437, 4, 'new_product', '[GC3030CW] BRAKE CHAMBER GOLDSEAL 3030GC', 'I-00284', NULL, 24420, 329, 62.09, '0', 'make_to_stock', 183539, 1, '3.00', true, 15769, 10, 'draft', 42) RETURNING id;
Date: 2022-12-01 16:13:52 Duration: 320ms
18 508 2m36s 150ms 4s905ms 307ms update "stock_move" set "date" = ?, "is_done" = true, "state" = ?, "write_uid" = ?, "write_date" = (now() at time zone ?) where id in (...);Times Reported Time consuming queries #18
Day Hour Count Duration Avg duration Dec 01 11 1 152ms 152ms 12 10 2s506ms 250ms 13 60 17s445ms 290ms 14 67 22s230ms 331ms 15 83 27s782ms 334ms 16 71 20s685ms 291ms 17 23 6s610ms 287ms 18 29 14s67ms 485ms 19 33 13s324ms 403ms 20 100 25s341ms 253ms 21 29 5s541ms 191ms 22 2 770ms 385ms -
UPDATE "stock_move" SET "date" = '2022-12-01 15:58:52', "is_done" = true, "state" = 'done', "write_uid" = 969, "write_date" = (now() at time zone 'UTC') WHERE id IN (165925, 165926, 165927, 165931, 165934, 165935, 145460, 165951, 165952, 165955, 165956, 131655, 131656, 131657, 131658, 131659, 131660, 131661, 131662, 131663, 131664, 131665, 131666, 131667, 131668, 131669, 131670, 165966, 165974, 165975, 165977, 166009);
Date: 2022-12-01 15:58:59 Duration: 4s905ms
-
UPDATE "stock_move" SET "date" = '2022-12-01 16:23:07', "is_done" = true, "state" = 'done', "write_uid" = 969, "write_date" = (now() at time zone 'UTC') WHERE id IN (166057, 166058, 166060, 166068, 166070, 166082, 166091, 166092, 166093, 166094, 166097, 162008, 166105, 166106, 166107, 166104, 166109, 166111, 166112, 166114, 163952);
Date: 2022-12-01 16:23:13 Duration: 4s139ms
-
UPDATE "stock_move" SET "date" = '2022-12-01 18:22:43', "is_done" = true, "state" = 'done', "write_uid" = 1037, "write_date" = (now() at time zone 'UTC') WHERE id IN (166602, 166603, 166604, 166605, 166606, 166607, 166608, 166609, 166610, 166611, 166612, 166613, 166614, 166615, 166616, 166617, 166618, 166619, 166620, 166621, 166622, 166623, 166624, 166625, 166626, 166627);
Date: 2022-12-01 18:22:51 Duration: 4s52ms
19 430 1m8s 148ms 226ms 158ms update "stock_move" set "product_qty" = ?.?, "scrapped" = false, "sequence" = ?, "state" = ?, "write_uid" = ?, "write_date" = (now() at time zone ?) where id in (...);Times Reported Time consuming queries #19
Day Hour Count Duration Avg duration Dec 01 14 3 475ms 158ms 15 17 2s663ms 156ms 16 53 8s910ms 168ms 17 39 6s42ms 154ms 18 145 22s549ms 155ms 19 85 13s522ms 159ms 20 16 2s501ms 156ms 21 65 10s518ms 161ms 23 7 1s63ms 151ms -
UPDATE "stock_move" SET "product_qty" = 2.0, "scrapped" = false, "sequence" = 40, "state" = 'assigned', "write_uid" = 1012, "write_date" = (now() at time zone 'UTC') WHERE id IN (166153);
Date: 2022-12-01 16:23:02 Duration: 226ms
-
UPDATE "stock_move" SET "product_qty" = 1.0, "scrapped" = false, "sequence" = 35, "state" = 'assigned', "write_uid" = 1012, "write_date" = (now() at time zone 'UTC') WHERE id IN (166152);
Date: 2022-12-01 16:23:01 Duration: 224ms
-
UPDATE "stock_move" SET "product_qty" = 1.0, "scrapped" = false, "sequence" = 45, "state" = 'assigned', "write_uid" = 1012, "write_date" = (now() at time zone 'UTC') WHERE id IN (166154);
Date: 2022-12-01 16:23:02 Duration: 224ms
20 422 1m16s 148ms 1s754ms 181ms update "stock_move" set "delay_alert_date" = ?, "is_done" = false, "picking_code" = ?, "reference" = ?, "unit_factor" = ?.?, "weight" = ?, "write_uid" = ?, "write_date" = (now() at time zone ?) where id in (...);Times Reported Time consuming queries #20
Day Hour Count Duration Avg duration Dec 01 14 24 3s701ms 154ms 15 30 4s824ms 160ms 16 64 11s353ms 177ms 17 36 6s62ms 168ms 18 125 22s510ms 180ms 19 77 14s553ms 189ms 20 9 2s480ms 275ms 21 51 10s37ms 196ms 23 6 1s57ms 176ms -
UPDATE "stock_move" SET "delay_alert_date" = NULL, "is_done" = false, "picking_code" = 'incoming', "reference" = '13-T/IN/01239', "unit_factor" = 1.0, "weight" = '0.00', "write_uid" = 997, "write_date" = (now() at time zone 'UTC') WHERE id IN (166747, 166757, 166727, 166731, 166732, 166743, 166736, 166711, 166744, 166713, 166745);
Date: 2022-12-01 18:40:12 Duration: 1s754ms
-
UPDATE "stock_move" SET "delay_alert_date" = NULL, "is_done" = false, "picking_code" = 'incoming', "reference" = '09-B/IN/00642', "unit_factor" = 1.0, "weight" = '0.00', "write_uid" = 997, "write_date" = (now() at time zone 'UTC') WHERE id IN (167396, 167397, 167433, 167435, 167403, 167405, 167418, 167388, 167422);
Date: 2022-12-01 21:49:31 Duration: 1s369ms
-
UPDATE "stock_move" SET "delay_alert_date" = NULL, "is_done" = false, "picking_code" = 'incoming', "reference" = '04-V/IN/00657', "unit_factor" = 1.0, "weight" = '0.00', "write_uid" = 1012, "write_date" = (now() at time zone 'UTC') WHERE id IN (167320, 167321, 167322, 167323, 167325, 167326);
Date: 2022-12-01 21:04:33 Duration: 1s173ms
Normalized slowest queries (N)
Rank Min duration Max duration Avg duration Times executed Total duration Query 1 1s941ms 54s259ms 28s654ms 5 2m23s delete from edi_810_invoice where id in (...);Times Reported Time consuming queries #1
Day Hour Count Duration Avg duration Dec 01 10 5 2m23s 28s654ms -
DELETE FROM edi_810_invoice WHERE id IN (5700, 5709, 5717, 5718, 5736, 5738, 5751, 5758, 5789, 5791, 5799, 5811, 5815, 5826, 5840, 5864, 5867, 5868, 5879, 5885, 5887, 5912, 5920, 5922, 5926, 5928, 5939, 5968, 5972, 5981, 6005, 6021, 6032, 6038, 6043, 6049, 6050, 6054, 6056, 6071, 6080, 6086, 6087, 6091, 6098, 6116, 6123, 6133, 6138, 6142, 6162, 6193, 6205, 6211, 6214, 6223, 6224, 6236, 6253, 6258, 6267, 6270, 6297, 6324, 6327, 6328, 6340, 6367, 6368, 6371, 6393, 6394, 6399, 6425, 6427, 6433, 6435, 6463, 6475, 6479, 6491, 6498, 6502, 6512, 6537, 6563, 6596, 6625, 6637, 6649, 6654, 6664, 6679, 6691, 6713, 6729, 6736, 6742, 6745, 6749, 6760, 6788, 6808, 6823, 6835, 6843, 6856, 6860, 6861, 6870, 6890, 6897, 6898, 6903, 6906, 6913, 6923, 6925, 6927, 6947, 6984, 7004, 7007, 7071, 7072, 7088, 7092, 7098, 7103, 7131, 7134, 7139, 7147, 7155, 7172, 7180, 7184, 7206, 7242, 7259, 7266, 7271, 7298, 7311, 7323, 7342, 7350, 7352, 7360, 7369, 7401, 7402, 7406, 7420, 7459, 7464, 7497, 7546, 7553, 7564, 7567, 7583, 7590, 7592, 7600, 7621, 7624, 7645, 7665, 7698, 7703, 7706, 7708, 7721, 7725, 7730, 7765, 7780, 7811, 7815, 7833, 7837, 7840, 7860, 7874, 7879, 7885, 7889, 7891, 7892, 7907, 7953, 7955, 7959, 7961, 7976, 7979, 7992, 7993, 7995, 8005, 8006, 8028, 8047, 8086, 8089, 8101, 8102, 8107, 8133, 8167, 8180, 8187, 8215, 8216, 8234, 8238, 8249, 8261, 8273, 8283, 8286, 8310, 8314, 8329, 8332, 8336, 8361, 8368, 8375, 8386, 8403, 8426, 8429, 8437, 8460, 8494, 8496, 8502, 8532, 8535, 8538, 8548, 8572, 8574, 8582, 8591, 8596, 8613, 8617, 8636, 8652, 8677, 8680, 8687, 8705, 8724, 8727, 8728, 8739, 8774, 8778, 8786, 8813, 8820, 8821, 8835, 8855, 8856, 8863, 8876, 8892, 8923, 8935, 8941, 8954, 8962, 8978, 8995, 9004, 9006, 9045, 9049, 9053, 9061, 9074, 9077, 9127, 9142, 9185, 9280, 9285, 9294, 9307, 9324, 9329, 9350, 9366, 9367, 9370, 9375, 9391, 9392, 9400, 9407, 9418, 9421, 9431, 9439, 9451, 9462, 9495, 9511, 9520, 9523, 9534, 9558, 9570, 9576, 9584, 9590, 9592, 9593, 9594, 9619, 9625, 9632, 9664, 9668, 9679, 9682, 9708, 9710, 9719, 9720, 9721, 9743, 9744, 9754, 9777, 9799, 9800, 9813, 9816, 9821, 9848, 9851, 9864, 9878, 9879, 9886, 9887, 9908, 9909, 9935, 9951, 9969, 9981, 9989, 9995, 10011, 10019, 10043, 10045, 10065, 10088, 10118, 10120, 10127, 10133, 10146, 10147, 10154, 10155, 10156, 10164, 10167, 10168, 10172, 10177, 10196, 10239, 10253, 10258, 10264, 10265, 10278, 10279, 10288, 10292, 10307, 10317, 10320, 10333, 10335, 10359, 10387, 10402, 10410, 10424, 10430, 10433, 10438, 10439, 10445, 10458, 10465, 10484, 10487, 10502, 10519, 10521, 10529, 10531, 10539, 10575, 10612, 10617, 10630, 10632, 10655, 10664, 10691, 10701, 10703, 10704, 10708, 10740, 10742, 10745, 10791, 10805, 10809, 10810, 10811, 10817, 10823, 10829, 10893, 10908, 10956, 10959, 10962, 10969, 10971, 10977, 10982, 11017, 11020, 11041, 11044, 11051, 11068, 11080, 11093, 11101, 11105, 11120, 11124, 11170, 11173, 11178, 11189, 11196, 11201, 11202, 11206, 11214, 11221, 11233, 11246, 11255, 11272, 11273, 11283, 11289, 11301, 11314, 11322, 11326, 11327, 11350, 11367, 12269, 12270, 12271, 12272, 12273, 12274, 12275, 12276, 12277, 12278, 12279, 12280, 12281, 12282, 12283, 12284, 12285, 12286, 12287, 12288, 12289, 12290, 12291, 12292, 12293, 12294, 12295, 12296, 12297, 12298, 12299, 12300, 12301, 12302, 12303, 12304, 12305, 12306, 12307, 12308, 12309, 12310, 12311, 12312, 12313, 12314, 12315, 12316, 12317, 12318, 12319, 12320, 12321, 12322, 12323, 12324, 12325, 12326, 12327, 12328, 12329, 12330, 12331, 12332, 12333, 12334, 12335, 12336, 12337, 12338, 12339, 12340, 12341, 12342, 12343, 12344, 12345, 12346, 12347, 12348, 12349, 12350, 12351, 12352, 12353, 12354, 12355, 12356, 12357, 12358, 12359, 12360, 12361, 12362, 12363, 12364, 12365, 12366, 12367, 12368, 12369, 12370, 12371, 12372, 12373, 12374, 12375, 12376, 12377, 12378, 12379, 12380, 12381, 12382, 12383, 12384, 12385, 12386, 12387, 12388, 12389, 12390, 12391, 12392, 12393, 12394, 12395, 12396, 12397, 12398, 12399, 12400, 12401, 12402, 12403, 12404, 12405, 12406, 12407, 12408, 12409, 12410, 12411, 12412, 12413, 12414, 12415, 12416, 12417, 12418, 12419, 12420, 12421, 12422, 12423, 12424, 12425, 12426, 12427, 12428, 12429, 12430, 12431, 12432, 12433, 12434, 12435, 12436, 12437, 12438, 12439, 12440, 12441, 12442, 12443, 12444, 12445, 12446, 12447, 12448, 12449, 12450, 12451, 12452, 12453, 12454, 12455, 12456, 12457, 12458, 12459, 12460, 12461, 12462, 12463, 12464, 12465, 12466, 12467, 12468, 12469, 12470, 12471, 12472, 12473, 12474, 12475, 12476, 12477, 12478, 12479, 12480, 12481, 12482, 12483, 12484, 12485, 12486, 12487, 12488, 12489, 12490, 12491, 12492, 12493, 12494, 12495, 12496, 12497, 12498, 12499, 12500, 12501, 12502, 12503, 12504, 12505, 12506, 12507, 12508, 12509, 12510, 12511, 12512, 12513, 12514, 12515, 12516, 12517, 12518, 12519, 12520, 12521, 12522, 12523, 12524, 12525, 12526, 12527, 12528, 12529, 12530, 12531, 12532, 12533, 12534, 12535, 12536, 12537, 12538, 12539, 12540, 12541, 12542, 12543, 12544, 12545, 12546, 12547, 12548, 12549, 12550, 12551, 12552, 12553, 12554, 12555, 12556, 12557, 12558, 12559, 12560, 12561, 12562, 12563, 12564, 12565, 12566, 12567, 12568, 12569, 12570, 12571, 12572, 12573, 12574, 12575, 12576, 12577, 12578, 12579, 12580, 12581, 12582, 12583, 12584, 12585, 12586, 12587, 12588, 12589, 12590, 12591, 12592, 12593, 12594, 12595, 12596, 12597, 12598, 12599, 12600, 12601, 12602, 12603, 12604, 12605, 12606, 12607, 12608, 12609, 12610, 12611, 12612, 12613, 12614, 12615, 12616, 12617, 12618, 12619, 12620, 12621, 12622, 12623, 12624, 12625, 12626, 12627, 12628, 12629, 12630, 12631, 12632, 12633, 12634, 12635, 12636, 12637, 12638, 12639, 12640, 12641, 12642, 12643, 12644, 12645, 12646, 12647, 12648, 12649, 12650, 12651, 12652, 12653, 12654, 12655, 12656, 12657, 12658, 12659, 12660, 12661, 12662, 12663, 12664, 12665, 12666, 12667, 12668, 12669, 12670, 12671, 12672, 12673, 12674, 12675, 12676, 12677, 12678, 12679, 12680, 12681, 12682, 12683, 12684, 12685, 12686, 12687, 12688, 12689, 12690, 12691, 12692, 12693, 12694, 12695, 12696, 12697, 12698, 12699, 12700, 12701, 12702, 12703, 12704, 12705, 12706, 12707, 12708, 12709, 12710, 12711, 12712, 12713, 12714, 12715, 12716, 12717, 12718, 12719, 12720, 12721, 12722, 12723, 12724, 12725, 12726, 12727, 12728, 12729, 12730, 12731, 12732, 12733, 12734, 12735, 12736, 12737, 12738, 12739, 12740, 12741, 12742, 12743, 12744, 12745, 12746, 12747, 12748, 12749, 12750, 12751, 12752, 12753, 12754, 12755, 12756, 12757, 12758, 12759, 12760, 12761, 12762, 12763, 12764, 12765, 12766, 12767, 12768, 12769, 12770, 12771, 12772, 12773, 12774, 12775, 12776, 12777, 12778, 12779, 12780, 12781, 12782, 12783, 12784, 12785);
Date: 2022-12-01 10:10:12 Duration: 54s259ms
-
DELETE FROM edi_810_invoice WHERE id IN (13387, 13389, 13391, 13392, 13393, 13394, 13397, 13398, 13401, 13403, 13406, 13407, 13409, 13410, 13411, 13412, 13413, 13415, 13419, 13420, 13421, 13422, 13423, 13426, 13427, 13428, 13429, 13430, 13431, 13432, 13433, 13435, 13436, 13437, 13439, 13440, 13441, 13443, 13445, 13446, 13447, 13448, 13449, 13450, 13451, 13452, 13453, 13455, 13457, 13458, 13460, 13462, 13463, 13465, 13466, 13468, 13469, 13471, 13472, 13473, 13474, 13476, 13477, 13479, 13480, 13481, 13482, 13484, 13485, 13486, 13487, 13488, 13489, 13490, 13492, 13493, 13494, 13496, 13498, 13500, 13504, 13505, 13506, 13507, 13508, 13509, 13510, 13511, 13514, 13515, 13516, 13518, 13519, 13521, 13523, 13525, 13526, 13529, 13530, 13531, 13532, 13534, 13536, 13537, 13539, 13541, 13542, 13544, 13545, 13546, 13548, 13549, 13550, 13555, 13558, 13560, 13562, 13565, 13566, 13567, 13568, 13571, 13572, 13573, 13577, 13579, 13580, 13581, 13582, 13583, 13584, 13585, 13587, 13590, 13591, 13592, 13594, 13595, 13596, 13598, 13599, 13600, 13601, 13602, 13603, 13604, 13605, 13606, 13607, 13608, 13609, 13610, 13611, 13612, 13613, 13614, 13615, 13616, 13617, 13618, 13619, 13620, 13621, 13622, 13623, 13624, 13625, 13626, 13627, 13628, 13629, 13630, 13631, 13632, 13633, 13634, 13635, 13636, 13637, 13638, 13639, 13640, 13641, 13642, 13643, 13644, 13645, 13646, 13647, 13648, 13649, 13650, 13651, 13652, 13653, 13654, 13655, 13656, 13657, 13658, 13659, 13660, 13661, 13662, 13663, 13664, 13665, 13666, 13667, 13668, 13669, 13670, 13671, 13672, 13673, 13674, 13675, 13676, 13677, 13678, 13679, 13680, 13681, 13682, 13683, 13684, 13685, 13686, 13687, 13688, 13689, 13690, 13691, 13692, 13693, 13694, 13695, 13696, 13697, 13698, 13699, 13700, 13701, 13702, 13703, 13704, 13705, 13706, 13707, 13708, 13709, 13710, 13711, 13712, 13713, 13714, 13715, 13716, 13717, 13718, 13719, 13720, 13721, 13722, 13723, 13724, 13725, 13726, 13727, 13728, 13729, 13730, 13731, 13732, 13733, 13734, 13735, 13736, 13737, 13738, 13739, 13740, 13741, 13742, 13743, 13744, 13745, 13746, 13747, 13748, 13749, 13750, 13751, 13752, 13753, 13754, 13755, 13756, 13757, 13758, 13759, 13760, 13761, 13762, 13763, 13764, 13765, 13766, 13767, 13768, 13769, 13770, 13771, 13772, 13773, 13774, 13775, 13776, 13777, 13778, 13779, 13780, 13781, 13782, 13783, 13784, 13785, 13786, 13787, 13788, 13789, 13790, 13791, 13792, 13793, 13794, 13795, 13796, 13797, 13798, 13799, 13800, 13801, 13802, 13803, 13804, 13805, 13806, 13807, 13808, 13809, 13810, 13811, 13812, 13813, 13814, 13815, 13816, 13817, 13818, 13819, 13820, 13821, 13822, 13823, 13824, 13825, 13826, 13827, 13828, 13829, 13830, 13831, 13832, 13833, 13834, 13835, 13836, 13837, 13838, 13839, 13840, 13841, 13842, 13843, 13844, 13845, 13846, 13847, 13848, 13849, 13850, 13851, 13852, 13853, 13854, 13855, 13856, 13857, 13858, 13859, 13860, 13861, 13862, 13863, 13864, 13865, 13866, 13867, 13868, 13869, 13870, 13871, 13872, 13873, 13874, 13875, 13876, 13877, 13878, 13879, 13880, 13881, 13882, 13883, 13884, 13885, 13886, 13887, 13888, 13889, 13890, 13891, 13892, 13893, 13894, 13895, 13896, 13897, 13898, 13899, 13900, 13901, 13902, 13903, 13904, 13905, 13906, 13907, 13908, 13909, 13910, 13911, 13912, 13913, 13914, 13915, 13916, 13917, 13918, 13919, 13920, 13921, 13922, 13923, 13924, 13925, 13926, 13927, 13928, 13929, 13930, 13931, 13932, 13933, 13934, 13935, 13936, 13937, 13938, 13939, 13940, 13941, 13942, 13943, 13944, 13945, 13946, 13947, 13948, 13949, 13950, 13951, 13952, 13953, 13954, 13955, 13956, 13957, 13958, 13959, 13960, 13961, 13962, 13963, 13964, 13965, 13966, 13967, 13968, 13969, 13970, 13971, 13972, 13973, 13974, 13975, 13976, 13977, 13978, 13979, 13980, 13981, 13982, 13983, 13984, 13985, 13986, 13987, 13988, 13989, 13990, 13991, 13992, 13993, 13994, 13995, 13996, 13997, 13998, 13999, 14000, 14001, 14002, 14003, 14004, 14005, 14006, 14007, 14008, 14009, 14010, 14011, 14012, 14013, 14014, 14015, 14016, 14017, 14018, 14019, 14020, 14021, 14022, 14023, 14024, 14025, 14026, 14027, 14028, 14029, 14030, 14031, 14032, 14033, 14034, 14035, 14036, 14037, 14038, 14039, 14040, 14041, 14042, 14043, 14044, 14045, 14046, 14047, 14048, 14049, 14050, 14051, 14052, 14053, 14054, 14055, 14056, 14057, 14058, 14059, 14060, 14061, 14062, 14063, 14064, 14065, 14066, 14067, 14068, 14069, 14070, 14071, 14072, 14074, 14075, 14076, 14077, 14078, 14079, 14080, 14081, 14082, 14083, 14084, 14085, 14086, 14087, 14088, 14089, 14090, 14091, 14092, 14093, 14094, 14095, 14096, 14097, 14098, 14099, 14100, 14101, 14102, 14103, 14104, 14105, 14106, 14107, 14108, 14109, 14110, 14111, 14112, 14113, 14114, 14115, 14116, 14117, 14118, 14119, 14120, 14121, 14122, 14123, 14124, 14125, 14126, 14127, 14128, 14129, 14130, 14131, 14132, 14133, 14134, 14135, 14136, 14137, 14138, 14139, 14140, 14141, 14142, 14143, 14144, 14145, 14146, 14147, 14148, 14149, 14150, 14151, 14152, 14153, 14154, 14155, 14156, 14157, 14158, 14159, 14160, 14161, 14162, 14163, 14164, 14165, 14166, 14167, 14168, 14169, 14170, 14171, 14172, 14173, 14174, 14175, 14176, 14177, 14178, 14179, 14180, 14181, 14182, 14183, 14184, 14185, 14186, 14187, 14188, 14189, 14190, 14191, 14192, 14193, 14194, 14195, 14196, 14197, 14198, 14199, 14200, 14201, 14202, 14203, 14204, 14205, 14206, 14207, 14208, 14209, 14210, 14211, 14212, 14213, 14214, 14215, 14216, 14217, 14218, 14219, 14220, 14221, 14222, 14223, 14224, 14225, 14226, 14227, 14228, 14229, 14230, 14231, 14232, 14233, 14234, 14235, 14236, 14237, 14238, 14239, 14240, 14241, 14242, 14243, 14244, 14245, 14246, 14247, 14248, 14249, 14250, 14251, 14252, 14253, 14254, 14255, 14256, 14257, 14258, 14259, 14260, 14261, 14262, 14263, 14264, 14265, 14266, 14267, 14268, 14269, 14270, 14271, 14272, 14273, 14274, 14275, 14276, 14277, 14278, 14279, 14280, 14281, 14282, 14283, 14284, 14285, 14286, 14287, 14288, 14289, 14290, 14291, 14292, 14293, 14294, 14295, 14296, 14297, 14298, 14299, 14300, 14301, 14302, 14303, 14305, 14306, 14307, 14308, 14309, 14310, 14311, 14312, 14313, 14314, 14315, 14316, 14317, 14318, 14319, 14320, 14321, 14322, 14323, 14324, 14325, 14326, 14327, 14328, 14329, 14330, 14331, 14332, 14333, 14334, 14335, 14336, 14337, 14338, 14339, 14340, 14341, 14342, 14343, 14344, 14345, 14346, 14347, 14348, 14349, 14350, 14351, 14352, 14353, 14354, 14355, 14356, 14357, 14358, 14359, 14360, 14361, 14362, 14363, 14364, 14365, 14366, 14367, 14368, 14369, 14370, 14371, 14372, 14373, 14374, 14375, 14376, 14377, 14378, 14379, 14380, 14381, 14382, 14383, 14384, 14385, 14386, 14387, 14388, 14389, 14390, 14391, 14392, 14393, 14394, 14395, 14396, 14397, 14398, 14399, 14400, 14401, 14402, 14403, 14404, 14406, 14407, 14408, 14409, 14411, 14412, 14413, 14414, 14415, 14416, 14418, 14419, 14420, 14421, 14422, 14423, 14424, 14425, 14426, 14427, 14428, 14429, 14430, 14431, 14432, 14433, 14434, 14435, 14436, 14437, 14438, 14439, 14440, 14441, 14442, 14443, 14444, 14445, 14446, 14447, 14448, 14449, 14450, 14451, 14452, 14453, 14454, 14456, 14457, 14458, 14459, 14460, 14461, 14462, 14463, 14464);
Date: 2022-12-01 10:45:48 Duration: 51s325ms
-
DELETE FROM edi_810_invoice WHERE id IN (12786, 12787, 12788, 12789, 12790, 12791, 12792, 12793, 12794, 12795, 12796, 12797, 12798, 12799, 12800, 12801, 12802, 12803, 12804, 12805, 12806, 12807, 12808, 12809, 12810, 12811, 12812, 12813, 12814, 12815, 12816, 12817, 12818, 12819, 12820, 12821, 12822, 12823, 12824, 12825, 12826, 12827, 12828, 12829, 12830, 12831, 12832, 12833, 12834, 12835, 12836, 12837, 12838, 12839, 12840, 12841, 12842, 12843, 12844, 12845, 12846, 12847, 12848, 12849, 12850, 12851, 12852, 12853, 12854, 12855, 12856, 12857, 12858, 12859, 12860, 12861, 12862, 12863, 12864, 12865, 12866, 12867, 12868, 12869, 12870, 12871, 12872, 12873, 12874, 12875, 12876, 12877, 12878, 12879, 12880, 12881, 12882, 12883, 12884, 12885, 12886, 12887, 12888, 12889, 12890, 12891, 12892, 12893, 12894, 12895, 12896, 12897, 12898, 12899, 12900, 12901, 12902, 12903, 12904, 12905, 12906, 12907, 12908, 12909, 12910, 12911, 12912, 12913, 12914, 12915, 12916, 12917, 12918, 12919, 12920, 12921, 12922, 12923, 12924, 12925, 12926, 12927, 12928, 12929, 12930, 12931, 12932, 12933, 12934, 12935, 12936, 12937, 12938, 12939, 12940, 12941, 12942, 12943, 12944, 12945, 12946, 12947, 12948, 12949, 12950, 12951, 12952, 12953, 12954, 12955, 12956, 12957, 12958, 12959, 12960, 12961, 12962, 12963, 12964, 12965, 12966, 12967, 12968, 12969, 12970, 12971, 12972, 12973, 12974, 12975, 12976, 12977, 12978, 12979, 12980, 12981, 12982, 12983, 12984, 12985, 12986, 12987, 12988, 12989, 12990, 12991, 12992, 12993, 12994, 12995, 12996, 12997, 12998, 12999, 13000, 13001, 13002, 13003, 13004, 13005, 13006, 13007, 13008, 13009, 13010, 13011, 13012, 13013, 13014, 13015, 13016, 13017, 13018, 13019, 13021, 13022, 13023, 13024, 13025, 13026, 13027, 13028, 13029, 13030, 13031, 13032, 13033, 13034, 13035, 13036, 13037, 13038, 13039, 13040, 13041, 13042, 13043, 13044, 13045, 13046, 13047, 13048, 13049, 13050, 13051, 13052, 13053, 13054, 13055, 13056, 13057, 13058, 13059, 13060, 13061, 13062, 13063, 13064, 13065, 13066, 13067, 13068, 13069, 13070, 13071, 13072, 13073, 13074, 13075, 13076, 13077, 13078, 13079, 13080, 13081, 13082, 13083, 13084, 13085, 13086, 13087, 13088, 13089, 13090, 13091, 13092, 13093, 13094, 13095, 13096, 13097, 13098, 13099, 13100, 13101, 13102, 13103, 13104, 13105, 13106, 13107, 13108, 13109, 13110, 13111, 13112, 13113, 13114, 13115, 13116, 13117, 13118, 13119, 13120, 13121, 13122, 13123, 13124, 13125, 13126, 13127, 13128, 13129, 13130, 13131, 13132, 13133, 13134, 13135, 13136, 13137, 13138, 13139, 13140, 13141, 13142, 13143, 13144, 13145, 13146, 13147, 13148, 13149, 13150, 13151, 13152, 13153, 13154, 13155, 13156, 13157, 13158, 13159, 13160, 13161, 13162, 13163, 13164, 13165, 13166, 13167, 13168, 13169, 13170, 13171, 13172, 13173, 13174, 13175, 13176, 13177, 13178, 13179, 13180, 13181, 13182, 13183, 13184, 13185, 13186, 13187, 13188, 13189, 13190, 13191, 13192, 13193, 13194, 13195, 13196, 13197, 13198, 13199, 13200, 13201, 13202, 13203, 13204, 13205, 13206, 13207, 13208, 13209, 13210, 13211, 13212, 13213, 13214, 13215, 13216, 13217, 13218, 13219, 13220, 13221, 13222, 13223, 13224, 13225, 13226, 13227, 13228, 13229, 13230, 13231, 13232, 13233, 13234, 13235, 13236, 13237, 13238, 13239, 13240, 13241, 13242, 13243, 13244, 13245, 13246, 13247, 13248, 13249, 13250, 13251, 13252, 13253, 13254, 13255, 13256, 13257, 13258, 13259, 13260, 13261, 13262, 13263, 13264, 13265, 13266, 13267, 13268, 13269, 13270, 13271, 13272, 13273, 13274, 13275, 13276, 13277, 13278, 13279, 13280, 13281, 13282, 13283, 13284, 13285, 13286, 13287, 13288, 13289, 13290, 13291, 13292, 13293, 13294, 13295, 13296, 13297, 13298, 13299, 13300, 13301, 13302, 13303, 13304, 13305, 13306, 13307, 13308, 13309, 13310, 13311, 13312, 13313, 13314, 13315, 13316, 13317, 13318, 13319, 13320, 13321, 13322, 13323, 13324, 13325, 13326, 13327, 13328, 13329, 13330, 13331, 13332, 13333, 13334, 13335, 13336, 13337, 13338, 13339, 13340, 13341, 13342, 13343, 13344, 13345, 13346, 13347, 13348, 13349, 13350, 13351, 13352, 13353, 13354, 13355, 13356, 13357, 13358, 13359, 13360, 13361, 13362, 13363, 13364, 13365, 13366, 13367, 13368, 13369, 13370, 13371, 13372, 13373, 13374, 13375, 13376, 13377, 13378, 13379, 13380, 13381, 13382, 13383, 13384);
Date: 2022-12-01 10:10:43 Duration: 31s650ms
2 796ms 2s24ms 886ms 249 3m40s select "product_template".id from "product_template" left join "ir_translation" AS "product_template__description_sale" on ("product_template"."id" = "product_template__description_sale"."res_id" and "product_template__description_sale"."type" = ? and "product_template__description_sale"."name" = ? and "product_template__description_sale"."lang" = ? and "product_template__description_sale"."value" != ?) left join "ir_translation" AS "product_template__description" on ("product_template"."id" = "product_template__description"."res_id" and "product_template__description"."type" = ? and "product_template__description"."name" = ? and "product_template__description"."lang" = ? and "product_template__description"."value" != ?) left join "ir_translation" AS "product_template__name" on ("product_template"."id" = "product_template__name"."res_id" and "product_template__name"."type" = ? and "product_template__name"."name" = ? and "product_template__name"."lang" = ? and "product_template__name"."value" != ?) where (("product_template"."active" = true) and ((("product_template"."sale_ok" = true) and (("product_template"."website_id" in (...)) or "product_template"."website_id" is null)) and (((((unaccent (coalesce("product_template__name"."value", "product_template"."name")) ilike unaccent (?) or ("product_template"."id" in ( select "product_product"."product_tmpl_id" from "product_product" where (("product_product"."active" = true) and (unaccent ("product_product"."default_code"::text) ilike unaccent (?)))))) or ("product_template"."id" in ( select "product_product"."product_tmpl_id" from "product_product" where (("product_product"."active" = true) and (unaccent ("product_product"."condensed_internal_ref"::text) ilike unaccent (?)))))) or ("product_template"."inventory_vendor_id" in ( select "psd_custom_inventory_vendor".id from "psd_custom_inventory_vendor" where (unaccent ("psd_custom_inventory_vendor"."name"::text) ilike unaccent (?))))) or unaccent (coalesce("product_template__description"."value", "product_template"."description")) ilike unaccent (?)) or unaccent (coalesce("product_template__description_sale"."value", "product_template"."description_sale")) ilike unaccent (?)))) order by coalesce("product_template"."is_published", false) desc, "product_template"."website_sequence" asc, "product_template"."id" desc;Times Reported Time consuming queries #2
Day Hour Count Duration Avg duration Dec 01 12 33 28s912ms 876ms 13 27 24s140ms 894ms 14 24 25s142ms 1s47ms 15 24 22s243ms 926ms 16 39 33s878ms 868ms 17 24 20s181ms 840ms 18 21 17s659ms 840ms 20 12 11s468ms 955ms 21 27 22s179ms 821ms 22 18 14s867ms 825ms -
SELECT "product_template".id FROM "product_template" LEFT JOIN "ir_translation" AS "product_template__description_sale" ON ("product_template"."id" = "product_template__description_sale"."res_id" AND "product_template__description_sale"."type" = 'model' AND "product_template__description_sale"."name" = 'product.template,description_sale' AND "product_template__description_sale"."lang" = 'en_US' AND "product_template__description_sale"."value" != '') LEFT JOIN "ir_translation" AS "product_template__description" ON ("product_template"."id" = "product_template__description"."res_id" AND "product_template__description"."type" = 'model' AND "product_template__description"."name" = 'product.template,description' AND "product_template__description"."lang" = 'en_US' AND "product_template__description"."value" != '') LEFT JOIN "ir_translation" AS "product_template__name" ON ("product_template"."id" = "product_template__name"."res_id" AND "product_template__name"."type" = 'model' AND "product_template__name"."name" = 'product.template,name' AND "product_template__name"."lang" = 'en_US' AND "product_template__name"."value" != '') WHERE (("product_template"."active" = true) AND ((("product_template"."sale_ok" = true) AND (("product_template"."website_id" in (1)) OR "product_template"."website_id" IS NULL)) AND (((((unaccent (COALESCE("product_template__name"."value", "product_template"."name")) ilike unaccent ('%057977-000%') OR ("product_template"."id" IN ( SELECT "product_product"."product_tmpl_id" FROM "product_product" WHERE (("product_product"."active" = true) AND (unaccent ("product_product"."default_code"::text) ilike unaccent ('%057977-000%')))))) OR ("product_template"."id" IN ( SELECT "product_product"."product_tmpl_id" FROM "product_product" WHERE (("product_product"."active" = true) AND (unaccent ("product_product"."condensed_internal_ref"::text) ilike unaccent ('%057977-000%')))))) OR ("product_template"."inventory_vendor_id" in ( SELECT "psd_custom_inventory_vendor".id FROM "psd_custom_inventory_vendor" WHERE (unaccent ("psd_custom_inventory_vendor"."name"::text) ilike unaccent ('%057977-000%'))))) OR unaccent (COALESCE("product_template__description"."value", "product_template"."description")) ilike unaccent ('%057977-000%')) OR unaccent (COALESCE("product_template__description_sale"."value", "product_template"."description_sale")) ilike unaccent ('%057977-000%')))) ORDER BY COALESCE("product_template"."is_published", false) DESC, "product_template"."website_sequence" ASC, "product_template"."id" DESC;
Date: 2022-12-01 14:42:47 Duration: 2s24ms
-
SELECT "product_template".id FROM "product_template" LEFT JOIN "ir_translation" AS "product_template__description_sale" ON ("product_template"."id" = "product_template__description_sale"."res_id" AND "product_template__description_sale"."type" = 'model' AND "product_template__description_sale"."name" = 'product.template,description_sale' AND "product_template__description_sale"."lang" = 'en_US' AND "product_template__description_sale"."value" != '') LEFT JOIN "ir_translation" AS "product_template__description" ON ("product_template"."id" = "product_template__description"."res_id" AND "product_template__description"."type" = 'model' AND "product_template__description"."name" = 'product.template,description' AND "product_template__description"."lang" = 'en_US' AND "product_template__description"."value" != '') LEFT JOIN "ir_translation" AS "product_template__name" ON ("product_template"."id" = "product_template__name"."res_id" AND "product_template__name"."type" = 'model' AND "product_template__name"."name" = 'product.template,name' AND "product_template__name"."lang" = 'en_US' AND "product_template__name"."value" != '') WHERE (("product_template"."active" = true) AND ((("product_template"."sale_ok" = true) AND (("product_template"."website_id" in (1)) OR "product_template"."website_id" IS NULL)) AND (((((unaccent (COALESCE("product_template__name"."value", "product_template"."name")) ilike unaccent ('%k303-22%') OR ("product_template"."id" IN ( SELECT "product_product"."product_tmpl_id" FROM "product_product" WHERE (("product_product"."active" = true) AND (unaccent ("product_product"."default_code"::text) ilike unaccent ('%k303-22%')))))) OR ("product_template"."id" IN ( SELECT "product_product"."product_tmpl_id" FROM "product_product" WHERE (("product_product"."active" = true) AND (unaccent ("product_product"."condensed_internal_ref"::text) ilike unaccent ('%k303-22%')))))) OR ("product_template"."inventory_vendor_id" in ( SELECT "psd_custom_inventory_vendor".id FROM "psd_custom_inventory_vendor" WHERE (unaccent ("psd_custom_inventory_vendor"."name"::text) ilike unaccent ('%k303-22%'))))) OR unaccent (COALESCE("product_template__description"."value", "product_template"."description")) ilike unaccent ('%k303-22%')) OR unaccent (COALESCE("product_template__description_sale"."value", "product_template"."description_sale")) ilike unaccent ('%k303-22%')))) ORDER BY COALESCE("product_template"."is_published", false) DESC, "product_template"."website_sequence" ASC, "product_template"."id" DESC;
Date: 2022-12-01 14:40:08 Duration: 1s874ms
-
SELECT "product_template".id FROM "product_template" LEFT JOIN "ir_translation" AS "product_template__description_sale" ON ("product_template"."id" = "product_template__description_sale"."res_id" AND "product_template__description_sale"."type" = 'model' AND "product_template__description_sale"."name" = 'product.template,description_sale' AND "product_template__description_sale"."lang" = 'en_US' AND "product_template__description_sale"."value" != '') LEFT JOIN "ir_translation" AS "product_template__description" ON ("product_template"."id" = "product_template__description"."res_id" AND "product_template__description"."type" = 'model' AND "product_template__description"."name" = 'product.template,description' AND "product_template__description"."lang" = 'en_US' AND "product_template__description"."value" != '') LEFT JOIN "ir_translation" AS "product_template__name" ON ("product_template"."id" = "product_template__name"."res_id" AND "product_template__name"."type" = 'model' AND "product_template__name"."name" = 'product.template,name' AND "product_template__name"."lang" = 'en_US' AND "product_template__name"."value" != '') WHERE (("product_template"."active" = true) AND ((("product_template"."sale_ok" = true) AND (("product_template"."website_id" in (1)) OR "product_template"."website_id" IS NULL)) AND (((((unaccent (COALESCE("product_template__name"."value", "product_template"."name")) ilike unaccent ('%e10914%') OR ("product_template"."id" IN ( SELECT "product_product"."product_tmpl_id" FROM "product_product" WHERE (("product_product"."active" = true) AND (unaccent ("product_product"."default_code"::text) ilike unaccent ('%e10914%')))))) OR ("product_template"."id" IN ( SELECT "product_product"."product_tmpl_id" FROM "product_product" WHERE (("product_product"."active" = true) AND (unaccent ("product_product"."condensed_internal_ref"::text) ilike unaccent ('%e10914%')))))) OR ("product_template"."inventory_vendor_id" in ( SELECT "psd_custom_inventory_vendor".id FROM "psd_custom_inventory_vendor" WHERE (unaccent ("psd_custom_inventory_vendor"."name"::text) ilike unaccent ('%e10914%'))))) OR unaccent (COALESCE("product_template__description"."value", "product_template"."description")) ilike unaccent ('%e10914%')) OR unaccent (COALESCE("product_template__description_sale"."value", "product_template"."description_sale")) ilike unaccent ('%e10914%')))) ORDER BY COALESCE("product_template"."is_published", false) DESC, "product_template"."website_sequence" ASC, "product_template"."id" DESC;
Date: 2022-12-01 15:56:39 Duration: 1s697ms
3 578ms 2s117ms 882ms 281 4m8s select "product_template".id from "product_template" left join "ir_translation" AS "product_template__description_sale" on ("product_template"."id" = "product_template__description_sale"."res_id" and "product_template__description_sale"."type" = ? and "product_template__description_sale"."name" = ? and "product_template__description_sale"."lang" = ? and "product_template__description_sale"."value" != ?) left join "ir_translation" AS "product_template__description" on ("product_template"."id" = "product_template__description"."res_id" and "product_template__description"."type" = ? and "product_template__description"."name" = ? and "product_template__description"."lang" = ? and "product_template__description"."value" != ?) left join "ir_translation" AS "product_template__name" on ("product_template"."id" = "product_template__name"."res_id" and "product_template__name"."type" = ? and "product_template__name"."name" = ? and "product_template__name"."lang" = ? and "product_template__name"."value" != ?) where (("product_template"."active" = true) and ((("product_template"."sale_ok" = true) and (("product_template"."website_id" in (...)) or "product_template"."website_id" is null)) and (((((unaccent (coalesce("product_template__name"."value", "product_template"."name")) ilike unaccent (?) or ("product_template"."id" in ( select "product_product"."product_tmpl_id" from "product_product" where (("product_product"."active" = true) and (unaccent ("product_product"."default_code"::text) ilike unaccent (?)))))) or ("product_template"."id" in ( select "product_product"."product_tmpl_id" from "product_product" where (("product_product"."active" = true) and (unaccent ("product_product"."condensed_internal_ref"::text) ilike unaccent (?)))))) or ("product_template"."inventory_vendor_id" in ( select "psd_custom_inventory_vendor".id from "psd_custom_inventory_vendor" where (unaccent ("psd_custom_inventory_vendor"."name"::text) ilike unaccent (?))))) or unaccent (coalesce("product_template__description"."value", "product_template"."description")) ilike unaccent (?)) or unaccent (coalesce("product_template__description_sale"."value", "product_template"."description_sale")) ilike unaccent (?)))) order by coalesce("product_template"."is_published", false) desc, "product_template"."website_sequence" asc, "product_template"."id" desc limit ?;Times Reported Time consuming queries #3
Day Hour Count Duration Avg duration Dec 01 00 2 1s368ms 684ms 12 37 31s486ms 850ms 13 27 23s920ms 885ms 14 49 49s146ms 1s2ms 15 31 25s478ms 821ms 16 34 30s89ms 884ms 17 52 43s767ms 841ms 18 8 6s810ms 851ms 20 14 14s102ms 1s7ms 21 9 7s298ms 810ms 22 18 14s595ms 810ms -
SELECT "product_template".id FROM "product_template" LEFT JOIN "ir_translation" AS "product_template__description_sale" ON ("product_template"."id" = "product_template__description_sale"."res_id" AND "product_template__description_sale"."type" = 'model' AND "product_template__description_sale"."name" = 'product.template,description_sale' AND "product_template__description_sale"."lang" = 'en_US' AND "product_template__description_sale"."value" != '') LEFT JOIN "ir_translation" AS "product_template__description" ON ("product_template"."id" = "product_template__description"."res_id" AND "product_template__description"."type" = 'model' AND "product_template__description"."name" = 'product.template,description' AND "product_template__description"."lang" = 'en_US' AND "product_template__description"."value" != '') LEFT JOIN "ir_translation" AS "product_template__name" ON ("product_template"."id" = "product_template__name"."res_id" AND "product_template__name"."type" = 'model' AND "product_template__name"."name" = 'product.template,name' AND "product_template__name"."lang" = 'en_US' AND "product_template__name"."value" != '') WHERE (("product_template"."active" = true) AND ((("product_template"."sale_ok" = true) AND (("product_template"."website_id" in (1)) OR "product_template"."website_id" IS NULL)) AND (((((unaccent (COALESCE("product_template__name"."value", "product_template"."name")) ilike unaccent ('%k303-%') OR ("product_template"."id" IN ( SELECT "product_product"."product_tmpl_id" FROM "product_product" WHERE (("product_product"."active" = true) AND (unaccent ("product_product"."default_code"::text) ilike unaccent ('%k303-%')))))) OR ("product_template"."id" IN ( SELECT "product_product"."product_tmpl_id" FROM "product_product" WHERE (("product_product"."active" = true) AND (unaccent ("product_product"."condensed_internal_ref"::text) ilike unaccent ('%k303-%')))))) OR ("product_template"."inventory_vendor_id" in ( SELECT "psd_custom_inventory_vendor".id FROM "psd_custom_inventory_vendor" WHERE (unaccent ("psd_custom_inventory_vendor"."name"::text) ilike unaccent ('%k303-%'))))) OR unaccent (COALESCE("product_template__description"."value", "product_template"."description")) ilike unaccent ('%k303-%')) OR unaccent (COALESCE("product_template__description_sale"."value", "product_template"."description_sale")) ilike unaccent ('%k303-%')))) ORDER BY COALESCE("product_template"."is_published", false) DESC, "product_template"."website_sequence" ASC, "product_template"."id" DESC LIMIT 5;
Date: 2022-12-01 14:40:08 Duration: 2s117ms
-
SELECT "product_template".id FROM "product_template" LEFT JOIN "ir_translation" AS "product_template__description_sale" ON ("product_template"."id" = "product_template__description_sale"."res_id" AND "product_template__description_sale"."type" = 'model' AND "product_template__description_sale"."name" = 'product.template,description_sale' AND "product_template__description_sale"."lang" = 'en_US' AND "product_template__description_sale"."value" != '') LEFT JOIN "ir_translation" AS "product_template__description" ON ("product_template"."id" = "product_template__description"."res_id" AND "product_template__description"."type" = 'model' AND "product_template__description"."name" = 'product.template,description' AND "product_template__description"."lang" = 'en_US' AND "product_template__description"."value" != '') LEFT JOIN "ir_translation" AS "product_template__name" ON ("product_template"."id" = "product_template__name"."res_id" AND "product_template__name"."type" = 'model' AND "product_template__name"."name" = 'product.template,name' AND "product_template__name"."lang" = 'en_US' AND "product_template__name"."value" != '') WHERE (("product_template"."active" = true) AND ((("product_template"."sale_ok" = true) AND (("product_template"."website_id" in (1)) OR "product_template"."website_id" IS NULL)) AND (((((unaccent (COALESCE("product_template__name"."value", "product_template"."name")) ilike unaccent ('%k303-22%') OR ("product_template"."id" IN ( SELECT "product_product"."product_tmpl_id" FROM "product_product" WHERE (("product_product"."active" = true) AND (unaccent ("product_product"."default_code"::text) ilike unaccent ('%k303-22%')))))) OR ("product_template"."id" IN ( SELECT "product_product"."product_tmpl_id" FROM "product_product" WHERE (("product_product"."active" = true) AND (unaccent ("product_product"."condensed_internal_ref"::text) ilike unaccent ('%k303-22%')))))) OR ("product_template"."inventory_vendor_id" in ( SELECT "psd_custom_inventory_vendor".id FROM "psd_custom_inventory_vendor" WHERE (unaccent ("psd_custom_inventory_vendor"."name"::text) ilike unaccent ('%k303-22%'))))) OR unaccent (COALESCE("product_template__description"."value", "product_template"."description")) ilike unaccent ('%k303-22%')) OR unaccent (COALESCE("product_template__description_sale"."value", "product_template"."description_sale")) ilike unaccent ('%k303-22%')))) ORDER BY COALESCE("product_template"."is_published", false) DESC, "product_template"."website_sequence" ASC, "product_template"."id" DESC LIMIT 5;
Date: 2022-12-01 14:40:09 Duration: 1s997ms
-
SELECT "product_template".id FROM "product_template" LEFT JOIN "ir_translation" AS "product_template__description_sale" ON ("product_template"."id" = "product_template__description_sale"."res_id" AND "product_template__description_sale"."type" = 'model' AND "product_template__description_sale"."name" = 'product.template,description_sale' AND "product_template__description_sale"."lang" = 'en_US' AND "product_template__description_sale"."value" != '') LEFT JOIN "ir_translation" AS "product_template__description" ON ("product_template"."id" = "product_template__description"."res_id" AND "product_template__description"."type" = 'model' AND "product_template__description"."name" = 'product.template,description' AND "product_template__description"."lang" = 'en_US' AND "product_template__description"."value" != '') LEFT JOIN "ir_translation" AS "product_template__name" ON ("product_template"."id" = "product_template__name"."res_id" AND "product_template__name"."type" = 'model' AND "product_template__name"."name" = 'product.template,name' AND "product_template__name"."lang" = 'en_US' AND "product_template__name"."value" != '') WHERE (("product_template"."active" = true) AND ((("product_template"."sale_ok" = true) AND (("product_template"."website_id" in (1)) OR "product_template"."website_id" IS NULL)) AND (((((unaccent (COALESCE("product_template__name"."value", "product_template"."name")) ilike unaccent ('%057977%') OR ("product_template"."id" IN ( SELECT "product_product"."product_tmpl_id" FROM "product_product" WHERE (("product_product"."active" = true) AND (unaccent ("product_product"."default_code"::text) ilike unaccent ('%057977%')))))) OR ("product_template"."id" IN ( SELECT "product_product"."product_tmpl_id" FROM "product_product" WHERE (("product_product"."active" = true) AND (unaccent ("product_product"."condensed_internal_ref"::text) ilike unaccent ('%057977%')))))) OR ("product_template"."inventory_vendor_id" in ( SELECT "psd_custom_inventory_vendor".id FROM "psd_custom_inventory_vendor" WHERE (unaccent ("psd_custom_inventory_vendor"."name"::text) ilike unaccent ('%057977%'))))) OR unaccent (COALESCE("product_template__description"."value", "product_template"."description")) ilike unaccent ('%057977%')) OR unaccent (COALESCE("product_template__description_sale"."value", "product_template"."description_sale")) ilike unaccent ('%057977%')))) ORDER BY COALESCE("product_template"."is_published", false) DESC, "product_template"."website_sequence" ASC, "product_template"."id" DESC LIMIT 5;
Date: 2022-12-01 14:42:35 Duration: 1s986ms
4 555ms 2s371ms 867ms 259 3m44s select count(?) from "product_template" left join "ir_translation" AS "product_template__description_sale" on ("product_template"."id" = "product_template__description_sale"."res_id" and "product_template__description_sale"."type" = ? and "product_template__description_sale"."name" = ? and "product_template__description_sale"."lang" = ? and "product_template__description_sale"."value" != ?) left join "ir_translation" AS "product_template__description" on ("product_template"."id" = "product_template__description"."res_id" and "product_template__description"."type" = ? and "product_template__description"."name" = ? and "product_template__description"."lang" = ? and "product_template__description"."value" != ?) left join "ir_translation" AS "product_template__name" on ("product_template"."id" = "product_template__name"."res_id" and "product_template__name"."type" = ? and "product_template__name"."name" = ? and "product_template__name"."lang" = ? and "product_template__name"."value" != ?) where (("product_template"."active" = true) and ((("product_template"."sale_ok" = true) and (("product_template"."website_id" in (...)) or "product_template"."website_id" is null)) and (((((unaccent (coalesce("product_template__name"."value", "product_template"."name")) ilike unaccent (?) or ("product_template"."id" in ( select "product_product"."product_tmpl_id" from "product_product" where (("product_product"."active" = true) and (unaccent ("product_product"."default_code"::text) ilike unaccent (?)))))) or ("product_template"."id" in ( select "product_product"."product_tmpl_id" from "product_product" where (("product_product"."active" = true) and (unaccent ("product_product"."condensed_internal_ref"::text) ilike unaccent (?)))))) or ("product_template"."inventory_vendor_id" in ( select "psd_custom_inventory_vendor".id from "psd_custom_inventory_vendor" where (unaccent ("psd_custom_inventory_vendor"."name"::text) ilike unaccent (?))))) or unaccent (coalesce("product_template__description"."value", "product_template"."description")) ilike unaccent (?)) or unaccent (coalesce("product_template__description_sale"."value", "product_template"."description_sale")) ilike unaccent (?))));Times Reported Time consuming queries #4
Day Hour Count Duration Avg duration Dec 01 00 2 1s347ms 673ms 12 35 31s129ms 889ms 13 22 19s122ms 869ms 14 44 42s313ms 961ms 15 30 24s312ms 810ms 16 29 24s844ms 856ms 17 49 40s757ms 831ms 18 8 7s46ms 880ms 20 14 12s738ms 909ms 21 9 7s301ms 811ms 22 17 13s727ms 807ms -
SELECT count(1) FROM "product_template" LEFT JOIN "ir_translation" AS "product_template__description_sale" ON ("product_template"."id" = "product_template__description_sale"."res_id" AND "product_template__description_sale"."type" = 'model' AND "product_template__description_sale"."name" = 'product.template,description_sale' AND "product_template__description_sale"."lang" = 'en_US' AND "product_template__description_sale"."value" != '') LEFT JOIN "ir_translation" AS "product_template__description" ON ("product_template"."id" = "product_template__description"."res_id" AND "product_template__description"."type" = 'model' AND "product_template__description"."name" = 'product.template,description' AND "product_template__description"."lang" = 'en_US' AND "product_template__description"."value" != '') LEFT JOIN "ir_translation" AS "product_template__name" ON ("product_template"."id" = "product_template__name"."res_id" AND "product_template__name"."type" = 'model' AND "product_template__name"."name" = 'product.template,name' AND "product_template__name"."lang" = 'en_US' AND "product_template__name"."value" != '') WHERE (("product_template"."active" = true) AND ((("product_template"."sale_ok" = true) AND (("product_template"."website_id" in (1)) OR "product_template"."website_id" IS NULL)) AND (((((unaccent (COALESCE("product_template__name"."value", "product_template"."name")) ilike unaccent ('%057%') OR ("product_template"."id" IN ( SELECT "product_product"."product_tmpl_id" FROM "product_product" WHERE (("product_product"."active" = true) AND (unaccent ("product_product"."default_code"::text) ilike unaccent ('%057%')))))) OR ("product_template"."id" IN ( SELECT "product_product"."product_tmpl_id" FROM "product_product" WHERE (("product_product"."active" = true) AND (unaccent ("product_product"."condensed_internal_ref"::text) ilike unaccent ('%057%')))))) OR ("product_template"."inventory_vendor_id" in ( SELECT "psd_custom_inventory_vendor".id FROM "psd_custom_inventory_vendor" WHERE (unaccent ("psd_custom_inventory_vendor"."name"::text) ilike unaccent ('%057%'))))) OR unaccent (COALESCE("product_template__description"."value", "product_template"."description")) ilike unaccent ('%057%')) OR unaccent (COALESCE("product_template__description_sale"."value", "product_template"."description_sale")) ilike unaccent ('%057%'))));
Date: 2022-12-01 14:42:35 Duration: 2s371ms
-
SELECT count(1) FROM "product_template" LEFT JOIN "ir_translation" AS "product_template__description_sale" ON ("product_template"."id" = "product_template__description_sale"."res_id" AND "product_template__description_sale"."type" = 'model' AND "product_template__description_sale"."name" = 'product.template,description_sale' AND "product_template__description_sale"."lang" = 'en_US' AND "product_template__description_sale"."value" != '') LEFT JOIN "ir_translation" AS "product_template__description" ON ("product_template"."id" = "product_template__description"."res_id" AND "product_template__description"."type" = 'model' AND "product_template__description"."name" = 'product.template,description' AND "product_template__description"."lang" = 'en_US' AND "product_template__description"."value" != '') LEFT JOIN "ir_translation" AS "product_template__name" ON ("product_template"."id" = "product_template__name"."res_id" AND "product_template__name"."type" = 'model' AND "product_template__name"."name" = 'product.template,name' AND "product_template__name"."lang" = 'en_US' AND "product_template__name"."value" != '') WHERE (("product_template"."active" = true) AND ((("product_template"."sale_ok" = true) AND (("product_template"."website_id" in (1)) OR "product_template"."website_id" IS NULL)) AND (((((unaccent (COALESCE("product_template__name"."value", "product_template"."name")) ilike unaccent ('%k303%') OR ("product_template"."id" IN ( SELECT "product_product"."product_tmpl_id" FROM "product_product" WHERE (("product_product"."active" = true) AND (unaccent ("product_product"."default_code"::text) ilike unaccent ('%k303%')))))) OR ("product_template"."id" IN ( SELECT "product_product"."product_tmpl_id" FROM "product_product" WHERE (("product_product"."active" = true) AND (unaccent ("product_product"."condensed_internal_ref"::text) ilike unaccent ('%k303%')))))) OR ("product_template"."inventory_vendor_id" in ( SELECT "psd_custom_inventory_vendor".id FROM "psd_custom_inventory_vendor" WHERE (unaccent ("psd_custom_inventory_vendor"."name"::text) ilike unaccent ('%k303%'))))) OR unaccent (COALESCE("product_template__description"."value", "product_template"."description")) ilike unaccent ('%k303%')) OR unaccent (COALESCE("product_template__description_sale"."value", "product_template"."description_sale")) ilike unaccent ('%k303%'))));
Date: 2022-12-01 14:40:09 Duration: 1s880ms
-
SELECT count(1) FROM "product_template" LEFT JOIN "ir_translation" AS "product_template__description_sale" ON ("product_template"."id" = "product_template__description_sale"."res_id" AND "product_template__description_sale"."type" = 'model' AND "product_template__description_sale"."name" = 'product.template,description_sale' AND "product_template__description_sale"."lang" = 'en_US' AND "product_template__description_sale"."value" != '') LEFT JOIN "ir_translation" AS "product_template__description" ON ("product_template"."id" = "product_template__description"."res_id" AND "product_template__description"."type" = 'model' AND "product_template__description"."name" = 'product.template,description' AND "product_template__description"."lang" = 'en_US' AND "product_template__description"."value" != '') LEFT JOIN "ir_translation" AS "product_template__name" ON ("product_template"."id" = "product_template__name"."res_id" AND "product_template__name"."type" = 'model' AND "product_template__name"."name" = 'product.template,name' AND "product_template__name"."lang" = 'en_US' AND "product_template__name"."value" != '') WHERE (("product_template"."active" = true) AND ((("product_template"."sale_ok" = true) AND (("product_template"."website_id" in (1)) OR "product_template"."website_id" IS NULL)) AND (((((unaccent (COALESCE("product_template__name"."value", "product_template"."name")) ilike unaccent ('%057977-000%') OR ("product_template"."id" IN ( SELECT "product_product"."product_tmpl_id" FROM "product_product" WHERE (("product_product"."active" = true) AND (unaccent ("product_product"."default_code"::text) ilike unaccent ('%057977-000%')))))) OR ("product_template"."id" IN ( SELECT "product_product"."product_tmpl_id" FROM "product_product" WHERE (("product_product"."active" = true) AND (unaccent ("product_product"."condensed_internal_ref"::text) ilike unaccent ('%057977-000%')))))) OR ("product_template"."inventory_vendor_id" in ( SELECT "psd_custom_inventory_vendor".id FROM "psd_custom_inventory_vendor" WHERE (unaccent ("psd_custom_inventory_vendor"."name"::text) ilike unaccent ('%057977-000%'))))) OR unaccent (COALESCE("product_template__description"."value", "product_template"."description")) ilike unaccent ('%057977-000%')) OR unaccent (COALESCE("product_template__description_sale"."value", "product_template"."description_sale")) ilike unaccent ('%057977-000%'))));
Date: 2022-12-01 14:42:46 Duration: 1s619ms
5 602ms 1s734ms 700ms 933 10m53s select "product_template".id from "product_template" left join "ir_translation" AS "product_template__name" on ("product_template"."id" = "product_template__name"."res_id" and "product_template__name"."type" = ? and "product_template__name"."name" = ? and "product_template__name"."lang" = ? and "product_template__name"."value" != ?) where (("product_template"."active" = true) and (("product_template"."is_core" is null or "product_template"."is_core" = false) and (("product_template"."type" in (...)) and (((((unaccent ("product_template"."default_code"::text) ilike unaccent (?)) or ("product_template"."id" in ( select "product_product"."product_tmpl_id" from "product_product" left join "product_template" AS "product_product__product_tmpl_id" on ("product_product"."product_tmpl_id" = "product_product__product_tmpl_id"."id") where (("product_product"."active" = true) and (unaccent ("product_product"."default_code"::text) ilike unaccent (?))) and (("product_product__product_tmpl_id"."company_id" in (...)) or "product_product__product_tmpl_id"."company_id" is null)))) or unaccent (coalesce("product_template__name"."value", "product_template"."name")) ilike unaccent (?)) or false) or (unaccent ("product_template"."condensed_internal_ref"::text) ilike unaccent (?)))))) and (("product_template"."company_id" in (...)) or "product_template"."company_id" is null) order by coalesce("product_template__name"."value", "product_template"."name") limit ?;Times Reported Time consuming queries #5
Day Hour Count Duration Avg duration Dec 01 00 4 2s668ms 667ms 11 2 1s302ms 651ms 12 46 30s757ms 668ms 13 113 1m19s 701ms 14 119 1m26s 729ms 15 70 50s178ms 716ms 16 107 1m15s 702ms 17 73 49s942ms 684ms 18 134 1m32s 690ms 19 107 1m14s 694ms 20 108 1m16s 705ms 21 37 25s342ms 684ms 22 12 7s979ms 664ms 23 1 659ms 659ms -
SELECT "product_template".id FROM "product_template" LEFT JOIN "ir_translation" AS "product_template__name" ON ("product_template"."id" = "product_template__name"."res_id" AND "product_template__name"."type" = 'model' AND "product_template__name"."name" = 'product.template,name' AND "product_template__name"."lang" = 'en_US' AND "product_template__name"."value" != '') WHERE (("product_template"."active" = true) AND (("product_template"."is_core" IS NULL or "product_template"."is_core" = false) AND (("product_template"."type" in ('consu', 'product')) AND (((((unaccent ("product_template"."default_code"::text) ilike unaccent ('%12z-612%')) OR ("product_template"."id" IN ( SELECT "product_product"."product_tmpl_id" FROM "product_product" LEFT JOIN "product_template" AS "product_product__product_tmpl_id" ON ("product_product"."product_tmpl_id" = "product_product__product_tmpl_id"."id") WHERE (("product_product"."active" = true) AND (unaccent ("product_product"."default_code"::text) ilike unaccent ('%12z-612%'))) AND (("product_product__product_tmpl_id"."company_id" in (1)) OR "product_product__product_tmpl_id"."company_id" IS NULL)))) OR unaccent (COALESCE("product_template__name"."value", "product_template"."name")) ilike unaccent ('%12z-612%')) OR FALSE) OR (unaccent ("product_template"."condensed_internal_ref"::text) ilike unaccent ('%12z-612%')))))) AND (("product_template"."company_id" in (1)) OR "product_template"."company_id" IS NULL) ORDER BY COALESCE("product_template__name"."value", "product_template"."name") LIMIT 80;
Date: 2022-12-01 14:40:37 Duration: 1s734ms
-
SELECT "product_template".id FROM "product_template" LEFT JOIN "ir_translation" AS "product_template__name" ON ("product_template"."id" = "product_template__name"."res_id" AND "product_template__name"."type" = 'model' AND "product_template__name"."name" = 'product.template,name' AND "product_template__name"."lang" = 'en_US' AND "product_template__name"."value" != '') WHERE (("product_template"."active" = true) AND (("product_template"."is_core" IS NULL or "product_template"."is_core" = false) AND (("product_template"."type" in ('consu', 'product')) AND (((((unaccent ("product_template"."default_code"::text) ilike unaccent ('%325-544%')) OR ("product_template"."id" IN ( SELECT "product_product"."product_tmpl_id" FROM "product_product" LEFT JOIN "product_template" AS "product_product__product_tmpl_id" ON ("product_product"."product_tmpl_id" = "product_product__product_tmpl_id"."id") WHERE (("product_product"."active" = true) AND (unaccent ("product_product"."default_code"::text) ilike unaccent ('%325-544%'))) AND (("product_product__product_tmpl_id"."company_id" in (1)) OR "product_product__product_tmpl_id"."company_id" IS NULL)))) OR unaccent (COALESCE("product_template__name"."value", "product_template"."name")) ilike unaccent ('%325-544%')) OR FALSE) OR (unaccent ("product_template"."condensed_internal_ref"::text) ilike unaccent ('%325-544%')))))) AND (("product_template"."company_id" in (1)) OR "product_template"."company_id" IS NULL) ORDER BY COALESCE("product_template__name"."value", "product_template"."name") LIMIT 80;
Date: 2022-12-01 20:18:52 Duration: 1s369ms
-
SELECT "product_template".id FROM "product_template" LEFT JOIN "ir_translation" AS "product_template__name" ON ("product_template"."id" = "product_template__name"."res_id" AND "product_template__name"."type" = 'model' AND "product_template__name"."name" = 'product.template,name' AND "product_template__name"."lang" = 'en_US' AND "product_template__name"."value" != '') WHERE (("product_template"."active" = true) AND (("product_template"."is_core" IS NULL or "product_template"."is_core" = false) AND (("product_template"."type" in ('consu', 'product')) AND (((((unaccent ("product_template"."default_code"::text) ilike unaccent ('%40010013%')) OR ("product_template"."id" IN ( SELECT "product_product"."product_tmpl_id" FROM "product_product" LEFT JOIN "product_template" AS "product_product__product_tmpl_id" ON ("product_product"."product_tmpl_id" = "product_product__product_tmpl_id"."id") WHERE (("product_product"."active" = true) AND (unaccent ("product_product"."default_code"::text) ilike unaccent ('%40010013%'))) AND (("product_product__product_tmpl_id"."company_id" in (1)) OR "product_product__product_tmpl_id"."company_id" IS NULL)))) OR unaccent (COALESCE("product_template__name"."value", "product_template"."name")) ilike unaccent ('%40010013%')) OR FALSE) OR (unaccent ("product_template"."condensed_internal_ref"::text) ilike unaccent ('%40010013%')))))) AND (("product_template"."company_id" in (1)) OR "product_template"."company_id" IS NULL) ORDER BY COALESCE("product_template__name"."value", "product_template"."name") LIMIT 80;
Date: 2022-12-01 14:42:43 Duration: 1s351ms
6 498ms 1s850ms 588ms 1,389 13m38s select product_product.id from "product_product" left join "product_template" AS "product_product__product_tmpl_id" on ("product_product"."product_tmpl_id" = "product_product__product_tmpl_id"."id") left join "ir_translation" AS "product_product__product_tmpl_id__name" on ("product_product__product_tmpl_id"."id" = "product_product__product_tmpl_id__name"."res_id" and "product_product__product_tmpl_id__name"."type" = ? and "product_product__product_tmpl_id__name"."name" = ? and "product_product__product_tmpl_id__name"."lang" = ? and "product_product__product_tmpl_id__name"."value" != ?) where (("product_product"."active" = true) and (((unaccent ("product_product"."condensed_internal_ref"::text) ilike unaccent (?)) or (unaccent ("product_product"."default_code"::text) ilike unaccent (?))) or unaccent (coalesce("product_product__product_tmpl_id__name"."value", "product_product__product_tmpl_id"."name")) ilike unaccent (?))) and (("product_product__product_tmpl_id"."company_id" in (...)) or "product_product__product_tmpl_id"."company_id" is null) order by product_product.default_code, product_product.condensed_internal_ref;Times Reported Time consuming queries #6
Day Hour Count Duration Avg duration Dec 01 10 6 3s145ms 524ms 12 54 28s765ms 532ms 13 80 44s34ms 550ms 14 127 1m11s 564ms 15 242 2m31s 624ms 16 250 2m44s 656ms 17 33 17s930ms 543ms 18 139 1m22s 592ms 19 234 2m14s 574ms 20 184 1m39s 538ms 21 40 21s474ms 536ms -
SELECT product_product.id FROM "product_product" LEFT JOIN "product_template" AS "product_product__product_tmpl_id" ON ("product_product"."product_tmpl_id" = "product_product__product_tmpl_id"."id") LEFT JOIN "ir_translation" AS "product_product__product_tmpl_id__name" ON ("product_product__product_tmpl_id"."id" = "product_product__product_tmpl_id__name"."res_id" AND "product_product__product_tmpl_id__name"."type" = 'model' AND "product_product__product_tmpl_id__name"."name" = 'product.template,name' AND "product_product__product_tmpl_id__name"."lang" = 'en_US' AND "product_product__product_tmpl_id__name"."value" != '') WHERE (("product_product"."active" = true) AND (((unaccent ("product_product"."condensed_internal_ref"::text) ilike unaccent ('%%27900%%')) OR (unaccent ("product_product"."default_code"::text) ilike unaccent ('%27900%'))) OR unaccent (COALESCE("product_product__product_tmpl_id__name"."value", "product_product__product_tmpl_id"."name")) ilike unaccent ('%27900%'))) AND (("product_product__product_tmpl_id"."company_id" in (1)) OR "product_product__product_tmpl_id"."company_id" IS NULL) ORDER BY product_product.default_code, product_product.condensed_internal_ref;
Date: 2022-12-01 16:07:17 Duration: 1s850ms
-
SELECT product_product.id FROM "product_product" LEFT JOIN "product_template" AS "product_product__product_tmpl_id" ON ("product_product"."product_tmpl_id" = "product_product__product_tmpl_id"."id") LEFT JOIN "ir_translation" AS "product_product__product_tmpl_id__name" ON ("product_product__product_tmpl_id"."id" = "product_product__product_tmpl_id__name"."res_id" AND "product_product__product_tmpl_id__name"."type" = 'model' AND "product_product__product_tmpl_id__name"."name" = 'product.template,name' AND "product_product__product_tmpl_id__name"."lang" = 'en_US' AND "product_product__product_tmpl_id__name"."value" != '') WHERE (("product_product"."active" = true) AND (((unaccent ("product_product"."condensed_internal_ref"::text) ilike unaccent ('%%279000%%')) OR (unaccent ("product_product"."default_code"::text) ilike unaccent ('%279000%'))) OR unaccent (COALESCE("product_product__product_tmpl_id__name"."value", "product_product__product_tmpl_id"."name")) ilike unaccent ('%279000%'))) AND (("product_product__product_tmpl_id"."company_id" in (1)) OR "product_product__product_tmpl_id"."company_id" IS NULL) ORDER BY product_product.default_code, product_product.condensed_internal_ref;
Date: 2022-12-01 16:07:17 Duration: 1s715ms
-
SELECT product_product.id FROM "product_product" LEFT JOIN "product_template" AS "product_product__product_tmpl_id" ON ("product_product"."product_tmpl_id" = "product_product__product_tmpl_id"."id") LEFT JOIN "ir_translation" AS "product_product__product_tmpl_id__name" ON ("product_product__product_tmpl_id"."id" = "product_product__product_tmpl_id__name"."res_id" AND "product_product__product_tmpl_id__name"."type" = 'model' AND "product_product__product_tmpl_id__name"."name" = 'product.template,name' AND "product_product__product_tmpl_id__name"."lang" = 'en_US' AND "product_product__product_tmpl_id__name"."value" != '') WHERE (("product_product"."active" = true) AND (((unaccent ("product_product"."condensed_internal_ref"::text) ilike unaccent ('%%513%%')) OR (unaccent ("product_product"."default_code"::text) ilike unaccent ('%5-13%'))) OR unaccent (COALESCE("product_product__product_tmpl_id__name"."value", "product_product__product_tmpl_id"."name")) ilike unaccent ('%5-13%'))) AND (("product_product__product_tmpl_id"."company_id" in (1)) OR "product_product__product_tmpl_id"."company_id" IS NULL) ORDER BY product_product.default_code, product_product.condensed_internal_ref;
Date: 2022-12-01 16:24:49 Duration: 1s708ms
7 512ms 1s250ms 578ms 331 3m11s select product_product.id from "product_product" left join "product_template" AS "product_product__product_tmpl_id" on ("product_product"."product_tmpl_id" = "product_product__product_tmpl_id"."id") left join "ir_translation" AS "product_product__product_tmpl_id__name" on ("product_product__product_tmpl_id"."id" = "product_product__product_tmpl_id__name"."res_id" and "product_product__product_tmpl_id__name"."type" = ? and "product_product__product_tmpl_id__name"."name" = ? and "product_product__product_tmpl_id__name"."lang" = ? and "product_product__product_tmpl_id__name"."value" != ?) where (((unaccent ("product_product"."condensed_internal_ref"::text) ilike unaccent (?)) or (unaccent ("product_product"."default_code"::text) ilike unaccent (?))) or unaccent (coalesce("product_product__product_tmpl_id__name"."value", "product_product__product_tmpl_id"."name")) ilike unaccent (?)) and (("product_product__product_tmpl_id"."company_id" in (...)) or "product_product__product_tmpl_id"."company_id" is null) order by product_product.default_code, product_product.condensed_internal_ref;Times Reported Time consuming queries #7
Day Hour Count Duration Avg duration Dec 01 11 10 5s366ms 536ms 12 2 1s81ms 540ms 13 23 12s800ms 556ms 14 57 34s753ms 609ms 15 63 37s152ms 589ms 16 73 42s747ms 585ms 17 18 9s955ms 553ms 18 31 17s515ms 565ms 19 26 14s80ms 541ms 20 21 12s245ms 583ms 21 7 3s729ms 532ms -
SELECT product_product.id FROM "product_product" LEFT JOIN "product_template" AS "product_product__product_tmpl_id" ON ("product_product"."product_tmpl_id" = "product_product__product_tmpl_id"."id") LEFT JOIN "ir_translation" AS "product_product__product_tmpl_id__name" ON ("product_product__product_tmpl_id"."id" = "product_product__product_tmpl_id__name"."res_id" AND "product_product__product_tmpl_id__name"."type" = 'model' AND "product_product__product_tmpl_id__name"."name" = 'product.template,name' AND "product_product__product_tmpl_id__name"."lang" = 'en_US' AND "product_product__product_tmpl_id__name"."value" != '') WHERE (((unaccent ("product_product"."condensed_internal_ref"::text) ilike unaccent ('%%5541095%%')) OR (unaccent ("product_product"."default_code"::text) ilike unaccent ('%5541095%'))) OR unaccent (COALESCE("product_product__product_tmpl_id__name"."value", "product_product__product_tmpl_id"."name")) ilike unaccent ('%5541095%')) AND (("product_product__product_tmpl_id"."company_id" in (1)) OR "product_product__product_tmpl_id"."company_id" IS NULL) ORDER BY product_product.default_code, product_product.condensed_internal_ref;
Date: 2022-12-01 16:23:10 Duration: 1s250ms
-
SELECT product_product.id FROM "product_product" LEFT JOIN "product_template" AS "product_product__product_tmpl_id" ON ("product_product"."product_tmpl_id" = "product_product__product_tmpl_id"."id") LEFT JOIN "ir_translation" AS "product_product__product_tmpl_id__name" ON ("product_product__product_tmpl_id"."id" = "product_product__product_tmpl_id__name"."res_id" AND "product_product__product_tmpl_id__name"."type" = 'model' AND "product_product__product_tmpl_id__name"."name" = 'product.template,name' AND "product_product__product_tmpl_id__name"."lang" = 'en_US' AND "product_product__product_tmpl_id__name"."value" != '') WHERE (((unaccent ("product_product"."condensed_internal_ref"::text) ilike unaccent ('%%munnel%%')) OR (unaccent ("product_product"."default_code"::text) ilike unaccent ('%munnel%'))) OR unaccent (COALESCE("product_product__product_tmpl_id__name"."value", "product_product__product_tmpl_id"."name")) ilike unaccent ('%munnel%')) AND (("product_product__product_tmpl_id"."company_id" in (1)) OR "product_product__product_tmpl_id"."company_id" IS NULL) ORDER BY product_product.default_code, product_product.condensed_internal_ref;
Date: 2022-12-01 14:41:46 Duration: 1s153ms
-
SELECT product_product.id FROM "product_product" LEFT JOIN "product_template" AS "product_product__product_tmpl_id" ON ("product_product"."product_tmpl_id" = "product_product__product_tmpl_id"."id") LEFT JOIN "ir_translation" AS "product_product__product_tmpl_id__name" ON ("product_product__product_tmpl_id"."id" = "product_product__product_tmpl_id__name"."res_id" AND "product_product__product_tmpl_id__name"."type" = 'model' AND "product_product__product_tmpl_id__name"."name" = 'product.template,name' AND "product_product__product_tmpl_id__name"."lang" = 'en_US' AND "product_product__product_tmpl_id__name"."value" != '') WHERE (((unaccent ("product_product"."condensed_internal_ref"::text) ilike unaccent ('%%gaff1326%%')) OR (unaccent ("product_product"."default_code"::text) ilike unaccent ('%gaff1326%'))) OR unaccent (COALESCE("product_product__product_tmpl_id__name"."value", "product_product__product_tmpl_id"."name")) ilike unaccent ('%gaff1326%')) AND (("product_product__product_tmpl_id"."company_id" in (1)) OR "product_product__product_tmpl_id"."company_id" IS NULL) ORDER BY product_product.default_code, product_product.condensed_internal_ref;
Date: 2022-12-01 15:51:09 Duration: 1s78ms
8 490ms 2s251ms 577ms 4,246 40m52s select product_product.id from "product_product" left join "product_template" AS "product_product__product_tmpl_id" on ("product_product"."product_tmpl_id" = "product_product__product_tmpl_id"."id") left join "ir_translation" AS "product_product__product_tmpl_id__name" on ("product_product__product_tmpl_id"."id" = "product_product__product_tmpl_id__name"."res_id" and "product_product__product_tmpl_id__name"."type" = ? and "product_product__product_tmpl_id__name"."name" = ? and "product_product__product_tmpl_id__name"."lang" = ? and "product_product__product_tmpl_id__name"."value" != ?) where ((("product_product"."active" = true) and (((unaccent ("product_product"."condensed_internal_ref"::text) ilike unaccent (?)) or (unaccent ("product_product"."default_code"::text) ilike unaccent (?))) or unaccent (coalesce("product_product__product_tmpl_id__name"."value", "product_product__product_tmpl_id"."name")) ilike unaccent (?))) and ("product_product__product_tmpl_id"."sale_ok" is not null and "product_product__product_tmpl_id"."sale_ok" != false)) and (("product_product__product_tmpl_id"."company_id" in (...)) or "product_product__product_tmpl_id"."company_id" is null) order by product_product.default_code, product_product.condensed_internal_ref;Times Reported Time consuming queries #8
Day Hour Count Duration Avg duration Dec 01 12 254 2m18s 543ms 13 544 5m4s 560ms 14 588 5m59s 611ms 15 542 5m3s 559ms 16 273 3m 662ms 17 290 2m39s 550ms 18 582 5m55s 610ms 19 482 4m39s 579ms 20 387 3m28s 539ms 21 165 1m27s 530ms 22 45 23s503ms 522ms 23 94 51s226ms 544ms -
SELECT product_product.id FROM "product_product" LEFT JOIN "product_template" AS "product_product__product_tmpl_id" ON ("product_product"."product_tmpl_id" = "product_product__product_tmpl_id"."id") LEFT JOIN "ir_translation" AS "product_product__product_tmpl_id__name" ON ("product_product__product_tmpl_id"."id" = "product_product__product_tmpl_id__name"."res_id" AND "product_product__product_tmpl_id__name"."type" = 'model' AND "product_product__product_tmpl_id__name"."name" = 'product.template,name' AND "product_product__product_tmpl_id__name"."lang" = 'en_US' AND "product_product__product_tmpl_id__name"."value" != '') WHERE ((("product_product"."active" = true) AND (((unaccent ("product_product"."condensed_internal_ref"::text) ilike unaccent ('%%70747%%')) OR (unaccent ("product_product"."default_code"::text) ilike unaccent ('%70747%'))) OR unaccent (COALESCE("product_product__product_tmpl_id__name"."value", "product_product__product_tmpl_id"."name")) ilike unaccent ('%70747%'))) AND ("product_product__product_tmpl_id"."sale_ok" IS NOT NULL and "product_product__product_tmpl_id"."sale_ok" != false)) AND (("product_product__product_tmpl_id"."company_id" in (1)) OR "product_product__product_tmpl_id"."company_id" IS NULL) ORDER BY product_product.default_code, product_product.condensed_internal_ref;
Date: 2022-12-01 19:02:55 Duration: 2s251ms
-
SELECT product_product.id FROM "product_product" LEFT JOIN "product_template" AS "product_product__product_tmpl_id" ON ("product_product"."product_tmpl_id" = "product_product__product_tmpl_id"."id") LEFT JOIN "ir_translation" AS "product_product__product_tmpl_id__name" ON ("product_product__product_tmpl_id"."id" = "product_product__product_tmpl_id__name"."res_id" AND "product_product__product_tmpl_id__name"."type" = 'model' AND "product_product__product_tmpl_id__name"."name" = 'product.template,name' AND "product_product__product_tmpl_id__name"."lang" = 'en_US' AND "product_product__product_tmpl_id__name"."value" != '') WHERE ((("product_product"."active" = true) AND (((unaccent ("product_product"."condensed_internal_ref"::text) ilike unaccent ('%%4664%%')) OR (unaccent ("product_product"."default_code"::text) ilike unaccent ('%4664%'))) OR unaccent (COALESCE("product_product__product_tmpl_id__name"."value", "product_product__product_tmpl_id"."name")) ilike unaccent ('%4664%'))) AND ("product_product__product_tmpl_id"."sale_ok" IS NOT NULL and "product_product__product_tmpl_id"."sale_ok" != false)) AND (("product_product__product_tmpl_id"."company_id" in (1)) OR "product_product__product_tmpl_id"."company_id" IS NULL) ORDER BY product_product.default_code, product_product.condensed_internal_ref;
Date: 2022-12-01 14:38:55 Duration: 2s234ms
-
SELECT product_product.id FROM "product_product" LEFT JOIN "product_template" AS "product_product__product_tmpl_id" ON ("product_product"."product_tmpl_id" = "product_product__product_tmpl_id"."id") LEFT JOIN "ir_translation" AS "product_product__product_tmpl_id__name" ON ("product_product__product_tmpl_id"."id" = "product_product__product_tmpl_id__name"."res_id" AND "product_product__product_tmpl_id__name"."type" = 'model' AND "product_product__product_tmpl_id__name"."name" = 'product.template,name' AND "product_product__product_tmpl_id__name"."lang" = 'en_US' AND "product_product__product_tmpl_id__name"."value" != '') WHERE ((("product_product"."active" = true) AND (((unaccent ("product_product"."condensed_internal_ref"::text) ilike unaccent ('%%442GCAHXA5%%')) OR (unaccent ("product_product"."default_code"::text) ilike unaccent ('%442GCAHX-A5%'))) OR unaccent (COALESCE("product_product__product_tmpl_id__name"."value", "product_product__product_tmpl_id"."name")) ilike unaccent ('%442GCAHX-A5%'))) AND ("product_product__product_tmpl_id"."sale_ok" IS NOT NULL and "product_product__product_tmpl_id"."sale_ok" != false)) AND (("product_product__product_tmpl_id"."company_id" in (1)) OR "product_product__product_tmpl_id"."company_id" IS NULL) ORDER BY product_product.default_code, product_product.condensed_internal_ref;
Date: 2022-12-01 16:08:03 Duration: 2s212ms
9 506ms 2s187ms 576ms 651 6m15s select product_product.id from "product_product" left join "product_template" AS "product_product__product_tmpl_id" on ("product_product"."product_tmpl_id" = "product_product__product_tmpl_id"."id") left join "ir_translation" AS "product_product__product_tmpl_id__name" on ("product_product__product_tmpl_id"."id" = "product_product__product_tmpl_id__name"."res_id" and "product_product__product_tmpl_id__name"."type" = ? and "product_product__product_tmpl_id__name"."name" = ? and "product_product__product_tmpl_id__name"."lang" = ? and "product_product__product_tmpl_id__name"."value" != ?) where (((("product_product"."active" = true) and (((unaccent ("product_product"."condensed_internal_ref"::text) ilike unaccent (?)) or (unaccent ("product_product"."default_code"::text) ilike unaccent (?))) or unaccent (coalesce("product_product__product_tmpl_id__name"."value", "product_product__product_tmpl_id"."name")) ilike unaccent (?))) and ("product_product__product_tmpl_id"."is_core" is null or "product_product__product_tmpl_id"."is_core" = false)) and ("product_product__product_tmpl_id"."purchase_ok" is not null and "product_product__product_tmpl_id"."purchase_ok" != false)) and (("product_product__product_tmpl_id"."company_id" in (...)) or "product_product__product_tmpl_id"."company_id" is null) order by product_product.default_code, product_product.condensed_internal_ref;Times Reported Time consuming queries #9
Day Hour Count Duration Avg duration Dec 01 11 7 3s796ms 542ms 13 7 3s827ms 546ms 14 49 27s966ms 570ms 15 29 15s550ms 536ms 16 26 16s149ms 621ms 17 33 18s367ms 556ms 18 69 42s694ms 618ms 19 222 2m13s 599ms 20 39 23s16ms 590ms 21 133 1m11s 536ms 22 28 14s621ms 522ms 23 9 4s710ms 523ms -
SELECT product_product.id FROM "product_product" LEFT JOIN "product_template" AS "product_product__product_tmpl_id" ON ("product_product"."product_tmpl_id" = "product_product__product_tmpl_id"."id") LEFT JOIN "ir_translation" AS "product_product__product_tmpl_id__name" ON ("product_product__product_tmpl_id"."id" = "product_product__product_tmpl_id__name"."res_id" AND "product_product__product_tmpl_id__name"."type" = 'model' AND "product_product__product_tmpl_id__name"."name" = 'product.template,name' AND "product_product__product_tmpl_id__name"."lang" = 'en_US' AND "product_product__product_tmpl_id__name"."value" != '') WHERE (((("product_product"."active" = true) AND (((unaccent ("product_product"."condensed_internal_ref"::text) ilike unaccent ('%%L97863%%')) OR (unaccent ("product_product"."default_code"::text) ilike unaccent ('%L97863%'))) OR unaccent (COALESCE("product_product__product_tmpl_id__name"."value", "product_product__product_tmpl_id"."name")) ilike unaccent ('%L97863%'))) AND ("product_product__product_tmpl_id"."is_core" IS NULL or "product_product__product_tmpl_id"."is_core" = false)) AND ("product_product__product_tmpl_id"."purchase_ok" IS NOT NULL and "product_product__product_tmpl_id"."purchase_ok" != false)) AND (("product_product__product_tmpl_id"."company_id" in (1)) OR "product_product__product_tmpl_id"."company_id" IS NULL) ORDER BY product_product.default_code, product_product.condensed_internal_ref;
Date: 2022-12-01 19:02:55 Duration: 2s187ms
-
SELECT product_product.id FROM "product_product" LEFT JOIN "product_template" AS "product_product__product_tmpl_id" ON ("product_product"."product_tmpl_id" = "product_product__product_tmpl_id"."id") LEFT JOIN "ir_translation" AS "product_product__product_tmpl_id__name" ON ("product_product__product_tmpl_id"."id" = "product_product__product_tmpl_id__name"."res_id" AND "product_product__product_tmpl_id__name"."type" = 'model' AND "product_product__product_tmpl_id__name"."name" = 'product.template,name' AND "product_product__product_tmpl_id__name"."lang" = 'en_US' AND "product_product__product_tmpl_id__name"."value" != '') WHERE (((("product_product"."active" = true) AND (((unaccent ("product_product"."condensed_internal_ref"::text) ilike unaccent ('%%L9786%%')) OR (unaccent ("product_product"."default_code"::text) ilike unaccent ('%L9786%'))) OR unaccent (COALESCE("product_product__product_tmpl_id__name"."value", "product_product__product_tmpl_id"."name")) ilike unaccent ('%L9786%'))) AND ("product_product__product_tmpl_id"."is_core" IS NULL or "product_product__product_tmpl_id"."is_core" = false)) AND ("product_product__product_tmpl_id"."purchase_ok" IS NOT NULL and "product_product__product_tmpl_id"."purchase_ok" != false)) AND (("product_product__product_tmpl_id"."company_id" in (1)) OR "product_product__product_tmpl_id"."company_id" IS NULL) ORDER BY product_product.default_code, product_product.condensed_internal_ref;
Date: 2022-12-01 19:02:54 Duration: 1s819ms
-
SELECT product_product.id FROM "product_product" LEFT JOIN "product_template" AS "product_product__product_tmpl_id" ON ("product_product"."product_tmpl_id" = "product_product__product_tmpl_id"."id") LEFT JOIN "ir_translation" AS "product_product__product_tmpl_id__name" ON ("product_product__product_tmpl_id"."id" = "product_product__product_tmpl_id__name"."res_id" AND "product_product__product_tmpl_id__name"."type" = 'model' AND "product_product__product_tmpl_id__name"."name" = 'product.template,name' AND "product_product__product_tmpl_id__name"."lang" = 'en_US' AND "product_product__product_tmpl_id__name"."value" != '') WHERE (((("product_product"."active" = true) AND (((unaccent ("product_product"."condensed_internal_ref"::text) ilike unaccent ('%%L978%%')) OR (unaccent ("product_product"."default_code"::text) ilike unaccent ('%L978%'))) OR unaccent (COALESCE("product_product__product_tmpl_id__name"."value", "product_product__product_tmpl_id"."name")) ilike unaccent ('%L978%'))) AND ("product_product__product_tmpl_id"."is_core" IS NULL or "product_product__product_tmpl_id"."is_core" = false)) AND ("product_product__product_tmpl_id"."purchase_ok" IS NOT NULL and "product_product__product_tmpl_id"."purchase_ok" != false)) AND (("product_product__product_tmpl_id"."company_id" in (1)) OR "product_product__product_tmpl_id"."company_id" IS NULL) ORDER BY product_product.default_code, product_product.condensed_internal_ref;
Date: 2022-12-01 19:02:54 Duration: 1s802ms
10 275ms 1s85ms 346ms 4,898 28m19s select "item_list_line".id from "item_list_line" where (((("item_list_line"."active" = true) and ("item_list_line"."product_id" = ?)) and (("item_list_line"."method" not in (...)) or "item_list_line"."method" is null)) and ("item_list_line"."item_demand_plan_id" = ?)) order by "item_list_line"."id" limit ?;Times Reported Time consuming queries #10
Day Hour Count Duration Avg duration Dec 01 02 261 1m31s 349ms 03 308 1m52s 365ms 14 421 2m36s 371ms 15 364 2m3s 340ms 16 947 5m38s 356ms 17 422 2m11s 310ms 18 755 4m25s 351ms 19 342 2m1s 354ms 20 369 2m4s 336ms 23 709 3m55s 332ms -
SELECT "item_list_line".id FROM "item_list_line" WHERE (((("item_list_line"."active" = true) AND ("item_list_line"."product_id" = 183835)) AND (("item_list_line"."method" not in (7, 8)) OR "item_list_line"."method" IS NULL)) AND ("item_list_line"."item_demand_plan_id" = 1018)) ORDER BY "item_list_line"."id" LIMIT 1;
Date: 2022-12-01 16:08:02 Duration: 1s85ms
-
SELECT "item_list_line".id FROM "item_list_line" WHERE (((("item_list_line"."active" = true) AND ("item_list_line"."product_id" = 183514)) AND (("item_list_line"."method" not in (7, 8)) OR "item_list_line"."method" IS NULL)) AND ("item_list_line"."item_demand_plan_id" = 1013)) ORDER BY "item_list_line"."id" LIMIT 1;
Date: 2022-12-01 14:38:54 Duration: 986ms
-
SELECT "item_list_line".id FROM "item_list_line" WHERE (((("item_list_line"."active" = true) AND ("item_list_line"."product_id" = 183834)) AND (("item_list_line"."method" not in (7, 8)) OR "item_list_line"."method" IS NULL)) AND ("item_list_line"."item_demand_plan_id" = 1018)) ORDER BY "item_list_line"."id" LIMIT 1;
Date: 2022-12-01 16:08:01 Duration: 940ms
11 150ms 4s905ms 307ms 508 2m36s update "stock_move" set "date" = ?, "is_done" = true, "state" = ?, "write_uid" = ?, "write_date" = (now() at time zone ?) where id in (...);Times Reported Time consuming queries #11
Day Hour Count Duration Avg duration Dec 01 11 1 152ms 152ms 12 10 2s506ms 250ms 13 60 17s445ms 290ms 14 67 22s230ms 331ms 15 83 27s782ms 334ms 16 71 20s685ms 291ms 17 23 6s610ms 287ms 18 29 14s67ms 485ms 19 33 13s324ms 403ms 20 100 25s341ms 253ms 21 29 5s541ms 191ms 22 2 770ms 385ms -
UPDATE "stock_move" SET "date" = '2022-12-01 15:58:52', "is_done" = true, "state" = 'done', "write_uid" = 969, "write_date" = (now() at time zone 'UTC') WHERE id IN (165925, 165926, 165927, 165931, 165934, 165935, 145460, 165951, 165952, 165955, 165956, 131655, 131656, 131657, 131658, 131659, 131660, 131661, 131662, 131663, 131664, 131665, 131666, 131667, 131668, 131669, 131670, 165966, 165974, 165975, 165977, 166009);
Date: 2022-12-01 15:58:59 Duration: 4s905ms
-
UPDATE "stock_move" SET "date" = '2022-12-01 16:23:07', "is_done" = true, "state" = 'done', "write_uid" = 969, "write_date" = (now() at time zone 'UTC') WHERE id IN (166057, 166058, 166060, 166068, 166070, 166082, 166091, 166092, 166093, 166094, 166097, 162008, 166105, 166106, 166107, 166104, 166109, 166111, 166112, 166114, 163952);
Date: 2022-12-01 16:23:13 Duration: 4s139ms
-
UPDATE "stock_move" SET "date" = '2022-12-01 18:22:43', "is_done" = true, "state" = 'done', "write_uid" = 1037, "write_date" = (now() at time zone 'UTC') WHERE id IN (166602, 166603, 166604, 166605, 166606, 166607, 166608, 166609, 166610, 166611, 166612, 166613, 166614, 166615, 166616, 166617, 166618, 166619, 166620, 166621, 166622, 166623, 166624, 166625, 166626, 166627);
Date: 2022-12-01 18:22:51 Duration: 4s52ms
12 147ms 6s872ms 301ms 647 3m14s update "stock_move" set "state" = ?, "write_uid" = ?, "write_date" = (now() at time zone ?) where id in (...);Times Reported Time consuming queries #12
Day Hour Count Duration Avg duration Dec 01 00 2 308ms 154ms 03 1 150ms 150ms 11 1 150ms 150ms 12 24 5s774ms 240ms 13 70 18s342ms 262ms 14 75 31s771ms 423ms 15 107 28s825ms 269ms 16 97 26s362ms 271ms 17 43 12s89ms 281ms 18 58 19s926ms 343ms 19 53 14s625ms 275ms 20 60 17s819ms 296ms 21 46 15s710ms 341ms 22 4 1s64ms 266ms 23 6 2s46ms 341ms -
UPDATE "stock_move" SET "state" = 'confirmed', "write_uid" = 1003, "write_date" = (now() at time zone 'UTC') WHERE id IN (167298, 167299, 167300, 167301, 167302, 167303, 167304, 167305, 167308, 167310, 167311, 167316, 167227, 167228, 167229, 167230, 167231, 167232, 167253, 167255, 167256, 167257, 167258, 167259, 167260, 167268, 167269, 167270, 167272, 167275, 167277, 167281, 167284, 167285, 167287, 167288, 167289, 167290, 167293, 167294);
Date: 2022-12-01 21:04:33 Duration: 6s872ms
-
UPDATE "stock_move" SET "state" = 'assigned', "write_uid" = 1037, "write_date" = (now() at time zone 'UTC') WHERE id IN (166603, 166604, 166605, 166606, 166607, 166608, 166609, 166610, 166611, 166612, 166613, 166614, 166615, 166616, 166617, 166618, 166619, 166620, 166621, 166622, 166623, 166624, 166625, 166626, 166627);
Date: 2022-12-01 18:22:19 Duration: 3s993ms
-
UPDATE "stock_move" SET "state" = 'assigned', "write_uid" = 997, "write_date" = (now() at time zone 'UTC') WHERE id IN (165713, 165714, 165715, 165716, 165717, 165718, 165719, 165720, 165721, 165722, 165723, 165724, 165725, 165726, 165727, 165728, 165729, 165730, 165731, 165732, 165733, 165734);
Date: 2022-12-01 14:52:47 Duration: 3s444ms
13 241ms 695ms 283ms 1,052 4m58s select "sale_history_line".id from "sale_history_line" where ("sale_history_line"."so_line_id" in (...)) order by "sale_history_line"."id";Times Reported Time consuming queries #13
Day Hour Count Duration Avg duration Dec 01 11 1 337ms 337ms 12 71 19s473ms 274ms 13 101 30s116ms 298ms 14 126 34s462ms 273ms 15 212 1m1s 289ms 16 66 19s930ms 301ms 17 84 23s795ms 283ms 18 118 33s95ms 280ms 19 103 29s152ms 283ms 20 97 26s627ms 274ms 21 38 10s524ms 276ms 22 14 3s567ms 254ms 23 21 5s728ms 272ms -
SELECT "sale_history_line".id FROM "sale_history_line" WHERE ("sale_history_line"."so_line_id" in (31101)) ORDER BY "sale_history_line"."id";
Date: 2022-12-01 18:06:15 Duration: 695ms
-
SELECT "sale_history_line".id FROM "sale_history_line" WHERE ("sale_history_line"."so_line_id" in (30699)) ORDER BY "sale_history_line"."id";
Date: 2022-12-01 14:40:07 Duration: 633ms
-
SELECT "sale_history_line".id FROM "sale_history_line" WHERE ("sale_history_line"."so_line_id" in (30980)) ORDER BY "sale_history_line"."id";
Date: 2022-12-01 16:33:17 Duration: 618ms
14 197ms 857ms 277ms 917 4m14s select distinct ill.product_id from item_list_line as ill left join res_forecast_method as fm on fm.id = ill.method where ill.item_demand_plan_id = ? and ill.method not in (...);Times Reported Time consuming queries #14
Day Hour Count Duration Avg duration Dec 01 02 73 19s905ms 272ms 03 87 25s494ms 293ms 10 141 28s232ms 200ms 11 1 221ms 221ms 13 58 14s12ms 241ms 14 78 23s805ms 305ms 15 39 11s705ms 300ms 16 119 38s52ms 319ms 17 17 4s277ms 251ms 18 91 29s594ms 325ms 19 30 9s133ms 304ms 20 15 3s927ms 261ms 21 14 3s489ms 249ms 23 154 42s672ms 277ms -
select DISTINCT ill.product_id from item_list_line as ill LEFT JOIN res_forecast_method as fm ON fm.id = ill.method where ill.item_demand_plan_id = 1013 and ill.method not in (8, 7);
Date: 2022-12-01 14:38:54 Duration: 857ms
-
select DISTINCT ill.product_id from item_list_line as ill LEFT JOIN res_forecast_method as fm ON fm.id = ill.method where ill.item_demand_plan_id = 1018 and ill.method not in (8, 7);
Date: 2022-12-01 16:07:17 Duration: 756ms
-
select DISTINCT ill.product_id from item_list_line as ill LEFT JOIN res_forecast_method as fm ON fm.id = ill.method where ill.item_demand_plan_id = 1027 and ill.method not in (8, 7);
Date: 2022-12-01 19:02:55 Duration: 664ms
15 188ms 708ms 271ms 776 3m31s select count(id) as total_count from item_list_line where item_demand_plan_id = ? and active = true;Times Reported Time consuming queries #15
Day Hour Count Duration Avg duration Dec 01 02 73 18s941ms 259ms 03 87 23s664ms 272ms 11 1 197ms 197ms 13 58 13s625ms 234ms 14 78 22s374ms 286ms 15 39 10s417ms 267ms 16 119 35s158ms 295ms 17 17 4s53ms 238ms 18 91 26s168ms 287ms 19 30 8s127ms 270ms 20 15 3s917ms 261ms 21 14 3s350ms 239ms 23 154 41s27ms 266ms -
select count(id) as total_count from item_list_line where item_demand_plan_id = 1018 and active = True;
Date: 2022-12-01 16:08:01 Duration: 708ms
-
select count(id) as total_count from item_list_line where item_demand_plan_id = 1013 and active = True;
Date: 2022-12-01 14:38:56 Duration: 664ms
-
select count(id) as total_count from item_list_line where item_demand_plan_id = 1027 and active = True;
Date: 2022-12-01 19:02:54 Duration: 643ms
16 160ms 601ms 229ms 776 2m57s select ill.item_demand_plan_id from item_list_line ill left join item_demand_plan as idp on ill.item_demand_plan_id = idp.id where ill.method is null and idp.active = true and ill.item_demand_plan_id = ? group by ill.item_demand_plan_id having count(ill.id) > ?;Times Reported Time consuming queries #16
Day Hour Count Duration Avg duration Dec 01 02 73 15s481ms 212ms 03 87 19s364ms 222ms 11 1 173ms 173ms 13 58 11s588ms 199ms 14 78 18s463ms 236ms 15 39 9s104ms 233ms 16 119 30s680ms 257ms 17 17 3s409ms 200ms 18 91 21s932ms 241ms 19 30 7s114ms 237ms 20 15 3s272ms 218ms 21 14 2s818ms 201ms 23 154 34s497ms 224ms -
select ill.item_demand_plan_id from item_list_line ill LEFT JOIN item_demand_plan as idp ON ill.item_demand_plan_id = idp.id where ill.method is NULL and idp.active = True and ill.item_demand_plan_id = 1027 GROUP BY ill.item_demand_plan_id having count(ill.id) > 0;
Date: 2022-12-01 19:02:55 Duration: 601ms
-
select ill.item_demand_plan_id from item_list_line ill LEFT JOIN item_demand_plan as idp ON ill.item_demand_plan_id = idp.id where ill.method is NULL and idp.active = True and ill.item_demand_plan_id = 1013 GROUP BY ill.item_demand_plan_id having count(ill.id) > 0;
Date: 2022-12-01 14:38:53 Duration: 558ms
-
select ill.item_demand_plan_id from item_list_line ill LEFT JOIN item_demand_plan as idp ON ill.item_demand_plan_id = idp.id where ill.method is NULL and idp.active = True and ill.item_demand_plan_id = 1018 GROUP BY ill.item_demand_plan_id having count(ill.id) > 0;
Date: 2022-12-01 16:07:16 Duration: 539ms
17 137ms 492ms 196ms 883 2m53s select "item_list_line".id from "item_list_line" where ("item_list_line"."item_demand_plan_id" in (...)) order by "item_list_line"."id";Times Reported Time consuming queries #17
Day Hour Count Duration Avg duration Dec 01 02 95 17s340ms 182ms 03 116 22s685ms 195ms 11 1 148ms 148ms 13 61 10s491ms 171ms 14 84 16s967ms 201ms 15 46 9s22ms 196ms 16 131 27s571ms 210ms 17 20 3s836ms 191ms 18 98 21s302ms 217ms 19 36 7s374ms 204ms 20 17 3s83ms 181ms 21 14 2s444ms 174ms 23 164 31s310ms 190ms -
SELECT "item_list_line".id FROM "item_list_line" WHERE ("item_list_line"."item_demand_plan_id" in (1013)) ORDER BY "item_list_line"."id";
Date: 2022-12-01 14:38:55 Duration: 492ms
-
SELECT "item_list_line".id FROM "item_list_line" WHERE ("item_list_line"."item_demand_plan_id" in (1027)) ORDER BY "item_list_line"."id";
Date: 2022-12-01 19:02:53 Duration: 476ms
-
SELECT "item_list_line".id FROM "item_list_line" WHERE ("item_list_line"."item_demand_plan_id" in (1020)) ORDER BY "item_list_line"."id";
Date: 2022-12-01 16:24:49 Duration: 452ms
18 148ms 1s754ms 181ms 422 1m16s update "stock_move" set "delay_alert_date" = ?, "is_done" = false, "picking_code" = ?, "reference" = ?, "unit_factor" = ?.?, "weight" = ?, "write_uid" = ?, "write_date" = (now() at time zone ?) where id in (...);Times Reported Time consuming queries #18
Day Hour Count Duration Avg duration Dec 01 14 24 3s701ms 154ms 15 30 4s824ms 160ms 16 64 11s353ms 177ms 17 36 6s62ms 168ms 18 125 22s510ms 180ms 19 77 14s553ms 189ms 20 9 2s480ms 275ms 21 51 10s37ms 196ms 23 6 1s57ms 176ms -
UPDATE "stock_move" SET "delay_alert_date" = NULL, "is_done" = false, "picking_code" = 'incoming', "reference" = '13-T/IN/01239', "unit_factor" = 1.0, "weight" = '0.00', "write_uid" = 997, "write_date" = (now() at time zone 'UTC') WHERE id IN (166747, 166757, 166727, 166731, 166732, 166743, 166736, 166711, 166744, 166713, 166745);
Date: 2022-12-01 18:40:12 Duration: 1s754ms
-
UPDATE "stock_move" SET "delay_alert_date" = NULL, "is_done" = false, "picking_code" = 'incoming', "reference" = '09-B/IN/00642', "unit_factor" = 1.0, "weight" = '0.00', "write_uid" = 997, "write_date" = (now() at time zone 'UTC') WHERE id IN (167396, 167397, 167433, 167435, 167403, 167405, 167418, 167388, 167422);
Date: 2022-12-01 21:49:31 Duration: 1s369ms
-
UPDATE "stock_move" SET "delay_alert_date" = NULL, "is_done" = false, "picking_code" = 'incoming', "reference" = '04-V/IN/00657', "unit_factor" = 1.0, "weight" = '0.00', "write_uid" = 1012, "write_date" = (now() at time zone 'UTC') WHERE id IN (167320, 167321, 167322, 167323, 167325, 167326);
Date: 2022-12-01 21:04:33 Duration: 1s173ms
19 146ms 675ms 180ms 677 2m2s update "stock_move" set "delay_alert_date" = ?, "is_done" = false, "picking_code" = ?, "product_qty" = ?.?, "reference" = ?, "unit_factor" = ?.?, "weight" = ?, "write_uid" = ?, "write_date" = (now() at time zone ?) where id in (...);Times Reported Time consuming queries #19
Day Hour Count Duration Avg duration Dec 01 12 44 7s746ms 176ms 13 75 12s653ms 168ms 14 82 15s156ms 184ms 15 97 18s56ms 186ms 16 56 9s931ms 177ms 17 49 8s88ms 165ms 18 73 14s457ms 198ms 19 74 13s390ms 180ms 20 69 12s635ms 183ms 21 34 6s365ms 187ms 22 7 1s69ms 152ms 23 17 2s790ms 164ms -
UPDATE "stock_move" SET "delay_alert_date" = NULL, "is_done" = false, "picking_code" = 'outgoing', "product_qty" = 8.0, "reference" = '09-B/OUT/00818', "unit_factor" = 1.0, "weight" = '0.00', "write_uid" = 1, "write_date" = (now() at time zone 'UTC') WHERE id IN (165320, 165317, 165318, 165319);
Date: 2022-12-01 12:44:09 Duration: 675ms
-
UPDATE "stock_move" SET "delay_alert_date" = NULL, "is_done" = false, "picking_code" = 'outgoing', "product_qty" = 1.0, "reference" = '12-S/OUT/00635', "unit_factor" = 1.0, "weight" = '0.00', "write_uid" = 1, "write_date" = (now() at time zone 'UTC') WHERE id IN (167089, 167092, 167093, 167094);
Date: 2022-12-01 20:00:11 Duration: 623ms
-
UPDATE "stock_move" SET "delay_alert_date" = NULL, "is_done" = false, "picking_code" = 'outgoing', "product_qty" = 1.0, "reference" = '12-S/OUT/00621', "unit_factor" = 1.0, "weight" = '0.00', "write_uid" = 1, "write_date" = (now() at time zone 'UTC') WHERE id IN (165704, 165705, 165701, 165702);
Date: 2022-12-01 14:50:13 Duration: 618ms
20 150ms 460ms 179ms 1,235 3m41s select date_part(?, invoice_date) as year, date_part(?, invoice_date) as month, date_part(?, invoice_date) as day, product_id, sum(product_uom_qty) as total from item_list_line where product_id = ? and item_demand_plan_id = ? group by product_id, date_part(?, invoice_date), date_part(?, invoice_date), date_part(?, invoice_date) order by date_part(?, invoice_date), date_part(?, invoice_date), date_part(?, invoice_date);Times Reported Time consuming queries #20
Day Hour Count Duration Avg duration Dec 01 02 65 11s884ms 182ms 03 66 12s407ms 187ms 08 238 37s831ms 158ms 14 74 14s425ms 194ms 15 65 12s83ms 185ms 16 171 33s537ms 196ms 17 84 14s319ms 170ms 18 186 34s519ms 185ms 19 37 6s553ms 177ms 20 65 11s513ms 177ms 23 184 32s655ms 177ms -
select date_part('year', invoice_date) as Year, date_part('month', invoice_date) as Month, date_part('day', invoice_date) as day, product_id, sum(product_uom_qty) as total from item_list_line where product_id = 183631 and item_demand_plan_id = 1018 group by product_id, date_part('month', invoice_date), date_part('year', invoice_date), date_part('day', invoice_date) order by date_part('year', invoice_date), date_part('month', invoice_date), date_part('day', invoice_date);
Date: 2022-12-01 16:07:17 Duration: 460ms
-
select date_part('year', invoice_date) as Year, date_part('month', invoice_date) as Month, date_part('day', invoice_date) as day, product_id, sum(product_uom_qty) as total from item_list_line where product_id = 183896 and item_demand_plan_id = 1013 group by product_id, date_part('month', invoice_date), date_part('year', invoice_date), date_part('day', invoice_date) order by date_part('year', invoice_date), date_part('month', invoice_date), date_part('day', invoice_date);
Date: 2022-12-01 14:41:46 Duration: 448ms
-
select date_part('year', invoice_date) as Year, date_part('month', invoice_date) as Month, date_part('day', invoice_date) as day, product_id, sum(product_uom_qty) as total from item_list_line where product_id = 183835 and item_demand_plan_id = 1018 group by product_id, date_part('month', invoice_date), date_part('year', invoice_date), date_part('day', invoice_date) order by date_part('year', invoice_date), date_part('month', invoice_date), date_part('day', invoice_date);
Date: 2022-12-01 16:08:03 Duration: 432ms
Time consuming prepare
Rank Total duration Times executed Min duration Max duration Avg duration Query NO DATASET
Time consuming bind
Rank Total duration Times executed Min duration Max duration Avg duration Query NO DATASET
-
Events
Log levels
Key values
- 117,709 Log entries
Events distribution
Key values
- 0 PANIC entries
- 5707 FATAL entries
- 36944 ERROR entries
- 0 WARNING entries
Most Frequent Errors/Events
Key values
- 31,751 Max number of times the same event was reported
- 42,651 Total events found
Rank Times reported Error 1 31,751 ERROR: current transaction is aborted, commands ignored until end of transaction block
Times Reported Most Frequent Error / Event #1
Day Hour Count Dec 01 00 4,686 01 4,730 02 4,400 03 4,268 04 4,763 05 4,796 06 4,103 10 3 15 2 - ERROR: current transaction is aborted, commands ignored until end of transaction block
Statement: SELECT purchase_order_stock_picking_rel.purchase_order_id, purchase_order_stock_picking_rel.stock_picking_id FROM purchase_order_stock_picking_rel, "stock_picking" WHERE 1=1 AND purchase_order_stock_picking_rel.purchase_order_id IN (1414, 1021, 1970, 1987, 1195, 487, 685, 640, 763, 1284, 727, 767, 1367, 167, 741, 1843, 747, 184, 1510, 680, 1092, 1352, 195, 1005, 1993, 1782, 1756, 558, 409) AND purchase_order_stock_picking_rel.stock_picking_id = stock_picking.id ORDER BY "stock_picking"."priority" DESC,"stock_picking"."scheduled_date" ASC,"stock_picking"."id" DESC OFFSET 0
Date: 2022-12-01 00:00:01
2 5,706 FATAL: database "..." does not exist
Times Reported Most Frequent Error / Event #2
Day Hour Count Dec 01 00 240 01 240 02 240 03 240 04 240 05 240 06 240 07 240 08 240 09 240 10 240 11 240 12 240 13 240 14 240 15 240 16 240 17 240 18 240 19 240 20 240 21 240 22 240 23 186 - FATAL: database "red_lab_sandbox2" does not exist
- FATAL: database "red_lab_sandbox_sep_20" does not exist
Date: 2022-12-01 00:00:34
Date: 2022-12-01 00:00:44
3 2,889 ERROR: null value in column "..." of relation "..." violates not-null constraint
Times Reported Most Frequent Error / Event #3
Day Hour Count Dec 01 00 426 01 430 02 400 03 388 04 433 05 436 06 373 14 1 19 2 - ERROR: null value in column "branch_id" of relation "account_move_line" violates not-null constraint
- ERROR: null value in column "model_id" of relation "fleet_vehicle" violates not-null constraint
Detail: Failing row contains (471953, 246614, null, 2022-12-01, null, null, 2, 1, 2, 1337, null, 10, [7ATG522PG] Tectran, 8.00, 88.15, 0.00, 705.20, 0.00, 705.20, 705.20, 705.20, 705.20, null, f, null, 2, 30496, null, 193932, null, null, null, null, null, null, null, t, null, null, null, null, null, null, null, null, f, f, 1, 2022-12-01 00:00:00.838881, 1, 2022-12-01 00:00:00.838881, null, null, null, null, null, null, null, null, null, null, new_product, 8, null, null, null, null, null, null, null, null, null, null, t, null, null, null, null, null, null).
Statement: INSERT INTO "account_move_line" ("id", "create_uid", "create_date", "write_uid", "write_date", "account_id", "amount_currency", "balance", "blocked", "branch_id", "company_currency_id", "company_id", "credit", "currency_id", "date", "debit", "discount", "display_type", "exclude_from_invoice_tab", "is_rounding_line", "is_visible_in_report", "journal_id", "move_id", "move_options", "name", "partner_id", "price_subtotal", "price_total", "price_unit", "product_id", "quantity", "sequence", "sign_product_qty", "tax_exigible", "tax_line_id", "tax_repartition_line_id") VALUES (nextval('account_move_line_id_seq'), 1, (now() at time zone 'UTC'), 1, (now() at time zone 'UTC'), 1337, '705.20', '705.20', false, NULL, 2, 1, '0.00', 2, '2022-12-01', '705.20', '0.00', NULL, false, false, true, 2, 246614, 'new_product', '[7ATG522PG] Tectran', 30496, '705.20', '705.20', '88.15', 193932, '8.00', 10, 8.0, true, NULL, NULL) RETURNING idDate: 2022-12-01 00:00:01
Detail: Failing row contains (13060, null, trk12, null, t, 1, null, null, 34617, null, null, null, null, null, 2022-12-01, 2022-12-01, null, 3, null, null, null, 5, miles, null, null, null, null, null, null, null, null, null, null, 1031, 2022-12-01 14:37:57.160115, 1031, 2022-12-01 14:37:57.160115, null, null, null).
Statement: INSERT INTO "fleet_vehicle" ("id", "create_uid", "create_date", "write_uid", "write_date", "acquisition_date", "active", "company_id", "doors", "driver_id", "first_contract_date", "name", "odometer_unit", "state_id") VALUES (nextval('fleet_vehicle_id_seq'), 1031, (now() at time zone 'UTC'), 1031, (now() at time zone 'UTC'), '2022-12-01', true, 1, 5, 34617, '2022-12-01', 'trk12', 'miles', 3) RETURNING idDate: 2022-12-01 14:37:57
4 1,398 ERROR: could not obtain lock on row in relation "..."
Times Reported Most Frequent Error / Event #4
Day Hour Count Dec 01 00 44 01 32 02 223 03 349 04 14 05 12 06 90 07 17 08 22 09 28 10 159 11 374 12 1 13 3 14 2 15 4 16 6 17 7 18 1 19 3 21 2 22 4 23 1 - ERROR: could not obtain lock on row in relation "ir_cron"
Statement: SELECT * FROM ir_cron WHERE numbercall != 0 AND active AND nextcall <= (now() at time zone 'UTC') AND id=58 FOR UPDATE NOWAIT
Date: 2022-12-01 00:02:01
5 589 ERROR: could not serialize access due to concurrent update
Times Reported Most Frequent Error / Event #5
Day Hour Count Dec 01 00 14 02 20 03 29 05 11 11 6 12 20 13 39 14 55 15 77 16 88 17 26 18 56 19 30 20 25 21 12 22 6 23 75 - ERROR: could not serialize access due to concurrent update
Statement: UPDATE "substitution_master_line" SET "write_uid"=4,"write_date"=(now() at time zone 'UTC') WHERE id IN (16421, 16422, 16467, 16468, 16469)
Date: 2022-12-01 00:24:47
6 190 ERROR: database "..." does not exist
Times Reported Most Frequent Error / Event #6
Day Hour Count Dec 01 00 8 01 8 02 8 03 8 04 8 05 8 06 8 07 8 08 8 09 8 10 8 11 8 12 8 13 8 14 8 15 8 16 8 17 8 18 8 19 8 20 8 21 8 22 8 23 6 - ERROR: database "red_lab_sandbox2" does not exist
- ERROR: database "red_lab_sandbox_sep_20" does not exist
Statement: SELECT pg_database_size('red_lab_sandbox2')
Date: 2022-12-01 00:11:24
Statement: SELECT pg_database_size('red_lab_sandbox_sep_20')
Date: 2022-12-01 00:11:28
7 57 ERROR: could not serialize access due to concurrent delete
Times Reported Most Frequent Error / Event #7
Day Hour Count Dec 01 02 2 03 4 05 1 11 2 12 3 13 2 14 7 15 1 16 8 17 2 18 9 19 4 20 4 21 3 22 2 23 3 - ERROR: could not serialize access due to concurrent delete
Statement: DELETE FROM ir_attachment WHERE id IN (86190)
Date: 2022-12-01 02:39:13
8 24 ERROR: invalid input syntax for type integer: ...
Times Reported Most Frequent Error / Event #8
Day Hour Count Dec 01 12 2 13 3 14 3 15 3 16 5 17 3 18 3 19 2 - ERROR: invalid input syntax for type integer: "False" at character 66
Statement: select sum(product_uom_qty) from stock_move where sale_line_id = 'False' and state not in ('done','cancel')
Date: 2022-12-01 12:58:19
9 23 ERROR: permission denied for table ...
Times Reported Most Frequent Error / Event #9
Day Hour Count Dec 01 11 10 12 10 18 3 - ERROR: permission denied for table inv_wh_backup
Statement: LOCK TABLE public.inv_wh_backup IN ACCESS SHARE MODE
Date: 2022-12-01 11:29:13
10 20 LOG: process ... still waiting for ShareLock on transaction ... after ... ms
Times Reported Most Frequent Error / Event #10
Day Hour Count Dec 01 03 1 12 1 14 2 15 7 16 1 17 1 18 1 19 2 20 4 - ERROR: process 2424163 still waiting for ShareLock on transaction 85242362 after 1000.052 ms
- ERROR: process 2882108 still waiting for ShareLock on transaction 85276073 after 1000.064 ms
- ERROR: process 2882018 still waiting for ShareLock on transaction 85287128 after 1000.048 ms
Detail: Process holding the lock: 2424111. Wait queue: 2424163.
Context: while deleting tuple (45,23) in relation "ir_attachment"
Statement: DELETE FROM ir_attachment WHERE id IN (86264)Date: 2022-12-01 03:07:46
Detail: Process holding the lock: 2882279. Wait queue: 2882108.
Context: while deleting tuple (1348,110) in relation "ir_attachment"
Statement: DELETE FROM ir_attachment WHERE id IN (89346)Date: 2022-12-01 12:54:08
Detail: Process holding the lock: 2882092. Wait queue: 2882018.
Context: while updating tuple (393,7) in relation "account_move"
Statement: UPDATE account_move SET write_date = write_date WHERE id = ( SELECT id FROM account_move WHERE journal_id = 1 AND name != '/' AND sequence_prefix !~ '^(?:.*?)(?:((?<=\D)|(?<=^))((19|20|21)?\d{2}))(?:\D+?)$' AND move_type NOT IN ('out_refund', 'in_refund') AND id != 249834 AND sequence_prefix = (SELECT sequence_prefix FROM account_move WHERE journal_id = 1 AND name != '/' AND sequence_prefix !~ '^(?:.*?)(?:((?<=\D)|(?<=^))((19|20|21)?\d{2}))(?:\D+?)$' AND move_type NOT IN ('out_refund', 'in_refund') AND id != 249834 ORDER BY id DESC LIMIT 1) ORDER BY sequence_number DESC LIMIT 1 ) RETURNING name;Date: 2022-12-01 14:12:24
11 2 ERROR: could not create unique index "..."
Times Reported Most Frequent Error / Event #11
Day Hour Count Dec 01 10 2 - ERROR: could not create unique index "vendor_account_master_unique_acc_no"
Detail: Key (account_number)=(426PO007) is duplicated.
Statement: ALTER TABLE "vendor_account_master" ADD CONSTRAINT "vendor_account_master_unique_acc_no" unique (account_number)Date: 2022-12-01 10:37:19
12 1 ERROR: syntax error at or near "..."
Times Reported Most Frequent Error / Event #12
Day Hour Count Dec 01 11 1 - ERROR: syntax error at or near "pointspring_master" at character 1
Statement: pointspring_master
Date: 2022-12-01 11:16:39
13 1 FATAL: role "..." does not exist
Times Reported Most Frequent Error / Event #13
Day Hour Count Dec 01 17 1 - FATAL: role "ubuntu" does not exist
Date: 2022-12-01 17:18:08