-
Global information
- Generated on Wed Apr 3 00:50:07 2024
- Log file: /var/log/postgresql/postgresql-14-main.log
- Parsed 198,480 log entries in 6s
- Log start from 2024-04-02 00:00:17 to 2024-04-02 23:59:56
-
Overview
Global Stats
- 1,611 Number of unique normalized queries
- 70,587 Number of queries
- 16h11m50s Total query duration
- 2024-04-02 00:00:17 First query
- 2024-04-02 23:59:56 Last query
- 79 queries/s at 2024-04-02 15:35:16 Query peak
- 16h11m50s Total query duration
- 0ms Prepare/parse total duration
- 0ms Bind total duration
- 16h11m50s Execute total duration
- 1,251 Number of events
- 15 Number of unique normalized events
- 814 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
- 70,587 Average queries per session
- 16h11m50s 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
- 79 queries/s Query Peak
- 2024-04-02 15:35:16 Date
SELECT Traffic
Key values
- 79 queries/s Query Peak
- 2024-04-02 15:35:16 Date
INSERT/UPDATE/DELETE Traffic
Key values
- 11 queries/s Query Peak
- 2024-04-02 17:37:15 Date
Queries duration
Key values
- 16h11m50s 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) Apr 02 00 436 120ms 537ms 273ms 4s329ms 7s565ms 8s574ms 01 377 0ms 887ms 280ms 4s990ms 6s650ms 8s351ms 02 247 0ms 1s165ms 336ms 5s147ms 6s876ms 6s960ms 03 220 0ms 5s355ms 425ms 9s471ms 11s445ms 14s160ms 04 229 0ms 1s416ms 343ms 3s89ms 4s733ms 20s209ms 05 399 120ms 905ms 284ms 6s566ms 6s752ms 7s911ms 06 155 0ms 2s709ms 303ms 3s203ms 4s850ms 5s57ms 07 103 0ms 538ms 284ms 3s839ms 5s57ms 5s300ms 08 76 0ms 1s153ms 314ms 3s957ms 4s276ms 4s300ms 09 251 0ms 3m54s 2s994ms 1m39s 1m54s 4m41s 10 550 0ms 28s779ms 513ms 26s574ms 41s617ms 1m2s 11 3,628 120ms 33s63ms 448ms 56s60ms 1m17s 1m31s 12 7,794 120ms 20s826ms 432ms 1m41s 2m2s 2m18s 13 7,934 120ms 25s965ms 458ms 1m38s 2m28s 2m57s 14 8,072 120ms 37s298ms 440ms 1m54s 2m 2m19s 15 6,957 120ms 3m34s 673ms 2m10s 3m1s 5m17s 16 5,524 120ms 17s516ms 617ms 1m50s 2m17s 2m44s 17 7,156 120ms 14s922ms 397ms 1m30s 1m34s 2m3s 18 6,462 120ms 16m26s 608ms 1m18s 1m33s 17m10s 19 7,057 120ms 1h24m16s 1s788ms 6m21s 17m34s 1h24m57s 20 3,890 120ms 35m59s 854ms 47s900ms 53s878ms 36m27s 21 1,569 120ms 1h20m27s 3s992ms 28s296ms 4m1s 1h20m57s 22 546 0ms 10m58s 5s399ms 6m22s 10m42s 11m5s 23 955 0ms 19m22s 4s566ms 1m52s 14m44s 19m26s Day Hour SELECT COPY TO Average Duration Latency Percentile(90) Latency Percentile(95) Latency Percentile(99) Apr 02 00 436 0 273ms 2s266ms 4s329ms 8s281ms 01 377 0 280ms 2s374ms 4s990ms 7s75ms 02 208 0 334ms 4s541ms 5s116ms 6s876ms 03 149 0 415ms 3s17ms 6s42ms 10s693ms 04 225 0 343ms 1s737ms 3s89ms 19s524ms 05 399 0 284ms 2s752ms 6s566ms 7s911ms 06 155 0 303ms 2s306ms 3s203ms 5s57ms 07 102 0 285ms 877ms 3s839ms 5s300ms 08 75 0 303ms 2s516ms 3s957ms 4s300ms 09 91 103 3s752ms 49s948ms 1m39s 4m41s 10 501 0 279ms 7s324ms 8s273ms 12s942ms 11 2,985 0 442ms 31s873ms 46s257ms 1m22s 12 5,621 0 409ms 52s78ms 1m17s 1m36s 13 5,581 0 434ms 1m4s 1m19s 1m43s 14 6,215 0 419ms 1m7s 1m21s 1m50s 15 5,562 0 674ms 1m21s 1m41s 2m42s 16 4,501 0 663ms 1m12s 1m46s 2m10s 17 5,421 0 348ms 39s434ms 55s918ms 1m20s 18 4,711 0 628ms 53s258ms 1m12s 1m24s 19 5,585 0 2s151ms 1m43s 6m18s 22m 20 2,848 0 1s38ms 23s343ms 31s122ms 49s481ms 21 1,164 0 5s272ms 10s835ms 17s856ms 11m32s 22 507 0 5s803ms 10s556ms 6m22s 11m4s 23 825 0 5s141ms 39s464ms 1m52s 19m12s Day Hour INSERT UPDATE DELETE COPY FROM Average Duration Latency Percentile(90) Latency Percentile(95) Latency Percentile(99) Apr 02 00 0 0 0 0 0ms 0ms 0ms 0ms 01 0 0 0 0 0ms 0ms 0ms 0ms 02 0 39 0 0 346ms 0ms 0ms 3s329ms 03 0 71 0 0 448ms 0ms 733ms 9s895ms 04 0 4 0 0 342ms 0ms 0ms 684ms 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 1 0 0 1s153ms 0ms 0ms 1s153ms 09 0 57 0 0 414ms 256ms 1s905ms 3s863ms 10 0 1 48 0 2s909ms 0ms 0ms 32s306ms 11 10 614 18 0 477ms 4s261ms 8s159ms 17s319ms 12 74 2,045 51 0 490ms 16s51ms 22s119ms 47s275ms 13 89 2,195 63 0 514ms 18s159ms 27s658ms 55s301ms 14 88 1,725 33 0 513ms 14s640ms 22s729ms 45s748ms 15 33 1,320 35 0 671ms 9s635ms 14s296ms 46s931ms 16 26 979 15 0 417ms 6s402ms 8s966ms 27s196ms 17 103 1,572 53 0 549ms 14s203ms 22s989ms 42s721ms 18 48 1,659 36 0 555ms 17s748ms 22s859ms 38s634ms 19 91 1,363 15 0 412ms 9s113ms 14s289ms 26s392ms 20 65 972 4 0 351ms 5s4ms 9s812ms 22s823ms 21 32 365 8 0 316ms 1s615ms 4s313ms 9s572ms 22 0 39 0 0 147ms 0ms 152ms 886ms 23 0 95 35 0 912ms 160ms 826ms 24s136ms Day Hour Prepare Bind Bind/Prepare Percentage of prepare Apr 02 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 5 5.00 0.00% 05 0 1 1.00 0.00% 06 0 3 3.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 8 8.00 0.00% 11 0 2 2.00 0.00% 12 0 0 0.00 0.00% 13 0 0 0.00 0.00% 14 0 4 4.00 0.00% 15 0 0 0.00 0.00% 16 0 0 0.00 0.00% 17 0 6 6.00 0.00% 18 0 11 11.00 0.00% 19 0 9 9.00 0.00% 20 0 2 2.00 0.00% 21 0 8 8.00 0.00% 22 0 10 10.00 0.00% 23 0 25 25.00 0.00% Day Hour Count Average / Second Apr 02 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 Apr 02 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 Apr 02 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 Apr 02 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) Apr 02 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 Apr 02 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 Apr 02 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 Apr 02 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
- 44 locks Total
Most frequent waiting queries (N)
Rank Count Total time Min time Max time Avg duration Query 1 32 4m18s 2s434ms 39s560ms 8s90ms 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 != 1227459 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 != 1227459 ORDER BY id DESC LIMIT 1) ORDER BY sequence_number DESC LIMIT 1) RETURNING name;
Date: 2024-04-02 15:56:16
2 1 2m39s 2m39s 2m39s 2m39s delete from stock_inventory_line where id in (...);-
DELETE FROM stock_inventory_line WHERE id IN (2943130, 2943131, 2943132, 2943133, 2943134, 2943135, 2943136, 2943137, 2943138, 2943139, 2943140, 2943141, 2943142, 2943143, 2943144, 2943145, 2943146, 2943147, 2943148, 2943149, 2943150, 2943062, 2943151, 2943152, 2943153, 2943154, 2943155, 2943156, 2943157, 2943158, 2943159, 2943160, 2943161, 2943162, 2943163, 2943164, 2943127, 2943165, 2943166, 2943167, 2943063, 2943064, 2943168, 2943169, 2943170, 2943171, 2943172, 2943173, 2943174, 2943175, 2943176, 2943177, 2943178, 2943179, 2943180, 2943181, 2943182, 2943183, 2943184, 2943185, 2943186, 2943187, 2943188, 2943189, 2943190, 2943191, 2943192, 2943193, 2943114, 2943120, 2943065, 2943194, 2943195, 2943196, 2943197, 2943198, 2943199, 2943200, 2943201, 2943202, 2943203, 2943204, 2943205, 2943206, 2943066, 2943207, 2943208, 2943209, 2943210, 2943211, 2943212, 2943213, 2943214, 2943215, 2943216, 2943217, 2943218, 2943219, 2943220, 2943221, 2943222, 2943223, 2943224, 2943225, 2943226, 2943227, 2943228, 2943229, 2943230, 2943231, 2943232, 2943233, 2943234, 2943235, 2943236, 2943237, 2943238, 2943239, 2943240, 2943241, 2943242, 2943243, 2943244, 2943245, 2943246, 2943247, 2943248, 2943249, 2943250, 2943251, 2943252, 2943253, 2943254, 2943255, 2943256, 2943257, 2943258, 2943259, 2943260, 2943261, 2943262, 2943263, 2943264, 2943265, 2943266, 2943267, 2943268, 2943269, 2943270, 2943271, 2943272, 2943273, 2943274, 2943275, 2943276, 2943277, 2943278, 2943279, 2943280, 2943281, 2943282, 2943283, 2943284, 2943285, 2943286, 2943287, 2943288, 2943289, 2943290, 2943291, 2943292, 2943293, 2943294, 2943295, 2943296, 2943297, 2943298, 2943299, 2943300, 2943301, 2943302, 2943303, 2943304, 2943305, 2943306, 2943307, 2943308, 2943309, 2943310, 2943311, 2943312, 2943313, 2943314, 2943315, 2943316, 2943317, 2943318, 2943319, 2943320, 2943321, 2943322, 2943323, 2943324, 2943325, 2943326, 2943327, 2943328, 2943329, 2943330, 2943331, 2943332, 2943333, 2943334, 2943335, 2943336, 2943337, 2943338, 2943339, 2943340, 2943341, 2943342, 2943343, 2943344, 2943345, 2943346, 2943347, 2943348, 2943349, 2943350, 2943351, 2943352, 2943353, 2943354, 2943355, 2943356, 2943357, 2943358, 2943359, 2943360, 2943361, 2943362, 2943363, 2943364, 2943365, 2943366, 2943367, 2943368, 2943369, 2943370, 2943371, 2943372, 2943373, 2943374, 2943375, 2943376, 2943377, 2943378, 2943379, 2943380, 2943381, 2943382, 2943383, 2943384, 2943385, 2943386, 2943387, 2943388, 2943389, 2943390, 2943391, 2943392, 2943393, 2943394, 2943395, 2943396, 2943397, 2943398, 2943399, 2943400, 2943401, 2943402, 2943403, 2943404, 2943405, 2943406, 2943407, 2943408, 2943409, 2943410, 2943411, 2943412, 2943413, 2943414, 2943415, 2943416, 2943417, 2943418, 2943419, 2943420, 2943421, 2943422, 2943423, 2943424, 2943425, 2943426, 2943427, 2943428, 2943429, 2943430, 2943431, 2943432, 2943433, 2943434, 2943125, 2943435, 2943436, 2943437, 2943438, 2943439, 2943440, 2943441, 2943442, 2943443, 2943444, 2943445, 2943446, 2943447, 2943448, 2943449, 2943450, 2943451, 2943452, 2943453, 2943067, 2943454, 2943455, 2943456, 2943457, 2943458, 2943459, 2943460, 2943461, 2943462, 2943463, 2943464, 2943465, 2943466, 2943467, 2943468, 2943469, 2943470, 2943471, 2943472, 2943473, 2943474, 2943475, 2943476, 2943477, 2943478, 2943479, 2943480, 2943481, 2943482, 2943483, 2943484, 2943485, 2943486, 2943487, 2943488, 2943489, 2943490, 2943491, 2943492, 2943493, 2943494, 2943495, 2943496, 2943497, 2943498, 2943499, 2943500, 2943501, 2943502, 2943503, 2943504, 2943505, 2943506, 2943507, 2943508, 2943509, 2943510, 2943511, 2943512, 2943513, 2943514, 2943515, 2943516, 2943517, 2943518, 2943519, 2943520, 2943521, 2943522, 2943523, 2943524, 2943525, 2943526, 2943527, 2943528, 2943529, 2943530, 2943531, 2943532, 2943533, 2943534, 2943535, 2943536, 2943537, 2943112, 2943538, 2943539, 2943540, 2943541, 2943542, 2943543, 2943544, 2943545, 2943546, 2943547, 2943548, 2943549, 2943550, 2943551, 2943552, 2943553, 2943554, 2943555, 2943556, 2943557, 2943558, 2943559, 2943560, 2943561, 2943562, 2943563, 2943564, 2943565, 2943566, 2943567, 2943568, 2943569, 2943570, 2943571, 2943572, 2943573, 2943574, 2943575, 2943576, 2943577, 2943578, 2943579, 2943580, 2943581, 2943582, 2943583, 2943584, 2943585, 2943586, 2943587, 2943588, 2943589, 2943590, 2943115, 2943591, 2943592, 2943593, 2943594, 2943595, 2943596, 2943597, 2943598, 2943599, 2943600, 2943601, 2943602, 2943603, 2943604, 2943605, 2943606, 2943607, 2943098, 2943608, 2943609, 2943610, 2943104, 2943611, 2943612, 2943613, 2943614, 2943615, 2943616, 2943617, 2943618, 2943619, 2943620, 2943621, 2943622, 2943623, 2943624, 2943625, 2943626, 2943627, 2943628, 2943629, 2943630, 2943631, 2943632, 2943633, 2943634, 2943635, 2943636, 2943089, 2943637, 2943638, 2943639, 2943640, 2943641, 2943096, 2943642, 2943643, 2943644, 2943645, 2943646, 2943647, 2943648, 2943649, 2943650, 2943651, 2943652, 2943653, 2943654, 2943655, 2943656, 2943657, 2943658, 2943659, 2943660, 2943661, 2943662, 2943663, 2943664, 2943665, 2943666, 2943667, 2943668, 2943669, 2943670, 2943671, 2943672, 2943673, 2943674, 2943675, 2943676, 2943677, 2943678, 2943679, 2943680, 2943681, 2943682, 2943683, 2943684, 2943685, 2943686, 2943687, 2943688, 2943689, 2943690, 2943691, 2943692, 2943693, 2943694, 2943695, 2943696, 2943697, 2943698, 2943068, 2943699, 2943700, 2943701, 2943069, 2943702, 2943703, 2943704, 2943705, 2943706, 2943707, 2943708, 2943709, 2943710, 2943711, 2943712, 2943713, 2943714, 2943715, 2943716, 2943717, 2943718, 2943719, 2943095, 2943121, 2943720, 2943721, 2943722, 2943070, 2943723, 2943724, 2943725, 2943726, 2943727, 2943728, 2943729, 2943730, 2943731, 2943732, 2943733, 2943734, 2943071, 2943735, 2943736, 2943092, 2943097, 2943100, 2943737, 2943738, 2943739, 2943740, 2943741, 2943742, 2943743, 2943744, 2943745, 2943746, 2943747, 2943748, 2943749, 2943750, 2943751, 2943752, 2943753, 2943754, 2943755, 2943756, 2943757, 2943758, 2943759, 2943760, 2943761, 2943762, 2943763, 2943764, 2943765, 2943766, 2943767, 2943768, 2943769, 2943770, 2943771, 2943772, 2943773, 2943774, 2943775, 2943776, 2943072, 2943777, 2943778, 2943779, 2943780, 2943781, 2943782, 2943783, 2943784, 2943785, 2943786, 2943787, 2943788, 2943789, 2943790, 2943791, 2943792, 2943793, 2943794, 2943795, 2943796, 2943797, 2943798, 2943799, 2943800, 2943801, 2943802, 2943803, 2943804, 2943805, 2943806, 2943807, 2943808, 2943809, 2943810, 2943811, 2943812, 2943813, 2943814, 2943815, 2943816, 2943817, 2943818, 2943819, 2943820, 2943821, 2943822, 2943823, 2943824, 2943825, 2943826, 2943827, 2943828, 2943829, 2943830, 2943831, 2943832, 2943833, 2943834, 2943835, 2943836, 2943837, 2943838, 2943839, 2943840, 2943841, 2943842, 2943843, 2943844, 2943845, 2943846, 2943847, 2943848, 2943849, 2943850, 2943851, 2943852, 2943853, 2943854, 2943855, 2943856, 2943857, 2943858, 2943128, 2943859, 2943860, 2943861, 2943862, 2943863, 2943864, 2943865, 2943866, 2943867, 2943868, 2943869, 2943870, 2943871, 2943872, 2943873, 2943874, 2943875, 2943876, 2943877, 2943878, 2943879, 2943880, 2943881, 2943882, 2943883, 2943884, 2943885, 2943073, 2943886, 2943887, 2943888, 2943889, 2943890, 2943891, 2943892, 2943893, 2943894, 2943895, 2943896, 2943897, 2943898, 2943899, 2943900, 2943901, 2943902, 2943903, 2943904, 2943905, 2943906, 2943907, 2943105, 2943908, 2943909, 2943910, 2943911, 2943074, 2943912, 2943913, 2943914, 2943915, 2943075, 2943916, 2943917, 2943918, 2943919, 2943920, 2943921, 2943103, 2943922, 2943923, 2943924, 2943925, 2943926, 2943927, 2943928, 2943929, 2943930, 2943931, 2943932, 2943933, 2943934, 2943935, 2943936, 2943937, 2943938, 2943939, 2943940, 2943941, 2943942, 2943943, 2943944, 2943945, 2943946, 2943947, 2943076, 2943948, 2943949, 2943108, 2943950, 2943951, 2943952, 2943953, 2943954, 2943955, 2943123, 2943956, 2943957, 2943958, 2943959, 2943960, 2943084, 2943086, 2943961, 2943962, 2943963, 2943964, 2943965, 2943966, 2943967, 2943968, 2943969, 2943970, 2943971, 2943972, 2943973, 2943974, 2943975, 2943976, 2943977, 2943978, 2943979, 2943980, 2943981, 2943982, 2943983, 2943984, 2943985, 2943986, 2943987, 2943988, 2943077, 2943099, 2943989, 2943990, 2943991, 2943992, 2943993, 2943994, 2943995, 2943996, 2943997, 2943998, 2943999, 2944000, 2944001, 2944002, 2944003, 2944004, 2944005, 2944006, 2944007, 2944008, 2944009, 2944010, 2944011, 2944012, 2944013, 2944014, 2944015, 2944016, 2944017, 2944018, 2944019, 2944020, 2944021, 2944022, 2944023, 2944024, 2944025, 2944026, 2944027, 2944028, 2944029, 2944030, 2944031, 2944032, 2944033, 2944034, 2944035, 2944036, 2944037, 2944038, 2944039, 2944040, 2944041, 2944042, 2944043, 2944044, 2944045, 2944046, 2944047, 2944048, 2944049, 2944050, 2944051, 2944052, 2944053, 2944054, 2944055, 2944056, 2944057, 2944058, 2944059, 2944060, 2944061, 2944062, 2944063, 2944064, 2944065, 2944066, 2944067, 2944068, 2944069, 2944070, 2944071, 2944072, 2944073, 2944074, 2944075, 2944076, 2944077, 2944078, 2944079, 2944080, 2944081, 2944082, 2944083, 2944084, 2944085, 2944086, 2943102, 2944087, 2944088, 2944089);
Date: 2024-04-02 15:10:25
-
DELETE FROM stock_inventory_line WHERE id IN (2943078, 2943106, 2944090, 2943079, 2944091, 2944092, 2944093, 2943085, 2944094, 2944095, 2944096, 2944097, 2944098, 2944099, 2944100, 2944101, 2944102, 2944103, 2944104, 2944105, 2944106, 2944107, 2944108, 2944109, 2944110, 2944111, 2944112, 2944113, 2944114, 2944115, 2944116, 2944117, 2944118, 2944119, 2944120, 2944121, 2944122, 2944123, 2943101, 2944124, 2944125, 2944126, 2944127, 2944128, 2944129, 2944130, 2944131, 2944132, 2944133, 2944134, 2944135, 2943107, 2944136, 2944137, 2944138, 2944139, 2944140, 2944141, 2944142, 2944143, 2944144, 2944145, 2944146, 2944147, 2944148, 2944149, 2944150, 2944151, 2944152, 2944153, 2944154, 2944155, 2944156, 2944157, 2944158, 2944159, 2944160, 2944161, 2944162, 2944163, 2944164, 2944165, 2944166, 2944167, 2944168, 2944169, 2944170, 2944171, 2944172, 2944173, 2944174, 2944175, 2944176, 2944177, 2944178, 2944179, 2944180, 2944181, 2944182, 2944183, 2944184, 2944185, 2944186, 2944187, 2944188, 2944189, 2944190, 2944191, 2944192, 2944193, 2944194, 2944195, 2944196, 2944197, 2944198, 2944199, 2944200, 2944201, 2943094, 2944202, 2944203, 2944204, 2944205, 2944206, 2944207, 2944208, 2944209, 2944210, 2944211, 2944212, 2944213, 2943113, 2943118, 2944214, 2943080, 2944215, 2944216, 2944217, 2944218, 2944219, 2944220, 2944221, 2943110, 2944222, 2944223, 2944224, 2944225, 2944226, 2944227, 2944228, 2944229, 2944230, 2944231, 2944232, 2944233, 2944234, 2944235, 2944236, 2944237, 2944238, 2944239, 2944240, 2944241, 2944242, 2944243, 2944244, 2943109, 2944245, 2944246, 2944247, 2944248, 2944249, 2944250, 2944251, 2944252, 2944253, 2944254, 2944255, 2944256, 2944257, 2944258, 2944259, 2944260, 2944261, 2944262, 2944263, 2944264, 2944265, 2944266, 2944267, 2944268, 2944269, 2944270, 2944271, 2944272, 2944273, 2943088, 2944274, 2944275, 2943111, 2944276, 2944277, 2944278, 2944279, 2944280, 2944281, 2944282, 2944283, 2944284, 2943116, 2944285, 2944286, 2944287, 2944288, 2944289, 2944290, 2944291, 2944292, 2944293, 2944294, 2944295, 2944296, 2944297, 2944298, 2944299, 2944300, 2944301, 2944302, 2944303, 2944304, 2944305, 2944306, 2944307, 2944308, 2944309, 2944310, 2944311, 2944312, 2944313, 2944314, 2944315, 2944316, 2944317, 2944318, 2944319, 2944320, 2944321, 2944322, 2944323, 2944324, 2944325, 2944326, 2944327, 2944328, 2944329, 2944330, 2944331, 2944332, 2944333, 2944334, 2944335, 2944336, 2944337, 2944338, 2944339, 2944340, 2944341, 2943087, 2944342, 2944343, 2944344, 2944345, 2944346, 2944347, 2944348, 2944349, 2944350, 2944351, 2943081, 2944352, 2944353, 2944354, 2944355, 2944356, 2944357, 2944358, 2944359, 2944360, 2944361, 2944362, 2944363, 2944364, 2944365, 2944366, 2944367, 2944368, 2944369, 2944370, 2944371, 2944372, 2944373, 2944374, 2944375, 2944376, 2944377, 2944378, 2944379, 2944380, 2944381, 2944382, 2944383, 2944384, 2944385, 2944386, 2944387, 2944388, 2944389, 2944390, 2944391, 2944392, 2944393, 2944394, 2944395, 2944396, 2944397, 2944398, 2944399, 2944400, 2943093, 2944401, 2944402, 2944403, 2944404, 2944405, 2944406, 2944407, 2944408, 2944409, 2944410, 2944411, 2944412, 2944413, 2944414, 2944415, 2944416, 2944417, 2944418, 2944419, 2944420, 2944421, 2944422, 2944423, 2944424, 2944425, 2944426, 2944427, 2944428, 2944429, 2943129, 2944430, 2944431, 2943126, 2944432, 2944433, 2944434, 2944435, 2944436, 2944437, 2944438, 2944439, 2944440, 2944441, 2944442, 2944443, 2944444, 2944445, 2944446, 2944447, 2944448, 2944449, 2944450, 2944451, 2944452, 2944453, 2944454, 2944455, 2943117, 2944456, 2943119, 2944457, 2944458, 2943090, 2944459, 2944460, 2943124, 2944461, 2944462, 2944463, 2944464, 2944465, 2944466, 2944467, 2944468, 2944469, 2944470, 2944471, 2944472, 2944473, 2944474, 2944475, 2944476, 2944477, 2944478, 2944479, 2944480, 2944481, 2944482, 2944483, 2944484, 2944485, 2944486, 2944487, 2944488, 2944489, 2943082, 2944490, 2944491, 2944492, 2944493, 2944494, 2943122, 2944495, 2944496, 2944497, 2944498, 2944499, 2944500, 2944501, 2944502, 2944503, 2944504, 2944505, 2944506, 2944507, 2944508, 2944509, 2944510, 2944511, 2944512, 2944513, 2944514, 2944515, 2944516, 2944517, 2944518, 2944519, 2943083, 2944520, 2944521, 2944522, 2944523, 2944524, 2944525, 2944526, 2944527, 2944528, 2944529, 2944530, 2944531, 2944532, 2943091, 2944533, 2944534, 2944535, 2944536, 2944537, 2944538, 2944539);
Date: 2024-04-02 15:12:08
-
DELETE FROM stock_inventory_line WHERE id IN (2942976, 2942977, 2943027, 2942995, 2942996, 2942978, 2943008, 2943005, 2942979, 2943002, 2942980, 2942994, 2943007, 2943023, 2943009, 2942981, 2942982, 2943032, 2943015, 2943022, 2943014, 2943030, 2942993, 2942983, 2943038, 2942984, 2943039, 2942985, 2943018, 2943051, 2943052, 2943025, 2943026, 2942999, 2943047, 2943010, 2943050, 2943019, 2943041, 2943013, 2943028, 2943049, 2943046, 2943045, 2943044, 2943043, 2943035, 2943006, 2942986, 2942998, 2943016, 2942987, 2943040, 2943042, 2942992, 2943036, 2943021, 2943020, 2943033, 2942988, 2942989, 2943029, 2943001, 2942990, 2943055, 2943017, 2943053, 2943024, 2943011, 2943037, 2943012, 2942997, 2943003, 2943048, 2942991, 2943034, 2943000, 2943004, 2943031, 2943054);
Date: 2024-04-02 15:04:34
3 9 23s231ms 2s641ms 4s350ms 2s581ms 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" = 5201260, "write_uid" = 1018, "write_date" = (now() at time zone 'UTC') WHERE id IN (1319222);
Date: 2024-04-02 11:47:59
4 1 9s308ms 9s308ms 9s308ms 9s308ms update "account_move" set "access_token" = ?, "is_move_sent" = true, "write_uid" = ?, "write_date" = (now() at time zone ?) where id in (...);-
UPDATE "account_move" SET "access_token" = '25c24976-8d75-467d-b51c-83d11a0402e2', "is_move_sent" = true, "write_uid" = 1027, "write_date" = (now() at time zone 'UTC') WHERE id IN (1320413);
Date: 2024-04-02 13:15:54
5 1 1s60ms 1s60ms 1s60ms 1s60ms update "sale_order_line" set "cus_part_route" = ?, "cus_user_id" = ?, "order_partner_id" = ?, "write_uid" = ?, "write_date" = (now() at time zone ?) where id in (...);-
UPDATE "sale_order_line" SET "cus_part_route" = NULL, "cus_user_id" = 1270, "order_partner_id" = 39666, "write_uid" = 1263, "write_date" = (now() at time zone 'UTC') WHERE id IN (348121, 348116, 348117, 348119);
Date: 2024-04-02 16:19:51
-
UPDATE "sale_order_line" SET "cus_part_route" = NULL, "cus_user_id" = 1270, "order_partner_id" = 39666, "write_uid" = 1263, "write_date" = (now() at time zone 'UTC') WHERE id IN (348121, 348116, 348117, 348119);
Date: 2024-04-02 13:36:41
-
UPDATE "sale_order_line" SET "cus_part_route" = NULL, "cus_user_id" = 1270, "order_partner_id" = 39666, "write_uid" = 1263, "write_date" = (now() at time zone 'UTC') WHERE id IN (348121, 348116, 348117, 348119);
Date: 2024-04-02 16:19:46
Queries that waited the most
Rank Wait time Query 1 2m39s DELETE FROM stock_inventory_line WHERE id IN (2943130, 2943131, 2943132, 2943133, 2943134, 2943135, 2943136, 2943137, 2943138, 2943139, 2943140, 2943141, 2943142, 2943143, 2943144, 2943145, 2943146, 2943147, 2943148, 2943149, 2943150, 2943062, 2943151, 2943152, 2943153, 2943154, 2943155, 2943156, 2943157, 2943158, 2943159, 2943160, 2943161, 2943162, 2943163, 2943164, 2943127, 2943165, 2943166, 2943167, 2943063, 2943064, 2943168, 2943169, 2943170, 2943171, 2943172, 2943173, 2943174, 2943175, 2943176, 2943177, 2943178, 2943179, 2943180, 2943181, 2943182, 2943183, 2943184, 2943185, 2943186, 2943187, 2943188, 2943189, 2943190, 2943191, 2943192, 2943193, 2943114, 2943120, 2943065, 2943194, 2943195, 2943196, 2943197, 2943198, 2943199, 2943200, 2943201, 2943202, 2943203, 2943204, 2943205, 2943206, 2943066, 2943207, 2943208, 2943209, 2943210, 2943211, 2943212, 2943213, 2943214, 2943215, 2943216, 2943217, 2943218, 2943219, 2943220, 2943221, 2943222, 2943223, 2943224, 2943225, 2943226, 2943227, 2943228, 2943229, 2943230, 2943231, 2943232, 2943233, 2943234, 2943235, 2943236, 2943237, 2943238, 2943239, 2943240, 2943241, 2943242, 2943243, 2943244, 2943245, 2943246, 2943247, 2943248, 2943249, 2943250, 2943251, 2943252, 2943253, 2943254, 2943255, 2943256, 2943257, 2943258, 2943259, 2943260, 2943261, 2943262, 2943263, 2943264, 2943265, 2943266, 2943267, 2943268, 2943269, 2943270, 2943271, 2943272, 2943273, 2943274, 2943275, 2943276, 2943277, 2943278, 2943279, 2943280, 2943281, 2943282, 2943283, 2943284, 2943285, 2943286, 2943287, 2943288, 2943289, 2943290, 2943291, 2943292, 2943293, 2943294, 2943295, 2943296, 2943297, 2943298, 2943299, 2943300, 2943301, 2943302, 2943303, 2943304, 2943305, 2943306, 2943307, 2943308, 2943309, 2943310, 2943311, 2943312, 2943313, 2943314, 2943315, 2943316, 2943317, 2943318, 2943319, 2943320, 2943321, 2943322, 2943323, 2943324, 2943325, 2943326, 2943327, 2943328, 2943329, 2943330, 2943331, 2943332, 2943333, 2943334, 2943335, 2943336, 2943337, 2943338, 2943339, 2943340, 2943341, 2943342, 2943343, 2943344, 2943345, 2943346, 2943347, 2943348, 2943349, 2943350, 2943351, 2943352, 2943353, 2943354, 2943355, 2943356, 2943357, 2943358, 2943359, 2943360, 2943361, 2943362, 2943363, 2943364, 2943365, 2943366, 2943367, 2943368, 2943369, 2943370, 2943371, 2943372, 2943373, 2943374, 2943375, 2943376, 2943377, 2943378, 2943379, 2943380, 2943381, 2943382, 2943383, 2943384, 2943385, 2943386, 2943387, 2943388, 2943389, 2943390, 2943391, 2943392, 2943393, 2943394, 2943395, 2943396, 2943397, 2943398, 2943399, 2943400, 2943401, 2943402, 2943403, 2943404, 2943405, 2943406, 2943407, 2943408, 2943409, 2943410, 2943411, 2943412, 2943413, 2943414, 2943415, 2943416, 2943417, 2943418, 2943419, 2943420, 2943421, 2943422, 2943423, 2943424, 2943425, 2943426, 2943427, 2943428, 2943429, 2943430, 2943431, 2943432, 2943433, 2943434, 2943125, 2943435, 2943436, 2943437, 2943438, 2943439, 2943440, 2943441, 2943442, 2943443, 2943444, 2943445, 2943446, 2943447, 2943448, 2943449, 2943450, 2943451, 2943452, 2943453, 2943067, 2943454, 2943455, 2943456, 2943457, 2943458, 2943459, 2943460, 2943461, 2943462, 2943463, 2943464, 2943465, 2943466, 2943467, 2943468, 2943469, 2943470, 2943471, 2943472, 2943473, 2943474, 2943475, 2943476, 2943477, 2943478, 2943479, 2943480, 2943481, 2943482, 2943483, 2943484, 2943485, 2943486, 2943487, 2943488, 2943489, 2943490, 2943491, 2943492, 2943493, 2943494, 2943495, 2943496, 2943497, 2943498, 2943499, 2943500, 2943501, 2943502, 2943503, 2943504, 2943505, 2943506, 2943507, 2943508, 2943509, 2943510, 2943511, 2943512, 2943513, 2943514, 2943515, 2943516, 2943517, 2943518, 2943519, 2943520, 2943521, 2943522, 2943523, 2943524, 2943525, 2943526, 2943527, 2943528, 2943529, 2943530, 2943531, 2943532, 2943533, 2943534, 2943535, 2943536, 2943537, 2943112, 2943538, 2943539, 2943540, 2943541, 2943542, 2943543, 2943544, 2943545, 2943546, 2943547, 2943548, 2943549, 2943550, 2943551, 2943552, 2943553, 2943554, 2943555, 2943556, 2943557, 2943558, 2943559, 2943560, 2943561, 2943562, 2943563, 2943564, 2943565, 2943566, 2943567, 2943568, 2943569, 2943570, 2943571, 2943572, 2943573, 2943574, 2943575, 2943576, 2943577, 2943578, 2943579, 2943580, 2943581, 2943582, 2943583, 2943584, 2943585, 2943586, 2943587, 2943588, 2943589, 2943590, 2943115, 2943591, 2943592, 2943593, 2943594, 2943595, 2943596, 2943597, 2943598, 2943599, 2943600, 2943601, 2943602, 2943603, 2943604, 2943605, 2943606, 2943607, 2943098, 2943608, 2943609, 2943610, 2943104, 2943611, 2943612, 2943613, 2943614, 2943615, 2943616, 2943617, 2943618, 2943619, 2943620, 2943621, 2943622, 2943623, 2943624, 2943625, 2943626, 2943627, 2943628, 2943629, 2943630, 2943631, 2943632, 2943633, 2943634, 2943635, 2943636, 2943089, 2943637, 2943638, 2943639, 2943640, 2943641, 2943096, 2943642, 2943643, 2943644, 2943645, 2943646, 2943647, 2943648, 2943649, 2943650, 2943651, 2943652, 2943653, 2943654, 2943655, 2943656, 2943657, 2943658, 2943659, 2943660, 2943661, 2943662, 2943663, 2943664, 2943665, 2943666, 2943667, 2943668, 2943669, 2943670, 2943671, 2943672, 2943673, 2943674, 2943675, 2943676, 2943677, 2943678, 2943679, 2943680, 2943681, 2943682, 2943683, 2943684, 2943685, 2943686, 2943687, 2943688, 2943689, 2943690, 2943691, 2943692, 2943693, 2943694, 2943695, 2943696, 2943697, 2943698, 2943068, 2943699, 2943700, 2943701, 2943069, 2943702, 2943703, 2943704, 2943705, 2943706, 2943707, 2943708, 2943709, 2943710, 2943711, 2943712, 2943713, 2943714, 2943715, 2943716, 2943717, 2943718, 2943719, 2943095, 2943121, 2943720, 2943721, 2943722, 2943070, 2943723, 2943724, 2943725, 2943726, 2943727, 2943728, 2943729, 2943730, 2943731, 2943732, 2943733, 2943734, 2943071, 2943735, 2943736, 2943092, 2943097, 2943100, 2943737, 2943738, 2943739, 2943740, 2943741, 2943742, 2943743, 2943744, 2943745, 2943746, 2943747, 2943748, 2943749, 2943750, 2943751, 2943752, 2943753, 2943754, 2943755, 2943756, 2943757, 2943758, 2943759, 2943760, 2943761, 2943762, 2943763, 2943764, 2943765, 2943766, 2943767, 2943768, 2943769, 2943770, 2943771, 2943772, 2943773, 2943774, 2943775, 2943776, 2943072, 2943777, 2943778, 2943779, 2943780, 2943781, 2943782, 2943783, 2943784, 2943785, 2943786, 2943787, 2943788, 2943789, 2943790, 2943791, 2943792, 2943793, 2943794, 2943795, 2943796, 2943797, 2943798, 2943799, 2943800, 2943801, 2943802, 2943803, 2943804, 2943805, 2943806, 2943807, 2943808, 2943809, 2943810, 2943811, 2943812, 2943813, 2943814, 2943815, 2943816, 2943817, 2943818, 2943819, 2943820, 2943821, 2943822, 2943823, 2943824, 2943825, 2943826, 2943827, 2943828, 2943829, 2943830, 2943831, 2943832, 2943833, 2943834, 2943835, 2943836, 2943837, 2943838, 2943839, 2943840, 2943841, 2943842, 2943843, 2943844, 2943845, 2943846, 2943847, 2943848, 2943849, 2943850, 2943851, 2943852, 2943853, 2943854, 2943855, 2943856, 2943857, 2943858, 2943128, 2943859, 2943860, 2943861, 2943862, 2943863, 2943864, 2943865, 2943866, 2943867, 2943868, 2943869, 2943870, 2943871, 2943872, 2943873, 2943874, 2943875, 2943876, 2943877, 2943878, 2943879, 2943880, 2943881, 2943882, 2943883, 2943884, 2943885, 2943073, 2943886, 2943887, 2943888, 2943889, 2943890, 2943891, 2943892, 2943893, 2943894, 2943895, 2943896, 2943897, 2943898, 2943899, 2943900, 2943901, 2943902, 2943903, 2943904, 2943905, 2943906, 2943907, 2943105, 2943908, 2943909, 2943910, 2943911, 2943074, 2943912, 2943913, 2943914, 2943915, 2943075, 2943916, 2943917, 2943918, 2943919, 2943920, 2943921, 2943103, 2943922, 2943923, 2943924, 2943925, 2943926, 2943927, 2943928, 2943929, 2943930, 2943931, 2943932, 2943933, 2943934, 2943935, 2943936, 2943937, 2943938, 2943939, 2943940, 2943941, 2943942, 2943943, 2943944, 2943945, 2943946, 2943947, 2943076, 2943948, 2943949, 2943108, 2943950, 2943951, 2943952, 2943953, 2943954, 2943955, 2943123, 2943956, 2943957, 2943958, 2943959, 2943960, 2943084, 2943086, 2943961, 2943962, 2943963, 2943964, 2943965, 2943966, 2943967, 2943968, 2943969, 2943970, 2943971, 2943972, 2943973, 2943974, 2943975, 2943976, 2943977, 2943978, 2943979, 2943980, 2943981, 2943982, 2943983, 2943984, 2943985, 2943986, 2943987, 2943988, 2943077, 2943099, 2943989, 2943990, 2943991, 2943992, 2943993, 2943994, 2943995, 2943996, 2943997, 2943998, 2943999, 2944000, 2944001, 2944002, 2944003, 2944004, 2944005, 2944006, 2944007, 2944008, 2944009, 2944010, 2944011, 2944012, 2944013, 2944014, 2944015, 2944016, 2944017, 2944018, 2944019, 2944020, 2944021, 2944022, 2944023, 2944024, 2944025, 2944026, 2944027, 2944028, 2944029, 2944030, 2944031, 2944032, 2944033, 2944034, 2944035, 2944036, 2944037, 2944038, 2944039, 2944040, 2944041, 2944042, 2944043, 2944044, 2944045, 2944046, 2944047, 2944048, 2944049, 2944050, 2944051, 2944052, 2944053, 2944054, 2944055, 2944056, 2944057, 2944058, 2944059, 2944060, 2944061, 2944062, 2944063, 2944064, 2944065, 2944066, 2944067, 2944068, 2944069, 2944070, 2944071, 2944072, 2944073, 2944074, 2944075, 2944076, 2944077, 2944078, 2944079, 2944080, 2944081, 2944082, 2944083, 2944084, 2944085, 2944086, 2943102, 2944087, 2944088, 2944089);[ Date: 2024-04-02 15:12:08 ]
2 39s560ms UPDATE account_move SET write_date = write_date WHERE id = ( SELECT id FROM account_move WHERE journal_id = 2 AND name != '/' AND sequence_prefix !~ '^(?:.*?)(?:((?<=\D)|(?<=^))((19|20|21)?\d{2}))(?:\D+?)$' AND move_type NOT IN ('out_refund', 'in_refund') AND id != 1293066 AND sequence_prefix = ( SELECT sequence_prefix FROM account_move WHERE journal_id = 2 AND name != '/' AND sequence_prefix !~ '^(?:.*?)(?:((?<=\D)|(?<=^))((19|20|21)?\d{2}))(?:\D+?)$' AND move_type NOT IN ('out_refund', 'in_refund') AND id != 1293066 ORDER BY id DESC LIMIT 1) ORDER BY sequence_number DESC LIMIT 1) RETURNING name;[ Date: 2024-04-02 17:45:52 ]
3 38s998ms UPDATE account_move SET write_date = write_date WHERE id = ( SELECT id FROM account_move WHERE journal_id = 2 AND name != '/' AND sequence_prefix !~ '^(?:.*?)(?:((?<=\D)|(?<=^))((19|20|21)?\d{2}))(?:\D+?)$' AND move_type NOT IN ('out_refund', 'in_refund') AND id != 1321743 AND sequence_prefix = ( SELECT sequence_prefix FROM account_move WHERE journal_id = 2 AND name != '/' AND sequence_prefix !~ '^(?:.*?)(?:((?<=\D)|(?<=^))((19|20|21)?\d{2}))(?:\D+?)$' AND move_type NOT IN ('out_refund', 'in_refund') AND id != 1321743 ORDER BY id DESC LIMIT 1) ORDER BY sequence_number DESC LIMIT 1) RETURNING name;[ Date: 2024-04-02 18:06:01 ]
4 38s456ms 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 != 1320198 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 != 1320198 ORDER BY id DESC LIMIT 1) ORDER BY sequence_number DESC LIMIT 1) RETURNING name;[ Date: 2024-04-02 12:57:20 ]
5 33s348ms UPDATE account_move SET write_date = write_date WHERE id = ( SELECT id FROM account_move WHERE journal_id = 2 AND name != '/' AND sequence_prefix !~ '^(?:.*?)(?:((?<=\D)|(?<=^))((19|20|21)?\d{2}))(?:\D+?)$' AND move_type NOT IN ('out_refund', 'in_refund') AND id != 1321745 AND sequence_prefix = ( SELECT sequence_prefix FROM account_move WHERE journal_id = 2 AND name != '/' AND sequence_prefix !~ '^(?:.*?)(?:((?<=\D)|(?<=^))((19|20|21)?\d{2}))(?:\D+?)$' AND move_type NOT IN ('out_refund', 'in_refund') AND id != 1321745 ORDER BY id DESC LIMIT 1) ORDER BY sequence_number DESC LIMIT 1) RETURNING name;[ Date: 2024-04-02 18:06:01 ]
6 17s771ms 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 != 1320199 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 != 1320199 ORDER BY id DESC LIMIT 1) ORDER BY sequence_number DESC LIMIT 1) RETURNING name;[ Date: 2024-04-02 12:57:20 ]
7 13s216ms 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 != 1050906 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 != 1050906 ORDER BY id DESC LIMIT 1) ORDER BY sequence_number DESC LIMIT 1) RETURNING name;[ Date: 2024-04-02 12:52:58 ]
8 9s904ms 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 != 1320814 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 != 1320814 ORDER BY id DESC LIMIT 1) ORDER BY sequence_number DESC LIMIT 1) RETURNING name;[ Date: 2024-04-02 14:17:44 ]
9 9s308ms UPDATE "account_move" SET "access_token" = '25c24976-8d75-467d-b51c-83d11a0402e2', "is_move_sent" = true, "write_uid" = 1027, "write_date" = (now() at time zone 'UTC') WHERE id IN (1320413);[ Date: 2024-04-02 13:15:54 ]
10 9s258ms 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 != 1320160 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 != 1320160 ORDER BY id DESC LIMIT 1) ORDER BY sequence_number DESC LIMIT 1) RETURNING name;[ Date: 2024-04-02 12:52:58 ]
11 6s703ms 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 != 1320205 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 != 1320205 ORDER BY id DESC LIMIT 1) ORDER BY sequence_number DESC LIMIT 1) RETURNING name;[ Date: 2024-04-02 12:57:28 ]
12 4s350ms UPDATE "account_move" SET "message_main_attachment_id" = 5201755, "write_uid" = 983, "write_date" = (now() at time zone 'UTC') WHERE id IN (1320268);[ Date: 2024-04-02 13:05:04 ]
13 4s98ms 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 != 1319822 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 != 1319822 ORDER BY id DESC LIMIT 1) ORDER BY sequence_number DESC LIMIT 1) RETURNING name;[ Date: 2024-04-02 12:22:49 ]
14 3s521ms UPDATE "account_move" SET "message_main_attachment_id" = 5202093, "write_uid" = 1005, "write_date" = (now() at time zone 'UTC') WHERE id IN (1320594);[ Date: 2024-04-02 13:39:43 ]
15 3s414ms 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 != 1321026 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 != 1321026 ORDER BY id DESC LIMIT 1) ORDER BY sequence_number DESC LIMIT 1) RETURNING name;[ Date: 2024-04-02 15:01:23 ]
16 3s243ms 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 != 1174543 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 != 1174543 ORDER BY id DESC LIMIT 1) ORDER BY sequence_number DESC LIMIT 1) RETURNING name;[ Date: 2024-04-02 12:00:53 ]
17 3s208ms UPDATE "account_move" SET "message_main_attachment_id" = 5202276, "write_uid" = 1005, "write_date" = (now() at time zone 'UTC') WHERE id IN (1320713);[ Date: 2024-04-02 13:57:23 ]
18 3s41ms 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 != 1319791 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 != 1319791 ORDER BY id DESC LIMIT 1) ORDER BY sequence_number DESC LIMIT 1) RETURNING name;[ Date: 2024-04-02 12:18:25 ]
19 2s778ms 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 != 1320159 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 != 1320159 ORDER BY id DESC LIMIT 1) ORDER BY sequence_number DESC LIMIT 1) RETURNING name;[ Date: 2024-04-02 12:55:50 ]
20 2s669ms 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 != 1320307 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 != 1320307 ORDER BY id DESC LIMIT 1) ORDER BY sequence_number DESC LIMIT 1) RETURNING name;[ Date: 2024-04-02 13:08:57 ]
-
Queries
Queries by type
Key values
- 54,244 Total read queries
- 16,343 Total write queries
Queries by database
Key values
- unknown Main database
- 70,587 Requests
- 16h11m50s (unknown)
- Main time consuming database
Queries by user
Key values
- unknown Main user
- 70,632 Requests
User Request type Count Duration unknown Total 70,632 16h12m2s copy to 103 11m40s cte 50 10s240ms delete 414 20m7s insert 659 2m38s select 54,288 13h42m49s tcl 1 147ms update 15,117 1h54m36s Duration by user
Key values
- 16h12m2s (unknown) Main time consuming user
User Request type Count Duration unknown Total 70,632 16h12m2s copy to 103 11m40s cte 50 10s240ms delete 414 20m7s insert 659 2m38s select 54,288 13h42m49s tcl 1 147ms update 15,117 1h54m36s Queries by host
Key values
- unknown Main host
- 70,632 Requests
- 16h12m2s (unknown)
- Main time consuming host
Queries by application
Key values
- unknown Main application
- 70,587 Requests
- 16h11m50s (unknown)
- Main time consuming application
Number of cancelled queries
Key values
- 0 per second Cancelled query Peak
- 2024-04-02 14:03:31 Date
Number of cancelled queries (5 minutes period)
NO DATASET
-
Top Queries
Histogram of query times
Key values
- 52,601 100-500ms duration
Slowest individual queries
Rank Duration Query 1 1h24m16s select "$Outer"."id" as "id", "$Outer"."move_id" as "move_id", "$Outer"."move_name" as "move_name", "$Outer"."date" as "date", "$Outer"."ref" as "ref", "$Outer"."parent_state" as "parent_state", "$Outer"."journal_id" as "journal_id", "$Outer"."company_id" as "company_id", "$Outer"."company_currency_id" as "company_currency_id", "$Outer"."account_id" as "account_id", "$Outer"."account_root_id" as "account_root_id", "$Outer"."sequence" as "sequence", "$Outer"."name" as "name", "$Outer"."quantity" as "quantity", "$Outer"."price_unit" as "price_unit", "$Outer"."discount" as "discount", "$Outer"."debit" as "debit", "$Outer"."credit" as "credit", "$Outer"."balance" as "balance", "$Outer"."amount_currency" as "amount_currency", "$Outer"."price_subtotal" as "price_subtotal", "$Outer"."price_total" as "price_total", "$Outer"."reconciled" as "reconciled", "$Outer"."blocked" as "blocked", "$Outer"."date_maturity" as "date_maturity", "$Outer"."currency_id" as "currency_id", "$Outer"."partner_id" as "partner_id", "$Outer"."product_uom_id" as "product_uom_id", "$Outer"."product_id" as "product_id", "$Outer"."reconcile_model_id" as "reconcile_model_id", "$Outer"."payment_id" as "payment_id", "$Outer"."statement_line_id" as "statement_line_id", "$Outer"."statement_id" as "statement_id", "$Outer"."tax_line_id" as "tax_line_id", "$Outer"."tax_group_id" as "tax_group_id", "$Outer"."tax_base_amount" as "tax_base_amount", "$Outer"."tax_exigible" as "tax_exigible", "$Outer"."tax_repartition_line_id" as "tax_repartition_line_id", "$Outer"."tax_audit" as "tax_audit", "$Outer"."amount_residual" as "amount_residual", "$Outer"."amount_residual_currency" as "amount_residual_currency", "$Outer"."full_reconcile_id" as "full_reconcile_id", "$Outer"."matching_number" as "matching_number", "$Outer"."analytic_account_id" as "analytic_account_id", "$Outer"."display_type" as "display_type", "$Outer"."is_rounding_line" as "is_rounding_line", "$Outer"."exclude_from_invoice_tab" as "exclude_from_invoice_tab", "$Outer"."create_uid" as "create_uid", "$Outer"."create_date" as "create_date", "$Outer"."write_uid" as "write_uid", "$Outer"."write_date" as "write_date", "$Outer"."expected_pay_date" as "expected_pay_date", "$Outer"."internal_note" as "internal_note", "$Outer"."next_action_date" as "next_action_date", "$Outer"."followup_line_id" as "followup_line_id", "$Outer"."followup_date" as "followup_date", "$Outer"."is_anglo_saxon_line" as "is_anglo_saxon_line", "$Outer"."purchase_line_id" as "purchase_line_id", "$Outer"."branch_id" as "branch_id", "$Outer"."branch_name" as "branch_name", "$Outer"."vehicle_id" as "vehicle_id", "$Outer"."move_options" as "move_options", "$Outer"."sign_product_qty" as "sign_product_qty", "$Outer"."sign_price_subtotal" as "sign_price_subtotal", "$Outer"."new_product_qty" as "new_product_qty", "$Outer"."sale_line_id" as "sale_line_id", "$Outer"."child_sale_line_id" as "child_sale_line_id", "$Outer"."main_invoice_line_id" as "main_invoice_line_id", "$Outer"."core_bank_transaction" as "core_bank_transaction", "$Outer"."is_rtv_line" as "is_rtv_line", "$Outer"."core_qty" as "core_qty", "$Outer"."rebate_amount" as "rebate_amount", "$Outer"."cost_price" as "cost_price", "$Outer"."is_visible_in_report" as "is_visible_in_report", "$Outer"."is_labour" as "is_labour", "$Outer"."can_be_paid" as "can_be_paid", "$Outer"."bal_core_bank_id" as "bal_core_bank_id", "$Outer"."repair_line_id" as "repair_line_id", "$Outer"."inv_back_order_qty" as "inv_back_order_qty", "$Outer"."sale_back_order_qty" as "sale_back_order_qty", "$Outer"."product_pricelist_item_id" as "product_pricelist_item_id", "$Outer"."is_discount" as "is_discount", "$Outer"."is_sale_tax" as "is_sale_tax", "$Outer"."auto_reconcile" as "auto_reconcile", "$Outer"."is_writeoff" as "is_writeoff", "$Outer"."is_extra_line" as "is_extra_line", "$Outer"."is_carry_forward" as "is_carry_forward", "$Inner"."user_type_id" as "public account_account.user_type_id" from "public"."account_move_line" "$Outer" left outer join ( select "_"."id" as "id2", "_"."name" as "name2", "_"."currency_id" as "currency_id2", "_"."code" as "code", "_"."deprecated" as "deprecated", "_"."user_type_id" as "user_type_id", "_"."internal_type" as "internal_type", "_"."internal_group" as "internal_group", "_"."reconcile" as "reconcile", "_"."note" as "note", "_"."company_id" as "company_id2", "_"."group_id" as "group_id", "_"."root_id" as "root_id", "_"."is_off_balance" as "is_off_balance", "_"."create_uid" as "create_uid2", "_"."create_date" as "create_date2", "_"."write_uid" as "write_uid2", "_"."write_date" as "write_date2", "_"."asset_model" as "asset_model", "_"."create_asset" as "create_asset", "_"."multiple_assets_per_line" as "multiple_assets_per_line" from "public"."account_account" "_") "$Inner" on ("$Outer"."account_id" = "$Inner"."id2");[ Date: 2024-04-02 19:53:29 - Bind query: yes ]
2 1h20m27s select "$Table"."id" as "id", "$Table"."move_id" as "move_id", "$Table"."move_name" as "move_name", "$Table"."date" as "date", "$Table"."ref" as "ref", "$Table"."parent_state" as "parent_state", "$Table"."journal_id" as "journal_id", "$Table"."company_id" as "company_id", "$Table"."company_currency_id" as "company_currency_id", "$Table"."account_id" as "account_id", "$Table"."account_root_id" as "account_root_id", "$Table"."sequence" as "sequence", "$Table"."name" as "name", "$Table"."quantity" as "quantity", "$Table"."price_unit" as "price_unit", "$Table"."discount" as "discount", "$Table"."debit" as "debit", "$Table"."credit" as "credit", "$Table"."balance" as "balance", "$Table"."amount_currency" as "amount_currency", "$Table"."price_subtotal" as "price_subtotal", "$Table"."price_total" as "price_total", "$Table"."reconciled" as "reconciled", "$Table"."blocked" as "blocked", "$Table"."date_maturity" as "date_maturity", "$Table"."currency_id" as "currency_id", "$Table"."partner_id" as "partner_id", "$Table"."product_uom_id" as "product_uom_id", "$Table"."product_id" as "product_id", "$Table"."reconcile_model_id" as "reconcile_model_id", "$Table"."payment_id" as "payment_id", "$Table"."statement_line_id" as "statement_line_id", "$Table"."statement_id" as "statement_id", "$Table"."tax_line_id" as "tax_line_id", "$Table"."tax_group_id" as "tax_group_id", "$Table"."tax_base_amount" as "tax_base_amount", "$Table"."tax_exigible" as "tax_exigible", "$Table"."tax_repartition_line_id" as "tax_repartition_line_id", "$Table"."tax_audit" as "tax_audit", "$Table"."amount_residual" as "amount_residual", "$Table"."amount_residual_currency" as "amount_residual_currency", "$Table"."full_reconcile_id" as "full_reconcile_id", "$Table"."matching_number" as "matching_number", "$Table"."analytic_account_id" as "analytic_account_id", "$Table"."display_type" as "display_type", "$Table"."is_rounding_line" as "is_rounding_line", "$Table"."exclude_from_invoice_tab" as "exclude_from_invoice_tab", "$Table"."create_uid" as "create_uid", "$Table"."create_date" as "create_date", "$Table"."write_uid" as "write_uid", "$Table"."write_date" as "write_date", "$Table"."expected_pay_date" as "expected_pay_date", "$Table"."internal_note" as "internal_note", "$Table"."next_action_date" as "next_action_date", "$Table"."followup_line_id" as "followup_line_id", "$Table"."followup_date" as "followup_date", "$Table"."is_anglo_saxon_line" as "is_anglo_saxon_line", "$Table"."purchase_line_id" as "purchase_line_id", "$Table"."branch_id" as "branch_id", "$Table"."branch_name" as "branch_name", "$Table"."vehicle_id" as "vehicle_id", "$Table"."move_options" as "move_options", "$Table"."sign_product_qty" as "sign_product_qty", "$Table"."sign_price_subtotal" as "sign_price_subtotal", "$Table"."new_product_qty" as "new_product_qty", "$Table"."sale_line_id" as "sale_line_id", "$Table"."child_sale_line_id" as "child_sale_line_id", "$Table"."main_invoice_line_id" as "main_invoice_line_id", "$Table"."core_bank_transaction" as "core_bank_transaction", "$Table"."is_rtv_line" as "is_rtv_line", "$Table"."core_qty" as "core_qty", "$Table"."rebate_amount" as "rebate_amount", "$Table"."cost_price" as "cost_price", "$Table"."is_visible_in_report" as "is_visible_in_report", "$Table"."is_labour" as "is_labour", "$Table"."can_be_paid" as "can_be_paid", "$Table"."bal_core_bank_id" as "bal_core_bank_id", "$Table"."repair_line_id" as "repair_line_id", "$Table"."inv_back_order_qty" as "inv_back_order_qty", "$Table"."sale_back_order_qty" as "sale_back_order_qty", "$Table"."product_pricelist_item_id" as "product_pricelist_item_id", "$Table"."is_discount" as "is_discount", "$Table"."is_sale_tax" as "is_sale_tax", "$Table"."auto_reconcile" as "auto_reconcile", "$Table"."is_writeoff" as "is_writeoff", "$Table"."is_extra_line" as "is_extra_line", "$Table"."is_carry_forward" as "is_carry_forward" from "public"."account_move_line" "$Table";[ Date: 2024-04-02 21:38:18 - Bind query: yes ]
3 35m59s select "$Table"."id" as "id", "$Table"."access_token" as "access_token", "$Table"."message_main_attachment_id" as "message_main_attachment_id", "$Table"."name" as "name", "$Table"."date" as "date", "$Table"."ref" as "ref", "$Table"."narration" as "narration", "$Table"."state" as "state", "$Table"."posted_before" as "posted_before", "$Table"."move_type" as "move_type", "$Table"."to_check" as "to_check", "$Table"."journal_id" as "journal_id", "$Table"."company_id" as "company_id", "$Table"."currency_id" as "currency_id", "$Table"."partner_id" as "partner_id", "$Table"."commercial_partner_id" as "commercial_partner_id", "$Table"."is_move_sent" as "is_move_sent", "$Table"."partner_bank_id" as "partner_bank_id", "$Table"."payment_reference" as "payment_reference", "$Table"."payment_id" as "payment_id", "$Table"."statement_line_id" as "statement_line_id", "$Table"."amount_untaxed" as "amount_untaxed", "$Table"."amount_tax" as "amount_tax", "$Table"."amount_total" as "amount_total", "$Table"."amount_residual" as "amount_residual", "$Table"."amount_untaxed_signed" as "amount_untaxed_signed", "$Table"."amount_tax_signed" as "amount_tax_signed", "$Table"."amount_total_signed" as "amount_total_signed", "$Table"."amount_residual_signed" as "amount_residual_signed", "$Table"."payment_state" as "payment_state", "$Table"."tax_cash_basis_rec_id" as "tax_cash_basis_rec_id", "$Table"."tax_cash_basis_move_id" as "tax_cash_basis_move_id", "$Table"."auto_post" as "auto_post", "$Table"."reversed_entry_id" as "reversed_entry_id", "$Table"."fiscal_position_id" as "fiscal_position_id", "$Table"."invoice_user_id" as "invoice_user_id", "$Table"."invoice_date" as "invoice_date", "$Table"."invoice_date_due" as "invoice_date_due", "$Table"."invoice_origin" as "invoice_origin", "$Table"."invoice_payment_term_id" as "invoice_payment_term_id", "$Table"."invoice_incoterm_id" as "invoice_incoterm_id", "$Table"."qr_code_method" as "qr_code_method", "$Table"."invoice_source_email" as "invoice_source_email", "$Table"."invoice_partner_display_name" as "invoice_partner_display_name", "$Table"."invoice_cash_rounding_id" as "invoice_cash_rounding_id", "$Table"."secure_sequence_number" as "secure_sequence_number", "$Table"."inalterable_hash" as "inalterable_hash", "$Table"."sequence_prefix" as "sequence_prefix", "$Table"."sequence_number" as "sequence_number", "$Table"."create_uid" as "create_uid", "$Table"."create_date" as "create_date", "$Table"."write_uid" as "write_uid", "$Table"."write_date" as "write_date", "$Table"."payment_state_before_switch" as "payment_state_before_switch", "$Table"."duplicated_vendor_ref" as "duplicated_vendor_ref", "$Table"."extract_state" as "extract_state", "$Table"."extract_status_code" as "extract_status_code", "$Table"."extract_remote_id" as "extract_remote_id", "$Table"."transfer_model_id" as "transfer_model_id", "$Table"."tax_closing_end_date" as "tax_closing_end_date", "$Table"."tax_report_control_error" as "tax_report_control_error", "$Table"."asset_id" as "asset_id", "$Table"."asset_remaining_value" as "asset_remaining_value", "$Table"."asset_depreciated_value" as "asset_depreciated_value", "$Table"."asset_manually_modified" as "asset_manually_modified", "$Table"."asset_value_change" as "asset_value_change", "$Table"."campaign_id" as "campaign_id", "$Table"."source_id" as "source_id", "$Table"."medium_id" as "medium_id", "$Table"."team_id" as "team_id", "$Table"."partner_shipping_id" as "partner_shipping_id", "$Table"."stock_move_id" as "stock_move_id", "$Table"."preferred_payment_method_id" as "preferred_payment_method_id", "$Table"."website_id" as "website_id", "$Table"."branch_id" as "branch_id", "$Table"."branch_name" as "branch_name", "$Table"."invoice_action" as "invoice_action", "$Table"."sign_amount_total" as "sign_amount_total", "$Table"."sign_amount_residual" as "sign_amount_residual", "$Table"."sign_amount_untaxed" as "sign_amount_untaxed", "$Table"."invoice_part_id" as "invoice_part_id", "$Table"."invoice_product_qty" as "invoice_product_qty", "$Table"."balance_entry" as "balance_entry", "$Table"."to_check_negative" as "to_check_negative", "$Table"."non_inventory_entry" as "non_inventory_entry", "$Table"."direct_order" as "direct_order", "$Table"."warranty_invoice" as "warranty_invoice", "$Table"."email_send_eod" as "email_send_eod", "$Table"."email_sent" as "email_sent", "$Table"."order_type" as "order_type", "$Table"."carrier_id" as "carrier_id", "$Table"."release_to_pay" as "release_to_pay", "$Table"."release_to_pay_manual" as "release_to_pay_manual", "$Table"."force_release_to_pay" as "force_release_to_pay", "$Table"."invoice_origin_new" as "invoice_origin_new", "$Table"."debit_origin_id" as "debit_origin_id", "$Table"."paid_by_vc" as "paid_by_vc", "$Table"."payment_details" as "payment_details", "$Table"."expense_choice" as "expense_choice", "$Table"."edi_810_id" as "edi_810_id", "$Table"."cash_tendered" as "cash_tendered", "$Table"."change_amount" as "change_amount", "$Table"."sequence_generated" as "sequence_generated", "$Table"."open_invoice" as "open_invoice", "$Table"."edi_split_lock" as "edi_split_lock", "$Table"."edi_billed" as "edi_billed", "$Table"."is_edi_bill" as "is_edi_bill", "$Table"."payment_details_compute" as "payment_details_compute", "$Table"."edi_done_date" as "edi_done_date", "$Table"."partner_address_type" as "partner_address_type", "$Table"."from_ar" as "from_ar", "$Table"."auto_reconcile" as "auto_reconcile", "$Table"."related_payment_id" as "related_payment_id", "$Table"."discount_amount_applied" as "discount_amount_applied" from "public"."account_move" "$Table";[ Date: 2024-04-02 20:17:35 - Bind query: yes ]
4 19m22s select "$Table"."id" as "id", "$Table"."date" as "date", "$Table"."min_product_uom_qty" as "min_product_uom_qty", "$Table"."max_product_uom_qty" as "max_product_uom_qty", "$Table"."item_supply_plan_id" as "item_supply_plan_id", "$Table"."po_qty" as "po_qty", "$Table"."item_demand_plan_id" as "item_demand_plan_id", "$Table"."product_id" as "product_id", "$Table"."selling_branch" as "selling_branch", "$Table"."product_uom_qty" as "product_uom_qty", "$Table"."invoice_date" as "invoice_date", "$Table"."warehouse_id" as "warehouse_id", "$Table"."method" as "method", "$Table"."inventory_vendor_id" as "inventory_vendor_id", "$Table"."create_uid" as "create_uid", "$Table"."create_date" as "create_date", "$Table"."write_uid" as "write_uid", "$Table"."write_date" as "write_date", "$Table"."active" as "active", "$Table"."min_product_len_1" as "min_product_len_1", "$Table"."min_product_len_2" as "min_product_len_2", "$Table"."min_baseline_size" as "min_baseline_size", "$Table"."seasonal_period" as "seasonal_period", "$Table"."default_code" as "default_code", "$Table"."ext_cost" as "ext_cost", "$Table"."qty_available" as "qty_available", "$Table"."qty_reserve" as "qty_reserve", "$Table"."qty_on_order" as "qty_on_order", "$Table"."qty_on_perm_order" as "qty_on_perm_order", "$Table"."qty_mtd_sold" as "qty_mtd_sold", "$Table"."lead_days" as "lead_days", "$Table"."mon_1_qty" as "mon_1_qty", "$Table"."mon_2_qty" as "mon_2_qty", "$Table"."mon_3_qty" as "mon_3_qty", "$Table"."mon_4_qty" as "mon_4_qty", "$Table"."mon_5_qty" as "mon_5_qty", "$Table"."mon_6_qty" as "mon_6_qty", "$Table"."mon_7_qty" as "mon_7_qty", "$Table"."mon_8_qty" as "mon_8_qty", "$Table"."mon_9_qty" as "mon_9_qty", "$Table"."mon_10_qty" as "mon_10_qty", "$Table"."mon_11_qty" as "mon_11_qty", "$Table"."mon_12_qty" as "mon_12_qty", "$Table"."seasonal" as "seasonal", "$Table"."stocking_flag" as "stocking_flag", "$Table"."freeze_date" as "freeze_date", "$Table"."warehouse_min_product_uom_qty" as "warehouse_min_product_uom_qty", "$Table"."is_forcast" as "is_forcast", "$Table"."modify_qty" as "modify_qty", "$Table"."req_po_qty" as "req_po_qty", "$Table"."supercede_product_id" as "supercede_product_id", "$Table"."superceded" as "superceded", "$Table"."final_branch_id" as "final_branch_id", "$Table"."po_id" as "po_id", "$Table"."unit_ext_cost" as "unit_ext_cost", "$Table"."is_freeze" as "is_freeze", "$Table"."qty_in_transist" as "qty_in_transist", "$Table"."campaign_id" as "campaign_id", "$Table"."source_id" as "source_id", "$Table"."medium_id" as "medium_id", "$Table"."message_main_attachment_id" as "message_main_attachment_id", "$Table"."access_token" as "access_token", "$Table"."is_new_stock_product" as "is_new_stock_product", "$Table"."ref_id" as "ref_id", "$Table"."ref" as "ref", "$Table"."product_name" as "product_name", "$Table"."is_stock_flag_product" as "is_stock_flag_product", "$Table"."class_code_id" as "class_code_id", "$Table"."sft_stk_qty" as "sft_stk_qty", "$Table"."need_qty_with_sft_stk" as "need_qty_with_sft_stk" from "public"."forecasted_data" "$Table";[ Date: 2024-04-02 23:55:30 - Bind query: yes ]
5 19m12s select "$Table"."id" as "id", "$Table"."channel" as "channel", "$Table"."message" as "message", "$Table"."create_uid" as "create_uid", "$Table"."create_date" as "create_date", "$Table"."write_uid" as "write_uid", "$Table"."write_date" as "write_date" from "public"."bus_bus" "$Table";[ Date: 2024-04-02 23:05:18 - Bind query: yes ]
6 18m14s select "$Table"."id" as "id", "$Table"."code" as "code", "$Table"."name" as "name", "$Table"."internal_group" as "internal_group", "$Table"."date" as "date", "$Table"."price_subtotal" as "price_subtotal", "$Table"."branch_name" as "branch_name" from "public"."abc" "$Table";[ Date: 2024-04-02 19:21:05 - Bind query: yes ]
7 17m4s select "$Table"."id" as "id", "$Table"."code" as "code", "$Table"."name" as "name", "$Table"."internal_group" as "internal_group", "$Table"."date" as "date", "$Table"."price_subtotal" as "price_subtotal", "$Table"."branch_name" as "branch_name" from "public"."a_view_name" "$Table";[ Date: 2024-04-02 19:02:47 - Bind query: yes ]
8 16m26s select "$Table"."id" as "id", "$Table"."code" as "code", "$Table"."name" as "name", "$Table"."internal_group" as "internal_group", "$Table"."date" as "date", "$Table"."price_subtotal" as "price_subtotal", "$Table"."branch_name" as "branch_name" from "public"."a_view" "$Table";[ Date: 2024-04-02 18:45:37 - Bind query: yes ]
9 16m4s select "$Table"."id" as "id", "$Table"."code" as "code", "$Table"."name" as "name", "$Table"."internal_group" as "internal_group", "$Table"."date" as "date", "$Table"."price_subtotal" as "price_subtotal", "$Table"."branch_name" as "branch_name" from "public"."acc_view" "$Table";[ Date: 2024-04-02 19:37:13 - Bind query: yes ]
10 14m39s select "$Table"."id" as "id", "$Table"."company_id" as "company_id", "$Table"."vehicle_id" as "vehicle_id", "$Table"."name" as "name", "$Table"."driver_id" as "driver_id", "$Table"."fuel_type" as "fuel_type", "$Table"."date_start" as "date_start", "$Table"."cost" as "cost", "$Table"."cost_type" as "cost_type" from "public"."fleet_vehicle_cost_report" "$Table";[ Date: 2024-04-02 23:35:40 - Bind query: yes ]
11 11m32s select "$Table"."id" as "id", "$Table"."code" as "code", "$Table"."name" as "name", "$Table"."internal_group" as "internal_group", "$Table"."date" as "date", "$Table"."price_subtotal" as "price_subtotal", "$Table"."branch_name" as "branch_name" from "public"."account_view" "$Table";[ Date: 2024-04-02 21:57:59 - Bind query: yes ]
12 10m58s select "$Table"."id" as "id", "$Table"."code" as "code", "$Table"."name" as "name", "$Table"."internal_group" as "internal_group", "$Table"."date" as "date", "$Table"."price_subtotal" as "price_subtotal", "$Table"."branch_name" as "branch_name" from "public"."accview" "$Table";[ Date: 2024-04-02 22:19:45 - Bind query: yes ]
13 10m43s select "$Table"."id" as "id", "$Table"."code" as "code", "$Table"."name" as "name", "$Table"."internal_group" as "internal_group", "$Table"."date" as "date", "$Table"."price_subtotal" as "price_subtotal", "$Table"."branch_name" as "branch_name" from "public"."am_view" "$Table";[ Date: 2024-04-02 22:30:44 - Bind query: yes ]
14 10m42s select "$Table"."id" as "id", "$Table"."code" as "code", "$Table"."name" as "name", "$Table"."internal_group" as "internal_group", "$Table"."date" as "date", "$Table"."price_subtotal" as "price_subtotal", "$Table"."branch_name" as "branch_name" from "public"."accountmove_view" "$Table";[ Date: 2024-04-02 22:08:44 - Bind query: yes ]
15 7m10s select "$Table"."id" as "id", "$Table"."company_id" as "company_id", "$Table"."warehouse_id" as "warehouse_id", "$Table"."product_id" as "product_id", "$Table"."product_tmpl_id" as "product_tmpl_id", "$Table"."qty_available" as "qty_available", "$Table"."qty_reserve" as "qty_reserve", "$Table"."qty_on_order" as "qty_on_order", "$Table"."qty_on_perm_order" as "qty_on_perm_order", "$Table"."qty_shipped_not_invoiced" as "qty_shipped_not_invoiced", "$Table"."qty_in_transist" as "qty_in_transist", "$Table"."qty_mtd_sold" as "qty_mtd_sold", "$Table"."qty_ytd_sold" as "qty_ytd_sold", "$Table"."qty_ytd_transfer_another" as "qty_ytd_transfer_another", "$Table"."qty_ytd_lost_sales" as "qty_ytd_lost_sales", "$Table"."last_receive_date" as "last_receive_date", "$Table"."qty_last_receive" as "qty_last_receive", "$Table"."qty_available_last_year" as "qty_available_last_year", "$Table"."qty_sold_last_year" as "qty_sold_last_year", "$Table"."qty_ly_transfer_another" as "qty_ly_transfer_another", "$Table"."mon_1_qty" as "mon_1_qty", "$Table"."mon_2_qty" as "mon_2_qty", "$Table"."mon_3_qty" as "mon_3_qty", "$Table"."mon_4_qty" as "mon_4_qty", "$Table"."mon_5_qty" as "mon_5_qty", "$Table"."mon_6_qty" as "mon_6_qty", "$Table"."mon_7_qty" as "mon_7_qty", "$Table"."mon_8_qty" as "mon_8_qty", "$Table"."mon_9_qty" as "mon_9_qty", "$Table"."mon_10_qty" as "mon_10_qty", "$Table"."mon_11_qty" as "mon_11_qty", "$Table"."mon_12_qty" as "mon_12_qty", "$Table"."discontinued" as "discontinued", "$Table"."superceded" as "superceded", "$Table"."call_for_price" as "call_for_price", "$Table"."man_cost_update" as "man_cost_update", "$Table"."obsolete" as "obsolete", "$Table"."cat_prod_type" as "cat_prod_type", "$Table"."cat_part_type" as "cat_part_type", "$Table"."can_be_sold" as "can_be_sold", "$Table"."can_be_purchased" as "can_be_purchased", "$Table"."has_core" as "has_core", "$Table"."is_core" as "is_core", "$Table"."is_direct_order_product" as "is_direct_order_product", "$Table"."core_product_id" as "core_product_id", "$Table"."inventory_vendor_id" as "inventory_vendor_id", "$Table"."categ_id" as "categ_id", "$Table"."product_type" as "product_type", "$Table"."create_uid" as "create_uid", "$Table"."create_date" as "create_date", "$Table"."write_uid" as "write_uid", "$Table"."write_date" as "write_date", "$Table"."stocking_flag" as "stocking_flag", "$Table"."freeze_date" as "freeze_date", "$Table"."product_uom" as "product_uom", "$Table"."reorder_id" as "reorder_id", "$Table"."min_product_uom_qty" as "min_product_uom_qty", "$Table"."max_product_uom_qty" as "max_product_uom_qty", "$Table"."warehouse_name" as "warehouse_name", "$Table"."last_used_date" as "last_used_date", "$Table"."intra_reserve_done" as "intra_reserve_done", "$Table"."last_intra_company_receipt_date" as "last_intra_company_receipt_date", "$Table"."last_intra_company_qty" as "last_intra_company_qty", "$Table"."lead_days" as "lead_days", "$Table"."mtd_sold_system_qty" as "mtd_sold_system_qty", "$Table"."shipped_not_invoiced_system_qty" as "shipped_not_invoiced_system_qty", "$Table"."ytd_sold_qty" as "ytd_sold_qty", "$Table"."ytd_tran_qty" as "ytd_tran_qty", "$Table"."history_id" as "history_id", "$Table"."history_date" as "history_date", "$Table"."history_type" as "history_type", "$Table"."last_stock_flag_update" as "last_stock_flag_update", "$Table"."loc_check_qty" as "loc_check_qty", "$Table"."replenish_branch_id" as "replenish_branch_id", "$Table"."rep_loc_check_qty" as "rep_loc_check_qty", "$Table"."cron_last_stock_flag_update" as "cron_last_stock_flag_update", "$Table"."unit_cost" as "unit_cost", "$Table"."message_main_attachment_id" as "message_main_attachment_id", "$Table"."branch_id" as "branch_id" from "public"."back_up_product_warehouse_inventory_3_jun" "$Table";[ Date: 2024-04-02 22:38:02 - Bind query: yes ]
16 6m22s select "$Table"."id" as "id", "$Table"."res_model" as "res_model", "$Table"."file" as "file", "$Table"."file_name" as "file_name", "$Table"."file_type" as "file_type", "$Table"."create_uid" as "create_uid", "$Table"."create_date" as "create_date", "$Table"."write_uid" as "write_uid", "$Table"."write_date" as "write_date" from "public"."base_import_import" "$Table";[ Date: 2024-04-02 22:44:32 - Bind query: yes ]
17 5m34s select "$Table"."id" as "id", "$Table"."ref_810" as "ref_810", "$Table"."vendor_id" as "vendor_id", "$Table"."inventory_vendor_id" as "inventory_vendor_id", "$Table"."inv_date" as "inv_date", "$Table"."bill_date" as "bill_date", "$Table"."due_date" as "due_date", "$Table"."bill_total" as "bill_total", "$Table"."v_bill_total" as "v_bill_total", "$Table"."po_id" as "po_id", "$Table"."created" as "created", "$Table"."filename" as "filename", "$Table"."edi_file" as "edi_file", "$Table"."errors" as "errors", "$Table"."config_id" as "config_id", "$Table"."invoice_process_status" as "invoice_process_status", "$Table"."error_type" as "error_type", "$Table"."payment_term_id" as "payment_term_id", "$Table"."create_uid" as "create_uid", "$Table"."create_date" as "create_date", "$Table"."write_uid" as "write_uid", "$Table"."write_date" as "write_date", "$Table"."manual_bill" as "manual_bill", "$Table"."system_read" as "system_read", "$Table"."cutoff_draft" as "cutoff_draft", "$Table"."has_charge_line" as "has_charge_line", "$Table"."payment_term_code" as "payment_term_code", "$Table"."pt_applicable_from" as "pt_applicable_from", "$Table"."pt_discount_due_date" as "pt_discount_due_date", "$Table"."pt_net_due_date" as "pt_net_due_date", "$Table"."pt_description" as "pt_description", "$Table"."pt_discount_percent" as "pt_discount_percent", "$Table"."pt_total_discount" as "pt_total_discount", "$Table"."branch_id" as "branch_id", "$Table"."st_branch_indicator" as "st_branch_indicator", "$Table"."po_reference" as "po_reference", "$Table"."message_main_attachment_id" as "message_main_attachment_id", "$Table"."transmission_route" as "transmission_route", "$Table"."system_error" as "system_error" from "public"."edi_810_invoice" "$Table";[ Date: 2024-04-02 23:14:20 - Bind query: yes ]
18 3m54s select "$Table"."id" as "id", "$Table"."debit_move_id" as "debit_move_id", "$Table"."credit_move_id" as "credit_move_id", "$Table"."full_reconcile_id" as "full_reconcile_id", "$Table"."debit_currency_id" as "debit_currency_id", "$Table"."credit_currency_id" as "credit_currency_id", "$Table"."amount" as "amount", "$Table"."debit_amount_currency" as "debit_amount_currency", "$Table"."credit_amount_currency" as "credit_amount_currency", "$Table"."company_id" as "company_id", "$Table"."max_date" as "max_date", "$Table"."create_uid" as "create_uid", "$Table"."create_date" as "create_date", "$Table"."write_uid" as "write_uid", "$Table"."write_date" as "write_date", "$Table"."payment_id" as "payment_id" from "public"."account_partial_reconcile" "$Table";[ Date: 2024-04-02 21:43:17 - Bind query: yes ]
19 3m54s 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: 2024-04-02 09:09:10 ]
20 3m34s DELETE FROM stock_inventory_line WHERE id IN (2943130, 2943131, 2943132, 2943133, 2943134, 2943135, 2943136, 2943137, 2943138, 2943139, 2943140, 2943141, 2943142, 2943143, 2943144, 2943145, 2943146, 2943147, 2943148, 2943149, 2943150, 2943062, 2943151, 2943152, 2943153, 2943154, 2943155, 2943156, 2943157, 2943158, 2943159, 2943160, 2943161, 2943162, 2943163, 2943164, 2943127, 2943165, 2943166, 2943167, 2943063, 2943064, 2943168, 2943169, 2943170, 2943171, 2943172, 2943173, 2943174, 2943175, 2943176, 2943177, 2943178, 2943179, 2943180, 2943181, 2943182, 2943183, 2943184, 2943185, 2943186, 2943187, 2943188, 2943189, 2943190, 2943191, 2943192, 2943193, 2943114, 2943120, 2943065, 2943194, 2943195, 2943196, 2943197, 2943198, 2943199, 2943200, 2943201, 2943202, 2943203, 2943204, 2943205, 2943206, 2943066, 2943207, 2943208, 2943209, 2943210, 2943211, 2943212, 2943213, 2943214, 2943215, 2943216, 2943217, 2943218, 2943219, 2943220, 2943221, 2943222, 2943223, 2943224, 2943225, 2943226, 2943227, 2943228, 2943229, 2943230, 2943231, 2943232, 2943233, 2943234, 2943235, 2943236, 2943237, 2943238, 2943239, 2943240, 2943241, 2943242, 2943243, 2943244, 2943245, 2943246, 2943247, 2943248, 2943249, 2943250, 2943251, 2943252, 2943253, 2943254, 2943255, 2943256, 2943257, 2943258, 2943259, 2943260, 2943261, 2943262, 2943263, 2943264, 2943265, 2943266, 2943267, 2943268, 2943269, 2943270, 2943271, 2943272, 2943273, 2943274, 2943275, 2943276, 2943277, 2943278, 2943279, 2943280, 2943281, 2943282, 2943283, 2943284, 2943285, 2943286, 2943287, 2943288, 2943289, 2943290, 2943291, 2943292, 2943293, 2943294, 2943295, 2943296, 2943297, 2943298, 2943299, 2943300, 2943301, 2943302, 2943303, 2943304, 2943305, 2943306, 2943307, 2943308, 2943309, 2943310, 2943311, 2943312, 2943313, 2943314, 2943315, 2943316, 2943317, 2943318, 2943319, 2943320, 2943321, 2943322, 2943323, 2943324, 2943325, 2943326, 2943327, 2943328, 2943329, 2943330, 2943331, 2943332, 2943333, 2943334, 2943335, 2943336, 2943337, 2943338, 2943339, 2943340, 2943341, 2943342, 2943343, 2943344, 2943345, 2943346, 2943347, 2943348, 2943349, 2943350, 2943351, 2943352, 2943353, 2943354, 2943355, 2943356, 2943357, 2943358, 2943359, 2943360, 2943361, 2943362, 2943363, 2943364, 2943365, 2943366, 2943367, 2943368, 2943369, 2943370, 2943371, 2943372, 2943373, 2943374, 2943375, 2943376, 2943377, 2943378, 2943379, 2943380, 2943381, 2943382, 2943383, 2943384, 2943385, 2943386, 2943387, 2943388, 2943389, 2943390, 2943391, 2943392, 2943393, 2943394, 2943395, 2943396, 2943397, 2943398, 2943399, 2943400, 2943401, 2943402, 2943403, 2943404, 2943405, 2943406, 2943407, 2943408, 2943409, 2943410, 2943411, 2943412, 2943413, 2943414, 2943415, 2943416, 2943417, 2943418, 2943419, 2943420, 2943421, 2943422, 2943423, 2943424, 2943425, 2943426, 2943427, 2943428, 2943429, 2943430, 2943431, 2943432, 2943433, 2943434, 2943125, 2943435, 2943436, 2943437, 2943438, 2943439, 2943440, 2943441, 2943442, 2943443, 2943444, 2943445, 2943446, 2943447, 2943448, 2943449, 2943450, 2943451, 2943452, 2943453, 2943067, 2943454, 2943455, 2943456, 2943457, 2943458, 2943459, 2943460, 2943461, 2943462, 2943463, 2943464, 2943465, 2943466, 2943467, 2943468, 2943469, 2943470, 2943471, 2943472, 2943473, 2943474, 2943475, 2943476, 2943477, 2943478, 2943479, 2943480, 2943481, 2943482, 2943483, 2943484, 2943485, 2943486, 2943487, 2943488, 2943489, 2943490, 2943491, 2943492, 2943493, 2943494, 2943495, 2943496, 2943497, 2943498, 2943499, 2943500, 2943501, 2943502, 2943503, 2943504, 2943505, 2943506, 2943507, 2943508, 2943509, 2943510, 2943511, 2943512, 2943513, 2943514, 2943515, 2943516, 2943517, 2943518, 2943519, 2943520, 2943521, 2943522, 2943523, 2943524, 2943525, 2943526, 2943527, 2943528, 2943529, 2943530, 2943531, 2943532, 2943533, 2943534, 2943535, 2943536, 2943537, 2943112, 2943538, 2943539, 2943540, 2943541, 2943542, 2943543, 2943544, 2943545, 2943546, 2943547, 2943548, 2943549, 2943550, 2943551, 2943552, 2943553, 2943554, 2943555, 2943556, 2943557, 2943558, 2943559, 2943560, 2943561, 2943562, 2943563, 2943564, 2943565, 2943566, 2943567, 2943568, 2943569, 2943570, 2943571, 2943572, 2943573, 2943574, 2943575, 2943576, 2943577, 2943578, 2943579, 2943580, 2943581, 2943582, 2943583, 2943584, 2943585, 2943586, 2943587, 2943588, 2943589, 2943590, 2943115, 2943591, 2943592, 2943593, 2943594, 2943595, 2943596, 2943597, 2943598, 2943599, 2943600, 2943601, 2943602, 2943603, 2943604, 2943605, 2943606, 2943607, 2943098, 2943608, 2943609, 2943610, 2943104, 2943611, 2943612, 2943613, 2943614, 2943615, 2943616, 2943617, 2943618, 2943619, 2943620, 2943621, 2943622, 2943623, 2943624, 2943625, 2943626, 2943627, 2943628, 2943629, 2943630, 2943631, 2943632, 2943633, 2943634, 2943635, 2943636, 2943089, 2943637, 2943638, 2943639, 2943640, 2943641, 2943096, 2943642, 2943643, 2943644, 2943645, 2943646, 2943647, 2943648, 2943649, 2943650, 2943651, 2943652, 2943653, 2943654, 2943655, 2943656, 2943657, 2943658, 2943659, 2943660, 2943661, 2943662, 2943663, 2943664, 2943665, 2943666, 2943667, 2943668, 2943669, 2943670, 2943671, 2943672, 2943673, 2943674, 2943675, 2943676, 2943677, 2943678, 2943679, 2943680, 2943681, 2943682, 2943683, 2943684, 2943685, 2943686, 2943687, 2943688, 2943689, 2943690, 2943691, 2943692, 2943693, 2943694, 2943695, 2943696, 2943697, 2943698, 2943068, 2943699, 2943700, 2943701, 2943069, 2943702, 2943703, 2943704, 2943705, 2943706, 2943707, 2943708, 2943709, 2943710, 2943711, 2943712, 2943713, 2943714, 2943715, 2943716, 2943717, 2943718, 2943719, 2943095, 2943121, 2943720, 2943721, 2943722, 2943070, 2943723, 2943724, 2943725, 2943726, 2943727, 2943728, 2943729, 2943730, 2943731, 2943732, 2943733, 2943734, 2943071, 2943735, 2943736, 2943092, 2943097, 2943100, 2943737, 2943738, 2943739, 2943740, 2943741, 2943742, 2943743, 2943744, 2943745, 2943746, 2943747, 2943748, 2943749, 2943750, 2943751, 2943752, 2943753, 2943754, 2943755, 2943756, 2943757, 2943758, 2943759, 2943760, 2943761, 2943762, 2943763, 2943764, 2943765, 2943766, 2943767, 2943768, 2943769, 2943770, 2943771, 2943772, 2943773, 2943774, 2943775, 2943776, 2943072, 2943777, 2943778, 2943779, 2943780, 2943781, 2943782, 2943783, 2943784, 2943785, 2943786, 2943787, 2943788, 2943789, 2943790, 2943791, 2943792, 2943793, 2943794, 2943795, 2943796, 2943797, 2943798, 2943799, 2943800, 2943801, 2943802, 2943803, 2943804, 2943805, 2943806, 2943807, 2943808, 2943809, 2943810, 2943811, 2943812, 2943813, 2943814, 2943815, 2943816, 2943817, 2943818, 2943819, 2943820, 2943821, 2943822, 2943823, 2943824, 2943825, 2943826, 2943827, 2943828, 2943829, 2943830, 2943831, 2943832, 2943833, 2943834, 2943835, 2943836, 2943837, 2943838, 2943839, 2943840, 2943841, 2943842, 2943843, 2943844, 2943845, 2943846, 2943847, 2943848, 2943849, 2943850, 2943851, 2943852, 2943853, 2943854, 2943855, 2943856, 2943857, 2943858, 2943128, 2943859, 2943860, 2943861, 2943862, 2943863, 2943864, 2943865, 2943866, 2943867, 2943868, 2943869, 2943870, 2943871, 2943872, 2943873, 2943874, 2943875, 2943876, 2943877, 2943878, 2943879, 2943880, 2943881, 2943882, 2943883, 2943884, 2943885, 2943073, 2943886, 2943887, 2943888, 2943889, 2943890, 2943891, 2943892, 2943893, 2943894, 2943895, 2943896, 2943897, 2943898, 2943899, 2943900, 2943901, 2943902, 2943903, 2943904, 2943905, 2943906, 2943907, 2943105, 2943908, 2943909, 2943910, 2943911, 2943074, 2943912, 2943913, 2943914, 2943915, 2943075, 2943916, 2943917, 2943918, 2943919, 2943920, 2943921, 2943103, 2943922, 2943923, 2943924, 2943925, 2943926, 2943927, 2943928, 2943929, 2943930, 2943931, 2943932, 2943933, 2943934, 2943935, 2943936, 2943937, 2943938, 2943939, 2943940, 2943941, 2943942, 2943943, 2943944, 2943945, 2943946, 2943947, 2943076, 2943948, 2943949, 2943108, 2943950, 2943951, 2943952, 2943953, 2943954, 2943955, 2943123, 2943956, 2943957, 2943958, 2943959, 2943960, 2943084, 2943086, 2943961, 2943962, 2943963, 2943964, 2943965, 2943966, 2943967, 2943968, 2943969, 2943970, 2943971, 2943972, 2943973, 2943974, 2943975, 2943976, 2943977, 2943978, 2943979, 2943980, 2943981, 2943982, 2943983, 2943984, 2943985, 2943986, 2943987, 2943988, 2943077, 2943099, 2943989, 2943990, 2943991, 2943992, 2943993, 2943994, 2943995, 2943996, 2943997, 2943998, 2943999, 2944000, 2944001, 2944002, 2944003, 2944004, 2944005, 2944006, 2944007, 2944008, 2944009, 2944010, 2944011, 2944012, 2944013, 2944014, 2944015, 2944016, 2944017, 2944018, 2944019, 2944020, 2944021, 2944022, 2944023, 2944024, 2944025, 2944026, 2944027, 2944028, 2944029, 2944030, 2944031, 2944032, 2944033, 2944034, 2944035, 2944036, 2944037, 2944038, 2944039, 2944040, 2944041, 2944042, 2944043, 2944044, 2944045, 2944046, 2944047, 2944048, 2944049, 2944050, 2944051, 2944052, 2944053, 2944054, 2944055, 2944056, 2944057, 2944058, 2944059, 2944060, 2944061, 2944062, 2944063, 2944064, 2944065, 2944066, 2944067, 2944068, 2944069, 2944070, 2944071, 2944072, 2944073, 2944074, 2944075, 2944076, 2944077, 2944078, 2944079, 2944080, 2944081, 2944082, 2944083, 2944084, 2944085, 2944086, 2943102, 2944087, 2944088, 2944089);[ Date: 2024-04-02 15:10:25 ]
Time consuming queries (N)
Rank Total duration Times executed Min duration Max duration Avg duration Query 1 1h45m58s 17,143 120ms 2s427ms 370ms select "bus_bus".id from "bus_bus" where (("bus_bus"."create_date" > ?) and ("bus_bus"."channel" in (...))) order by "bus_bus"."id";Times Reported Time consuming queries #1
Day Hour Count Duration Avg duration Apr 02 00 115 36s747ms 319ms 01 107 34s892ms 326ms 02 109 34s50ms 312ms 03 26 8s138ms 313ms 04 28 9s617ms 343ms 05 136 43s767ms 321ms 06 42 12s615ms 300ms 07 66 21s770ms 329ms 08 50 14s566ms 291ms 09 54 20s161ms 373ms 10 149 49s130ms 329ms 11 796 3m24s 256ms 12 2,027 11m51s 350ms 13 2,003 14m46s 442ms 14 2,135 11m15s 316ms 15 1,871 12m56s 415ms 16 1,734 14m27s 500ms 17 1,596 8m20s 313ms 18 1,707 11m1s 387ms 19 1,643 8m54s 325ms 20 408 2m32s 373ms 21 137 35s960ms 262ms 22 122 41s757ms 342ms 23 82 26s181ms 319ms -
SELECT "bus_bus".id FROM "bus_bus" WHERE (("bus_bus"."create_date" > '2024-04-02 15:34:24') AND ("bus_bus"."channel" in ('"bundle_changed"', '"notify_branch_changed_1011"', '["pointspring_master","calendar.alarm",19549]', '["pointspring_master","mail.channel",445]', '["pointspring_master","mail.channel",446]', '["pointspring_master","mail.channel",447]', '["pointspring_master","res.partner",19549]', '["pointspring_master","ir.needaction",19549]'))) ORDER BY "bus_bus"."id";
Date: 2024-04-02 15:35:16 Duration: 2s427ms
-
SELECT "bus_bus".id FROM "bus_bus" WHERE (("bus_bus"."create_date" > '2024-04-02 15:34:24') AND ("bus_bus"."channel" in ('"bundle_changed"', '"notify_branch_changed_1011"', '["pointspring_master","calendar.alarm",19549]', '["pointspring_master","mail.channel",445]', '["pointspring_master","mail.channel",446]', '["pointspring_master","mail.channel",447]', '["pointspring_master","res.partner",19549]', '["pointspring_master","ir.needaction",19549]'))) ORDER BY "bus_bus"."id";
Date: 2024-04-02 15:35:16 Duration: 2s362ms
-
SELECT "bus_bus".id FROM "bus_bus" WHERE (("bus_bus"."create_date" > '2024-04-02 15:34:24') AND ("bus_bus"."channel" in ('["pointspring_master","calendar.alarm",19496]', '["pointspring_master","mail.channel",34]', '["pointspring_master","mail.channel",43]', '["pointspring_master","mail.channel",47]', '["pointspring_master","mail.channel",330]', '["pointspring_master","mail.channel",353]', '["pointspring_master","mail.channel",450]', '["pointspring_master","mail.channel",603]', '["pointspring_master","res.partner",19496]', '["pointspring_master","ir.needaction",19496]'))) ORDER BY "bus_bus"."id";
Date: 2024-04-02 15:35:16 Duration: 2s314ms
2 1h24m16s 1 1h24m16s 1h24m16s 1h24m16s select "$Outer"."id" AS "id", "$Outer"."move_id" AS "move_id", "$Outer"."move_name" AS "move_name", "$Outer"."date" AS "date", "$Outer"."ref" AS "ref", "$Outer"."parent_state" AS "parent_state", "$Outer"."journal_id" AS "journal_id", "$Outer"."company_id" AS "company_id", "$Outer"."company_currency_id" AS "company_currency_id", "$Outer"."account_id" AS "account_id", "$Outer"."account_root_id" AS "account_root_id", "$Outer"."sequence" AS "sequence", "$Outer"."name" AS "name", "$Outer"."quantity" AS "quantity", "$Outer"."price_unit" AS "price_unit", "$Outer"."discount" AS "discount", "$Outer"."debit" AS "debit", "$Outer"."credit" AS "credit", "$Outer"."balance" AS "balance", "$Outer"."amount_currency" AS "amount_currency", "$Outer"."price_subtotal" AS "price_subtotal", "$Outer"."price_total" AS "price_total", "$Outer"."reconciled" AS "reconciled", "$Outer"."blocked" AS "blocked", "$Outer"."date_maturity" AS "date_maturity", "$Outer"."currency_id" AS "currency_id", "$Outer"."partner_id" AS "partner_id", "$Outer"."product_uom_id" AS "product_uom_id", "$Outer"."product_id" AS "product_id", "$Outer"."reconcile_model_id" AS "reconcile_model_id", "$Outer"."payment_id" AS "payment_id", "$Outer"."statement_line_id" AS "statement_line_id", "$Outer"."statement_id" AS "statement_id", "$Outer"."tax_line_id" AS "tax_line_id", "$Outer"."tax_group_id" AS "tax_group_id", "$Outer"."tax_base_amount" AS "tax_base_amount", "$Outer"."tax_exigible" AS "tax_exigible", "$Outer"."tax_repartition_line_id" AS "tax_repartition_line_id", "$Outer"."tax_audit" AS "tax_audit", "$Outer"."amount_residual" AS "amount_residual", "$Outer"."amount_residual_currency" AS "amount_residual_currency", "$Outer"."full_reconcile_id" AS "full_reconcile_id", "$Outer"."matching_number" AS "matching_number", "$Outer"."analytic_account_id" AS "analytic_account_id", "$Outer"."display_type" AS "display_type", "$Outer"."is_rounding_line" AS "is_rounding_line", "$Outer"."exclude_from_invoice_tab" AS "exclude_from_invoice_tab", "$Outer"."create_uid" AS "create_uid", "$Outer"."create_date" AS "create_date", "$Outer"."write_uid" AS "write_uid", "$Outer"."write_date" AS "write_date", "$Outer"."expected_pay_date" AS "expected_pay_date", "$Outer"."internal_note" AS "internal_note", "$Outer"."next_action_date" AS "next_action_date", "$Outer"."followup_line_id" AS "followup_line_id", "$Outer"."followup_date" AS "followup_date", "$Outer"."is_anglo_saxon_line" AS "is_anglo_saxon_line", "$Outer"."purchase_line_id" AS "purchase_line_id", "$Outer"."branch_id" AS "branch_id", "$Outer"."branch_name" AS "branch_name", "$Outer"."vehicle_id" AS "vehicle_id", "$Outer"."move_options" AS "move_options", "$Outer"."sign_product_qty" AS "sign_product_qty", "$Outer"."sign_price_subtotal" AS "sign_price_subtotal", "$Outer"."new_product_qty" AS "new_product_qty", "$Outer"."sale_line_id" AS "sale_line_id", "$Outer"."child_sale_line_id" AS "child_sale_line_id", "$Outer"."main_invoice_line_id" AS "main_invoice_line_id", "$Outer"."core_bank_transaction" AS "core_bank_transaction", "$Outer"."is_rtv_line" AS "is_rtv_line", "$Outer"."core_qty" AS "core_qty", "$Outer"."rebate_amount" AS "rebate_amount", "$Outer"."cost_price" AS "cost_price", "$Outer"."is_visible_in_report" AS "is_visible_in_report", "$Outer"."is_labour" AS "is_labour", "$Outer"."can_be_paid" AS "can_be_paid", "$Outer"."bal_core_bank_id" AS "bal_core_bank_id", "$Outer"."repair_line_id" AS "repair_line_id", "$Outer"."inv_back_order_qty" AS "inv_back_order_qty", "$Outer"."sale_back_order_qty" AS "sale_back_order_qty", "$Outer"."product_pricelist_item_id" AS "product_pricelist_item_id", "$Outer"."is_discount" AS "is_discount", "$Outer"."is_sale_tax" AS "is_sale_tax", "$Outer"."auto_reconcile" AS "auto_reconcile", "$Outer"."is_writeoff" AS "is_writeoff", "$Outer"."is_extra_line" AS "is_extra_line", "$Outer"."is_carry_forward" AS "is_carry_forward", "$Inner"."user_type_id" AS "public account_account.user_type_id" from "public"."account_move_line" "$Outer" left outer join ( select "_"."id" AS "id2", "_"."name" AS "name2", "_"."currency_id" AS "currency_id2", "_"."code" AS "code", "_"."deprecated" AS "deprecated", "_"."user_type_id" AS "user_type_id", "_"."internal_type" AS "internal_type", "_"."internal_group" AS "internal_group", "_"."reconcile" AS "reconcile", "_"."note" AS "note", "_"."company_id" AS "company_id2", "_"."group_id" AS "group_id", "_"."root_id" AS "root_id", "_"."is_off_balance" AS "is_off_balance", "_"."create_uid" AS "create_uid2", "_"."create_date" AS "create_date2", "_"."write_uid" AS "write_uid2", "_"."write_date" AS "write_date2", "_"."asset_model" AS "asset_model", "_"."create_asset" AS "create_asset", "_"."multiple_assets_per_line" AS "multiple_assets_per_line" from "public"."account_account" "_") "$Inner" on ("$Outer"."account_id" = "$Inner"."id2");Times Reported Time consuming queries #2
Day Hour Count Duration Avg duration Apr 02 19 1 1h24m16s 1h24m16s -
select "$Outer"."id" as "id", "$Outer"."move_id" as "move_id", "$Outer"."move_name" as "move_name", "$Outer"."date" as "date", "$Outer"."ref" as "ref", "$Outer"."parent_state" as "parent_state", "$Outer"."journal_id" as "journal_id", "$Outer"."company_id" as "company_id", "$Outer"."company_currency_id" as "company_currency_id", "$Outer"."account_id" as "account_id", "$Outer"."account_root_id" as "account_root_id", "$Outer"."sequence" as "sequence", "$Outer"."name" as "name", "$Outer"."quantity" as "quantity", "$Outer"."price_unit" as "price_unit", "$Outer"."discount" as "discount", "$Outer"."debit" as "debit", "$Outer"."credit" as "credit", "$Outer"."balance" as "balance", "$Outer"."amount_currency" as "amount_currency", "$Outer"."price_subtotal" as "price_subtotal", "$Outer"."price_total" as "price_total", "$Outer"."reconciled" as "reconciled", "$Outer"."blocked" as "blocked", "$Outer"."date_maturity" as "date_maturity", "$Outer"."currency_id" as "currency_id", "$Outer"."partner_id" as "partner_id", "$Outer"."product_uom_id" as "product_uom_id", "$Outer"."product_id" as "product_id", "$Outer"."reconcile_model_id" as "reconcile_model_id", "$Outer"."payment_id" as "payment_id", "$Outer"."statement_line_id" as "statement_line_id", "$Outer"."statement_id" as "statement_id", "$Outer"."tax_line_id" as "tax_line_id", "$Outer"."tax_group_id" as "tax_group_id", "$Outer"."tax_base_amount" as "tax_base_amount", "$Outer"."tax_exigible" as "tax_exigible", "$Outer"."tax_repartition_line_id" as "tax_repartition_line_id", "$Outer"."tax_audit" as "tax_audit", "$Outer"."amount_residual" as "amount_residual", "$Outer"."amount_residual_currency" as "amount_residual_currency", "$Outer"."full_reconcile_id" as "full_reconcile_id", "$Outer"."matching_number" as "matching_number", "$Outer"."analytic_account_id" as "analytic_account_id", "$Outer"."display_type" as "display_type", "$Outer"."is_rounding_line" as "is_rounding_line", "$Outer"."exclude_from_invoice_tab" as "exclude_from_invoice_tab", "$Outer"."create_uid" as "create_uid", "$Outer"."create_date" as "create_date", "$Outer"."write_uid" as "write_uid", "$Outer"."write_date" as "write_date", "$Outer"."expected_pay_date" as "expected_pay_date", "$Outer"."internal_note" as "internal_note", "$Outer"."next_action_date" as "next_action_date", "$Outer"."followup_line_id" as "followup_line_id", "$Outer"."followup_date" as "followup_date", "$Outer"."is_anglo_saxon_line" as "is_anglo_saxon_line", "$Outer"."purchase_line_id" as "purchase_line_id", "$Outer"."branch_id" as "branch_id", "$Outer"."branch_name" as "branch_name", "$Outer"."vehicle_id" as "vehicle_id", "$Outer"."move_options" as "move_options", "$Outer"."sign_product_qty" as "sign_product_qty", "$Outer"."sign_price_subtotal" as "sign_price_subtotal", "$Outer"."new_product_qty" as "new_product_qty", "$Outer"."sale_line_id" as "sale_line_id", "$Outer"."child_sale_line_id" as "child_sale_line_id", "$Outer"."main_invoice_line_id" as "main_invoice_line_id", "$Outer"."core_bank_transaction" as "core_bank_transaction", "$Outer"."is_rtv_line" as "is_rtv_line", "$Outer"."core_qty" as "core_qty", "$Outer"."rebate_amount" as "rebate_amount", "$Outer"."cost_price" as "cost_price", "$Outer"."is_visible_in_report" as "is_visible_in_report", "$Outer"."is_labour" as "is_labour", "$Outer"."can_be_paid" as "can_be_paid", "$Outer"."bal_core_bank_id" as "bal_core_bank_id", "$Outer"."repair_line_id" as "repair_line_id", "$Outer"."inv_back_order_qty" as "inv_back_order_qty", "$Outer"."sale_back_order_qty" as "sale_back_order_qty", "$Outer"."product_pricelist_item_id" as "product_pricelist_item_id", "$Outer"."is_discount" as "is_discount", "$Outer"."is_sale_tax" as "is_sale_tax", "$Outer"."auto_reconcile" as "auto_reconcile", "$Outer"."is_writeoff" as "is_writeoff", "$Outer"."is_extra_line" as "is_extra_line", "$Outer"."is_carry_forward" as "is_carry_forward", "$Inner"."user_type_id" as "public account_account.user_type_id" from "public"."account_move_line" "$Outer" left outer join ( select "_"."id" as "id2", "_"."name" as "name2", "_"."currency_id" as "currency_id2", "_"."code" as "code", "_"."deprecated" as "deprecated", "_"."user_type_id" as "user_type_id", "_"."internal_type" as "internal_type", "_"."internal_group" as "internal_group", "_"."reconcile" as "reconcile", "_"."note" as "note", "_"."company_id" as "company_id2", "_"."group_id" as "group_id", "_"."root_id" as "root_id", "_"."is_off_balance" as "is_off_balance", "_"."create_uid" as "create_uid2", "_"."create_date" as "create_date2", "_"."write_uid" as "write_uid2", "_"."write_date" as "write_date2", "_"."asset_model" as "asset_model", "_"."create_asset" as "create_asset", "_"."multiple_assets_per_line" as "multiple_assets_per_line" from "public"."account_account" "_") "$Inner" on ("$Outer"."account_id" = "$Inner"."id2");
Date: 2024-04-02 19:53:29 Duration: 1h24m16s Bind query: yes
3 1h20m27s 1 1h20m27s 1h20m27s 1h20m27s select "$Table"."id" AS "id", "$Table"."move_id" AS "move_id", "$Table"."move_name" AS "move_name", "$Table"."date" AS "date", "$Table"."ref" AS "ref", "$Table"."parent_state" AS "parent_state", "$Table"."journal_id" AS "journal_id", "$Table"."company_id" AS "company_id", "$Table"."company_currency_id" AS "company_currency_id", "$Table"."account_id" AS "account_id", "$Table"."account_root_id" AS "account_root_id", "$Table"."sequence" AS "sequence", "$Table"."name" AS "name", "$Table"."quantity" AS "quantity", "$Table"."price_unit" AS "price_unit", "$Table"."discount" AS "discount", "$Table"."debit" AS "debit", "$Table"."credit" AS "credit", "$Table"."balance" AS "balance", "$Table"."amount_currency" AS "amount_currency", "$Table"."price_subtotal" AS "price_subtotal", "$Table"."price_total" AS "price_total", "$Table"."reconciled" AS "reconciled", "$Table"."blocked" AS "blocked", "$Table"."date_maturity" AS "date_maturity", "$Table"."currency_id" AS "currency_id", "$Table"."partner_id" AS "partner_id", "$Table"."product_uom_id" AS "product_uom_id", "$Table"."product_id" AS "product_id", "$Table"."reconcile_model_id" AS "reconcile_model_id", "$Table"."payment_id" AS "payment_id", "$Table"."statement_line_id" AS "statement_line_id", "$Table"."statement_id" AS "statement_id", "$Table"."tax_line_id" AS "tax_line_id", "$Table"."tax_group_id" AS "tax_group_id", "$Table"."tax_base_amount" AS "tax_base_amount", "$Table"."tax_exigible" AS "tax_exigible", "$Table"."tax_repartition_line_id" AS "tax_repartition_line_id", "$Table"."tax_audit" AS "tax_audit", "$Table"."amount_residual" AS "amount_residual", "$Table"."amount_residual_currency" AS "amount_residual_currency", "$Table"."full_reconcile_id" AS "full_reconcile_id", "$Table"."matching_number" AS "matching_number", "$Table"."analytic_account_id" AS "analytic_account_id", "$Table"."display_type" AS "display_type", "$Table"."is_rounding_line" AS "is_rounding_line", "$Table"."exclude_from_invoice_tab" AS "exclude_from_invoice_tab", "$Table"."create_uid" AS "create_uid", "$Table"."create_date" AS "create_date", "$Table"."write_uid" AS "write_uid", "$Table"."write_date" AS "write_date", "$Table"."expected_pay_date" AS "expected_pay_date", "$Table"."internal_note" AS "internal_note", "$Table"."next_action_date" AS "next_action_date", "$Table"."followup_line_id" AS "followup_line_id", "$Table"."followup_date" AS "followup_date", "$Table"."is_anglo_saxon_line" AS "is_anglo_saxon_line", "$Table"."purchase_line_id" AS "purchase_line_id", "$Table"."branch_id" AS "branch_id", "$Table"."branch_name" AS "branch_name", "$Table"."vehicle_id" AS "vehicle_id", "$Table"."move_options" AS "move_options", "$Table"."sign_product_qty" AS "sign_product_qty", "$Table"."sign_price_subtotal" AS "sign_price_subtotal", "$Table"."new_product_qty" AS "new_product_qty", "$Table"."sale_line_id" AS "sale_line_id", "$Table"."child_sale_line_id" AS "child_sale_line_id", "$Table"."main_invoice_line_id" AS "main_invoice_line_id", "$Table"."core_bank_transaction" AS "core_bank_transaction", "$Table"."is_rtv_line" AS "is_rtv_line", "$Table"."core_qty" AS "core_qty", "$Table"."rebate_amount" AS "rebate_amount", "$Table"."cost_price" AS "cost_price", "$Table"."is_visible_in_report" AS "is_visible_in_report", "$Table"."is_labour" AS "is_labour", "$Table"."can_be_paid" AS "can_be_paid", "$Table"."bal_core_bank_id" AS "bal_core_bank_id", "$Table"."repair_line_id" AS "repair_line_id", "$Table"."inv_back_order_qty" AS "inv_back_order_qty", "$Table"."sale_back_order_qty" AS "sale_back_order_qty", "$Table"."product_pricelist_item_id" AS "product_pricelist_item_id", "$Table"."is_discount" AS "is_discount", "$Table"."is_sale_tax" AS "is_sale_tax", "$Table"."auto_reconcile" AS "auto_reconcile", "$Table"."is_writeoff" AS "is_writeoff", "$Table"."is_extra_line" AS "is_extra_line", "$Table"."is_carry_forward" AS "is_carry_forward" from "public"."account_move_line" "$Table";Times Reported Time consuming queries #3
Day Hour Count Duration Avg duration Apr 02 21 1 1h20m27s 1h20m27s -
select "$Table"."id" as "id", "$Table"."move_id" as "move_id", "$Table"."move_name" as "move_name", "$Table"."date" as "date", "$Table"."ref" as "ref", "$Table"."parent_state" as "parent_state", "$Table"."journal_id" as "journal_id", "$Table"."company_id" as "company_id", "$Table"."company_currency_id" as "company_currency_id", "$Table"."account_id" as "account_id", "$Table"."account_root_id" as "account_root_id", "$Table"."sequence" as "sequence", "$Table"."name" as "name", "$Table"."quantity" as "quantity", "$Table"."price_unit" as "price_unit", "$Table"."discount" as "discount", "$Table"."debit" as "debit", "$Table"."credit" as "credit", "$Table"."balance" as "balance", "$Table"."amount_currency" as "amount_currency", "$Table"."price_subtotal" as "price_subtotal", "$Table"."price_total" as "price_total", "$Table"."reconciled" as "reconciled", "$Table"."blocked" as "blocked", "$Table"."date_maturity" as "date_maturity", "$Table"."currency_id" as "currency_id", "$Table"."partner_id" as "partner_id", "$Table"."product_uom_id" as "product_uom_id", "$Table"."product_id" as "product_id", "$Table"."reconcile_model_id" as "reconcile_model_id", "$Table"."payment_id" as "payment_id", "$Table"."statement_line_id" as "statement_line_id", "$Table"."statement_id" as "statement_id", "$Table"."tax_line_id" as "tax_line_id", "$Table"."tax_group_id" as "tax_group_id", "$Table"."tax_base_amount" as "tax_base_amount", "$Table"."tax_exigible" as "tax_exigible", "$Table"."tax_repartition_line_id" as "tax_repartition_line_id", "$Table"."tax_audit" as "tax_audit", "$Table"."amount_residual" as "amount_residual", "$Table"."amount_residual_currency" as "amount_residual_currency", "$Table"."full_reconcile_id" as "full_reconcile_id", "$Table"."matching_number" as "matching_number", "$Table"."analytic_account_id" as "analytic_account_id", "$Table"."display_type" as "display_type", "$Table"."is_rounding_line" as "is_rounding_line", "$Table"."exclude_from_invoice_tab" as "exclude_from_invoice_tab", "$Table"."create_uid" as "create_uid", "$Table"."create_date" as "create_date", "$Table"."write_uid" as "write_uid", "$Table"."write_date" as "write_date", "$Table"."expected_pay_date" as "expected_pay_date", "$Table"."internal_note" as "internal_note", "$Table"."next_action_date" as "next_action_date", "$Table"."followup_line_id" as "followup_line_id", "$Table"."followup_date" as "followup_date", "$Table"."is_anglo_saxon_line" as "is_anglo_saxon_line", "$Table"."purchase_line_id" as "purchase_line_id", "$Table"."branch_id" as "branch_id", "$Table"."branch_name" as "branch_name", "$Table"."vehicle_id" as "vehicle_id", "$Table"."move_options" as "move_options", "$Table"."sign_product_qty" as "sign_product_qty", "$Table"."sign_price_subtotal" as "sign_price_subtotal", "$Table"."new_product_qty" as "new_product_qty", "$Table"."sale_line_id" as "sale_line_id", "$Table"."child_sale_line_id" as "child_sale_line_id", "$Table"."main_invoice_line_id" as "main_invoice_line_id", "$Table"."core_bank_transaction" as "core_bank_transaction", "$Table"."is_rtv_line" as "is_rtv_line", "$Table"."core_qty" as "core_qty", "$Table"."rebate_amount" as "rebate_amount", "$Table"."cost_price" as "cost_price", "$Table"."is_visible_in_report" as "is_visible_in_report", "$Table"."is_labour" as "is_labour", "$Table"."can_be_paid" as "can_be_paid", "$Table"."bal_core_bank_id" as "bal_core_bank_id", "$Table"."repair_line_id" as "repair_line_id", "$Table"."inv_back_order_qty" as "inv_back_order_qty", "$Table"."sale_back_order_qty" as "sale_back_order_qty", "$Table"."product_pricelist_item_id" as "product_pricelist_item_id", "$Table"."is_discount" as "is_discount", "$Table"."is_sale_tax" as "is_sale_tax", "$Table"."auto_reconcile" as "auto_reconcile", "$Table"."is_writeoff" as "is_writeoff", "$Table"."is_extra_line" as "is_extra_line", "$Table"."is_carry_forward" as "is_carry_forward" from "public"."account_move_line" "$Table";
Date: 2024-04-02 21:38:18 Duration: 1h20m27s Bind query: yes
4 44m18s 3,748 622ms 2s492ms 709ms 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 #4
Day Hour Count Duration Avg duration Apr 02 02 12 7s751ms 645ms 03 36 23s492ms 652ms 11 282 3m16s 697ms 12 629 7m37s 727ms 13 415 4m50s 700ms 14 493 5m49s 709ms 15 351 4m11s 716ms 16 374 4m19s 692ms 17 314 3m41s 706ms 18 178 2m5s 706ms 19 442 5m24s 735ms 20 204 2m17s 676ms 21 18 11s739ms 652ms -
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 ('%%500434%%')) OR (unaccent ("product_product"."default_code"::text) ilike unaccent ('%500434%'))) OR unaccent (COALESCE("product_product__product_tmpl_id__name"."value", "product_product__product_tmpl_id"."name")) ilike unaccent ('%500434%'))) 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: 2024-04-02 19:27:10 Duration: 2s492ms
-
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 ('%%169137%%')) OR (unaccent ("product_product"."default_code"::text) ilike unaccent ('%169137%'))) OR unaccent (COALESCE("product_product__product_tmpl_id__name"."value", "product_product__product_tmpl_id"."name")) ilike unaccent ('%169137%'))) 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: 2024-04-02 12:59:01 Duration: 2s364ms
-
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 ('%%5004341%%')) OR (unaccent ("product_product"."default_code"::text) ilike unaccent ('%5004341%'))) OR unaccent (COALESCE("product_product__product_tmpl_id__name"."value", "product_product__product_tmpl_id"."name")) ilike unaccent ('%5004341%'))) 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: 2024-04-02 19:27:10 Duration: 2s299ms
5 35m59s 1 35m59s 35m59s 35m59s select "$Table"."id" AS "id", "$Table"."access_token" AS "access_token", "$Table"."message_main_attachment_id" AS "message_main_attachment_id", "$Table"."name" AS "name", "$Table"."date" AS "date", "$Table"."ref" AS "ref", "$Table"."narration" AS "narration", "$Table"."state" AS "state", "$Table"."posted_before" AS "posted_before", "$Table"."move_type" AS "move_type", "$Table"."to_check" AS "to_check", "$Table"."journal_id" AS "journal_id", "$Table"."company_id" AS "company_id", "$Table"."currency_id" AS "currency_id", "$Table"."partner_id" AS "partner_id", "$Table"."commercial_partner_id" AS "commercial_partner_id", "$Table"."is_move_sent" AS "is_move_sent", "$Table"."partner_bank_id" AS "partner_bank_id", "$Table"."payment_reference" AS "payment_reference", "$Table"."payment_id" AS "payment_id", "$Table"."statement_line_id" AS "statement_line_id", "$Table"."amount_untaxed" AS "amount_untaxed", "$Table"."amount_tax" AS "amount_tax", "$Table"."amount_total" AS "amount_total", "$Table"."amount_residual" AS "amount_residual", "$Table"."amount_untaxed_signed" AS "amount_untaxed_signed", "$Table"."amount_tax_signed" AS "amount_tax_signed", "$Table"."amount_total_signed" AS "amount_total_signed", "$Table"."amount_residual_signed" AS "amount_residual_signed", "$Table"."payment_state" AS "payment_state", "$Table"."tax_cash_basis_rec_id" AS "tax_cash_basis_rec_id", "$Table"."tax_cash_basis_move_id" AS "tax_cash_basis_move_id", "$Table"."auto_post" AS "auto_post", "$Table"."reversed_entry_id" AS "reversed_entry_id", "$Table"."fiscal_position_id" AS "fiscal_position_id", "$Table"."invoice_user_id" AS "invoice_user_id", "$Table"."invoice_date" AS "invoice_date", "$Table"."invoice_date_due" AS "invoice_date_due", "$Table"."invoice_origin" AS "invoice_origin", "$Table"."invoice_payment_term_id" AS "invoice_payment_term_id", "$Table"."invoice_incoterm_id" AS "invoice_incoterm_id", "$Table"."qr_code_method" AS "qr_code_method", "$Table"."invoice_source_email" AS "invoice_source_email", "$Table"."invoice_partner_display_name" AS "invoice_partner_display_name", "$Table"."invoice_cash_rounding_id" AS "invoice_cash_rounding_id", "$Table"."secure_sequence_number" AS "secure_sequence_number", "$Table"."inalterable_hash" AS "inalterable_hash", "$Table"."sequence_prefix" AS "sequence_prefix", "$Table"."sequence_number" AS "sequence_number", "$Table"."create_uid" AS "create_uid", "$Table"."create_date" AS "create_date", "$Table"."write_uid" AS "write_uid", "$Table"."write_date" AS "write_date", "$Table"."payment_state_before_switch" AS "payment_state_before_switch", "$Table"."duplicated_vendor_ref" AS "duplicated_vendor_ref", "$Table"."extract_state" AS "extract_state", "$Table"."extract_status_code" AS "extract_status_code", "$Table"."extract_remote_id" AS "extract_remote_id", "$Table"."transfer_model_id" AS "transfer_model_id", "$Table"."tax_closing_end_date" AS "tax_closing_end_date", "$Table"."tax_report_control_error" AS "tax_report_control_error", "$Table"."asset_id" AS "asset_id", "$Table"."asset_remaining_value" AS "asset_remaining_value", "$Table"."asset_depreciated_value" AS "asset_depreciated_value", "$Table"."asset_manually_modified" AS "asset_manually_modified", "$Table"."asset_value_change" AS "asset_value_change", "$Table"."campaign_id" AS "campaign_id", "$Table"."source_id" AS "source_id", "$Table"."medium_id" AS "medium_id", "$Table"."team_id" AS "team_id", "$Table"."partner_shipping_id" AS "partner_shipping_id", "$Table"."stock_move_id" AS "stock_move_id", "$Table"."preferred_payment_method_id" AS "preferred_payment_method_id", "$Table"."website_id" AS "website_id", "$Table"."branch_id" AS "branch_id", "$Table"."branch_name" AS "branch_name", "$Table"."invoice_action" AS "invoice_action", "$Table"."sign_amount_total" AS "sign_amount_total", "$Table"."sign_amount_residual" AS "sign_amount_residual", "$Table"."sign_amount_untaxed" AS "sign_amount_untaxed", "$Table"."invoice_part_id" AS "invoice_part_id", "$Table"."invoice_product_qty" AS "invoice_product_qty", "$Table"."balance_entry" AS "balance_entry", "$Table"."to_check_negative" AS "to_check_negative", "$Table"."non_inventory_entry" AS "non_inventory_entry", "$Table"."direct_order" AS "direct_order", "$Table"."warranty_invoice" AS "warranty_invoice", "$Table"."email_send_eod" AS "email_send_eod", "$Table"."email_sent" AS "email_sent", "$Table"."order_type" AS "order_type", "$Table"."carrier_id" AS "carrier_id", "$Table"."release_to_pay" AS "release_to_pay", "$Table"."release_to_pay_manual" AS "release_to_pay_manual", "$Table"."force_release_to_pay" AS "force_release_to_pay", "$Table"."invoice_origin_new" AS "invoice_origin_new", "$Table"."debit_origin_id" AS "debit_origin_id", "$Table"."paid_by_vc" AS "paid_by_vc", "$Table"."payment_details" AS "payment_details", "$Table"."expense_choice" AS "expense_choice", "$Table"."edi_810_id" AS "edi_810_id", "$Table"."cash_tendered" AS "cash_tendered", "$Table"."change_amount" AS "change_amount", "$Table"."sequence_generated" AS "sequence_generated", "$Table"."open_invoice" AS "open_invoice", "$Table"."edi_split_lock" AS "edi_split_lock", "$Table"."edi_billed" AS "edi_billed", "$Table"."is_edi_bill" AS "is_edi_bill", "$Table"."payment_details_compute" AS "payment_details_compute", "$Table"."edi_done_date" AS "edi_done_date", "$Table"."partner_address_type" AS "partner_address_type", "$Table"."from_ar" AS "from_ar", "$Table"."auto_reconcile" AS "auto_reconcile", "$Table"."related_payment_id" AS "related_payment_id", "$Table"."discount_amount_applied" AS "discount_amount_applied" from "public"."account_move" "$Table";Times Reported Time consuming queries #5
Day Hour Count Duration Avg duration Apr 02 20 1 35m59s 35m59s -
select "$Table"."id" as "id", "$Table"."access_token" as "access_token", "$Table"."message_main_attachment_id" as "message_main_attachment_id", "$Table"."name" as "name", "$Table"."date" as "date", "$Table"."ref" as "ref", "$Table"."narration" as "narration", "$Table"."state" as "state", "$Table"."posted_before" as "posted_before", "$Table"."move_type" as "move_type", "$Table"."to_check" as "to_check", "$Table"."journal_id" as "journal_id", "$Table"."company_id" as "company_id", "$Table"."currency_id" as "currency_id", "$Table"."partner_id" as "partner_id", "$Table"."commercial_partner_id" as "commercial_partner_id", "$Table"."is_move_sent" as "is_move_sent", "$Table"."partner_bank_id" as "partner_bank_id", "$Table"."payment_reference" as "payment_reference", "$Table"."payment_id" as "payment_id", "$Table"."statement_line_id" as "statement_line_id", "$Table"."amount_untaxed" as "amount_untaxed", "$Table"."amount_tax" as "amount_tax", "$Table"."amount_total" as "amount_total", "$Table"."amount_residual" as "amount_residual", "$Table"."amount_untaxed_signed" as "amount_untaxed_signed", "$Table"."amount_tax_signed" as "amount_tax_signed", "$Table"."amount_total_signed" as "amount_total_signed", "$Table"."amount_residual_signed" as "amount_residual_signed", "$Table"."payment_state" as "payment_state", "$Table"."tax_cash_basis_rec_id" as "tax_cash_basis_rec_id", "$Table"."tax_cash_basis_move_id" as "tax_cash_basis_move_id", "$Table"."auto_post" as "auto_post", "$Table"."reversed_entry_id" as "reversed_entry_id", "$Table"."fiscal_position_id" as "fiscal_position_id", "$Table"."invoice_user_id" as "invoice_user_id", "$Table"."invoice_date" as "invoice_date", "$Table"."invoice_date_due" as "invoice_date_due", "$Table"."invoice_origin" as "invoice_origin", "$Table"."invoice_payment_term_id" as "invoice_payment_term_id", "$Table"."invoice_incoterm_id" as "invoice_incoterm_id", "$Table"."qr_code_method" as "qr_code_method", "$Table"."invoice_source_email" as "invoice_source_email", "$Table"."invoice_partner_display_name" as "invoice_partner_display_name", "$Table"."invoice_cash_rounding_id" as "invoice_cash_rounding_id", "$Table"."secure_sequence_number" as "secure_sequence_number", "$Table"."inalterable_hash" as "inalterable_hash", "$Table"."sequence_prefix" as "sequence_prefix", "$Table"."sequence_number" as "sequence_number", "$Table"."create_uid" as "create_uid", "$Table"."create_date" as "create_date", "$Table"."write_uid" as "write_uid", "$Table"."write_date" as "write_date", "$Table"."payment_state_before_switch" as "payment_state_before_switch", "$Table"."duplicated_vendor_ref" as "duplicated_vendor_ref", "$Table"."extract_state" as "extract_state", "$Table"."extract_status_code" as "extract_status_code", "$Table"."extract_remote_id" as "extract_remote_id", "$Table"."transfer_model_id" as "transfer_model_id", "$Table"."tax_closing_end_date" as "tax_closing_end_date", "$Table"."tax_report_control_error" as "tax_report_control_error", "$Table"."asset_id" as "asset_id", "$Table"."asset_remaining_value" as "asset_remaining_value", "$Table"."asset_depreciated_value" as "asset_depreciated_value", "$Table"."asset_manually_modified" as "asset_manually_modified", "$Table"."asset_value_change" as "asset_value_change", "$Table"."campaign_id" as "campaign_id", "$Table"."source_id" as "source_id", "$Table"."medium_id" as "medium_id", "$Table"."team_id" as "team_id", "$Table"."partner_shipping_id" as "partner_shipping_id", "$Table"."stock_move_id" as "stock_move_id", "$Table"."preferred_payment_method_id" as "preferred_payment_method_id", "$Table"."website_id" as "website_id", "$Table"."branch_id" as "branch_id", "$Table"."branch_name" as "branch_name", "$Table"."invoice_action" as "invoice_action", "$Table"."sign_amount_total" as "sign_amount_total", "$Table"."sign_amount_residual" as "sign_amount_residual", "$Table"."sign_amount_untaxed" as "sign_amount_untaxed", "$Table"."invoice_part_id" as "invoice_part_id", "$Table"."invoice_product_qty" as "invoice_product_qty", "$Table"."balance_entry" as "balance_entry", "$Table"."to_check_negative" as "to_check_negative", "$Table"."non_inventory_entry" as "non_inventory_entry", "$Table"."direct_order" as "direct_order", "$Table"."warranty_invoice" as "warranty_invoice", "$Table"."email_send_eod" as "email_send_eod", "$Table"."email_sent" as "email_sent", "$Table"."order_type" as "order_type", "$Table"."carrier_id" as "carrier_id", "$Table"."release_to_pay" as "release_to_pay", "$Table"."release_to_pay_manual" as "release_to_pay_manual", "$Table"."force_release_to_pay" as "force_release_to_pay", "$Table"."invoice_origin_new" as "invoice_origin_new", "$Table"."debit_origin_id" as "debit_origin_id", "$Table"."paid_by_vc" as "paid_by_vc", "$Table"."payment_details" as "payment_details", "$Table"."expense_choice" as "expense_choice", "$Table"."edi_810_id" as "edi_810_id", "$Table"."cash_tendered" as "cash_tendered", "$Table"."change_amount" as "change_amount", "$Table"."sequence_generated" as "sequence_generated", "$Table"."open_invoice" as "open_invoice", "$Table"."edi_split_lock" as "edi_split_lock", "$Table"."edi_billed" as "edi_billed", "$Table"."is_edi_bill" as "is_edi_bill", "$Table"."payment_details_compute" as "payment_details_compute", "$Table"."edi_done_date" as "edi_done_date", "$Table"."partner_address_type" as "partner_address_type", "$Table"."from_ar" as "from_ar", "$Table"."auto_reconcile" as "auto_reconcile", "$Table"."related_payment_id" as "related_payment_id", "$Table"."discount_amount_applied" as "discount_amount_applied" from "public"."account_move" "$Table";
Date: 2024-04-02 20:17:35 Duration: 35m59s Bind query: yes
6 19m22s 1 19m22s 19m22s 19m22s select "$Table"."id" AS "id", "$Table"."date" AS "date", "$Table"."min_product_uom_qty" AS "min_product_uom_qty", "$Table"."max_product_uom_qty" AS "max_product_uom_qty", "$Table"."item_supply_plan_id" AS "item_supply_plan_id", "$Table"."po_qty" AS "po_qty", "$Table"."item_demand_plan_id" AS "item_demand_plan_id", "$Table"."product_id" AS "product_id", "$Table"."selling_branch" AS "selling_branch", "$Table"."product_uom_qty" AS "product_uom_qty", "$Table"."invoice_date" AS "invoice_date", "$Table"."warehouse_id" AS "warehouse_id", "$Table"."method" AS "method", "$Table"."inventory_vendor_id" AS "inventory_vendor_id", "$Table"."create_uid" AS "create_uid", "$Table"."create_date" AS "create_date", "$Table"."write_uid" AS "write_uid", "$Table"."write_date" AS "write_date", "$Table"."active" AS "active", "$Table"."min_product_len_1" AS "min_product_len_1", "$Table"."min_product_len_2" AS "min_product_len_2", "$Table"."min_baseline_size" AS "min_baseline_size", "$Table"."seasonal_period" AS "seasonal_period", "$Table"."default_code" AS "default_code", "$Table"."ext_cost" AS "ext_cost", "$Table"."qty_available" AS "qty_available", "$Table"."qty_reserve" AS "qty_reserve", "$Table"."qty_on_order" AS "qty_on_order", "$Table"."qty_on_perm_order" AS "qty_on_perm_order", "$Table"."qty_mtd_sold" AS "qty_mtd_sold", "$Table"."lead_days" AS "lead_days", "$Table"."mon_1_qty" AS "mon_1_qty", "$Table"."mon_2_qty" AS "mon_2_qty", "$Table"."mon_3_qty" AS "mon_3_qty", "$Table"."mon_4_qty" AS "mon_4_qty", "$Table"."mon_5_qty" AS "mon_5_qty", "$Table"."mon_6_qty" AS "mon_6_qty", "$Table"."mon_7_qty" AS "mon_7_qty", "$Table"."mon_8_qty" AS "mon_8_qty", "$Table"."mon_9_qty" AS "mon_9_qty", "$Table"."mon_10_qty" AS "mon_10_qty", "$Table"."mon_11_qty" AS "mon_11_qty", "$Table"."mon_12_qty" AS "mon_12_qty", "$Table"."seasonal" AS "seasonal", "$Table"."stocking_flag" AS "stocking_flag", "$Table"."freeze_date" AS "freeze_date", "$Table"."warehouse_min_product_uom_qty" AS "warehouse_min_product_uom_qty", "$Table"."is_forcast" AS "is_forcast", "$Table"."modify_qty" AS "modify_qty", "$Table"."req_po_qty" AS "req_po_qty", "$Table"."supercede_product_id" AS "supercede_product_id", "$Table"."superceded" AS "superceded", "$Table"."final_branch_id" AS "final_branch_id", "$Table"."po_id" AS "po_id", "$Table"."unit_ext_cost" AS "unit_ext_cost", "$Table"."is_freeze" AS "is_freeze", "$Table"."qty_in_transist" AS "qty_in_transist", "$Table"."campaign_id" AS "campaign_id", "$Table"."source_id" AS "source_id", "$Table"."medium_id" AS "medium_id", "$Table"."message_main_attachment_id" AS "message_main_attachment_id", "$Table"."access_token" AS "access_token", "$Table"."is_new_stock_product" AS "is_new_stock_product", "$Table"."ref_id" AS "ref_id", "$Table"."ref" AS "ref", "$Table"."product_name" AS "product_name", "$Table"."is_stock_flag_product" AS "is_stock_flag_product", "$Table"."class_code_id" AS "class_code_id", "$Table"."sft_stk_qty" AS "sft_stk_qty", "$Table"."need_qty_with_sft_stk" AS "need_qty_with_sft_stk" from "public"."forecasted_data" "$Table";Times Reported Time consuming queries #6
Day Hour Count Duration Avg duration Apr 02 23 1 19m22s 19m22s -
select "$Table"."id" as "id", "$Table"."date" as "date", "$Table"."min_product_uom_qty" as "min_product_uom_qty", "$Table"."max_product_uom_qty" as "max_product_uom_qty", "$Table"."item_supply_plan_id" as "item_supply_plan_id", "$Table"."po_qty" as "po_qty", "$Table"."item_demand_plan_id" as "item_demand_plan_id", "$Table"."product_id" as "product_id", "$Table"."selling_branch" as "selling_branch", "$Table"."product_uom_qty" as "product_uom_qty", "$Table"."invoice_date" as "invoice_date", "$Table"."warehouse_id" as "warehouse_id", "$Table"."method" as "method", "$Table"."inventory_vendor_id" as "inventory_vendor_id", "$Table"."create_uid" as "create_uid", "$Table"."create_date" as "create_date", "$Table"."write_uid" as "write_uid", "$Table"."write_date" as "write_date", "$Table"."active" as "active", "$Table"."min_product_len_1" as "min_product_len_1", "$Table"."min_product_len_2" as "min_product_len_2", "$Table"."min_baseline_size" as "min_baseline_size", "$Table"."seasonal_period" as "seasonal_period", "$Table"."default_code" as "default_code", "$Table"."ext_cost" as "ext_cost", "$Table"."qty_available" as "qty_available", "$Table"."qty_reserve" as "qty_reserve", "$Table"."qty_on_order" as "qty_on_order", "$Table"."qty_on_perm_order" as "qty_on_perm_order", "$Table"."qty_mtd_sold" as "qty_mtd_sold", "$Table"."lead_days" as "lead_days", "$Table"."mon_1_qty" as "mon_1_qty", "$Table"."mon_2_qty" as "mon_2_qty", "$Table"."mon_3_qty" as "mon_3_qty", "$Table"."mon_4_qty" as "mon_4_qty", "$Table"."mon_5_qty" as "mon_5_qty", "$Table"."mon_6_qty" as "mon_6_qty", "$Table"."mon_7_qty" as "mon_7_qty", "$Table"."mon_8_qty" as "mon_8_qty", "$Table"."mon_9_qty" as "mon_9_qty", "$Table"."mon_10_qty" as "mon_10_qty", "$Table"."mon_11_qty" as "mon_11_qty", "$Table"."mon_12_qty" as "mon_12_qty", "$Table"."seasonal" as "seasonal", "$Table"."stocking_flag" as "stocking_flag", "$Table"."freeze_date" as "freeze_date", "$Table"."warehouse_min_product_uom_qty" as "warehouse_min_product_uom_qty", "$Table"."is_forcast" as "is_forcast", "$Table"."modify_qty" as "modify_qty", "$Table"."req_po_qty" as "req_po_qty", "$Table"."supercede_product_id" as "supercede_product_id", "$Table"."superceded" as "superceded", "$Table"."final_branch_id" as "final_branch_id", "$Table"."po_id" as "po_id", "$Table"."unit_ext_cost" as "unit_ext_cost", "$Table"."is_freeze" as "is_freeze", "$Table"."qty_in_transist" as "qty_in_transist", "$Table"."campaign_id" as "campaign_id", "$Table"."source_id" as "source_id", "$Table"."medium_id" as "medium_id", "$Table"."message_main_attachment_id" as "message_main_attachment_id", "$Table"."access_token" as "access_token", "$Table"."is_new_stock_product" as "is_new_stock_product", "$Table"."ref_id" as "ref_id", "$Table"."ref" as "ref", "$Table"."product_name" as "product_name", "$Table"."is_stock_flag_product" as "is_stock_flag_product", "$Table"."class_code_id" as "class_code_id", "$Table"."sft_stk_qty" as "sft_stk_qty", "$Table"."need_qty_with_sft_stk" as "need_qty_with_sft_stk" from "public"."forecasted_data" "$Table";
Date: 2024-04-02 23:55:30 Duration: 19m22s Bind query: yes
7 19m12s 1 19m12s 19m12s 19m12s select "$Table"."id" AS "id", "$Table"."channel" AS "channel", "$Table"."message" AS "message", "$Table"."create_uid" AS "create_uid", "$Table"."create_date" AS "create_date", "$Table"."write_uid" AS "write_uid", "$Table"."write_date" AS "write_date" from "public"."bus_bus" "$Table";Times Reported Time consuming queries #7
Day Hour Count Duration Avg duration Apr 02 23 1 19m12s 19m12s -
select "$Table"."id" as "id", "$Table"."channel" as "channel", "$Table"."message" as "message", "$Table"."create_uid" as "create_uid", "$Table"."create_date" as "create_date", "$Table"."write_uid" as "write_uid", "$Table"."write_date" as "write_date" from "public"."bus_bus" "$Table";
Date: 2024-04-02 23:05:18 Duration: 19m12s Bind query: yes
8 18m14s 1 18m14s 18m14s 18m14s select "$Table"."id" AS "id", "$Table"."code" AS "code", "$Table"."name" AS "name", "$Table"."internal_group" AS "internal_group", "$Table"."date" AS "date", "$Table"."price_subtotal" AS "price_subtotal", "$Table"."branch_name" AS "branch_name" from "public"."abc" "$Table";Times Reported Time consuming queries #8
Day Hour Count Duration Avg duration Apr 02 19 1 18m14s 18m14s -
select "$Table"."id" as "id", "$Table"."code" as "code", "$Table"."name" as "name", "$Table"."internal_group" as "internal_group", "$Table"."date" as "date", "$Table"."price_subtotal" as "price_subtotal", "$Table"."branch_name" as "branch_name" from "public"."abc" "$Table";
Date: 2024-04-02 19:21:05 Duration: 18m14s Bind query: yes
9 17m4s 1 17m4s 17m4s 17m4s select "$Table"."id" AS "id", "$Table"."code" AS "code", "$Table"."name" AS "name", "$Table"."internal_group" AS "internal_group", "$Table"."date" AS "date", "$Table"."price_subtotal" AS "price_subtotal", "$Table"."branch_name" AS "branch_name" from "public"."a_view_name" "$Table";Times Reported Time consuming queries #9
Day Hour Count Duration Avg duration Apr 02 19 1 17m4s 17m4s -
select "$Table"."id" as "id", "$Table"."code" as "code", "$Table"."name" as "name", "$Table"."internal_group" as "internal_group", "$Table"."date" as "date", "$Table"."price_subtotal" as "price_subtotal", "$Table"."branch_name" as "branch_name" from "public"."a_view_name" "$Table";
Date: 2024-04-02 19:02:47 Duration: 17m4s Bind query: yes
10 16m26s 1 16m26s 16m26s 16m26s select "$Table"."id" AS "id", "$Table"."code" AS "code", "$Table"."name" AS "name", "$Table"."internal_group" AS "internal_group", "$Table"."date" AS "date", "$Table"."price_subtotal" AS "price_subtotal", "$Table"."branch_name" AS "branch_name" from "public"."a_view" "$Table";Times Reported Time consuming queries #10
Day Hour Count Duration Avg duration Apr 02 18 1 16m26s 16m26s -
select "$Table"."id" as "id", "$Table"."code" as "code", "$Table"."name" as "name", "$Table"."internal_group" as "internal_group", "$Table"."date" as "date", "$Table"."price_subtotal" as "price_subtotal", "$Table"."branch_name" as "branch_name" from "public"."a_view" "$Table";
Date: 2024-04-02 18:45:37 Duration: 16m26s Bind query: yes
11 16m6s 2,430 364ms 1s314ms 397ms select "ir_attachment".id from "ir_attachment" where (("ir_attachment"."res_field" is null and (unaccent ("ir_attachment"."url"::text) like unaccent (?))) and (not ((unaccent ("ir_attachment"."url"::text) like unaccent (?))))) order by "ir_attachment"."id" desc;Times Reported Time consuming queries #11
Day Hour Count Duration Avg duration Apr 02 00 3 1s136ms 378ms 01 3 1s132ms 377ms 02 9 3s412ms 379ms 03 9 3s369ms 374ms 05 2 732ms 366ms 08 5 1s924ms 384ms 09 3 1s133ms 377ms 10 35 13s248ms 378ms 11 181 1m12s 401ms 12 290 1m55s 397ms 13 447 2m58s 399ms 14 275 1m49s 396ms 15 238 1m35s 402ms 16 117 46s263ms 395ms 17 248 1m38s 398ms 18 225 1m29s 398ms 19 209 1m23s 400ms 20 94 36s355ms 386ms 21 22 8s203ms 372ms 22 15 5s522ms 368ms -
SELECT "ir_attachment".id FROM "ir_attachment" WHERE (("ir_attachment"."res_field" IS NULL AND (unaccent ("ir_attachment"."url"::text) like unaccent ('/web/content/%-%/web.assets_common.js'))) AND (NOT ((unaccent ("ir_attachment"."url"::text) like unaccent ('/web/content/%-fb6cd24/%%%'))))) ORDER BY "ir_attachment"."id" DESC;
Date: 2024-04-02 19:52:17 Duration: 1s314ms
-
SELECT "ir_attachment".id FROM "ir_attachment" WHERE (("ir_attachment"."res_field" IS NULL AND (unaccent ("ir_attachment"."url"::text) like unaccent ('/web/content/%-%/web.assets_common.js'))) AND (NOT ((unaccent ("ir_attachment"."url"::text) like unaccent ('/web/content/%-7eb3f27/%%%'))))) ORDER BY "ir_attachment"."id" DESC;
Date: 2024-04-02 13:46:22 Duration: 1s119ms
-
SELECT "ir_attachment".id FROM "ir_attachment" WHERE (("ir_attachment"."res_field" IS NULL AND (unaccent ("ir_attachment"."url"::text) like unaccent ('/web/content/%-%/web.assets_common.js'))) AND (NOT ((unaccent ("ir_attachment"."url"::text) like unaccent ('/web/content/%-fb6cd24/%%%'))))) ORDER BY "ir_attachment"."id" DESC;
Date: 2024-04-02 13:09:16 Duration: 1s47ms
12 16m4s 1 16m4s 16m4s 16m4s select "$Table"."id" AS "id", "$Table"."code" AS "code", "$Table"."name" AS "name", "$Table"."internal_group" AS "internal_group", "$Table"."date" AS "date", "$Table"."price_subtotal" AS "price_subtotal", "$Table"."branch_name" AS "branch_name" from "public"."acc_view" "$Table";Times Reported Time consuming queries #12
Day Hour Count Duration Avg duration Apr 02 19 1 16m4s 16m4s -
select "$Table"."id" as "id", "$Table"."code" as "code", "$Table"."name" as "name", "$Table"."internal_group" as "internal_group", "$Table"."date" as "date", "$Table"."price_subtotal" as "price_subtotal", "$Table"."branch_name" as "branch_name" from "public"."acc_view" "$Table";
Date: 2024-04-02 19:37:13 Duration: 16m4s Bind query: yes
13 15m48s 26 35s514ms 38s591ms 36s471ms select partner.id as partner_id, ful.id as followup_level, case when partner.balance <= ? then ? when in_need_of_action_aml.id is not null and (prop_date.value_datetime is null or prop_date.value_datetime::date <= ?::date) then ? when exceeded_unreconciled_aml.id is not null then ? else ? end as followup_status from ( select partner.id, max(current_followup_level.delay) as followup_delay, sum(aml.balance) as balance from res_partner partner join account_move_line aml on aml.partner_id = partner.id join account_account account on account.id = aml.account_id join account_move move on move.id = aml.move_id left join lateral ( select coalesce(next_ful.id, ful.id) as id, coalesce(next_ful.delay, ful.delay) as delay from account_move_line line left outer join account_followup_followup_line ful on ful.id = aml.followup_line_id left outer join account_followup_followup_line next_ful on next_ful.id = ( select next_ful.id from account_followup_followup_line next_ful where next_ful.delay > coalesce(ful.delay, ?) and coalesce(aml.date_maturity, aml.date) + next_ful.delay <= ?::date and next_ful.company_id = ? order by next_ful.delay asc limit ?) where line.id = aml.id and aml.partner_id = partner.id and aml.balance > ?) current_followup_level on true where account.deprecated is not true and account.internal_type = ? and move.state = ? and aml.reconciled is not true and aml.blocked is false and aml.company_id = ? group by partner.id) partner left join account_followup_followup_line ful on ful.delay = partner.followup_delay and ful.company_id = ? left outer join lateral ( select line.id from account_move_line line join account_account account on line.account_id = account.id join account_move move on line.move_id = move.id left join account_followup_followup_line ful on ful.id = line.followup_line_id where line.partner_id = partner.id and account.internal_type = ? and account.deprecated is not true and move.state = ? and line.reconciled is not true and line.balance > ? and line.blocked is false and line.company_id = ? and coalesce(ful.delay, ?) < partner.followup_delay and coalesce(line.date_maturity, line.date) + coalesce(ful.delay, ?) <= ?::date limit ?) in_need_of_action_aml on true left outer join lateral ( select line.id from account_move_line line join account_account account on line.account_id = account.id join account_move move on line.move_id = move.id where line.partner_id = partner.id and account.internal_type = ? and account.deprecated is not true and move.state = ? and line.reconciled is not true and line.balance > ? and line.blocked is false and line.company_id = ? and coalesce(line.date_maturity, line.date) <= ?::date limit ?) exceeded_unreconciled_aml on true left outer join ir_property prop_date on prop_date.res_id = concat(?, partner.id) and prop_date.name = ? and prop_date.company_id = ?;Times Reported Time consuming queries #13
Day Hour Count Duration Avg duration Apr 02 14 8 4m51s 36s490ms 15 18 10m56s 36s463ms -
SELECT partner.id as partner_id, ful.id as followup_level, CASE WHEN partner.balance <= 0 THEN 'no_action_needed' WHEN in_need_of_action_aml.id IS NOT NULL AND (prop_date.value_datetime IS NULL OR prop_date.value_datetime::date <= '2024-04-02'::date) THEN 'in_need_of_action' WHEN exceeded_unreconciled_aml.id IS NOT NULL THEN 'with_overdue_invoices' ELSE 'no_action_needed' END as followup_status FROM ( SELECT partner.id, max(current_followup_level.delay) as followup_delay, SUM(aml.balance) as balance FROM res_partner partner JOIN account_move_line aml ON aml.partner_id = partner.id JOIN account_account account ON account.id = aml.account_id JOIN account_move move ON move.id = aml.move_id -- Get the followup level LEFT JOIN LATERAL ( SELECT COALESCE(next_ful.id, ful.id) as id, COALESCE(next_ful.delay, ful.delay) as delay FROM account_move_line line LEFT OUTER JOIN account_followup_followup_line ful ON ful.id = aml.followup_line_id LEFT OUTER JOIN account_followup_followup_line next_ful ON next_ful.id = ( SELECT next_ful.id FROM account_followup_followup_line next_ful WHERE next_ful.delay > COALESCE(ful.delay, - 999) AND COALESCE(aml.date_maturity, aml.date) + next_ful.delay <= '2024-04-02'::date AND next_ful.company_id = 1 ORDER BY next_ful.delay ASC LIMIT 1) WHERE line.id = aml.id AND aml.partner_id = partner.id AND aml.balance > 0) current_followup_level ON true WHERE account.deprecated IS NOT TRUE AND account.internal_type = 'receivable' AND move.state = 'posted' AND aml.reconciled IS NOT TRUE AND aml.blocked IS FALSE AND aml.company_id = 1 GROUP BY partner.id) partner LEFT JOIN account_followup_followup_line ful ON ful.delay = partner.followup_delay AND ful.company_id = 1 -- Get the followup status data LEFT OUTER JOIN LATERAL ( SELECT line.id FROM account_move_line line JOIN account_account account ON line.account_id = account.id JOIN account_move move ON line.move_id = move.id LEFT JOIN account_followup_followup_line ful ON ful.id = line.followup_line_id WHERE line.partner_id = partner.id AND account.internal_type = 'receivable' AND account.deprecated IS NOT TRUE AND move.state = 'posted' AND line.reconciled IS NOT TRUE AND line.balance > 0 AND line.blocked IS FALSE AND line.company_id = 1 AND COALESCE(ful.delay, - 999) < partner.followup_delay AND COALESCE(line.date_maturity, line.date) + COALESCE(ful.delay, - 999) <= '2024-04-02'::date LIMIT 1) in_need_of_action_aml ON true LEFT OUTER JOIN LATERAL ( SELECT line.id FROM account_move_line line JOIN account_account account ON line.account_id = account.id JOIN account_move move ON line.move_id = move.id WHERE line.partner_id = partner.id AND account.internal_type = 'receivable' AND account.deprecated IS NOT TRUE AND move.state = 'posted' AND line.reconciled IS NOT TRUE AND line.balance > 0 AND line.blocked IS FALSE AND line.company_id = 1 AND COALESCE(line.date_maturity, line.date) <= '2024-04-02'::date LIMIT 1) exceeded_unreconciled_aml ON true LEFT OUTER JOIN ir_property prop_date ON prop_date.res_id = CONCAT('res.partner,', partner.id) AND prop_date.name = 'payment_next_action_date' AND prop_date.company_id = 1;
Date: 2024-04-02 15:01:04 Duration: 38s591ms
-
SELECT partner.id as partner_id, ful.id as followup_level, CASE WHEN partner.balance <= 0 THEN 'no_action_needed' WHEN in_need_of_action_aml.id IS NOT NULL AND (prop_date.value_datetime IS NULL OR prop_date.value_datetime::date <= '2024-04-02'::date) THEN 'in_need_of_action' WHEN exceeded_unreconciled_aml.id IS NOT NULL THEN 'with_overdue_invoices' ELSE 'no_action_needed' END as followup_status FROM ( SELECT partner.id, max(current_followup_level.delay) as followup_delay, SUM(aml.balance) as balance FROM res_partner partner JOIN account_move_line aml ON aml.partner_id = partner.id JOIN account_account account ON account.id = aml.account_id JOIN account_move move ON move.id = aml.move_id -- Get the followup level LEFT JOIN LATERAL ( SELECT COALESCE(next_ful.id, ful.id) as id, COALESCE(next_ful.delay, ful.delay) as delay FROM account_move_line line LEFT OUTER JOIN account_followup_followup_line ful ON ful.id = aml.followup_line_id LEFT OUTER JOIN account_followup_followup_line next_ful ON next_ful.id = ( SELECT next_ful.id FROM account_followup_followup_line next_ful WHERE next_ful.delay > COALESCE(ful.delay, - 999) AND COALESCE(aml.date_maturity, aml.date) + next_ful.delay <= '2024-04-02'::date AND next_ful.company_id = 1 ORDER BY next_ful.delay ASC LIMIT 1) WHERE line.id = aml.id AND aml.partner_id = partner.id AND aml.balance > 0) current_followup_level ON true WHERE account.deprecated IS NOT TRUE AND account.internal_type = 'receivable' AND move.state = 'posted' AND aml.reconciled IS NOT TRUE AND aml.blocked IS FALSE AND aml.company_id = 1 GROUP BY partner.id) partner LEFT JOIN account_followup_followup_line ful ON ful.delay = partner.followup_delay AND ful.company_id = 1 -- Get the followup status data LEFT OUTER JOIN LATERAL ( SELECT line.id FROM account_move_line line JOIN account_account account ON line.account_id = account.id JOIN account_move move ON line.move_id = move.id LEFT JOIN account_followup_followup_line ful ON ful.id = line.followup_line_id WHERE line.partner_id = partner.id AND account.internal_type = 'receivable' AND account.deprecated IS NOT TRUE AND move.state = 'posted' AND line.reconciled IS NOT TRUE AND line.balance > 0 AND line.blocked IS FALSE AND line.company_id = 1 AND COALESCE(ful.delay, - 999) < partner.followup_delay AND COALESCE(line.date_maturity, line.date) + COALESCE(ful.delay, - 999) <= '2024-04-02'::date LIMIT 1) in_need_of_action_aml ON true LEFT OUTER JOIN LATERAL ( SELECT line.id FROM account_move_line line JOIN account_account account ON line.account_id = account.id JOIN account_move move ON line.move_id = move.id WHERE line.partner_id = partner.id AND account.internal_type = 'receivable' AND account.deprecated IS NOT TRUE AND move.state = 'posted' AND line.reconciled IS NOT TRUE AND line.balance > 0 AND line.blocked IS FALSE AND line.company_id = 1 AND COALESCE(line.date_maturity, line.date) <= '2024-04-02'::date LIMIT 1) exceeded_unreconciled_aml ON true LEFT OUTER JOIN ir_property prop_date ON prop_date.res_id = CONCAT('res.partner,', partner.id) AND prop_date.name = 'payment_next_action_date' AND prop_date.company_id = 1;
Date: 2024-04-02 15:00:21 Duration: 37s758ms
-
SELECT partner.id as partner_id, ful.id as followup_level, CASE WHEN partner.balance <= 0 THEN 'no_action_needed' WHEN in_need_of_action_aml.id IS NOT NULL AND (prop_date.value_datetime IS NULL OR prop_date.value_datetime::date <= '2024-04-02'::date) THEN 'in_need_of_action' WHEN exceeded_unreconciled_aml.id IS NOT NULL THEN 'with_overdue_invoices' ELSE 'no_action_needed' END as followup_status FROM ( SELECT partner.id, max(current_followup_level.delay) as followup_delay, SUM(aml.balance) as balance FROM res_partner partner JOIN account_move_line aml ON aml.partner_id = partner.id JOIN account_account account ON account.id = aml.account_id JOIN account_move move ON move.id = aml.move_id -- Get the followup level LEFT JOIN LATERAL ( SELECT COALESCE(next_ful.id, ful.id) as id, COALESCE(next_ful.delay, ful.delay) as delay FROM account_move_line line LEFT OUTER JOIN account_followup_followup_line ful ON ful.id = aml.followup_line_id LEFT OUTER JOIN account_followup_followup_line next_ful ON next_ful.id = ( SELECT next_ful.id FROM account_followup_followup_line next_ful WHERE next_ful.delay > COALESCE(ful.delay, - 999) AND COALESCE(aml.date_maturity, aml.date) + next_ful.delay <= '2024-04-02'::date AND next_ful.company_id = 1 ORDER BY next_ful.delay ASC LIMIT 1) WHERE line.id = aml.id AND aml.partner_id = partner.id AND aml.balance > 0) current_followup_level ON true WHERE account.deprecated IS NOT TRUE AND account.internal_type = 'receivable' AND move.state = 'posted' AND aml.reconciled IS NOT TRUE AND aml.blocked IS FALSE AND aml.company_id = 1 GROUP BY partner.id) partner LEFT JOIN account_followup_followup_line ful ON ful.delay = partner.followup_delay AND ful.company_id = 1 -- Get the followup status data LEFT OUTER JOIN LATERAL ( SELECT line.id FROM account_move_line line JOIN account_account account ON line.account_id = account.id JOIN account_move move ON line.move_id = move.id LEFT JOIN account_followup_followup_line ful ON ful.id = line.followup_line_id WHERE line.partner_id = partner.id AND account.internal_type = 'receivable' AND account.deprecated IS NOT TRUE AND move.state = 'posted' AND line.reconciled IS NOT TRUE AND line.balance > 0 AND line.blocked IS FALSE AND line.company_id = 1 AND COALESCE(ful.delay, - 999) < partner.followup_delay AND COALESCE(line.date_maturity, line.date) + COALESCE(ful.delay, - 999) <= '2024-04-02'::date LIMIT 1) in_need_of_action_aml ON true LEFT OUTER JOIN LATERAL ( SELECT line.id FROM account_move_line line JOIN account_account account ON line.account_id = account.id JOIN account_move move ON line.move_id = move.id WHERE line.partner_id = partner.id AND account.internal_type = 'receivable' AND account.deprecated IS NOT TRUE AND move.state = 'posted' AND line.reconciled IS NOT TRUE AND line.balance > 0 AND line.blocked IS FALSE AND line.company_id = 1 AND COALESCE(line.date_maturity, line.date) <= '2024-04-02'::date LIMIT 1) exceeded_unreconciled_aml ON true LEFT OUTER JOIN ir_property prop_date ON prop_date.res_id = CONCAT('res.partner,', partner.id) AND prop_date.name = 'payment_next_action_date' AND prop_date.company_id = 1;
Date: 2024-04-02 14:36:23 Duration: 37s298ms
14 15m16s 1,303 630ms 2s222ms 703ms 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 #14
Day Hour Count Duration Avg duration Apr 02 11 132 1m30s 688ms 12 72 53s556ms 743ms 13 80 56s720ms 709ms 14 144 1m41s 701ms 15 235 2m44s 698ms 16 69 50s117ms 726ms 17 356 4m10s 704ms 18 136 1m34s 698ms 19 51 34s330ms 673ms 20 28 20s45ms 715ms -
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 ('%%2436psb%%')) OR (unaccent ("product_product"."default_code"::text) ilike unaccent ('%2436psb%'))) OR unaccent (COALESCE("product_product__product_tmpl_id__name"."value", "product_product__product_tmpl_id"."name")) ilike unaccent ('%2436psb%'))) 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: 2024-04-02 16:19:39 Duration: 2s222ms
-
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 ('%%5365%%')) OR (unaccent ("product_product"."default_code"::text) ilike unaccent ('%5365%'))) OR unaccent (COALESCE("product_product__product_tmpl_id__name"."value", "product_product__product_tmpl_id"."name")) ilike unaccent ('%5365%'))) 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: 2024-04-02 15:25:03 Duration: 2s1ms
-
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 ('%%m4702qv23%%')) OR (unaccent ("product_product"."default_code"::text) ilike unaccent ('%m4702qv23%'))) OR unaccent (COALESCE("product_product__product_tmpl_id__name"."value", "product_product__product_tmpl_id"."name")) ilike unaccent ('%m4702qv23%'))) 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: 2024-04-02 13:00:43 Duration: 1s592ms
15 14m39s 1 14m39s 14m39s 14m39s select "$Table"."id" AS "id", "$Table"."company_id" AS "company_id", "$Table"."vehicle_id" AS "vehicle_id", "$Table"."name" AS "name", "$Table"."driver_id" AS "driver_id", "$Table"."fuel_type" AS "fuel_type", "$Table"."date_start" AS "date_start", "$Table"."cost" AS "cost", "$Table"."cost_type" AS "cost_type" from "public"."fleet_vehicle_cost_report" "$Table";Times Reported Time consuming queries #15
Day Hour Count Duration Avg duration Apr 02 23 1 14m39s 14m39s -
select "$Table"."id" as "id", "$Table"."company_id" as "company_id", "$Table"."vehicle_id" as "vehicle_id", "$Table"."name" as "name", "$Table"."driver_id" as "driver_id", "$Table"."fuel_type" as "fuel_type", "$Table"."date_start" as "date_start", "$Table"."cost" as "cost", "$Table"."cost_type" as "cost_type" from "public"."fleet_vehicle_cost_report" "$Table";
Date: 2024-04-02 23:35:40 Duration: 14m39s Bind query: yes
16 14m21s 4,837 161ms 812ms 178ms select coalesce(sum(pwi.max_product_uom_qty), ?) as tmq from forecasted_data fd inner join item_supply_plan as isp on isp.id = fd.item_supply_plan_id inner join product_warehouse_inventory pwi on fd.product_id = pwi.product_id and isp.branch_id = pwi.replenish_branch_id where isp.id = ? and fd.product_id = ?;Times Reported Time consuming queries #16
Day Hour Count Duration Avg duration Apr 02 14 458 1m24s 183ms 15 519 1m34s 181ms 16 146 25s617ms 175ms 17 374 1m11s 190ms 18 287 54s448ms 189ms 19 621 1m55s 186ms 20 1,271 3m38s 171ms 21 517 1m27s 169ms 22 192 32s990ms 171ms 23 452 1m16s 169ms -
SELECT COALESCE(SUM(pwi.max_product_uom_qty), 0) AS TMQ from forecasted_data fd INNER JOIN item_supply_plan AS isp ON isp.id = fd.item_supply_plan_id INNER JOIN product_warehouse_inventory pwi ON fd.product_id = pwi.product_id AND isp.branch_id = pwi.replenish_branch_id where isp.id = 38624 and fd.product_id = 216568;
Date: 2024-04-02 17:32:40 Duration: 812ms
-
SELECT COALESCE(SUM(pwi.max_product_uom_qty), 0) AS TMQ from forecasted_data fd INNER JOIN item_supply_plan AS isp ON isp.id = fd.item_supply_plan_id INNER JOIN product_warehouse_inventory pwi ON fd.product_id = pwi.product_id AND isp.branch_id = pwi.replenish_branch_id where isp.id = 38624 and fd.product_id = 216813;
Date: 2024-04-02 17:32:40 Duration: 660ms
-
SELECT COALESCE(SUM(pwi.max_product_uom_qty), 0) AS TMQ from forecasted_data fd INNER JOIN item_supply_plan AS isp ON isp.id = fd.item_supply_plan_id INNER JOIN product_warehouse_inventory pwi ON fd.product_id = pwi.product_id AND isp.branch_id = pwi.replenish_branch_id where isp.id = 38973 and fd.product_id = 177578;
Date: 2024-04-02 22:17:52 Duration: 526ms
17 14m2s 961 799ms 2s355ms 876ms 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 #17
Day Hour Count Duration Avg duration Apr 02 02 6 4s880ms 813ms 03 1 820ms 820ms 10 1 830ms 830ms 11 43 36s749ms 854ms 12 144 2m7s 883ms 13 92 1m23s 912ms 14 119 1m43s 873ms 15 98 1m25s 872ms 16 65 57s203ms 880ms 17 92 1m21s 882ms 18 101 1m28s 875ms 19 161 2m19s 867ms 20 38 31s904ms 839ms -
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 ('%dc23600060%')) 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 ('%dc23600060%'))) 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 ('%dc23600060%')) OR FALSE) OR (unaccent ("product_template"."condensed_internal_ref"::text) ilike unaccent ('%dc23600060%')))))) 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: 2024-04-02 16:19:39 Duration: 2s355ms
-
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 ('%300r558-30%')) 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 ('%300r558-30%'))) 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 ('%300r558-30%')) OR FALSE) OR (unaccent ("product_template"."condensed_internal_ref"::text) ilike unaccent ('%300r558-30%')))))) 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: 2024-04-02 17:32:41 Duration: 2s352ms
-
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 ('%1369-10d%')) 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 ('%1369-10d%'))) 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 ('%1369-10d%')) OR FALSE) OR (unaccent ("product_template"."condensed_internal_ref"::text) ilike unaccent ('%1369-10d%')))))) 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: 2024-04-02 19:27:11 Duration: 1s959ms
18 11m32s 1 11m32s 11m32s 11m32s select "$Table"."id" AS "id", "$Table"."code" AS "code", "$Table"."name" AS "name", "$Table"."internal_group" AS "internal_group", "$Table"."date" AS "date", "$Table"."price_subtotal" AS "price_subtotal", "$Table"."branch_name" AS "branch_name" from "public"."account_view" "$Table";Times Reported Time consuming queries #18
Day Hour Count Duration Avg duration Apr 02 21 1 11m32s 11m32s -
select "$Table"."id" as "id", "$Table"."code" as "code", "$Table"."name" as "name", "$Table"."internal_group" as "internal_group", "$Table"."date" as "date", "$Table"."price_subtotal" as "price_subtotal", "$Table"."branch_name" as "branch_name" from "public"."account_view" "$Table";
Date: 2024-04-02 21:57:59 Duration: 11m32s Bind query: yes
19 10m58s 1 10m58s 10m58s 10m58s select "$Table"."id" AS "id", "$Table"."code" AS "code", "$Table"."name" AS "name", "$Table"."internal_group" AS "internal_group", "$Table"."date" AS "date", "$Table"."price_subtotal" AS "price_subtotal", "$Table"."branch_name" AS "branch_name" from "public"."accview" "$Table";Times Reported Time consuming queries #19
Day Hour Count Duration Avg duration Apr 02 22 1 10m58s 10m58s -
select "$Table"."id" as "id", "$Table"."code" as "code", "$Table"."name" as "name", "$Table"."internal_group" as "internal_group", "$Table"."date" as "date", "$Table"."price_subtotal" as "price_subtotal", "$Table"."branch_name" as "branch_name" from "public"."accview" "$Table";
Date: 2024-04-02 22:19:45 Duration: 10m58s Bind query: yes
20 10m43s 1 10m43s 10m43s 10m43s select "$Table"."id" AS "id", "$Table"."code" AS "code", "$Table"."name" AS "name", "$Table"."internal_group" AS "internal_group", "$Table"."date" AS "date", "$Table"."price_subtotal" AS "price_subtotal", "$Table"."branch_name" AS "branch_name" from "public"."am_view" "$Table";Times Reported Time consuming queries #20
Day Hour Count Duration Avg duration Apr 02 22 1 10m43s 10m43s -
select "$Table"."id" as "id", "$Table"."code" as "code", "$Table"."name" as "name", "$Table"."internal_group" as "internal_group", "$Table"."date" as "date", "$Table"."price_subtotal" as "price_subtotal", "$Table"."branch_name" as "branch_name" from "public"."am_view" "$Table";
Date: 2024-04-02 22:30:44 Duration: 10m43s Bind query: yes
Most frequent queries (N)
Rank Times executed Total duration Min duration Max duration Avg duration Query 1 17,143 1h45m58s 120ms 2s427ms 370ms select "bus_bus".id from "bus_bus" where (("bus_bus"."create_date" > ?) and ("bus_bus"."channel" in (...))) order by "bus_bus"."id";Times Reported Time consuming queries #1
Day Hour Count Duration Avg duration Apr 02 00 115 36s747ms 319ms 01 107 34s892ms 326ms 02 109 34s50ms 312ms 03 26 8s138ms 313ms 04 28 9s617ms 343ms 05 136 43s767ms 321ms 06 42 12s615ms 300ms 07 66 21s770ms 329ms 08 50 14s566ms 291ms 09 54 20s161ms 373ms 10 149 49s130ms 329ms 11 796 3m24s 256ms 12 2,027 11m51s 350ms 13 2,003 14m46s 442ms 14 2,135 11m15s 316ms 15 1,871 12m56s 415ms 16 1,734 14m27s 500ms 17 1,596 8m20s 313ms 18 1,707 11m1s 387ms 19 1,643 8m54s 325ms 20 408 2m32s 373ms 21 137 35s960ms 262ms 22 122 41s757ms 342ms 23 82 26s181ms 319ms -
SELECT "bus_bus".id FROM "bus_bus" WHERE (("bus_bus"."create_date" > '2024-04-02 15:34:24') AND ("bus_bus"."channel" in ('"bundle_changed"', '"notify_branch_changed_1011"', '["pointspring_master","calendar.alarm",19549]', '["pointspring_master","mail.channel",445]', '["pointspring_master","mail.channel",446]', '["pointspring_master","mail.channel",447]', '["pointspring_master","res.partner",19549]', '["pointspring_master","ir.needaction",19549]'))) ORDER BY "bus_bus"."id";
Date: 2024-04-02 15:35:16 Duration: 2s427ms
-
SELECT "bus_bus".id FROM "bus_bus" WHERE (("bus_bus"."create_date" > '2024-04-02 15:34:24') AND ("bus_bus"."channel" in ('"bundle_changed"', '"notify_branch_changed_1011"', '["pointspring_master","calendar.alarm",19549]', '["pointspring_master","mail.channel",445]', '["pointspring_master","mail.channel",446]', '["pointspring_master","mail.channel",447]', '["pointspring_master","res.partner",19549]', '["pointspring_master","ir.needaction",19549]'))) ORDER BY "bus_bus"."id";
Date: 2024-04-02 15:35:16 Duration: 2s362ms
-
SELECT "bus_bus".id FROM "bus_bus" WHERE (("bus_bus"."create_date" > '2024-04-02 15:34:24') AND ("bus_bus"."channel" in ('["pointspring_master","calendar.alarm",19496]', '["pointspring_master","mail.channel",34]', '["pointspring_master","mail.channel",43]', '["pointspring_master","mail.channel",47]', '["pointspring_master","mail.channel",330]', '["pointspring_master","mail.channel",353]', '["pointspring_master","mail.channel",450]', '["pointspring_master","mail.channel",603]', '["pointspring_master","res.partner",19496]', '["pointspring_master","ir.needaction",19496]'))) ORDER BY "bus_bus"."id";
Date: 2024-04-02 15:35:16 Duration: 2s314ms
2 4,837 14m21s 161ms 812ms 178ms select coalesce(sum(pwi.max_product_uom_qty), ?) as tmq from forecasted_data fd inner join item_supply_plan as isp on isp.id = fd.item_supply_plan_id inner join product_warehouse_inventory pwi on fd.product_id = pwi.product_id and isp.branch_id = pwi.replenish_branch_id where isp.id = ? and fd.product_id = ?;Times Reported Time consuming queries #2
Day Hour Count Duration Avg duration Apr 02 14 458 1m24s 183ms 15 519 1m34s 181ms 16 146 25s617ms 175ms 17 374 1m11s 190ms 18 287 54s448ms 189ms 19 621 1m55s 186ms 20 1,271 3m38s 171ms 21 517 1m27s 169ms 22 192 32s990ms 171ms 23 452 1m16s 169ms -
SELECT COALESCE(SUM(pwi.max_product_uom_qty), 0) AS TMQ from forecasted_data fd INNER JOIN item_supply_plan AS isp ON isp.id = fd.item_supply_plan_id INNER JOIN product_warehouse_inventory pwi ON fd.product_id = pwi.product_id AND isp.branch_id = pwi.replenish_branch_id where isp.id = 38624 and fd.product_id = 216568;
Date: 2024-04-02 17:32:40 Duration: 812ms
-
SELECT COALESCE(SUM(pwi.max_product_uom_qty), 0) AS TMQ from forecasted_data fd INNER JOIN item_supply_plan AS isp ON isp.id = fd.item_supply_plan_id INNER JOIN product_warehouse_inventory pwi ON fd.product_id = pwi.product_id AND isp.branch_id = pwi.replenish_branch_id where isp.id = 38624 and fd.product_id = 216813;
Date: 2024-04-02 17:32:40 Duration: 660ms
-
SELECT COALESCE(SUM(pwi.max_product_uom_qty), 0) AS TMQ from forecasted_data fd INNER JOIN item_supply_plan AS isp ON isp.id = fd.item_supply_plan_id INNER JOIN product_warehouse_inventory pwi ON fd.product_id = pwi.product_id AND isp.branch_id = pwi.replenish_branch_id where isp.id = 38973 and fd.product_id = 177578;
Date: 2024-04-02 22:17:52 Duration: 526ms
3 3,748 44m18s 622ms 2s492ms 709ms 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 #3
Day Hour Count Duration Avg duration Apr 02 02 12 7s751ms 645ms 03 36 23s492ms 652ms 11 282 3m16s 697ms 12 629 7m37s 727ms 13 415 4m50s 700ms 14 493 5m49s 709ms 15 351 4m11s 716ms 16 374 4m19s 692ms 17 314 3m41s 706ms 18 178 2m5s 706ms 19 442 5m24s 735ms 20 204 2m17s 676ms 21 18 11s739ms 652ms -
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 ('%%500434%%')) OR (unaccent ("product_product"."default_code"::text) ilike unaccent ('%500434%'))) OR unaccent (COALESCE("product_product__product_tmpl_id__name"."value", "product_product__product_tmpl_id"."name")) ilike unaccent ('%500434%'))) 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: 2024-04-02 19:27:10 Duration: 2s492ms
-
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 ('%%169137%%')) OR (unaccent ("product_product"."default_code"::text) ilike unaccent ('%169137%'))) OR unaccent (COALESCE("product_product__product_tmpl_id__name"."value", "product_product__product_tmpl_id"."name")) ilike unaccent ('%169137%'))) 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: 2024-04-02 12:59:01 Duration: 2s364ms
-
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 ('%%5004341%%')) OR (unaccent ("product_product"."default_code"::text) ilike unaccent ('%5004341%'))) OR unaccent (COALESCE("product_product__product_tmpl_id__name"."value", "product_product__product_tmpl_id"."name")) ilike unaccent ('%5004341%'))) 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: 2024-04-02 19:27:10 Duration: 2s299ms
4 2,430 16m6s 364ms 1s314ms 397ms select "ir_attachment".id from "ir_attachment" where (("ir_attachment"."res_field" is null and (unaccent ("ir_attachment"."url"::text) like unaccent (?))) and (not ((unaccent ("ir_attachment"."url"::text) like unaccent (?))))) order by "ir_attachment"."id" desc;Times Reported Time consuming queries #4
Day Hour Count Duration Avg duration Apr 02 00 3 1s136ms 378ms 01 3 1s132ms 377ms 02 9 3s412ms 379ms 03 9 3s369ms 374ms 05 2 732ms 366ms 08 5 1s924ms 384ms 09 3 1s133ms 377ms 10 35 13s248ms 378ms 11 181 1m12s 401ms 12 290 1m55s 397ms 13 447 2m58s 399ms 14 275 1m49s 396ms 15 238 1m35s 402ms 16 117 46s263ms 395ms 17 248 1m38s 398ms 18 225 1m29s 398ms 19 209 1m23s 400ms 20 94 36s355ms 386ms 21 22 8s203ms 372ms 22 15 5s522ms 368ms -
SELECT "ir_attachment".id FROM "ir_attachment" WHERE (("ir_attachment"."res_field" IS NULL AND (unaccent ("ir_attachment"."url"::text) like unaccent ('/web/content/%-%/web.assets_common.js'))) AND (NOT ((unaccent ("ir_attachment"."url"::text) like unaccent ('/web/content/%-fb6cd24/%%%'))))) ORDER BY "ir_attachment"."id" DESC;
Date: 2024-04-02 19:52:17 Duration: 1s314ms
-
SELECT "ir_attachment".id FROM "ir_attachment" WHERE (("ir_attachment"."res_field" IS NULL AND (unaccent ("ir_attachment"."url"::text) like unaccent ('/web/content/%-%/web.assets_common.js'))) AND (NOT ((unaccent ("ir_attachment"."url"::text) like unaccent ('/web/content/%-7eb3f27/%%%'))))) ORDER BY "ir_attachment"."id" DESC;
Date: 2024-04-02 13:46:22 Duration: 1s119ms
-
SELECT "ir_attachment".id FROM "ir_attachment" WHERE (("ir_attachment"."res_field" IS NULL AND (unaccent ("ir_attachment"."url"::text) like unaccent ('/web/content/%-%/web.assets_common.js'))) AND (NOT ((unaccent ("ir_attachment"."url"::text) like unaccent ('/web/content/%-fb6cd24/%%%'))))) ORDER BY "ir_attachment"."id" DESC;
Date: 2024-04-02 13:09:16 Duration: 1s47ms
5 2,068 5m 120ms 631ms 145ms select "sale_order_line".id from "sale_order_line" where (((("sale_order_line"."product_id" = ?) and ("sale_order_line"."order_id" in ( select "sale_order".id from "sale_order" where ("sale_order"."branch_id" in ( select "res_branch".id from "res_branch" where ("res_branch"."id" = ?)))))) and ("sale_order_line"."open_qty_fil" > ?.?)) and (("sale_order_line"."state" not in (...)) or "sale_order_line"."state" is null)) order by "sale_order_line"."id" asc;Times Reported Time consuming queries #5
Day Hour Count Duration Avg duration Apr 02 11 49 6s778ms 138ms 12 353 52s796ms 149ms 13 274 40s363ms 147ms 14 322 46s671ms 144ms 15 133 19s413ms 145ms 16 151 23s329ms 154ms 17 142 18s865ms 132ms 18 251 35s651ms 142ms 19 287 41s474ms 144ms 20 106 15s13ms 141ms -
SELECT "sale_order_line".id FROM "sale_order_line" WHERE (((("sale_order_line"."product_id" = 240896) AND ("sale_order_line"."order_id" in ( SELECT "sale_order".id FROM "sale_order" WHERE ("sale_order"."branch_id" in ( SELECT "res_branch".id FROM "res_branch" WHERE ("res_branch"."id" = '40')))))) AND ("sale_order_line"."open_qty_fil" > 0.0)) AND (("sale_order_line"."state" not in ('draft', 'cancel')) OR "sale_order_line"."state" IS NULL)) ORDER BY "sale_order_line"."id" ASC;
Date: 2024-04-02 13:50:01 Duration: 631ms
-
SELECT "sale_order_line".id FROM "sale_order_line" WHERE (((("sale_order_line"."product_id" = 171955) AND ("sale_order_line"."order_id" in ( SELECT "sale_order".id FROM "sale_order" WHERE ("sale_order"."branch_id" in ( SELECT "res_branch".id FROM "res_branch" WHERE ("res_branch"."id" = '40')))))) AND ("sale_order_line"."open_qty_fil" > 0.0)) AND (("sale_order_line"."state" not in ('draft', 'cancel')) OR "sale_order_line"."state" IS NULL)) ORDER BY "sale_order_line"."id" ASC;
Date: 2024-04-02 13:50:00 Duration: 553ms
-
SELECT "sale_order_line".id FROM "sale_order_line" WHERE (((("sale_order_line"."product_id" = 199236) AND ("sale_order_line"."order_id" in ( SELECT "sale_order".id FROM "sale_order" WHERE ("sale_order"."branch_id" in ( SELECT "res_branch".id FROM "res_branch" WHERE ("res_branch"."id" = '38')))))) AND ("sale_order_line"."open_qty_fil" > 0.0)) AND (("sale_order_line"."state" not in ('draft', 'cancel')) OR "sale_order_line"."state" IS NULL)) ORDER BY "sale_order_line"."id" ASC;
Date: 2024-04-02 16:39:41 Duration: 507ms
6 1,752 5m2s 152ms 881ms 172ms select res_partner.id from "res_partner" where (("res_partner"."active" = true) and (((unaccent ("res_partner"."name"::text) ilike unaccent (?)) or (unaccent ("res_partner"."ref"::text) ilike unaccent (?))) or (unaccent ("res_partner"."display_name"::text) ilike unaccent (?)))) 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 #6
Day Hour Count Duration Avg duration Apr 02 09 8 1s273ms 159ms 11 47 7s909ms 168ms 12 121 20s969ms 173ms 13 249 44s821ms 180ms 14 140 24s521ms 175ms 15 219 36s744ms 167ms 16 251 42s688ms 170ms 17 343 58s876ms 171ms 18 204 34s854ms 170ms 19 142 24s971ms 175ms 20 18 2s948ms 163ms 21 7 1s161ms 165ms 22 3 475ms 158ms -
SELECT res_partner.id FROM "res_partner" WHERE (("res_partner"."active" = true) AND (((unaccent ("res_partner"."name"::text) ilike unaccent ('%penn m%')) OR (unaccent ("res_partner"."ref"::text) ilike unaccent ('%penn m%'))) OR (unaccent ("res_partner"."display_name"::text) ilike unaccent ('%penn m%')))) 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 ('%penn m%') OR unaccent (res_partner.display_name) ilike unaccent ('%penn m%') OR unaccent (res_partner.ref) ilike unaccent ('%penn m%') OR unaccent (res_partner.vat) ilike unaccent ('pennm')) -- don't panic, trust postgres bitmap ORDER BY unaccent (res_partner.display_name) ilike unaccent ('%penn m%') desc, unaccent (res_partner.display_name);
Date: 2024-04-02 13:23:59 Duration: 881ms
-
SELECT res_partner.id FROM "res_partner" WHERE (("res_partner"."active" = true) AND (((unaccent ("res_partner"."name"::text) ilike unaccent ('%9727%')) OR (unaccent ("res_partner"."ref"::text) ilike unaccent ('%9727%'))) OR (unaccent ("res_partner"."display_name"::text) ilike unaccent ('%9727%')))) 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 ('%9727%') OR unaccent (res_partner.display_name) ilike unaccent ('%9727%') OR unaccent (res_partner.ref) ilike unaccent ('%9727%') OR unaccent (res_partner.vat) ilike unaccent ('9727')) -- don't panic, trust postgres bitmap ORDER BY unaccent (res_partner.display_name) ilike unaccent ('%9727%') desc, unaccent (res_partner.display_name);
Date: 2024-04-02 13:11:53 Duration: 829ms
-
SELECT res_partner.id FROM "res_partner" WHERE (("res_partner"."active" = true) AND (((unaccent ("res_partner"."name"::text) ilike unaccent ('%16736%')) OR (unaccent ("res_partner"."ref"::text) ilike unaccent ('%16736%'))) OR (unaccent ("res_partner"."display_name"::text) ilike unaccent ('%16736%')))) 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 ('%16736%') OR unaccent (res_partner.display_name) ilike unaccent ('%16736%') OR unaccent (res_partner.ref) ilike unaccent ('%16736%') OR unaccent (res_partner.vat) ilike unaccent ('16736')) -- don't panic, trust postgres bitmap ORDER BY unaccent (res_partner.display_name) ilike unaccent ('%16736%') desc, unaccent (res_partner.display_name);
Date: 2024-04-02 16:52:53 Duration: 793ms
7 1,345 3m23s 140ms 441ms 151ms update product_warehouse_inventory set sft_stk_qty = ? where id = ( select id from product_warehouse_inventory where product_id = (?) and warehouse_id = (?));Times Reported Time consuming queries #7
Day Hour Count Duration Avg duration Apr 02 14 109 16s567ms 151ms 15 160 24s500ms 153ms 16 40 6s226ms 155ms 17 118 18s425ms 156ms 18 111 17s45ms 153ms 19 132 20s21ms 151ms 20 394 59s248ms 150ms 21 148 21s778ms 147ms 22 39 5s744ms 147ms 23 94 13s938ms 148ms -
update product_warehouse_inventory set sft_stk_qty = 0 where id = ( select id from product_warehouse_inventory where product_id = (189098) and warehouse_id = (42));
Date: 2024-04-02 20:18:12 Duration: 441ms
-
update product_warehouse_inventory set sft_stk_qty = 0 where id = ( select id from product_warehouse_inventory where product_id = (189090) and warehouse_id = (42));
Date: 2024-04-02 20:18:13 Duration: 341ms
-
update product_warehouse_inventory set sft_stk_qty = 0 where id = ( select id from product_warehouse_inventory where product_id = (184640) and warehouse_id = (42));
Date: 2024-04-02 15:00:53 Duration: 237ms
8 1,330 4m27s 169ms 1s911ms 201ms select min("sale_report".id) as id, count("sale_report".id) AS "product_id_count", sum("sale_report"."product_uom_qty") AS "product_uom_qty", "sale_report"."product_id" AS "product_id" from "sale_report" left join "product_product" AS "sale_report__product_id" on ("sale_report"."product_id" = "sale_report__product_id"."id") left join "product_template" AS "sale_report__product_id__product_tmpl_id" on ("sale_report__product_id"."product_tmpl_id" = "sale_report__product_id__product_tmpl_id"."id") left join "ir_translation" AS "sale_report__product_id__product_tmpl_id__name" on ("sale_report__product_id__product_tmpl_id"."id" = "sale_report__product_id__product_tmpl_id__name"."res_id" and "sale_report__product_id__product_tmpl_id__name"."type" = ? and "sale_report__product_id__product_tmpl_id__name"."name" = ? and "sale_report__product_id__product_tmpl_id__name"."lang" = ? and "sale_report__product_id__product_tmpl_id__name"."value" != ?) where ((("sale_report"."state" in (...)) and ("sale_report"."product_id" in (...))) and ("sale_report"."date" >= ?)) and ("sale_report"."company_id" is null or ("sale_report"."company_id" in (...))) group by "sale_report"."product_id", "sale_report__product_id"."default_code", coalesce("sale_report__product_id__product_tmpl_id__name"."value", "sale_report__product_id__product_tmpl_id"."name"), "sale_report__product_id"."id" order by "sale_report__product_id"."default_code", coalesce("sale_report__product_id__product_tmpl_id__name"."value", "sale_report__product_id__product_tmpl_id"."name"), "sale_report__product_id"."id";Times Reported Time consuming queries #8
Day Hour Count Duration Avg duration Apr 02 02 4 713ms 178ms 10 1 176ms 176ms 11 66 12s577ms 190ms 12 151 32s133ms 212ms 13 134 28s219ms 210ms 14 176 35s318ms 200ms 15 122 24s828ms 203ms 16 92 17s736ms 192ms 17 148 29s190ms 197ms 18 140 28s381ms 202ms 19 178 35s464ms 199ms 20 78 15s777ms 202ms 21 16 2s830ms 176ms 22 13 2s297ms 176ms 23 11 1s912ms 173ms -
SELECT min("sale_report".id) AS id, count("sale_report".id) AS "product_id_count", sum("sale_report"."product_uom_qty") AS "product_uom_qty", "sale_report"."product_id" as "product_id" FROM "sale_report" LEFT JOIN "product_product" AS "sale_report__product_id" ON ("sale_report"."product_id" = "sale_report__product_id"."id") LEFT JOIN "product_template" AS "sale_report__product_id__product_tmpl_id" ON ("sale_report__product_id"."product_tmpl_id" = "sale_report__product_id__product_tmpl_id"."id") LEFT JOIN "ir_translation" AS "sale_report__product_id__product_tmpl_id__name" ON ("sale_report__product_id__product_tmpl_id"."id" = "sale_report__product_id__product_tmpl_id__name"."res_id" AND "sale_report__product_id__product_tmpl_id__name"."type" = 'model' AND "sale_report__product_id__product_tmpl_id__name"."name" = 'product.template,name' AND "sale_report__product_id__product_tmpl_id__name"."lang" = 'en_US' AND "sale_report__product_id__product_tmpl_id__name"."value" != '') WHERE ((("sale_report"."state" in ('sale', 'done', 'paid')) AND ("sale_report"."product_id" in (217095))) AND ("sale_report"."date" >= '2023-04-03 00:00:00')) AND ("sale_report"."company_id" IS NULL OR ("sale_report"."company_id" in (1))) GROUP BY "sale_report"."product_id", "sale_report__product_id"."default_code", COALESCE("sale_report__product_id__product_tmpl_id__name"."value", "sale_report__product_id__product_tmpl_id"."name"), "sale_report__product_id"."id" ORDER BY "sale_report__product_id"."default_code", COALESCE("sale_report__product_id__product_tmpl_id__name"."value", "sale_report__product_id__product_tmpl_id"."name"), "sale_report__product_id"."id";
Date: 2024-04-02 12:26:45 Duration: 1s911ms
-
SELECT min("sale_report".id) AS id, count("sale_report".id) AS "product_id_count", sum("sale_report"."product_uom_qty") AS "product_uom_qty", "sale_report"."product_id" as "product_id" FROM "sale_report" LEFT JOIN "product_product" AS "sale_report__product_id" ON ("sale_report"."product_id" = "sale_report__product_id"."id") LEFT JOIN "product_template" AS "sale_report__product_id__product_tmpl_id" ON ("sale_report__product_id"."product_tmpl_id" = "sale_report__product_id__product_tmpl_id"."id") LEFT JOIN "ir_translation" AS "sale_report__product_id__product_tmpl_id__name" ON ("sale_report__product_id__product_tmpl_id"."id" = "sale_report__product_id__product_tmpl_id__name"."res_id" AND "sale_report__product_id__product_tmpl_id__name"."type" = 'model' AND "sale_report__product_id__product_tmpl_id__name"."name" = 'product.template,name' AND "sale_report__product_id__product_tmpl_id__name"."lang" = 'en_US' AND "sale_report__product_id__product_tmpl_id__name"."value" != '') WHERE ((("sale_report"."state" in ('sale', 'done', 'paid')) AND ("sale_report"."product_id" in (190851))) AND ("sale_report"."date" >= '2023-04-03 00:00:00')) AND ("sale_report"."company_id" IS NULL OR ("sale_report"."company_id" in (1))) GROUP BY "sale_report"."product_id", "sale_report__product_id"."default_code", COALESCE("sale_report__product_id__product_tmpl_id__name"."value", "sale_report__product_id__product_tmpl_id"."name"), "sale_report__product_id"."id" ORDER BY "sale_report__product_id"."default_code", COALESCE("sale_report__product_id__product_tmpl_id__name"."value", "sale_report__product_id__product_tmpl_id"."name"), "sale_report__product_id"."id";
Date: 2024-04-02 20:05:30 Duration: 1s345ms
-
SELECT min("sale_report".id) AS id, count("sale_report".id) AS "product_id_count", sum("sale_report"."product_uom_qty") AS "product_uom_qty", "sale_report"."product_id" as "product_id" FROM "sale_report" LEFT JOIN "product_product" AS "sale_report__product_id" ON ("sale_report"."product_id" = "sale_report__product_id"."id") LEFT JOIN "product_template" AS "sale_report__product_id__product_tmpl_id" ON ("sale_report__product_id"."product_tmpl_id" = "sale_report__product_id__product_tmpl_id"."id") LEFT JOIN "ir_translation" AS "sale_report__product_id__product_tmpl_id__name" ON ("sale_report__product_id__product_tmpl_id"."id" = "sale_report__product_id__product_tmpl_id__name"."res_id" AND "sale_report__product_id__product_tmpl_id__name"."type" = 'model' AND "sale_report__product_id__product_tmpl_id__name"."name" = 'product.template,name' AND "sale_report__product_id__product_tmpl_id__name"."lang" = 'en_US' AND "sale_report__product_id__product_tmpl_id__name"."value" != '') WHERE ((("sale_report"."state" in ('sale', 'done', 'paid')) AND ("sale_report"."product_id" in (237183))) AND ("sale_report"."date" >= '2023-04-03 00:00:00')) AND ("sale_report"."company_id" IS NULL OR ("sale_report"."company_id" in (1))) GROUP BY "sale_report"."product_id", "sale_report__product_id"."default_code", COALESCE("sale_report__product_id__product_tmpl_id__name"."value", "sale_report__product_id__product_tmpl_id"."name"), "sale_report__product_id"."id" ORDER BY "sale_report__product_id"."default_code", COALESCE("sale_report__product_id__product_tmpl_id__name"."value", "sale_report__product_id__product_tmpl_id"."name"), "sale_report__product_id"."id";
Date: 2024-04-02 12:54:03 Duration: 825ms
9 1,320 4m9s 148ms 1s565ms 188ms select min("account_move".id) as id, count("account_move".id) AS "debit_origin_id_count", "account_move"."debit_origin_id" AS "debit_origin_id" from "account_move" left join "account_move" AS "account_move__debit_origin_id" on ("account_move"."debit_origin_id" = "account_move__debit_origin_id"."id") where ("account_move"."debit_origin_id" in (...)) and ("account_move"."company_id" is null or ("account_move"."company_id" in (...))) group by "account_move"."debit_origin_id", "account_move__debit_origin_id"."invoice_date_due" order by "account_move__debit_origin_id"."invoice_date_due";Times Reported Time consuming queries #9
Day Hour Count Duration Avg duration Apr 02 02 4 658ms 164ms 03 2 322ms 161ms 09 16 2s731ms 170ms 11 39 7s488ms 192ms 12 188 35s494ms 188ms 13 214 40s312ms 188ms 14 64 13s491ms 210ms 15 162 29s648ms 183ms 16 181 32s291ms 178ms 17 196 38s423ms 196ms 18 113 21s873ms 193ms 19 108 20s681ms 191ms 20 25 4s489ms 179ms 21 8 1s323ms 165ms -
SELECT min("account_move".id) AS id, count("account_move".id) AS "debit_origin_id_count", "account_move"."debit_origin_id" as "debit_origin_id" FROM "account_move" LEFT JOIN "account_move" AS "account_move__debit_origin_id" ON ("account_move"."debit_origin_id" = "account_move__debit_origin_id"."id") WHERE ("account_move"."debit_origin_id" in (1320756)) AND ("account_move"."company_id" IS NULL OR ("account_move"."company_id" in (1))) GROUP BY "account_move"."debit_origin_id", "account_move__debit_origin_id"."invoice_date_due" ORDER BY "account_move__debit_origin_id"."invoice_date_due";
Date: 2024-04-02 14:05:44 Duration: 1s565ms
-
SELECT min("account_move".id) AS id, count("account_move".id) AS "debit_origin_id_count", "account_move"."debit_origin_id" as "debit_origin_id" FROM "account_move" LEFT JOIN "account_move" AS "account_move__debit_origin_id" ON ("account_move"."debit_origin_id" = "account_move__debit_origin_id"."id") WHERE ("account_move"."debit_origin_id" in (1299237)) AND ("account_move"."company_id" IS NULL OR ("account_move"."company_id" in (1))) GROUP BY "account_move"."debit_origin_id", "account_move__debit_origin_id"."invoice_date_due" ORDER BY "account_move__debit_origin_id"."invoice_date_due";
Date: 2024-04-02 17:09:40 Duration: 1s42ms
-
SELECT min("account_move".id) AS id, count("account_move".id) AS "debit_origin_id_count", "account_move"."debit_origin_id" as "debit_origin_id" FROM "account_move" LEFT JOIN "account_move" AS "account_move__debit_origin_id" ON ("account_move"."debit_origin_id" = "account_move__debit_origin_id"."id") WHERE ("account_move"."debit_origin_id" in (1321444)) AND ("account_move"."company_id" IS NULL OR ("account_move"."company_id" in (1))) GROUP BY "account_move"."debit_origin_id", "account_move__debit_origin_id"."invoice_date_due" ORDER BY "account_move__debit_origin_id"."invoice_date_due";
Date: 2024-04-02 17:07:57 Duration: 911ms
10 1,303 15m16s 630ms 2s222ms 703ms 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 #10
Day Hour Count Duration Avg duration Apr 02 11 132 1m30s 688ms 12 72 53s556ms 743ms 13 80 56s720ms 709ms 14 144 1m41s 701ms 15 235 2m44s 698ms 16 69 50s117ms 726ms 17 356 4m10s 704ms 18 136 1m34s 698ms 19 51 34s330ms 673ms 20 28 20s45ms 715ms -
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 ('%%2436psb%%')) OR (unaccent ("product_product"."default_code"::text) ilike unaccent ('%2436psb%'))) OR unaccent (COALESCE("product_product__product_tmpl_id__name"."value", "product_product__product_tmpl_id"."name")) ilike unaccent ('%2436psb%'))) 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: 2024-04-02 16:19:39 Duration: 2s222ms
-
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 ('%%5365%%')) OR (unaccent ("product_product"."default_code"::text) ilike unaccent ('%5365%'))) OR unaccent (COALESCE("product_product__product_tmpl_id__name"."value", "product_product__product_tmpl_id"."name")) ilike unaccent ('%5365%'))) 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: 2024-04-02 15:25:03 Duration: 2s1ms
-
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 ('%%m4702qv23%%')) OR (unaccent ("product_product"."default_code"::text) ilike unaccent ('%m4702qv23%'))) OR unaccent (COALESCE("product_product__product_tmpl_id__name"."value", "product_product__product_tmpl_id"."name")) ilike unaccent ('%m4702qv23%'))) 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: 2024-04-02 13:00:43 Duration: 1s592ms
11 1,051 2m55s 141ms 875ms 167ms select count(?) from mail_tracking_value v left join mail_message m on (v.mail_message_id = m.id) join purchase_order po on (po.id = m.res_id) where m.create_date >= ? and m.model = ? and m.message_type = ? and v.old_value_char = ? and v.new_value_char = ? and po.company_id = ?;Times Reported Time consuming queries #11
Day Hour Count Duration Avg duration Apr 02 05 2 304ms 152ms 10 2 316ms 158ms 11 40 6s593ms 164ms 12 57 10s321ms 181ms 13 113 19s901ms 176ms 14 84 13s526ms 161ms 15 128 21s584ms 168ms 16 126 20s474ms 162ms 17 221 36s197ms 163ms 18 135 23s114ms 171ms 19 104 17s456ms 167ms 20 19 3s30ms 159ms 21 16 2s530ms 158ms 22 4 593ms 148ms -
SELECT COUNT(1) FROM mail_tracking_value v LEFT JOIN mail_message m ON (v.mail_message_id = m.id) JOIN purchase_order po ON (po.id = m.res_id) WHERE m.create_date >= '2024-03-26 13:49:59' AND m.model = 'purchase.order' AND m.message_type = 'notification' AND v.old_value_char = 'RFQ' AND v.new_value_char = 'RFQ Sent' AND po.company_id = 1;
Date: 2024-04-02 13:50:00 Duration: 875ms
-
SELECT COUNT(1) FROM mail_tracking_value v LEFT JOIN mail_message m ON (v.mail_message_id = m.id) JOIN purchase_order po ON (po.id = m.res_id) WHERE m.create_date >= '2024-03-26 16:55:51' AND m.model = 'purchase.order' AND m.message_type = 'notification' AND v.old_value_char = 'RFQ' AND v.new_value_char = 'RFQ Sent' AND po.company_id = 1;
Date: 2024-04-02 16:55:52 Duration: 621ms
-
SELECT COUNT(1) FROM mail_tracking_value v LEFT JOIN mail_message m ON (v.mail_message_id = m.id) JOIN purchase_order po ON (po.id = m.res_id) WHERE m.create_date >= '2024-03-26 15:00:21' AND m.model = 'purchase.order' AND m.message_type = 'notification' AND v.old_value_char = 'RFQ' AND v.new_value_char = 'RFQ Sent' AND po.company_id = 1;
Date: 2024-04-02 15:00:21 Duration: 502ms
12 1,023 2m40s 133ms 570ms 157ms update "stock_quant" set "reserved_quantity" = ?.?, "write_uid" = ?, "write_date" = (now() at time zone ?) where id in (...);Times Reported Time consuming queries #12
Day Hour Count Duration Avg duration Apr 02 02 2 287ms 143ms 03 6 852ms 142ms 11 56 8s769ms 156ms 12 149 24s618ms 165ms 13 129 20s239ms 156ms 14 105 16s476ms 156ms 15 91 14s164ms 155ms 16 70 10s859ms 155ms 17 117 18s64ms 154ms 18 105 16s799ms 159ms 19 116 17s961ms 154ms 20 65 10s32ms 154ms 21 12 1s779ms 148ms -
UPDATE "stock_quant" SET "reserved_quantity" = 2.0, "write_uid" = 1013, "write_date" = (now() at time zone 'UTC') WHERE id IN (410059);
Date: 2024-04-02 12:02:35 Duration: 570ms
-
UPDATE "stock_quant" SET "reserved_quantity" = 2.0, "write_uid" = 1013, "write_date" = (now() at time zone 'UTC') WHERE id IN (343952);
Date: 2024-04-02 12:02:35 Duration: 471ms
-
UPDATE "stock_quant" SET "reserved_quantity" = 0.0, "write_uid" = 1026, "write_date" = (now() at time zone 'UTC') WHERE id IN (45616, 270349, 45677);
Date: 2024-04-02 18:41:48 Duration: 467ms
13 961 14m2s 799ms 2s355ms 876ms 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 #13
Day Hour Count Duration Avg duration Apr 02 02 6 4s880ms 813ms 03 1 820ms 820ms 10 1 830ms 830ms 11 43 36s749ms 854ms 12 144 2m7s 883ms 13 92 1m23s 912ms 14 119 1m43s 873ms 15 98 1m25s 872ms 16 65 57s203ms 880ms 17 92 1m21s 882ms 18 101 1m28s 875ms 19 161 2m19s 867ms 20 38 31s904ms 839ms -
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 ('%dc23600060%')) 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 ('%dc23600060%'))) 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 ('%dc23600060%')) OR FALSE) OR (unaccent ("product_template"."condensed_internal_ref"::text) ilike unaccent ('%dc23600060%')))))) 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: 2024-04-02 16:19:39 Duration: 2s355ms
-
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 ('%300r558-30%')) 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 ('%300r558-30%'))) 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 ('%300r558-30%')) OR FALSE) OR (unaccent ("product_template"."condensed_internal_ref"::text) ilike unaccent ('%300r558-30%')))))) 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: 2024-04-02 17:32:41 Duration: 2s352ms
-
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 ('%1369-10d%')) 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 ('%1369-10d%'))) 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 ('%1369-10d%')) OR FALSE) OR (unaccent ("product_template"."condensed_internal_ref"::text) ilike unaccent ('%1369-10d%')))))) 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: 2024-04-02 19:27:11 Duration: 1s959ms
14 885 4m7s 236ms 1s641ms 280ms update "sale_order_line" set "invoice_status" = ?, "open_qty_fil" = ?.?, "qty_delivered" = ?, "qty_to_invoice" = ?, "untaxed_amount_to_invoice" = ?, "write_uid" = ?, "write_date" = (now() at time zone ?) where id in (...);Times Reported Time consuming queries #14
Day Hour Count Duration Avg duration Apr 02 02 4 1s4ms 251ms 03 8 1s938ms 242ms 09 12 3s41ms 253ms 11 51 13s738ms 269ms 12 184 50s504ms 274ms 13 198 54s987ms 277ms 14 74 26s399ms 356ms 15 56 15s969ms 285ms 16 89 23s635ms 265ms 17 68 19s439ms 285ms 18 47 12s324ms 262ms 19 70 18s598ms 265ms 20 19 5s84ms 267ms 21 5 1s260ms 252ms -
UPDATE "sale_order_line" SET "invoice_status" = 'to invoice', "open_qty_fil" = 0.0, "qty_delivered" = '-3.00', "qty_to_invoice" = '-3.00', "untaxed_amount_to_invoice" = '-77.61', "write_uid" = 958, "write_date" = (now() at time zone 'UTC') WHERE id IN (373838, 373871, 373850, 373819, 373854, 373823);
Date: 2024-04-02 14:16:01 Duration: 1s641ms
-
UPDATE "sale_order_line" SET "invoice_status" = 'to invoice', "open_qty_fil" = 0.0, "qty_delivered" = '-2.00', "qty_to_invoice" = '-2.00', "untaxed_amount_to_invoice" = '-48.30', "write_uid" = 958, "write_date" = (now() at time zone 'UTC') WHERE id IN (373841, 373842, 373883);
Date: 2024-04-02 14:16:05 Duration: 1s171ms
-
UPDATE "sale_order_line" SET "invoice_status" = 'to invoice', "open_qty_fil" = 0.0, "qty_delivered" = '-1.00', "qty_to_invoice" = '-1.00', "untaxed_amount_to_invoice" = '-25.87', "write_uid" = 958, "write_date" = (now() at time zone 'UTC') WHERE id IN (373816, 373836, 373870, 373855);
Date: 2024-04-02 14:15:59 Duration: 1s119ms
15 852 6m54s 144ms 4s796ms 485ms update "stock_move" set "state" = ?, "write_uid" = ?, "write_date" = (now() at time zone ?) where id in (...);Times Reported Time consuming queries #15
Day Hour Count Duration Avg duration Apr 02 02 2 300ms 150ms 03 1 758ms 758ms 11 32 14s78ms 439ms 12 112 53s160ms 474ms 13 96 38s63ms 396ms 14 88 52s46ms 591ms 15 72 34s495ms 479ms 16 48 13s230ms 275ms 17 74 38s399ms 518ms 18 135 1m15s 558ms 19 106 54s421ms 513ms 20 68 29s362ms 431ms 21 18 10s363ms 575ms -
UPDATE "stock_move" SET "state" = 'confirmed', "write_uid" = 978, "write_date" = (now() at time zone 'UTC') WHERE id IN (884000, 884001, 884002, 884003, 884004, 884005, 884006, 883994, 883995, 883998);
Date: 2024-04-02 15:44:20 Duration: 4s796ms
-
UPDATE "stock_move" SET "state" = 'confirmed', "write_uid" = 996, "write_date" = (now() at time zone 'UTC') WHERE id IN (883152, 883159, 883160, 883161, 883162, 883163);
Date: 2024-04-02 11:38:59 Duration: 4s261ms
-
UPDATE "stock_move" SET "state" = 'confirmed', "write_uid" = 968, "write_date" = (now() at time zone 'UTC') WHERE id IN (883693, 883694, 883695, 883696, 883697, 883698, 883699, 883704);
Date: 2024-04-02 14:13:54 Duration: 4s89ms
16 810 3m39s 236ms 1s520ms 271ms update "sale_order_line" set "invoice_status" = ?, "qty_invoiced" = ?, "qty_to_invoice" = ?, "untaxed_amount_invoiced" = ?, "untaxed_amount_to_invoice" = ?, "write_uid" = ?, "write_date" = (now() at time zone ?) where id in (...);Times Reported Time consuming queries #16
Day Hour Count Duration Avg duration Apr 02 02 4 980ms 245ms 03 8 1s964ms 245ms 09 12 3s5ms 250ms 11 34 8s662ms 254ms 12 159 43s49ms 270ms 13 190 50s880ms 267ms 14 70 22s737ms 324ms 15 50 13s597ms 271ms 16 88 23s34ms 261ms 17 58 15s728ms 271ms 18 40 10s546ms 263ms 19 69 18s181ms 263ms 20 23 5s861ms 254ms 21 5 1s285ms 257ms -
UPDATE "sale_order_line" SET "invoice_status" = 'invoiced', "qty_invoiced" = '-3.00', "qty_to_invoice" = '0.00', "untaxed_amount_invoiced" = '-77.61', "untaxed_amount_to_invoice" = '0.00', "write_uid" = 958, "write_date" = (now() at time zone 'UTC') WHERE id IN (373838, 373871, 373850, 373819, 373854, 373823);
Date: 2024-04-02 14:17:28 Duration: 1s520ms
-
UPDATE "sale_order_line" SET "invoice_status" = 'invoiced', "qty_invoiced" = '-1.00', "qty_to_invoice" = '0.00', "untaxed_amount_invoiced" = '-25.87', "untaxed_amount_to_invoice" = '0.00', "write_uid" = 958, "write_date" = (now() at time zone 'UTC') WHERE id IN (373816, 373836, 373870, 373855);
Date: 2024-04-02 14:17:24 Duration: 1s101ms
-
UPDATE "sale_order_line" SET "invoice_status" = 'invoiced', "qty_invoiced" = '-2.00', "qty_to_invoice" = '0.00', "untaxed_amount_invoiced" = '-48.30', "untaxed_amount_to_invoice" = '0.00', "write_uid" = 958, "write_date" = (now() at time zone 'UTC') WHERE id IN (373841, 373842, 373883);
Date: 2024-04-02 14:17:26 Duration: 751ms
17 803 1m47s 120ms 274ms 133ms select "product_warehouse_inventory".id from "product_warehouse_inventory" where (("product_warehouse_inventory"."warehouse_id" = ?) and ("product_warehouse_inventory"."product_id" = ?)) order by "product_warehouse_inventory"."warehouse_name" limit ?;Times Reported Time consuming queries #17
Day Hour Count Duration Avg duration Apr 02 11 1 125ms 125ms 12 146 19s462ms 133ms 13 115 15s308ms 133ms 14 177 24s62ms 135ms 15 29 3s900ms 134ms 16 42 5s619ms 133ms 17 71 9s403ms 132ms 18 70 9s227ms 131ms 19 118 15s612ms 132ms 20 34 4s530ms 133ms -
SELECT "product_warehouse_inventory".id FROM "product_warehouse_inventory" WHERE (("product_warehouse_inventory"."warehouse_id" = 35) AND ("product_warehouse_inventory"."product_id" = 185391)) ORDER BY "product_warehouse_inventory"."warehouse_name" LIMIT 1;
Date: 2024-04-02 13:04:17 Duration: 274ms
-
SELECT "product_warehouse_inventory".id FROM "product_warehouse_inventory" WHERE (("product_warehouse_inventory"."warehouse_id" = 35) AND ("product_warehouse_inventory"."product_id" = 180739)) ORDER BY "product_warehouse_inventory"."warehouse_name" LIMIT 1;
Date: 2024-04-02 14:53:38 Duration: 233ms
-
SELECT "product_warehouse_inventory".id FROM "product_warehouse_inventory" WHERE (("product_warehouse_inventory"."warehouse_id" = 35) AND ("product_warehouse_inventory"."product_id" = 188464)) ORDER BY "product_warehouse_inventory"."warehouse_name" LIMIT 1;
Date: 2024-04-02 13:04:17 Duration: 231ms
18 797 7m57s 146ms 3s690ms 599ms update "stock_quant" set "quantity" = ?.?, "reserved_quantity" = ?.?, "write_uid" = ?, "write_date" = (now() at time zone ?) where id in (...);Times Reported Time consuming queries #18
Day Hour Count Duration Avg duration Apr 02 02 2 1s257ms 628ms 03 6 3s763ms 627ms 09 10 4s870ms 487ms 11 29 15s855ms 546ms 12 186 1m52s 603ms 13 162 1m37s 599ms 14 73 44s524ms 609ms 15 43 23s406ms 544ms 16 66 40s668ms 616ms 17 63 34s655ms 550ms 18 70 48s64ms 686ms 19 64 40s439ms 631ms 20 18 8s177ms 454ms 21 5 2s553ms 510ms -
UPDATE "stock_quant" SET "quantity" = 0.0, "reserved_quantity" = 0.0, "write_uid" = 952, "write_date" = (now() at time zone 'UTC') WHERE id IN (454692, 454699, 457423, 454709, 454710, 454711, 454712, 454713);
Date: 2024-04-02 18:36:46 Duration: 3s690ms
-
UPDATE "stock_quant" SET "quantity" = 1.0, "reserved_quantity" = 0.0, "write_uid" = 1041, "write_date" = (now() at time zone 'UTC') WHERE id IN (336104, 351018, 388173, 143789, 441085, 184223);
Date: 2024-04-02 19:33:19 Duration: 3s479ms
-
UPDATE "stock_quant" SET "quantity" = 0.0, "reserved_quantity" = 0.0, "write_uid" = 1280, "write_date" = (now() at time zone 'UTC') WHERE id IN (459137, 459139, 459141, 459143, 459145, 459133, 459135);
Date: 2024-04-02 18:01:58 Duration: 3s356ms
19 669 1m47s 120ms 803ms 161ms 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"."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 (unaccent ("product_product"."barcode"::text) ilike unaccent (?)) and (("product_product__product_tmpl_id"."company_id" in (...)) or "product_product__product_tmpl_id"."company_id" is null))) and (("product_template"."company_id" in (...)) or "product_template"."company_id" is null) order by coalesce("product_template__name"."value", "product_template"."name");Times Reported Time consuming queries #19
Day Hour Count Duration Avg duration Apr 02 11 21 3s94ms 147ms 12 120 20s638ms 171ms 13 64 10s317ms 161ms 14 99 15s471ms 156ms 15 60 9s761ms 162ms 16 52 8s61ms 155ms 17 88 13s923ms 158ms 18 52 8s134ms 156ms 19 100 16s348ms 163ms 20 13 2s8ms 154ms -
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"."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 (unaccent ("product_product"."barcode"::text) ilike unaccent ('%10082217%')) AND (("product_product__product_tmpl_id"."company_id" in (1)) OR "product_product__product_tmpl_id"."company_id" IS NULL))) AND (("product_template"."company_id" in (1)) OR "product_template"."company_id" IS NULL) ORDER BY COALESCE("product_template__name"."value", "product_template"."name");
Date: 2024-04-02 13:05:25 Duration: 803ms
-
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"."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 (unaccent ("product_product"."barcode"::text) ilike unaccent ('%1369-10d%')) AND (("product_product__product_tmpl_id"."company_id" in (1)) OR "product_product__product_tmpl_id"."company_id" IS NULL))) AND (("product_template"."company_id" in (1)) OR "product_template"."company_id" IS NULL) ORDER BY COALESCE("product_template__name"."value", "product_template"."name");
Date: 2024-04-02 19:27:09 Duration: 796ms
-
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"."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 (unaccent ("product_product"."barcode"::text) ilike unaccent ('%n3-3-508kx%')) AND (("product_product__product_tmpl_id"."company_id" in (1)) OR "product_product__product_tmpl_id"."company_id" IS NULL))) AND (("product_template"."company_id" in (1)) OR "product_template"."company_id" IS NULL) ORDER BY COALESCE("product_template__name"."value", "product_template"."name");
Date: 2024-04-02 15:35:16 Duration: 692ms
20 662 2m45s 225ms 663ms 249ms select "sale_line_report".id from "sale_line_report" where ("sale_line_report"."real_line_id" in (...)) order by "sale_line_report"."id";Times Reported Time consuming queries #20
Day Hour Count Duration Avg duration Apr 02 02 2 462ms 231ms 03 6 1s379ms 229ms 11 86 22s535ms 262ms 12 103 26s87ms 253ms 13 54 14s146ms 261ms 14 62 15s117ms 243ms 15 107 25s862ms 241ms 16 38 9s283ms 244ms 17 62 15s288ms 246ms 18 49 12s38ms 245ms 19 75 18s934ms 252ms 20 17 4s97ms 241ms 21 1 230ms 230ms -
SELECT "sale_line_report".id FROM "sale_line_report" WHERE ("sale_line_report"."real_line_id" in (373669)) ORDER BY "sale_line_report"."id";
Date: 2024-04-02 13:00:42 Duration: 663ms
-
SELECT "sale_line_report".id FROM "sale_line_report" WHERE ("sale_line_report"."real_line_id" in (374165)) ORDER BY "sale_line_report"."id";
Date: 2024-04-02 17:18:27 Duration: 490ms
-
SELECT "sale_line_report".id FROM "sale_line_report" WHERE ("sale_line_report"."real_line_id" in (374425)) ORDER BY "sale_line_report"."id";
Date: 2024-04-02 19:29:11 Duration: 392ms
Normalized slowest queries (N)
Rank Min duration Max duration Avg duration Times executed Total duration Query 1 1h24m16s 1h24m16s 1h24m16s 1 1h24m16s select "$Outer"."id" AS "id", "$Outer"."move_id" AS "move_id", "$Outer"."move_name" AS "move_name", "$Outer"."date" AS "date", "$Outer"."ref" AS "ref", "$Outer"."parent_state" AS "parent_state", "$Outer"."journal_id" AS "journal_id", "$Outer"."company_id" AS "company_id", "$Outer"."company_currency_id" AS "company_currency_id", "$Outer"."account_id" AS "account_id", "$Outer"."account_root_id" AS "account_root_id", "$Outer"."sequence" AS "sequence", "$Outer"."name" AS "name", "$Outer"."quantity" AS "quantity", "$Outer"."price_unit" AS "price_unit", "$Outer"."discount" AS "discount", "$Outer"."debit" AS "debit", "$Outer"."credit" AS "credit", "$Outer"."balance" AS "balance", "$Outer"."amount_currency" AS "amount_currency", "$Outer"."price_subtotal" AS "price_subtotal", "$Outer"."price_total" AS "price_total", "$Outer"."reconciled" AS "reconciled", "$Outer"."blocked" AS "blocked", "$Outer"."date_maturity" AS "date_maturity", "$Outer"."currency_id" AS "currency_id", "$Outer"."partner_id" AS "partner_id", "$Outer"."product_uom_id" AS "product_uom_id", "$Outer"."product_id" AS "product_id", "$Outer"."reconcile_model_id" AS "reconcile_model_id", "$Outer"."payment_id" AS "payment_id", "$Outer"."statement_line_id" AS "statement_line_id", "$Outer"."statement_id" AS "statement_id", "$Outer"."tax_line_id" AS "tax_line_id", "$Outer"."tax_group_id" AS "tax_group_id", "$Outer"."tax_base_amount" AS "tax_base_amount", "$Outer"."tax_exigible" AS "tax_exigible", "$Outer"."tax_repartition_line_id" AS "tax_repartition_line_id", "$Outer"."tax_audit" AS "tax_audit", "$Outer"."amount_residual" AS "amount_residual", "$Outer"."amount_residual_currency" AS "amount_residual_currency", "$Outer"."full_reconcile_id" AS "full_reconcile_id", "$Outer"."matching_number" AS "matching_number", "$Outer"."analytic_account_id" AS "analytic_account_id", "$Outer"."display_type" AS "display_type", "$Outer"."is_rounding_line" AS "is_rounding_line", "$Outer"."exclude_from_invoice_tab" AS "exclude_from_invoice_tab", "$Outer"."create_uid" AS "create_uid", "$Outer"."create_date" AS "create_date", "$Outer"."write_uid" AS "write_uid", "$Outer"."write_date" AS "write_date", "$Outer"."expected_pay_date" AS "expected_pay_date", "$Outer"."internal_note" AS "internal_note", "$Outer"."next_action_date" AS "next_action_date", "$Outer"."followup_line_id" AS "followup_line_id", "$Outer"."followup_date" AS "followup_date", "$Outer"."is_anglo_saxon_line" AS "is_anglo_saxon_line", "$Outer"."purchase_line_id" AS "purchase_line_id", "$Outer"."branch_id" AS "branch_id", "$Outer"."branch_name" AS "branch_name", "$Outer"."vehicle_id" AS "vehicle_id", "$Outer"."move_options" AS "move_options", "$Outer"."sign_product_qty" AS "sign_product_qty", "$Outer"."sign_price_subtotal" AS "sign_price_subtotal", "$Outer"."new_product_qty" AS "new_product_qty", "$Outer"."sale_line_id" AS "sale_line_id", "$Outer"."child_sale_line_id" AS "child_sale_line_id", "$Outer"."main_invoice_line_id" AS "main_invoice_line_id", "$Outer"."core_bank_transaction" AS "core_bank_transaction", "$Outer"."is_rtv_line" AS "is_rtv_line", "$Outer"."core_qty" AS "core_qty", "$Outer"."rebate_amount" AS "rebate_amount", "$Outer"."cost_price" AS "cost_price", "$Outer"."is_visible_in_report" AS "is_visible_in_report", "$Outer"."is_labour" AS "is_labour", "$Outer"."can_be_paid" AS "can_be_paid", "$Outer"."bal_core_bank_id" AS "bal_core_bank_id", "$Outer"."repair_line_id" AS "repair_line_id", "$Outer"."inv_back_order_qty" AS "inv_back_order_qty", "$Outer"."sale_back_order_qty" AS "sale_back_order_qty", "$Outer"."product_pricelist_item_id" AS "product_pricelist_item_id", "$Outer"."is_discount" AS "is_discount", "$Outer"."is_sale_tax" AS "is_sale_tax", "$Outer"."auto_reconcile" AS "auto_reconcile", "$Outer"."is_writeoff" AS "is_writeoff", "$Outer"."is_extra_line" AS "is_extra_line", "$Outer"."is_carry_forward" AS "is_carry_forward", "$Inner"."user_type_id" AS "public account_account.user_type_id" from "public"."account_move_line" "$Outer" left outer join ( select "_"."id" AS "id2", "_"."name" AS "name2", "_"."currency_id" AS "currency_id2", "_"."code" AS "code", "_"."deprecated" AS "deprecated", "_"."user_type_id" AS "user_type_id", "_"."internal_type" AS "internal_type", "_"."internal_group" AS "internal_group", "_"."reconcile" AS "reconcile", "_"."note" AS "note", "_"."company_id" AS "company_id2", "_"."group_id" AS "group_id", "_"."root_id" AS "root_id", "_"."is_off_balance" AS "is_off_balance", "_"."create_uid" AS "create_uid2", "_"."create_date" AS "create_date2", "_"."write_uid" AS "write_uid2", "_"."write_date" AS "write_date2", "_"."asset_model" AS "asset_model", "_"."create_asset" AS "create_asset", "_"."multiple_assets_per_line" AS "multiple_assets_per_line" from "public"."account_account" "_") "$Inner" on ("$Outer"."account_id" = "$Inner"."id2");Times Reported Time consuming queries #1
Day Hour Count Duration Avg duration Apr 02 19 1 1h24m16s 1h24m16s -
select "$Outer"."id" as "id", "$Outer"."move_id" as "move_id", "$Outer"."move_name" as "move_name", "$Outer"."date" as "date", "$Outer"."ref" as "ref", "$Outer"."parent_state" as "parent_state", "$Outer"."journal_id" as "journal_id", "$Outer"."company_id" as "company_id", "$Outer"."company_currency_id" as "company_currency_id", "$Outer"."account_id" as "account_id", "$Outer"."account_root_id" as "account_root_id", "$Outer"."sequence" as "sequence", "$Outer"."name" as "name", "$Outer"."quantity" as "quantity", "$Outer"."price_unit" as "price_unit", "$Outer"."discount" as "discount", "$Outer"."debit" as "debit", "$Outer"."credit" as "credit", "$Outer"."balance" as "balance", "$Outer"."amount_currency" as "amount_currency", "$Outer"."price_subtotal" as "price_subtotal", "$Outer"."price_total" as "price_total", "$Outer"."reconciled" as "reconciled", "$Outer"."blocked" as "blocked", "$Outer"."date_maturity" as "date_maturity", "$Outer"."currency_id" as "currency_id", "$Outer"."partner_id" as "partner_id", "$Outer"."product_uom_id" as "product_uom_id", "$Outer"."product_id" as "product_id", "$Outer"."reconcile_model_id" as "reconcile_model_id", "$Outer"."payment_id" as "payment_id", "$Outer"."statement_line_id" as "statement_line_id", "$Outer"."statement_id" as "statement_id", "$Outer"."tax_line_id" as "tax_line_id", "$Outer"."tax_group_id" as "tax_group_id", "$Outer"."tax_base_amount" as "tax_base_amount", "$Outer"."tax_exigible" as "tax_exigible", "$Outer"."tax_repartition_line_id" as "tax_repartition_line_id", "$Outer"."tax_audit" as "tax_audit", "$Outer"."amount_residual" as "amount_residual", "$Outer"."amount_residual_currency" as "amount_residual_currency", "$Outer"."full_reconcile_id" as "full_reconcile_id", "$Outer"."matching_number" as "matching_number", "$Outer"."analytic_account_id" as "analytic_account_id", "$Outer"."display_type" as "display_type", "$Outer"."is_rounding_line" as "is_rounding_line", "$Outer"."exclude_from_invoice_tab" as "exclude_from_invoice_tab", "$Outer"."create_uid" as "create_uid", "$Outer"."create_date" as "create_date", "$Outer"."write_uid" as "write_uid", "$Outer"."write_date" as "write_date", "$Outer"."expected_pay_date" as "expected_pay_date", "$Outer"."internal_note" as "internal_note", "$Outer"."next_action_date" as "next_action_date", "$Outer"."followup_line_id" as "followup_line_id", "$Outer"."followup_date" as "followup_date", "$Outer"."is_anglo_saxon_line" as "is_anglo_saxon_line", "$Outer"."purchase_line_id" as "purchase_line_id", "$Outer"."branch_id" as "branch_id", "$Outer"."branch_name" as "branch_name", "$Outer"."vehicle_id" as "vehicle_id", "$Outer"."move_options" as "move_options", "$Outer"."sign_product_qty" as "sign_product_qty", "$Outer"."sign_price_subtotal" as "sign_price_subtotal", "$Outer"."new_product_qty" as "new_product_qty", "$Outer"."sale_line_id" as "sale_line_id", "$Outer"."child_sale_line_id" as "child_sale_line_id", "$Outer"."main_invoice_line_id" as "main_invoice_line_id", "$Outer"."core_bank_transaction" as "core_bank_transaction", "$Outer"."is_rtv_line" as "is_rtv_line", "$Outer"."core_qty" as "core_qty", "$Outer"."rebate_amount" as "rebate_amount", "$Outer"."cost_price" as "cost_price", "$Outer"."is_visible_in_report" as "is_visible_in_report", "$Outer"."is_labour" as "is_labour", "$Outer"."can_be_paid" as "can_be_paid", "$Outer"."bal_core_bank_id" as "bal_core_bank_id", "$Outer"."repair_line_id" as "repair_line_id", "$Outer"."inv_back_order_qty" as "inv_back_order_qty", "$Outer"."sale_back_order_qty" as "sale_back_order_qty", "$Outer"."product_pricelist_item_id" as "product_pricelist_item_id", "$Outer"."is_discount" as "is_discount", "$Outer"."is_sale_tax" as "is_sale_tax", "$Outer"."auto_reconcile" as "auto_reconcile", "$Outer"."is_writeoff" as "is_writeoff", "$Outer"."is_extra_line" as "is_extra_line", "$Outer"."is_carry_forward" as "is_carry_forward", "$Inner"."user_type_id" as "public account_account.user_type_id" from "public"."account_move_line" "$Outer" left outer join ( select "_"."id" as "id2", "_"."name" as "name2", "_"."currency_id" as "currency_id2", "_"."code" as "code", "_"."deprecated" as "deprecated", "_"."user_type_id" as "user_type_id", "_"."internal_type" as "internal_type", "_"."internal_group" as "internal_group", "_"."reconcile" as "reconcile", "_"."note" as "note", "_"."company_id" as "company_id2", "_"."group_id" as "group_id", "_"."root_id" as "root_id", "_"."is_off_balance" as "is_off_balance", "_"."create_uid" as "create_uid2", "_"."create_date" as "create_date2", "_"."write_uid" as "write_uid2", "_"."write_date" as "write_date2", "_"."asset_model" as "asset_model", "_"."create_asset" as "create_asset", "_"."multiple_assets_per_line" as "multiple_assets_per_line" from "public"."account_account" "_") "$Inner" on ("$Outer"."account_id" = "$Inner"."id2");
Date: 2024-04-02 19:53:29 Duration: 1h24m16s Bind query: yes
2 1h20m27s 1h20m27s 1h20m27s 1 1h20m27s select "$Table"."id" AS "id", "$Table"."move_id" AS "move_id", "$Table"."move_name" AS "move_name", "$Table"."date" AS "date", "$Table"."ref" AS "ref", "$Table"."parent_state" AS "parent_state", "$Table"."journal_id" AS "journal_id", "$Table"."company_id" AS "company_id", "$Table"."company_currency_id" AS "company_currency_id", "$Table"."account_id" AS "account_id", "$Table"."account_root_id" AS "account_root_id", "$Table"."sequence" AS "sequence", "$Table"."name" AS "name", "$Table"."quantity" AS "quantity", "$Table"."price_unit" AS "price_unit", "$Table"."discount" AS "discount", "$Table"."debit" AS "debit", "$Table"."credit" AS "credit", "$Table"."balance" AS "balance", "$Table"."amount_currency" AS "amount_currency", "$Table"."price_subtotal" AS "price_subtotal", "$Table"."price_total" AS "price_total", "$Table"."reconciled" AS "reconciled", "$Table"."blocked" AS "blocked", "$Table"."date_maturity" AS "date_maturity", "$Table"."currency_id" AS "currency_id", "$Table"."partner_id" AS "partner_id", "$Table"."product_uom_id" AS "product_uom_id", "$Table"."product_id" AS "product_id", "$Table"."reconcile_model_id" AS "reconcile_model_id", "$Table"."payment_id" AS "payment_id", "$Table"."statement_line_id" AS "statement_line_id", "$Table"."statement_id" AS "statement_id", "$Table"."tax_line_id" AS "tax_line_id", "$Table"."tax_group_id" AS "tax_group_id", "$Table"."tax_base_amount" AS "tax_base_amount", "$Table"."tax_exigible" AS "tax_exigible", "$Table"."tax_repartition_line_id" AS "tax_repartition_line_id", "$Table"."tax_audit" AS "tax_audit", "$Table"."amount_residual" AS "amount_residual", "$Table"."amount_residual_currency" AS "amount_residual_currency", "$Table"."full_reconcile_id" AS "full_reconcile_id", "$Table"."matching_number" AS "matching_number", "$Table"."analytic_account_id" AS "analytic_account_id", "$Table"."display_type" AS "display_type", "$Table"."is_rounding_line" AS "is_rounding_line", "$Table"."exclude_from_invoice_tab" AS "exclude_from_invoice_tab", "$Table"."create_uid" AS "create_uid", "$Table"."create_date" AS "create_date", "$Table"."write_uid" AS "write_uid", "$Table"."write_date" AS "write_date", "$Table"."expected_pay_date" AS "expected_pay_date", "$Table"."internal_note" AS "internal_note", "$Table"."next_action_date" AS "next_action_date", "$Table"."followup_line_id" AS "followup_line_id", "$Table"."followup_date" AS "followup_date", "$Table"."is_anglo_saxon_line" AS "is_anglo_saxon_line", "$Table"."purchase_line_id" AS "purchase_line_id", "$Table"."branch_id" AS "branch_id", "$Table"."branch_name" AS "branch_name", "$Table"."vehicle_id" AS "vehicle_id", "$Table"."move_options" AS "move_options", "$Table"."sign_product_qty" AS "sign_product_qty", "$Table"."sign_price_subtotal" AS "sign_price_subtotal", "$Table"."new_product_qty" AS "new_product_qty", "$Table"."sale_line_id" AS "sale_line_id", "$Table"."child_sale_line_id" AS "child_sale_line_id", "$Table"."main_invoice_line_id" AS "main_invoice_line_id", "$Table"."core_bank_transaction" AS "core_bank_transaction", "$Table"."is_rtv_line" AS "is_rtv_line", "$Table"."core_qty" AS "core_qty", "$Table"."rebate_amount" AS "rebate_amount", "$Table"."cost_price" AS "cost_price", "$Table"."is_visible_in_report" AS "is_visible_in_report", "$Table"."is_labour" AS "is_labour", "$Table"."can_be_paid" AS "can_be_paid", "$Table"."bal_core_bank_id" AS "bal_core_bank_id", "$Table"."repair_line_id" AS "repair_line_id", "$Table"."inv_back_order_qty" AS "inv_back_order_qty", "$Table"."sale_back_order_qty" AS "sale_back_order_qty", "$Table"."product_pricelist_item_id" AS "product_pricelist_item_id", "$Table"."is_discount" AS "is_discount", "$Table"."is_sale_tax" AS "is_sale_tax", "$Table"."auto_reconcile" AS "auto_reconcile", "$Table"."is_writeoff" AS "is_writeoff", "$Table"."is_extra_line" AS "is_extra_line", "$Table"."is_carry_forward" AS "is_carry_forward" from "public"."account_move_line" "$Table";Times Reported Time consuming queries #2
Day Hour Count Duration Avg duration Apr 02 21 1 1h20m27s 1h20m27s -
select "$Table"."id" as "id", "$Table"."move_id" as "move_id", "$Table"."move_name" as "move_name", "$Table"."date" as "date", "$Table"."ref" as "ref", "$Table"."parent_state" as "parent_state", "$Table"."journal_id" as "journal_id", "$Table"."company_id" as "company_id", "$Table"."company_currency_id" as "company_currency_id", "$Table"."account_id" as "account_id", "$Table"."account_root_id" as "account_root_id", "$Table"."sequence" as "sequence", "$Table"."name" as "name", "$Table"."quantity" as "quantity", "$Table"."price_unit" as "price_unit", "$Table"."discount" as "discount", "$Table"."debit" as "debit", "$Table"."credit" as "credit", "$Table"."balance" as "balance", "$Table"."amount_currency" as "amount_currency", "$Table"."price_subtotal" as "price_subtotal", "$Table"."price_total" as "price_total", "$Table"."reconciled" as "reconciled", "$Table"."blocked" as "blocked", "$Table"."date_maturity" as "date_maturity", "$Table"."currency_id" as "currency_id", "$Table"."partner_id" as "partner_id", "$Table"."product_uom_id" as "product_uom_id", "$Table"."product_id" as "product_id", "$Table"."reconcile_model_id" as "reconcile_model_id", "$Table"."payment_id" as "payment_id", "$Table"."statement_line_id" as "statement_line_id", "$Table"."statement_id" as "statement_id", "$Table"."tax_line_id" as "tax_line_id", "$Table"."tax_group_id" as "tax_group_id", "$Table"."tax_base_amount" as "tax_base_amount", "$Table"."tax_exigible" as "tax_exigible", "$Table"."tax_repartition_line_id" as "tax_repartition_line_id", "$Table"."tax_audit" as "tax_audit", "$Table"."amount_residual" as "amount_residual", "$Table"."amount_residual_currency" as "amount_residual_currency", "$Table"."full_reconcile_id" as "full_reconcile_id", "$Table"."matching_number" as "matching_number", "$Table"."analytic_account_id" as "analytic_account_id", "$Table"."display_type" as "display_type", "$Table"."is_rounding_line" as "is_rounding_line", "$Table"."exclude_from_invoice_tab" as "exclude_from_invoice_tab", "$Table"."create_uid" as "create_uid", "$Table"."create_date" as "create_date", "$Table"."write_uid" as "write_uid", "$Table"."write_date" as "write_date", "$Table"."expected_pay_date" as "expected_pay_date", "$Table"."internal_note" as "internal_note", "$Table"."next_action_date" as "next_action_date", "$Table"."followup_line_id" as "followup_line_id", "$Table"."followup_date" as "followup_date", "$Table"."is_anglo_saxon_line" as "is_anglo_saxon_line", "$Table"."purchase_line_id" as "purchase_line_id", "$Table"."branch_id" as "branch_id", "$Table"."branch_name" as "branch_name", "$Table"."vehicle_id" as "vehicle_id", "$Table"."move_options" as "move_options", "$Table"."sign_product_qty" as "sign_product_qty", "$Table"."sign_price_subtotal" as "sign_price_subtotal", "$Table"."new_product_qty" as "new_product_qty", "$Table"."sale_line_id" as "sale_line_id", "$Table"."child_sale_line_id" as "child_sale_line_id", "$Table"."main_invoice_line_id" as "main_invoice_line_id", "$Table"."core_bank_transaction" as "core_bank_transaction", "$Table"."is_rtv_line" as "is_rtv_line", "$Table"."core_qty" as "core_qty", "$Table"."rebate_amount" as "rebate_amount", "$Table"."cost_price" as "cost_price", "$Table"."is_visible_in_report" as "is_visible_in_report", "$Table"."is_labour" as "is_labour", "$Table"."can_be_paid" as "can_be_paid", "$Table"."bal_core_bank_id" as "bal_core_bank_id", "$Table"."repair_line_id" as "repair_line_id", "$Table"."inv_back_order_qty" as "inv_back_order_qty", "$Table"."sale_back_order_qty" as "sale_back_order_qty", "$Table"."product_pricelist_item_id" as "product_pricelist_item_id", "$Table"."is_discount" as "is_discount", "$Table"."is_sale_tax" as "is_sale_tax", "$Table"."auto_reconcile" as "auto_reconcile", "$Table"."is_writeoff" as "is_writeoff", "$Table"."is_extra_line" as "is_extra_line", "$Table"."is_carry_forward" as "is_carry_forward" from "public"."account_move_line" "$Table";
Date: 2024-04-02 21:38:18 Duration: 1h20m27s Bind query: yes
3 35m59s 35m59s 35m59s 1 35m59s select "$Table"."id" AS "id", "$Table"."access_token" AS "access_token", "$Table"."message_main_attachment_id" AS "message_main_attachment_id", "$Table"."name" AS "name", "$Table"."date" AS "date", "$Table"."ref" AS "ref", "$Table"."narration" AS "narration", "$Table"."state" AS "state", "$Table"."posted_before" AS "posted_before", "$Table"."move_type" AS "move_type", "$Table"."to_check" AS "to_check", "$Table"."journal_id" AS "journal_id", "$Table"."company_id" AS "company_id", "$Table"."currency_id" AS "currency_id", "$Table"."partner_id" AS "partner_id", "$Table"."commercial_partner_id" AS "commercial_partner_id", "$Table"."is_move_sent" AS "is_move_sent", "$Table"."partner_bank_id" AS "partner_bank_id", "$Table"."payment_reference" AS "payment_reference", "$Table"."payment_id" AS "payment_id", "$Table"."statement_line_id" AS "statement_line_id", "$Table"."amount_untaxed" AS "amount_untaxed", "$Table"."amount_tax" AS "amount_tax", "$Table"."amount_total" AS "amount_total", "$Table"."amount_residual" AS "amount_residual", "$Table"."amount_untaxed_signed" AS "amount_untaxed_signed", "$Table"."amount_tax_signed" AS "amount_tax_signed", "$Table"."amount_total_signed" AS "amount_total_signed", "$Table"."amount_residual_signed" AS "amount_residual_signed", "$Table"."payment_state" AS "payment_state", "$Table"."tax_cash_basis_rec_id" AS "tax_cash_basis_rec_id", "$Table"."tax_cash_basis_move_id" AS "tax_cash_basis_move_id", "$Table"."auto_post" AS "auto_post", "$Table"."reversed_entry_id" AS "reversed_entry_id", "$Table"."fiscal_position_id" AS "fiscal_position_id", "$Table"."invoice_user_id" AS "invoice_user_id", "$Table"."invoice_date" AS "invoice_date", "$Table"."invoice_date_due" AS "invoice_date_due", "$Table"."invoice_origin" AS "invoice_origin", "$Table"."invoice_payment_term_id" AS "invoice_payment_term_id", "$Table"."invoice_incoterm_id" AS "invoice_incoterm_id", "$Table"."qr_code_method" AS "qr_code_method", "$Table"."invoice_source_email" AS "invoice_source_email", "$Table"."invoice_partner_display_name" AS "invoice_partner_display_name", "$Table"."invoice_cash_rounding_id" AS "invoice_cash_rounding_id", "$Table"."secure_sequence_number" AS "secure_sequence_number", "$Table"."inalterable_hash" AS "inalterable_hash", "$Table"."sequence_prefix" AS "sequence_prefix", "$Table"."sequence_number" AS "sequence_number", "$Table"."create_uid" AS "create_uid", "$Table"."create_date" AS "create_date", "$Table"."write_uid" AS "write_uid", "$Table"."write_date" AS "write_date", "$Table"."payment_state_before_switch" AS "payment_state_before_switch", "$Table"."duplicated_vendor_ref" AS "duplicated_vendor_ref", "$Table"."extract_state" AS "extract_state", "$Table"."extract_status_code" AS "extract_status_code", "$Table"."extract_remote_id" AS "extract_remote_id", "$Table"."transfer_model_id" AS "transfer_model_id", "$Table"."tax_closing_end_date" AS "tax_closing_end_date", "$Table"."tax_report_control_error" AS "tax_report_control_error", "$Table"."asset_id" AS "asset_id", "$Table"."asset_remaining_value" AS "asset_remaining_value", "$Table"."asset_depreciated_value" AS "asset_depreciated_value", "$Table"."asset_manually_modified" AS "asset_manually_modified", "$Table"."asset_value_change" AS "asset_value_change", "$Table"."campaign_id" AS "campaign_id", "$Table"."source_id" AS "source_id", "$Table"."medium_id" AS "medium_id", "$Table"."team_id" AS "team_id", "$Table"."partner_shipping_id" AS "partner_shipping_id", "$Table"."stock_move_id" AS "stock_move_id", "$Table"."preferred_payment_method_id" AS "preferred_payment_method_id", "$Table"."website_id" AS "website_id", "$Table"."branch_id" AS "branch_id", "$Table"."branch_name" AS "branch_name", "$Table"."invoice_action" AS "invoice_action", "$Table"."sign_amount_total" AS "sign_amount_total", "$Table"."sign_amount_residual" AS "sign_amount_residual", "$Table"."sign_amount_untaxed" AS "sign_amount_untaxed", "$Table"."invoice_part_id" AS "invoice_part_id", "$Table"."invoice_product_qty" AS "invoice_product_qty", "$Table"."balance_entry" AS "balance_entry", "$Table"."to_check_negative" AS "to_check_negative", "$Table"."non_inventory_entry" AS "non_inventory_entry", "$Table"."direct_order" AS "direct_order", "$Table"."warranty_invoice" AS "warranty_invoice", "$Table"."email_send_eod" AS "email_send_eod", "$Table"."email_sent" AS "email_sent", "$Table"."order_type" AS "order_type", "$Table"."carrier_id" AS "carrier_id", "$Table"."release_to_pay" AS "release_to_pay", "$Table"."release_to_pay_manual" AS "release_to_pay_manual", "$Table"."force_release_to_pay" AS "force_release_to_pay", "$Table"."invoice_origin_new" AS "invoice_origin_new", "$Table"."debit_origin_id" AS "debit_origin_id", "$Table"."paid_by_vc" AS "paid_by_vc", "$Table"."payment_details" AS "payment_details", "$Table"."expense_choice" AS "expense_choice", "$Table"."edi_810_id" AS "edi_810_id", "$Table"."cash_tendered" AS "cash_tendered", "$Table"."change_amount" AS "change_amount", "$Table"."sequence_generated" AS "sequence_generated", "$Table"."open_invoice" AS "open_invoice", "$Table"."edi_split_lock" AS "edi_split_lock", "$Table"."edi_billed" AS "edi_billed", "$Table"."is_edi_bill" AS "is_edi_bill", "$Table"."payment_details_compute" AS "payment_details_compute", "$Table"."edi_done_date" AS "edi_done_date", "$Table"."partner_address_type" AS "partner_address_type", "$Table"."from_ar" AS "from_ar", "$Table"."auto_reconcile" AS "auto_reconcile", "$Table"."related_payment_id" AS "related_payment_id", "$Table"."discount_amount_applied" AS "discount_amount_applied" from "public"."account_move" "$Table";Times Reported Time consuming queries #3
Day Hour Count Duration Avg duration Apr 02 20 1 35m59s 35m59s -
select "$Table"."id" as "id", "$Table"."access_token" as "access_token", "$Table"."message_main_attachment_id" as "message_main_attachment_id", "$Table"."name" as "name", "$Table"."date" as "date", "$Table"."ref" as "ref", "$Table"."narration" as "narration", "$Table"."state" as "state", "$Table"."posted_before" as "posted_before", "$Table"."move_type" as "move_type", "$Table"."to_check" as "to_check", "$Table"."journal_id" as "journal_id", "$Table"."company_id" as "company_id", "$Table"."currency_id" as "currency_id", "$Table"."partner_id" as "partner_id", "$Table"."commercial_partner_id" as "commercial_partner_id", "$Table"."is_move_sent" as "is_move_sent", "$Table"."partner_bank_id" as "partner_bank_id", "$Table"."payment_reference" as "payment_reference", "$Table"."payment_id" as "payment_id", "$Table"."statement_line_id" as "statement_line_id", "$Table"."amount_untaxed" as "amount_untaxed", "$Table"."amount_tax" as "amount_tax", "$Table"."amount_total" as "amount_total", "$Table"."amount_residual" as "amount_residual", "$Table"."amount_untaxed_signed" as "amount_untaxed_signed", "$Table"."amount_tax_signed" as "amount_tax_signed", "$Table"."amount_total_signed" as "amount_total_signed", "$Table"."amount_residual_signed" as "amount_residual_signed", "$Table"."payment_state" as "payment_state", "$Table"."tax_cash_basis_rec_id" as "tax_cash_basis_rec_id", "$Table"."tax_cash_basis_move_id" as "tax_cash_basis_move_id", "$Table"."auto_post" as "auto_post", "$Table"."reversed_entry_id" as "reversed_entry_id", "$Table"."fiscal_position_id" as "fiscal_position_id", "$Table"."invoice_user_id" as "invoice_user_id", "$Table"."invoice_date" as "invoice_date", "$Table"."invoice_date_due" as "invoice_date_due", "$Table"."invoice_origin" as "invoice_origin", "$Table"."invoice_payment_term_id" as "invoice_payment_term_id", "$Table"."invoice_incoterm_id" as "invoice_incoterm_id", "$Table"."qr_code_method" as "qr_code_method", "$Table"."invoice_source_email" as "invoice_source_email", "$Table"."invoice_partner_display_name" as "invoice_partner_display_name", "$Table"."invoice_cash_rounding_id" as "invoice_cash_rounding_id", "$Table"."secure_sequence_number" as "secure_sequence_number", "$Table"."inalterable_hash" as "inalterable_hash", "$Table"."sequence_prefix" as "sequence_prefix", "$Table"."sequence_number" as "sequence_number", "$Table"."create_uid" as "create_uid", "$Table"."create_date" as "create_date", "$Table"."write_uid" as "write_uid", "$Table"."write_date" as "write_date", "$Table"."payment_state_before_switch" as "payment_state_before_switch", "$Table"."duplicated_vendor_ref" as "duplicated_vendor_ref", "$Table"."extract_state" as "extract_state", "$Table"."extract_status_code" as "extract_status_code", "$Table"."extract_remote_id" as "extract_remote_id", "$Table"."transfer_model_id" as "transfer_model_id", "$Table"."tax_closing_end_date" as "tax_closing_end_date", "$Table"."tax_report_control_error" as "tax_report_control_error", "$Table"."asset_id" as "asset_id", "$Table"."asset_remaining_value" as "asset_remaining_value", "$Table"."asset_depreciated_value" as "asset_depreciated_value", "$Table"."asset_manually_modified" as "asset_manually_modified", "$Table"."asset_value_change" as "asset_value_change", "$Table"."campaign_id" as "campaign_id", "$Table"."source_id" as "source_id", "$Table"."medium_id" as "medium_id", "$Table"."team_id" as "team_id", "$Table"."partner_shipping_id" as "partner_shipping_id", "$Table"."stock_move_id" as "stock_move_id", "$Table"."preferred_payment_method_id" as "preferred_payment_method_id", "$Table"."website_id" as "website_id", "$Table"."branch_id" as "branch_id", "$Table"."branch_name" as "branch_name", "$Table"."invoice_action" as "invoice_action", "$Table"."sign_amount_total" as "sign_amount_total", "$Table"."sign_amount_residual" as "sign_amount_residual", "$Table"."sign_amount_untaxed" as "sign_amount_untaxed", "$Table"."invoice_part_id" as "invoice_part_id", "$Table"."invoice_product_qty" as "invoice_product_qty", "$Table"."balance_entry" as "balance_entry", "$Table"."to_check_negative" as "to_check_negative", "$Table"."non_inventory_entry" as "non_inventory_entry", "$Table"."direct_order" as "direct_order", "$Table"."warranty_invoice" as "warranty_invoice", "$Table"."email_send_eod" as "email_send_eod", "$Table"."email_sent" as "email_sent", "$Table"."order_type" as "order_type", "$Table"."carrier_id" as "carrier_id", "$Table"."release_to_pay" as "release_to_pay", "$Table"."release_to_pay_manual" as "release_to_pay_manual", "$Table"."force_release_to_pay" as "force_release_to_pay", "$Table"."invoice_origin_new" as "invoice_origin_new", "$Table"."debit_origin_id" as "debit_origin_id", "$Table"."paid_by_vc" as "paid_by_vc", "$Table"."payment_details" as "payment_details", "$Table"."expense_choice" as "expense_choice", "$Table"."edi_810_id" as "edi_810_id", "$Table"."cash_tendered" as "cash_tendered", "$Table"."change_amount" as "change_amount", "$Table"."sequence_generated" as "sequence_generated", "$Table"."open_invoice" as "open_invoice", "$Table"."edi_split_lock" as "edi_split_lock", "$Table"."edi_billed" as "edi_billed", "$Table"."is_edi_bill" as "is_edi_bill", "$Table"."payment_details_compute" as "payment_details_compute", "$Table"."edi_done_date" as "edi_done_date", "$Table"."partner_address_type" as "partner_address_type", "$Table"."from_ar" as "from_ar", "$Table"."auto_reconcile" as "auto_reconcile", "$Table"."related_payment_id" as "related_payment_id", "$Table"."discount_amount_applied" as "discount_amount_applied" from "public"."account_move" "$Table";
Date: 2024-04-02 20:17:35 Duration: 35m59s Bind query: yes
4 19m22s 19m22s 19m22s 1 19m22s select "$Table"."id" AS "id", "$Table"."date" AS "date", "$Table"."min_product_uom_qty" AS "min_product_uom_qty", "$Table"."max_product_uom_qty" AS "max_product_uom_qty", "$Table"."item_supply_plan_id" AS "item_supply_plan_id", "$Table"."po_qty" AS "po_qty", "$Table"."item_demand_plan_id" AS "item_demand_plan_id", "$Table"."product_id" AS "product_id", "$Table"."selling_branch" AS "selling_branch", "$Table"."product_uom_qty" AS "product_uom_qty", "$Table"."invoice_date" AS "invoice_date", "$Table"."warehouse_id" AS "warehouse_id", "$Table"."method" AS "method", "$Table"."inventory_vendor_id" AS "inventory_vendor_id", "$Table"."create_uid" AS "create_uid", "$Table"."create_date" AS "create_date", "$Table"."write_uid" AS "write_uid", "$Table"."write_date" AS "write_date", "$Table"."active" AS "active", "$Table"."min_product_len_1" AS "min_product_len_1", "$Table"."min_product_len_2" AS "min_product_len_2", "$Table"."min_baseline_size" AS "min_baseline_size", "$Table"."seasonal_period" AS "seasonal_period", "$Table"."default_code" AS "default_code", "$Table"."ext_cost" AS "ext_cost", "$Table"."qty_available" AS "qty_available", "$Table"."qty_reserve" AS "qty_reserve", "$Table"."qty_on_order" AS "qty_on_order", "$Table"."qty_on_perm_order" AS "qty_on_perm_order", "$Table"."qty_mtd_sold" AS "qty_mtd_sold", "$Table"."lead_days" AS "lead_days", "$Table"."mon_1_qty" AS "mon_1_qty", "$Table"."mon_2_qty" AS "mon_2_qty", "$Table"."mon_3_qty" AS "mon_3_qty", "$Table"."mon_4_qty" AS "mon_4_qty", "$Table"."mon_5_qty" AS "mon_5_qty", "$Table"."mon_6_qty" AS "mon_6_qty", "$Table"."mon_7_qty" AS "mon_7_qty", "$Table"."mon_8_qty" AS "mon_8_qty", "$Table"."mon_9_qty" AS "mon_9_qty", "$Table"."mon_10_qty" AS "mon_10_qty", "$Table"."mon_11_qty" AS "mon_11_qty", "$Table"."mon_12_qty" AS "mon_12_qty", "$Table"."seasonal" AS "seasonal", "$Table"."stocking_flag" AS "stocking_flag", "$Table"."freeze_date" AS "freeze_date", "$Table"."warehouse_min_product_uom_qty" AS "warehouse_min_product_uom_qty", "$Table"."is_forcast" AS "is_forcast", "$Table"."modify_qty" AS "modify_qty", "$Table"."req_po_qty" AS "req_po_qty", "$Table"."supercede_product_id" AS "supercede_product_id", "$Table"."superceded" AS "superceded", "$Table"."final_branch_id" AS "final_branch_id", "$Table"."po_id" AS "po_id", "$Table"."unit_ext_cost" AS "unit_ext_cost", "$Table"."is_freeze" AS "is_freeze", "$Table"."qty_in_transist" AS "qty_in_transist", "$Table"."campaign_id" AS "campaign_id", "$Table"."source_id" AS "source_id", "$Table"."medium_id" AS "medium_id", "$Table"."message_main_attachment_id" AS "message_main_attachment_id", "$Table"."access_token" AS "access_token", "$Table"."is_new_stock_product" AS "is_new_stock_product", "$Table"."ref_id" AS "ref_id", "$Table"."ref" AS "ref", "$Table"."product_name" AS "product_name", "$Table"."is_stock_flag_product" AS "is_stock_flag_product", "$Table"."class_code_id" AS "class_code_id", "$Table"."sft_stk_qty" AS "sft_stk_qty", "$Table"."need_qty_with_sft_stk" AS "need_qty_with_sft_stk" from "public"."forecasted_data" "$Table";Times Reported Time consuming queries #4
Day Hour Count Duration Avg duration Apr 02 23 1 19m22s 19m22s -
select "$Table"."id" as "id", "$Table"."date" as "date", "$Table"."min_product_uom_qty" as "min_product_uom_qty", "$Table"."max_product_uom_qty" as "max_product_uom_qty", "$Table"."item_supply_plan_id" as "item_supply_plan_id", "$Table"."po_qty" as "po_qty", "$Table"."item_demand_plan_id" as "item_demand_plan_id", "$Table"."product_id" as "product_id", "$Table"."selling_branch" as "selling_branch", "$Table"."product_uom_qty" as "product_uom_qty", "$Table"."invoice_date" as "invoice_date", "$Table"."warehouse_id" as "warehouse_id", "$Table"."method" as "method", "$Table"."inventory_vendor_id" as "inventory_vendor_id", "$Table"."create_uid" as "create_uid", "$Table"."create_date" as "create_date", "$Table"."write_uid" as "write_uid", "$Table"."write_date" as "write_date", "$Table"."active" as "active", "$Table"."min_product_len_1" as "min_product_len_1", "$Table"."min_product_len_2" as "min_product_len_2", "$Table"."min_baseline_size" as "min_baseline_size", "$Table"."seasonal_period" as "seasonal_period", "$Table"."default_code" as "default_code", "$Table"."ext_cost" as "ext_cost", "$Table"."qty_available" as "qty_available", "$Table"."qty_reserve" as "qty_reserve", "$Table"."qty_on_order" as "qty_on_order", "$Table"."qty_on_perm_order" as "qty_on_perm_order", "$Table"."qty_mtd_sold" as "qty_mtd_sold", "$Table"."lead_days" as "lead_days", "$Table"."mon_1_qty" as "mon_1_qty", "$Table"."mon_2_qty" as "mon_2_qty", "$Table"."mon_3_qty" as "mon_3_qty", "$Table"."mon_4_qty" as "mon_4_qty", "$Table"."mon_5_qty" as "mon_5_qty", "$Table"."mon_6_qty" as "mon_6_qty", "$Table"."mon_7_qty" as "mon_7_qty", "$Table"."mon_8_qty" as "mon_8_qty", "$Table"."mon_9_qty" as "mon_9_qty", "$Table"."mon_10_qty" as "mon_10_qty", "$Table"."mon_11_qty" as "mon_11_qty", "$Table"."mon_12_qty" as "mon_12_qty", "$Table"."seasonal" as "seasonal", "$Table"."stocking_flag" as "stocking_flag", "$Table"."freeze_date" as "freeze_date", "$Table"."warehouse_min_product_uom_qty" as "warehouse_min_product_uom_qty", "$Table"."is_forcast" as "is_forcast", "$Table"."modify_qty" as "modify_qty", "$Table"."req_po_qty" as "req_po_qty", "$Table"."supercede_product_id" as "supercede_product_id", "$Table"."superceded" as "superceded", "$Table"."final_branch_id" as "final_branch_id", "$Table"."po_id" as "po_id", "$Table"."unit_ext_cost" as "unit_ext_cost", "$Table"."is_freeze" as "is_freeze", "$Table"."qty_in_transist" as "qty_in_transist", "$Table"."campaign_id" as "campaign_id", "$Table"."source_id" as "source_id", "$Table"."medium_id" as "medium_id", "$Table"."message_main_attachment_id" as "message_main_attachment_id", "$Table"."access_token" as "access_token", "$Table"."is_new_stock_product" as "is_new_stock_product", "$Table"."ref_id" as "ref_id", "$Table"."ref" as "ref", "$Table"."product_name" as "product_name", "$Table"."is_stock_flag_product" as "is_stock_flag_product", "$Table"."class_code_id" as "class_code_id", "$Table"."sft_stk_qty" as "sft_stk_qty", "$Table"."need_qty_with_sft_stk" as "need_qty_with_sft_stk" from "public"."forecasted_data" "$Table";
Date: 2024-04-02 23:55:30 Duration: 19m22s Bind query: yes
5 19m12s 19m12s 19m12s 1 19m12s select "$Table"."id" AS "id", "$Table"."channel" AS "channel", "$Table"."message" AS "message", "$Table"."create_uid" AS "create_uid", "$Table"."create_date" AS "create_date", "$Table"."write_uid" AS "write_uid", "$Table"."write_date" AS "write_date" from "public"."bus_bus" "$Table";Times Reported Time consuming queries #5
Day Hour Count Duration Avg duration Apr 02 23 1 19m12s 19m12s -
select "$Table"."id" as "id", "$Table"."channel" as "channel", "$Table"."message" as "message", "$Table"."create_uid" as "create_uid", "$Table"."create_date" as "create_date", "$Table"."write_uid" as "write_uid", "$Table"."write_date" as "write_date" from "public"."bus_bus" "$Table";
Date: 2024-04-02 23:05:18 Duration: 19m12s Bind query: yes
6 18m14s 18m14s 18m14s 1 18m14s select "$Table"."id" AS "id", "$Table"."code" AS "code", "$Table"."name" AS "name", "$Table"."internal_group" AS "internal_group", "$Table"."date" AS "date", "$Table"."price_subtotal" AS "price_subtotal", "$Table"."branch_name" AS "branch_name" from "public"."abc" "$Table";Times Reported Time consuming queries #6
Day Hour Count Duration Avg duration Apr 02 19 1 18m14s 18m14s -
select "$Table"."id" as "id", "$Table"."code" as "code", "$Table"."name" as "name", "$Table"."internal_group" as "internal_group", "$Table"."date" as "date", "$Table"."price_subtotal" as "price_subtotal", "$Table"."branch_name" as "branch_name" from "public"."abc" "$Table";
Date: 2024-04-02 19:21:05 Duration: 18m14s Bind query: yes
7 17m4s 17m4s 17m4s 1 17m4s select "$Table"."id" AS "id", "$Table"."code" AS "code", "$Table"."name" AS "name", "$Table"."internal_group" AS "internal_group", "$Table"."date" AS "date", "$Table"."price_subtotal" AS "price_subtotal", "$Table"."branch_name" AS "branch_name" from "public"."a_view_name" "$Table";Times Reported Time consuming queries #7
Day Hour Count Duration Avg duration Apr 02 19 1 17m4s 17m4s -
select "$Table"."id" as "id", "$Table"."code" as "code", "$Table"."name" as "name", "$Table"."internal_group" as "internal_group", "$Table"."date" as "date", "$Table"."price_subtotal" as "price_subtotal", "$Table"."branch_name" as "branch_name" from "public"."a_view_name" "$Table";
Date: 2024-04-02 19:02:47 Duration: 17m4s Bind query: yes
8 16m26s 16m26s 16m26s 1 16m26s select "$Table"."id" AS "id", "$Table"."code" AS "code", "$Table"."name" AS "name", "$Table"."internal_group" AS "internal_group", "$Table"."date" AS "date", "$Table"."price_subtotal" AS "price_subtotal", "$Table"."branch_name" AS "branch_name" from "public"."a_view" "$Table";Times Reported Time consuming queries #8
Day Hour Count Duration Avg duration Apr 02 18 1 16m26s 16m26s -
select "$Table"."id" as "id", "$Table"."code" as "code", "$Table"."name" as "name", "$Table"."internal_group" as "internal_group", "$Table"."date" as "date", "$Table"."price_subtotal" as "price_subtotal", "$Table"."branch_name" as "branch_name" from "public"."a_view" "$Table";
Date: 2024-04-02 18:45:37 Duration: 16m26s Bind query: yes
9 16m4s 16m4s 16m4s 1 16m4s select "$Table"."id" AS "id", "$Table"."code" AS "code", "$Table"."name" AS "name", "$Table"."internal_group" AS "internal_group", "$Table"."date" AS "date", "$Table"."price_subtotal" AS "price_subtotal", "$Table"."branch_name" AS "branch_name" from "public"."acc_view" "$Table";Times Reported Time consuming queries #9
Day Hour Count Duration Avg duration Apr 02 19 1 16m4s 16m4s -
select "$Table"."id" as "id", "$Table"."code" as "code", "$Table"."name" as "name", "$Table"."internal_group" as "internal_group", "$Table"."date" as "date", "$Table"."price_subtotal" as "price_subtotal", "$Table"."branch_name" as "branch_name" from "public"."acc_view" "$Table";
Date: 2024-04-02 19:37:13 Duration: 16m4s Bind query: yes
10 14m39s 14m39s 14m39s 1 14m39s select "$Table"."id" AS "id", "$Table"."company_id" AS "company_id", "$Table"."vehicle_id" AS "vehicle_id", "$Table"."name" AS "name", "$Table"."driver_id" AS "driver_id", "$Table"."fuel_type" AS "fuel_type", "$Table"."date_start" AS "date_start", "$Table"."cost" AS "cost", "$Table"."cost_type" AS "cost_type" from "public"."fleet_vehicle_cost_report" "$Table";Times Reported Time consuming queries #10
Day Hour Count Duration Avg duration Apr 02 23 1 14m39s 14m39s -
select "$Table"."id" as "id", "$Table"."company_id" as "company_id", "$Table"."vehicle_id" as "vehicle_id", "$Table"."name" as "name", "$Table"."driver_id" as "driver_id", "$Table"."fuel_type" as "fuel_type", "$Table"."date_start" as "date_start", "$Table"."cost" as "cost", "$Table"."cost_type" as "cost_type" from "public"."fleet_vehicle_cost_report" "$Table";
Date: 2024-04-02 23:35:40 Duration: 14m39s Bind query: yes
11 11m32s 11m32s 11m32s 1 11m32s select "$Table"."id" AS "id", "$Table"."code" AS "code", "$Table"."name" AS "name", "$Table"."internal_group" AS "internal_group", "$Table"."date" AS "date", "$Table"."price_subtotal" AS "price_subtotal", "$Table"."branch_name" AS "branch_name" from "public"."account_view" "$Table";Times Reported Time consuming queries #11
Day Hour Count Duration Avg duration Apr 02 21 1 11m32s 11m32s -
select "$Table"."id" as "id", "$Table"."code" as "code", "$Table"."name" as "name", "$Table"."internal_group" as "internal_group", "$Table"."date" as "date", "$Table"."price_subtotal" as "price_subtotal", "$Table"."branch_name" as "branch_name" from "public"."account_view" "$Table";
Date: 2024-04-02 21:57:59 Duration: 11m32s Bind query: yes
12 10m58s 10m58s 10m58s 1 10m58s select "$Table"."id" AS "id", "$Table"."code" AS "code", "$Table"."name" AS "name", "$Table"."internal_group" AS "internal_group", "$Table"."date" AS "date", "$Table"."price_subtotal" AS "price_subtotal", "$Table"."branch_name" AS "branch_name" from "public"."accview" "$Table";Times Reported Time consuming queries #12
Day Hour Count Duration Avg duration Apr 02 22 1 10m58s 10m58s -
select "$Table"."id" as "id", "$Table"."code" as "code", "$Table"."name" as "name", "$Table"."internal_group" as "internal_group", "$Table"."date" as "date", "$Table"."price_subtotal" as "price_subtotal", "$Table"."branch_name" as "branch_name" from "public"."accview" "$Table";
Date: 2024-04-02 22:19:45 Duration: 10m58s Bind query: yes
13 10m43s 10m43s 10m43s 1 10m43s select "$Table"."id" AS "id", "$Table"."code" AS "code", "$Table"."name" AS "name", "$Table"."internal_group" AS "internal_group", "$Table"."date" AS "date", "$Table"."price_subtotal" AS "price_subtotal", "$Table"."branch_name" AS "branch_name" from "public"."am_view" "$Table";Times Reported Time consuming queries #13
Day Hour Count Duration Avg duration Apr 02 22 1 10m43s 10m43s -
select "$Table"."id" as "id", "$Table"."code" as "code", "$Table"."name" as "name", "$Table"."internal_group" as "internal_group", "$Table"."date" as "date", "$Table"."price_subtotal" as "price_subtotal", "$Table"."branch_name" as "branch_name" from "public"."am_view" "$Table";
Date: 2024-04-02 22:30:44 Duration: 10m43s Bind query: yes
14 35s514ms 38s591ms 36s471ms 26 15m48s select partner.id as partner_id, ful.id as followup_level, case when partner.balance <= ? then ? when in_need_of_action_aml.id is not null and (prop_date.value_datetime is null or prop_date.value_datetime::date <= ?::date) then ? when exceeded_unreconciled_aml.id is not null then ? else ? end as followup_status from ( select partner.id, max(current_followup_level.delay) as followup_delay, sum(aml.balance) as balance from res_partner partner join account_move_line aml on aml.partner_id = partner.id join account_account account on account.id = aml.account_id join account_move move on move.id = aml.move_id left join lateral ( select coalesce(next_ful.id, ful.id) as id, coalesce(next_ful.delay, ful.delay) as delay from account_move_line line left outer join account_followup_followup_line ful on ful.id = aml.followup_line_id left outer join account_followup_followup_line next_ful on next_ful.id = ( select next_ful.id from account_followup_followup_line next_ful where next_ful.delay > coalesce(ful.delay, ?) and coalesce(aml.date_maturity, aml.date) + next_ful.delay <= ?::date and next_ful.company_id = ? order by next_ful.delay asc limit ?) where line.id = aml.id and aml.partner_id = partner.id and aml.balance > ?) current_followup_level on true where account.deprecated is not true and account.internal_type = ? and move.state = ? and aml.reconciled is not true and aml.blocked is false and aml.company_id = ? group by partner.id) partner left join account_followup_followup_line ful on ful.delay = partner.followup_delay and ful.company_id = ? left outer join lateral ( select line.id from account_move_line line join account_account account on line.account_id = account.id join account_move move on line.move_id = move.id left join account_followup_followup_line ful on ful.id = line.followup_line_id where line.partner_id = partner.id and account.internal_type = ? and account.deprecated is not true and move.state = ? and line.reconciled is not true and line.balance > ? and line.blocked is false and line.company_id = ? and coalesce(ful.delay, ?) < partner.followup_delay and coalesce(line.date_maturity, line.date) + coalesce(ful.delay, ?) <= ?::date limit ?) in_need_of_action_aml on true left outer join lateral ( select line.id from account_move_line line join account_account account on line.account_id = account.id join account_move move on line.move_id = move.id where line.partner_id = partner.id and account.internal_type = ? and account.deprecated is not true and move.state = ? and line.reconciled is not true and line.balance > ? and line.blocked is false and line.company_id = ? and coalesce(line.date_maturity, line.date) <= ?::date limit ?) exceeded_unreconciled_aml on true left outer join ir_property prop_date on prop_date.res_id = concat(?, partner.id) and prop_date.name = ? and prop_date.company_id = ?;Times Reported Time consuming queries #14
Day Hour Count Duration Avg duration Apr 02 14 8 4m51s 36s490ms 15 18 10m56s 36s463ms -
SELECT partner.id as partner_id, ful.id as followup_level, CASE WHEN partner.balance <= 0 THEN 'no_action_needed' WHEN in_need_of_action_aml.id IS NOT NULL AND (prop_date.value_datetime IS NULL OR prop_date.value_datetime::date <= '2024-04-02'::date) THEN 'in_need_of_action' WHEN exceeded_unreconciled_aml.id IS NOT NULL THEN 'with_overdue_invoices' ELSE 'no_action_needed' END as followup_status FROM ( SELECT partner.id, max(current_followup_level.delay) as followup_delay, SUM(aml.balance) as balance FROM res_partner partner JOIN account_move_line aml ON aml.partner_id = partner.id JOIN account_account account ON account.id = aml.account_id JOIN account_move move ON move.id = aml.move_id -- Get the followup level LEFT JOIN LATERAL ( SELECT COALESCE(next_ful.id, ful.id) as id, COALESCE(next_ful.delay, ful.delay) as delay FROM account_move_line line LEFT OUTER JOIN account_followup_followup_line ful ON ful.id = aml.followup_line_id LEFT OUTER JOIN account_followup_followup_line next_ful ON next_ful.id = ( SELECT next_ful.id FROM account_followup_followup_line next_ful WHERE next_ful.delay > COALESCE(ful.delay, - 999) AND COALESCE(aml.date_maturity, aml.date) + next_ful.delay <= '2024-04-02'::date AND next_ful.company_id = 1 ORDER BY next_ful.delay ASC LIMIT 1) WHERE line.id = aml.id AND aml.partner_id = partner.id AND aml.balance > 0) current_followup_level ON true WHERE account.deprecated IS NOT TRUE AND account.internal_type = 'receivable' AND move.state = 'posted' AND aml.reconciled IS NOT TRUE AND aml.blocked IS FALSE AND aml.company_id = 1 GROUP BY partner.id) partner LEFT JOIN account_followup_followup_line ful ON ful.delay = partner.followup_delay AND ful.company_id = 1 -- Get the followup status data LEFT OUTER JOIN LATERAL ( SELECT line.id FROM account_move_line line JOIN account_account account ON line.account_id = account.id JOIN account_move move ON line.move_id = move.id LEFT JOIN account_followup_followup_line ful ON ful.id = line.followup_line_id WHERE line.partner_id = partner.id AND account.internal_type = 'receivable' AND account.deprecated IS NOT TRUE AND move.state = 'posted' AND line.reconciled IS NOT TRUE AND line.balance > 0 AND line.blocked IS FALSE AND line.company_id = 1 AND COALESCE(ful.delay, - 999) < partner.followup_delay AND COALESCE(line.date_maturity, line.date) + COALESCE(ful.delay, - 999) <= '2024-04-02'::date LIMIT 1) in_need_of_action_aml ON true LEFT OUTER JOIN LATERAL ( SELECT line.id FROM account_move_line line JOIN account_account account ON line.account_id = account.id JOIN account_move move ON line.move_id = move.id WHERE line.partner_id = partner.id AND account.internal_type = 'receivable' AND account.deprecated IS NOT TRUE AND move.state = 'posted' AND line.reconciled IS NOT TRUE AND line.balance > 0 AND line.blocked IS FALSE AND line.company_id = 1 AND COALESCE(line.date_maturity, line.date) <= '2024-04-02'::date LIMIT 1) exceeded_unreconciled_aml ON true LEFT OUTER JOIN ir_property prop_date ON prop_date.res_id = CONCAT('res.partner,', partner.id) AND prop_date.name = 'payment_next_action_date' AND prop_date.company_id = 1;
Date: 2024-04-02 15:01:04 Duration: 38s591ms
-
SELECT partner.id as partner_id, ful.id as followup_level, CASE WHEN partner.balance <= 0 THEN 'no_action_needed' WHEN in_need_of_action_aml.id IS NOT NULL AND (prop_date.value_datetime IS NULL OR prop_date.value_datetime::date <= '2024-04-02'::date) THEN 'in_need_of_action' WHEN exceeded_unreconciled_aml.id IS NOT NULL THEN 'with_overdue_invoices' ELSE 'no_action_needed' END as followup_status FROM ( SELECT partner.id, max(current_followup_level.delay) as followup_delay, SUM(aml.balance) as balance FROM res_partner partner JOIN account_move_line aml ON aml.partner_id = partner.id JOIN account_account account ON account.id = aml.account_id JOIN account_move move ON move.id = aml.move_id -- Get the followup level LEFT JOIN LATERAL ( SELECT COALESCE(next_ful.id, ful.id) as id, COALESCE(next_ful.delay, ful.delay) as delay FROM account_move_line line LEFT OUTER JOIN account_followup_followup_line ful ON ful.id = aml.followup_line_id LEFT OUTER JOIN account_followup_followup_line next_ful ON next_ful.id = ( SELECT next_ful.id FROM account_followup_followup_line next_ful WHERE next_ful.delay > COALESCE(ful.delay, - 999) AND COALESCE(aml.date_maturity, aml.date) + next_ful.delay <= '2024-04-02'::date AND next_ful.company_id = 1 ORDER BY next_ful.delay ASC LIMIT 1) WHERE line.id = aml.id AND aml.partner_id = partner.id AND aml.balance > 0) current_followup_level ON true WHERE account.deprecated IS NOT TRUE AND account.internal_type = 'receivable' AND move.state = 'posted' AND aml.reconciled IS NOT TRUE AND aml.blocked IS FALSE AND aml.company_id = 1 GROUP BY partner.id) partner LEFT JOIN account_followup_followup_line ful ON ful.delay = partner.followup_delay AND ful.company_id = 1 -- Get the followup status data LEFT OUTER JOIN LATERAL ( SELECT line.id FROM account_move_line line JOIN account_account account ON line.account_id = account.id JOIN account_move move ON line.move_id = move.id LEFT JOIN account_followup_followup_line ful ON ful.id = line.followup_line_id WHERE line.partner_id = partner.id AND account.internal_type = 'receivable' AND account.deprecated IS NOT TRUE AND move.state = 'posted' AND line.reconciled IS NOT TRUE AND line.balance > 0 AND line.blocked IS FALSE AND line.company_id = 1 AND COALESCE(ful.delay, - 999) < partner.followup_delay AND COALESCE(line.date_maturity, line.date) + COALESCE(ful.delay, - 999) <= '2024-04-02'::date LIMIT 1) in_need_of_action_aml ON true LEFT OUTER JOIN LATERAL ( SELECT line.id FROM account_move_line line JOIN account_account account ON line.account_id = account.id JOIN account_move move ON line.move_id = move.id WHERE line.partner_id = partner.id AND account.internal_type = 'receivable' AND account.deprecated IS NOT TRUE AND move.state = 'posted' AND line.reconciled IS NOT TRUE AND line.balance > 0 AND line.blocked IS FALSE AND line.company_id = 1 AND COALESCE(line.date_maturity, line.date) <= '2024-04-02'::date LIMIT 1) exceeded_unreconciled_aml ON true LEFT OUTER JOIN ir_property prop_date ON prop_date.res_id = CONCAT('res.partner,', partner.id) AND prop_date.name = 'payment_next_action_date' AND prop_date.company_id = 1;
Date: 2024-04-02 15:00:21 Duration: 37s758ms
-
SELECT partner.id as partner_id, ful.id as followup_level, CASE WHEN partner.balance <= 0 THEN 'no_action_needed' WHEN in_need_of_action_aml.id IS NOT NULL AND (prop_date.value_datetime IS NULL OR prop_date.value_datetime::date <= '2024-04-02'::date) THEN 'in_need_of_action' WHEN exceeded_unreconciled_aml.id IS NOT NULL THEN 'with_overdue_invoices' ELSE 'no_action_needed' END as followup_status FROM ( SELECT partner.id, max(current_followup_level.delay) as followup_delay, SUM(aml.balance) as balance FROM res_partner partner JOIN account_move_line aml ON aml.partner_id = partner.id JOIN account_account account ON account.id = aml.account_id JOIN account_move move ON move.id = aml.move_id -- Get the followup level LEFT JOIN LATERAL ( SELECT COALESCE(next_ful.id, ful.id) as id, COALESCE(next_ful.delay, ful.delay) as delay FROM account_move_line line LEFT OUTER JOIN account_followup_followup_line ful ON ful.id = aml.followup_line_id LEFT OUTER JOIN account_followup_followup_line next_ful ON next_ful.id = ( SELECT next_ful.id FROM account_followup_followup_line next_ful WHERE next_ful.delay > COALESCE(ful.delay, - 999) AND COALESCE(aml.date_maturity, aml.date) + next_ful.delay <= '2024-04-02'::date AND next_ful.company_id = 1 ORDER BY next_ful.delay ASC LIMIT 1) WHERE line.id = aml.id AND aml.partner_id = partner.id AND aml.balance > 0) current_followup_level ON true WHERE account.deprecated IS NOT TRUE AND account.internal_type = 'receivable' AND move.state = 'posted' AND aml.reconciled IS NOT TRUE AND aml.blocked IS FALSE AND aml.company_id = 1 GROUP BY partner.id) partner LEFT JOIN account_followup_followup_line ful ON ful.delay = partner.followup_delay AND ful.company_id = 1 -- Get the followup status data LEFT OUTER JOIN LATERAL ( SELECT line.id FROM account_move_line line JOIN account_account account ON line.account_id = account.id JOIN account_move move ON line.move_id = move.id LEFT JOIN account_followup_followup_line ful ON ful.id = line.followup_line_id WHERE line.partner_id = partner.id AND account.internal_type = 'receivable' AND account.deprecated IS NOT TRUE AND move.state = 'posted' AND line.reconciled IS NOT TRUE AND line.balance > 0 AND line.blocked IS FALSE AND line.company_id = 1 AND COALESCE(ful.delay, - 999) < partner.followup_delay AND COALESCE(line.date_maturity, line.date) + COALESCE(ful.delay, - 999) <= '2024-04-02'::date LIMIT 1) in_need_of_action_aml ON true LEFT OUTER JOIN LATERAL ( SELECT line.id FROM account_move_line line JOIN account_account account ON line.account_id = account.id JOIN account_move move ON line.move_id = move.id WHERE line.partner_id = partner.id AND account.internal_type = 'receivable' AND account.deprecated IS NOT TRUE AND move.state = 'posted' AND line.reconciled IS NOT TRUE AND line.balance > 0 AND line.blocked IS FALSE AND line.company_id = 1 AND COALESCE(line.date_maturity, line.date) <= '2024-04-02'::date LIMIT 1) exceeded_unreconciled_aml ON true LEFT OUTER JOIN ir_property prop_date ON prop_date.res_id = CONCAT('res.partner,', partner.id) AND prop_date.name = 'payment_next_action_date' AND prop_date.company_id = 1;
Date: 2024-04-02 14:36:23 Duration: 37s298ms
15 799ms 2s355ms 876ms 961 14m2s 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 #15
Day Hour Count Duration Avg duration Apr 02 02 6 4s880ms 813ms 03 1 820ms 820ms 10 1 830ms 830ms 11 43 36s749ms 854ms 12 144 2m7s 883ms 13 92 1m23s 912ms 14 119 1m43s 873ms 15 98 1m25s 872ms 16 65 57s203ms 880ms 17 92 1m21s 882ms 18 101 1m28s 875ms 19 161 2m19s 867ms 20 38 31s904ms 839ms -
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 ('%dc23600060%')) 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 ('%dc23600060%'))) 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 ('%dc23600060%')) OR FALSE) OR (unaccent ("product_template"."condensed_internal_ref"::text) ilike unaccent ('%dc23600060%')))))) 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: 2024-04-02 16:19:39 Duration: 2s355ms
-
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 ('%300r558-30%')) 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 ('%300r558-30%'))) 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 ('%300r558-30%')) OR FALSE) OR (unaccent ("product_template"."condensed_internal_ref"::text) ilike unaccent ('%300r558-30%')))))) 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: 2024-04-02 17:32:41 Duration: 2s352ms
-
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 ('%1369-10d%')) 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 ('%1369-10d%'))) 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 ('%1369-10d%')) OR FALSE) OR (unaccent ("product_template"."condensed_internal_ref"::text) ilike unaccent ('%1369-10d%')))))) 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: 2024-04-02 19:27:11 Duration: 1s959ms
16 622ms 2s492ms 709ms 3,748 44m18s 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 #16
Day Hour Count Duration Avg duration Apr 02 02 12 7s751ms 645ms 03 36 23s492ms 652ms 11 282 3m16s 697ms 12 629 7m37s 727ms 13 415 4m50s 700ms 14 493 5m49s 709ms 15 351 4m11s 716ms 16 374 4m19s 692ms 17 314 3m41s 706ms 18 178 2m5s 706ms 19 442 5m24s 735ms 20 204 2m17s 676ms 21 18 11s739ms 652ms -
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 ('%%500434%%')) OR (unaccent ("product_product"."default_code"::text) ilike unaccent ('%500434%'))) OR unaccent (COALESCE("product_product__product_tmpl_id__name"."value", "product_product__product_tmpl_id"."name")) ilike unaccent ('%500434%'))) 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: 2024-04-02 19:27:10 Duration: 2s492ms
-
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 ('%%169137%%')) OR (unaccent ("product_product"."default_code"::text) ilike unaccent ('%169137%'))) OR unaccent (COALESCE("product_product__product_tmpl_id__name"."value", "product_product__product_tmpl_id"."name")) ilike unaccent ('%169137%'))) 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: 2024-04-02 12:59:01 Duration: 2s364ms
-
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 ('%%5004341%%')) OR (unaccent ("product_product"."default_code"::text) ilike unaccent ('%5004341%'))) OR unaccent (COALESCE("product_product__product_tmpl_id__name"."value", "product_product__product_tmpl_id"."name")) ilike unaccent ('%5004341%'))) 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: 2024-04-02 19:27:10 Duration: 2s299ms
17 630ms 2s222ms 703ms 1,303 15m16s 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 #17
Day Hour Count Duration Avg duration Apr 02 11 132 1m30s 688ms 12 72 53s556ms 743ms 13 80 56s720ms 709ms 14 144 1m41s 701ms 15 235 2m44s 698ms 16 69 50s117ms 726ms 17 356 4m10s 704ms 18 136 1m34s 698ms 19 51 34s330ms 673ms 20 28 20s45ms 715ms -
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 ('%%2436psb%%')) OR (unaccent ("product_product"."default_code"::text) ilike unaccent ('%2436psb%'))) OR unaccent (COALESCE("product_product__product_tmpl_id__name"."value", "product_product__product_tmpl_id"."name")) ilike unaccent ('%2436psb%'))) 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: 2024-04-02 16:19:39 Duration: 2s222ms
-
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 ('%%5365%%')) OR (unaccent ("product_product"."default_code"::text) ilike unaccent ('%5365%'))) OR unaccent (COALESCE("product_product__product_tmpl_id__name"."value", "product_product__product_tmpl_id"."name")) ilike unaccent ('%5365%'))) 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: 2024-04-02 15:25:03 Duration: 2s1ms
-
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 ('%%m4702qv23%%')) OR (unaccent ("product_product"."default_code"::text) ilike unaccent ('%m4702qv23%'))) OR unaccent (COALESCE("product_product__product_tmpl_id__name"."value", "product_product__product_tmpl_id"."name")) ilike unaccent ('%m4702qv23%'))) 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: 2024-04-02 13:00:43 Duration: 1s592ms
18 146ms 3s690ms 599ms 797 7m57s update "stock_quant" set "quantity" = ?.?, "reserved_quantity" = ?.?, "write_uid" = ?, "write_date" = (now() at time zone ?) where id in (...);Times Reported Time consuming queries #18
Day Hour Count Duration Avg duration Apr 02 02 2 1s257ms 628ms 03 6 3s763ms 627ms 09 10 4s870ms 487ms 11 29 15s855ms 546ms 12 186 1m52s 603ms 13 162 1m37s 599ms 14 73 44s524ms 609ms 15 43 23s406ms 544ms 16 66 40s668ms 616ms 17 63 34s655ms 550ms 18 70 48s64ms 686ms 19 64 40s439ms 631ms 20 18 8s177ms 454ms 21 5 2s553ms 510ms -
UPDATE "stock_quant" SET "quantity" = 0.0, "reserved_quantity" = 0.0, "write_uid" = 952, "write_date" = (now() at time zone 'UTC') WHERE id IN (454692, 454699, 457423, 454709, 454710, 454711, 454712, 454713);
Date: 2024-04-02 18:36:46 Duration: 3s690ms
-
UPDATE "stock_quant" SET "quantity" = 1.0, "reserved_quantity" = 0.0, "write_uid" = 1041, "write_date" = (now() at time zone 'UTC') WHERE id IN (336104, 351018, 388173, 143789, 441085, 184223);
Date: 2024-04-02 19:33:19 Duration: 3s479ms
-
UPDATE "stock_quant" SET "quantity" = 0.0, "reserved_quantity" = 0.0, "write_uid" = 1280, "write_date" = (now() at time zone 'UTC') WHERE id IN (459137, 459139, 459141, 459143, 459145, 459133, 459135);
Date: 2024-04-02 18:01:58 Duration: 3s356ms
19 144ms 4s796ms 485ms 852 6m54s update "stock_move" set "state" = ?, "write_uid" = ?, "write_date" = (now() at time zone ?) where id in (...);Times Reported Time consuming queries #19
Day Hour Count Duration Avg duration Apr 02 02 2 300ms 150ms 03 1 758ms 758ms 11 32 14s78ms 439ms 12 112 53s160ms 474ms 13 96 38s63ms 396ms 14 88 52s46ms 591ms 15 72 34s495ms 479ms 16 48 13s230ms 275ms 17 74 38s399ms 518ms 18 135 1m15s 558ms 19 106 54s421ms 513ms 20 68 29s362ms 431ms 21 18 10s363ms 575ms -
UPDATE "stock_move" SET "state" = 'confirmed', "write_uid" = 978, "write_date" = (now() at time zone 'UTC') WHERE id IN (884000, 884001, 884002, 884003, 884004, 884005, 884006, 883994, 883995, 883998);
Date: 2024-04-02 15:44:20 Duration: 4s796ms
-
UPDATE "stock_move" SET "state" = 'confirmed', "write_uid" = 996, "write_date" = (now() at time zone 'UTC') WHERE id IN (883152, 883159, 883160, 883161, 883162, 883163);
Date: 2024-04-02 11:38:59 Duration: 4s261ms
-
UPDATE "stock_move" SET "state" = 'confirmed', "write_uid" = 968, "write_date" = (now() at time zone 'UTC') WHERE id IN (883693, 883694, 883695, 883696, 883697, 883698, 883699, 883704);
Date: 2024-04-02 14:13:54 Duration: 4s89ms
20 364ms 1s314ms 397ms 2,430 16m6s select "ir_attachment".id from "ir_attachment" where (("ir_attachment"."res_field" is null and (unaccent ("ir_attachment"."url"::text) like unaccent (?))) and (not ((unaccent ("ir_attachment"."url"::text) like unaccent (?))))) order by "ir_attachment"."id" desc;Times Reported Time consuming queries #20
Day Hour Count Duration Avg duration Apr 02 00 3 1s136ms 378ms 01 3 1s132ms 377ms 02 9 3s412ms 379ms 03 9 3s369ms 374ms 05 2 732ms 366ms 08 5 1s924ms 384ms 09 3 1s133ms 377ms 10 35 13s248ms 378ms 11 181 1m12s 401ms 12 290 1m55s 397ms 13 447 2m58s 399ms 14 275 1m49s 396ms 15 238 1m35s 402ms 16 117 46s263ms 395ms 17 248 1m38s 398ms 18 225 1m29s 398ms 19 209 1m23s 400ms 20 94 36s355ms 386ms 21 22 8s203ms 372ms 22 15 5s522ms 368ms -
SELECT "ir_attachment".id FROM "ir_attachment" WHERE (("ir_attachment"."res_field" IS NULL AND (unaccent ("ir_attachment"."url"::text) like unaccent ('/web/content/%-%/web.assets_common.js'))) AND (NOT ((unaccent ("ir_attachment"."url"::text) like unaccent ('/web/content/%-fb6cd24/%%%'))))) ORDER BY "ir_attachment"."id" DESC;
Date: 2024-04-02 19:52:17 Duration: 1s314ms
-
SELECT "ir_attachment".id FROM "ir_attachment" WHERE (("ir_attachment"."res_field" IS NULL AND (unaccent ("ir_attachment"."url"::text) like unaccent ('/web/content/%-%/web.assets_common.js'))) AND (NOT ((unaccent ("ir_attachment"."url"::text) like unaccent ('/web/content/%-7eb3f27/%%%'))))) ORDER BY "ir_attachment"."id" DESC;
Date: 2024-04-02 13:46:22 Duration: 1s119ms
-
SELECT "ir_attachment".id FROM "ir_attachment" WHERE (("ir_attachment"."res_field" IS NULL AND (unaccent ("ir_attachment"."url"::text) like unaccent ('/web/content/%-%/web.assets_common.js'))) AND (NOT ((unaccent ("ir_attachment"."url"::text) like unaccent ('/web/content/%-fb6cd24/%%%'))))) ORDER BY "ir_attachment"."id" DESC;
Date: 2024-04-02 13:09:16 Duration: 1s47ms
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
- 73,330 Log entries
Events distribution
Key values
- 0 PANIC entries
- 10 FATAL entries
- 1240 ERROR entries
- 1 WARNING entries
Most Frequent Errors/Events
Key values
- 814 Max number of times the same event was reported
- 1,251 Total events found
Rank Times reported Error 1 814 ERROR: could not obtain lock on row in relation "..."
Times Reported Most Frequent Error / Event #1
Day Hour Count Apr 02 00 35 01 50 02 46 03 21 04 26 05 23 06 23 07 87 08 76 09 23 10 50 11 30 12 26 13 28 14 28 15 23 16 23 17 28 18 27 19 23 20 26 21 24 22 23 23 45 - ERROR: could not obtain lock on row in relation "ir_cron"
- ERROR: could not obtain lock on row in relation "website_visitor"
- ERROR: could not obtain lock on row in relation "res_partner"
Statement: SELECT * FROM ir_cron WHERE numbercall != 0 AND active AND nextcall <= (now() at time zone 'UTC') AND id=67 FOR UPDATE NOWAIT
Date: 2024-04-02 05:50:06
Statement: SELECT * FROM website_visitor where id = 13801661 FOR NO KEY UPDATE NOWAIT
Date: 2024-04-02 11:56:19
Statement: SELECT "customer_rank" FROM res_partner WHERE ID IN (51854) FOR UPDATE NOWAIT; UPDATE res_partner SET "customer_rank" = "customer_rank" + 1 WHERE id IN (51854)
Date: 2024-04-02 13:57:11
2 345 ERROR: could not serialize access due to concurrent update
Times Reported Most Frequent Error / Event #2
Day Hour Count Apr 02 02 1 06 1 08 1 10 7 11 37 12 62 13 70 14 29 15 22 16 38 17 16 18 22 19 24 20 12 22 2 23 1 - ERROR: could not serialize access due to concurrent update
Statement: UPDATE "bus_presence" SET "last_poll"='2024-04-02 06:47:57',"last_presence"='2024-04-02 06:47:56.748217' WHERE id IN (1)
Date: 2024-04-02 06:47:57
3 40 LOG: process ... still waiting for ShareLock on transaction ... after ... ms
Times Reported Most Frequent Error / Event #3
Day Hour Count Apr 02 11 2 12 11 13 13 14 2 15 4 16 2 17 1 18 2 19 3 - ERROR: process 1842154 still waiting for ShareLock on transaction 250826758 after 1000.033 ms
- ERROR: process 1651330 still waiting for ShareLock on transaction 250827542 after 1000.059 ms
- ERROR: process 1837739 still waiting for ShareLock on transaction 250831457 after 1000.046 ms
Detail: Process holding the lock: 1662305. Wait queue: 1842154.
Context: while updating tuple (14619,44) 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 != 1319714 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 != 1319714 ORDER BY id DESC LIMIT 1) ORDER BY sequence_number DESC LIMIT 1 ) RETURNING name;Date: 2024-04-02 11:57:56
Detail: Process holding the lock: 1873170. Wait queue: 1651330.
Context: while updating tuple (15143,8) 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 != 1174543 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 != 1174543 ORDER BY id DESC LIMIT 1) ORDER BY sequence_number DESC LIMIT 1 ) RETURNING name;Date: 2024-04-02 12:00:51
Detail: Process holding the lock: 1865770. Wait queue: 1837739.
Context: while updating tuple (14682,27) 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 != 1319791 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 != 1319791 ORDER BY id DESC LIMIT 1) ORDER BY sequence_number DESC LIMIT 1 ) RETURNING name;Date: 2024-04-02 12:18:23
4 16 ERROR: null value in column "..." of relation "..." violates not-null constraint
Times Reported Most Frequent Error / Event #4
Day Hour Count Apr 02 11 13 13 2 18 1 - ERROR: null value in column "categ_id" of relation "product_template" violates not-null constraint
- ERROR: null value in column "name" of relation "repair_line" violates not-null constraint
Detail: Failing row contains (265569, null, lgm-vn09, 1, null, null, null, product, null, 1.00, null, null, t, t, 1, 1, null, t, null, null, null, null, 1282, 2024-04-02 13:17:53.944789, 1282, 2024-04-02 13:17:53.944789, manual, no-message, null, no, delivery, 0, none, null, null, null, receive, no-message, null, null, no, 0, null, null, null, null, null, null, null, null, f, null, 1, 1, null, 467165, never, 0, , 38, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, 2024-04-02, null, E, 1, null, null, f, f, no, null, 1, null, null, null, null, null, null, null, null, null, none, null, null, null, f, f, null, null, null, f, rfq, null, null, null, null).
Statement: INSERT INTO "product_template" ("id", "create_uid", "create_date", "write_uid", "write_date", "active", "allow_journal", "available_threshold", "branch_id", "categ_id", "core_qty", "custom_message", "expense_policy", "first_active_date", "global_class_code", "inventory_availability", "invoice_policy", "is_core", "is_direct_order_product", "is_mo_product", "is_published", "is_transmission", "linked_with_existing_core", "list_price", "name", "produce_delay", "purchase_line_warn", "purchase_method", "purchase_ok", "purchase_requisition", "sale_delay", "sale_line_warn", "sale_ok", "sequence", "service_form_type", "service_tracking", "service_type", "standard_carton_quanity", "tracking", "type", "uom_id", "uom_po_id", "website_sequence", "website_size_x", "website_size_y") VALUES (nextval('product_template_id_seq'), 1282, (now() at time zone 'UTC'), 1282, (now() at time zone 'UTC'), true, false, 0.0, 38, NULL, 1, '', 'no', '2024-04-02', 'E', 'never', 'delivery', false, false, false, false, false, 'no', '1.00', 'lgm-vn09', 0.0, 'no-message', 'receive', true, 'rfq', 0.0, 'no-message', true, 1, 'none', 'no', 'manual', 1, 'none', 'product', 1, 1, 467165, 1, 1) RETURNING idDate: 2024-04-02 13:17:54
Detail: Failing row contains (78540, null, 11797, 1, add, null, null, 0.00, null, 1.00, null, null, 453, 15, null, null, draft, 1013, 2024-04-02 11:10:14.783782, 1013, 2024-04-02 11:10:14.783782, new_product, null, line_note, t, 6, null, f, 0.00, null, null, 0.00, null, null, null, null, null, 0, null, 0, null, no, f, f, 0.00, null, null, null, f, null, null, null, null, null, null, null).
Statement: INSERT INTO "repair_line" ("id", "create_uid", "create_date", "write_uid", "write_date", "company_id", "core_qty", "display_type", "invoice_status", "is_call_for_price_prod", "is_delivery", "is_visible_in_report", "location_dest_id", "location_id", "lot_id", "manual_price_changed", "move_options", "name", "open_qty_fil", "price_unit", "product_id", "product_pricelist_item_id", "product_uom", "product_uom_qty", "qty_delivered", "qty_delivered_manual", "rebate_amount", "repair_id", "ro_line_id", "sequence", "state", "technician_id", "tick", "type") VALUES (nextval('repair_line_id_seq'), 1013, (now() at time zone 'UTC'), 1013, (now() at time zone 'UTC'), 1, 0.0, 'line_note', 'no', false, false, true, 15, 453, NULL, false, 'new_product', NULL, 0.0, '0.00', NULL, NULL, NULL, '1.00', '0.00', '0.00', '0.00', 11797, NULL, 6, 'draft', NULL, false, 'add') RETURNING idDate: 2024-04-02 11:10:14
5 10 FATAL: connection to client lost
Times Reported Most Frequent Error / Event #5
Day Hour Count Apr 02 05 1 06 2 09 1 11 1 14 2 17 3 - FATAL: connection to client lost
Statement: select "$Outer"."id" as "id", "$Outer"."move_id" as "move_id", "$Outer"."move_name" as "move_name", "$Outer"."date" as "date", "$Outer"."ref" as "ref", "$Outer"."parent_state" as "parent_state", "$Outer"."journal_id" as "journal_id", "$Outer"."company_id" as "company_id", "$Outer"."company_currency_id" as "company_currency_id", "$Outer"."account_id" as "account_id", "$Outer"."account_root_id" as "account_root_id", "$Outer"."sequence" as "sequence", "$Outer"."name" as "name", "$Outer"."quantity" as "quantity", "$Outer"."price_unit" as "price_unit", "$Outer"."discount" as "discount", "$Outer"."debit" as "debit", "$Outer"."credit" as "credit", "$Outer"."balance" as "balance", "$Outer"."amount_currency" as "amount_currency", "$Outer"."price_subtotal" as "price_subtotal", "$Outer"."price_total" as "price_total", "$Outer"."reconciled" as "reconciled", "$Outer"."blocked" as "blocked", "$Outer"."date_maturity" as "date_maturity", "$Outer"."currency_id" as "currency_id", "$Outer"."partner_id" as "partner_id", "$Outer"."product_uom_id" as "product_uom_id", "$Outer"."product_id" as "product_id", "$Outer"."reconcile_model_id" as "reconcile_model_id", "$Outer"."payment_id" as "payment_id", "$Outer"."statement_line_id" as "statement_line_id", "$Outer"."statement_id" as "statement_id", "$Outer"."tax_line_id" as "tax_line_id", "$Outer"."tax_group_id" as "tax_group_id", "$Outer"."tax_base_amount" as "tax_base_amount", "$Outer"."tax_exigible" as "tax_exigible", "$Outer"."tax_repartition_line_id" as "tax_repartition_line_id", "$Outer"."tax_audit" as "tax_audit", "$Outer"."amount_residual" as "amount_residual", "$Outer"."amount_residual_currency" as "amount_residual_currency", "$Outer"."full_reconcile_id" as "full_reconcile_id", "$Outer"."matching_number" as "matching_number", "$Outer"."analytic_account_id" as "analytic_account_id", "$Outer"."display_type" as "display_type", "$Outer"."is_rounding_line" as "is_rounding_line", "$Outer"."exclude_from_invoice_tab" as "exclude_from_invoice_tab", "$Outer"."create_uid" as "create_uid", "$Outer"."create_date" as "create_date", "$Outer"."write_uid" as "write_uid", "$Outer"."write_date" as "write_date", "$Outer"."expected_pay_date" as "expected_pay_date", "$Outer"."internal_note" as "internal_note", "$Outer"."next_action_date" as "next_action_date", "$Outer"."followup_line_id" as "followup_line_id", "$Outer"."followup_date" as "followup_date", "$Outer"."is_anglo_saxon_line" as "is_anglo_saxon_line", "$Outer"."purchase_line_id" as "purchase_line_id", "$Outer"."branch_id" as "branch_id", "$Outer"."branch_name" as "branch_name", "$Outer"."vehicle_id" as "vehicle_id", "$Outer"."move_options" as "move_options", "$Outer"."sign_product_qty" as "sign_product_qty", "$Outer"."sign_price_subtotal" as "sign_price_subtotal", "$Outer"."new_product_qty" as "new_product_qty", "$Outer"."sale_line_id" as "sale_line_id", "$Outer"."child_sale_line_id" as "child_sale_line_id", "$Outer"."main_invoice_line_id" as "main_invoice_line_id", "$Outer"."core_bank_transaction" as "core_bank_transaction", "$Outer"."is_rtv_line" as "is_rtv_line", "$Outer"."core_qty" as "core_qty", "$Outer"."rebate_amount" as "rebate_amount", "$Outer"."cost_price" as "cost_price", "$Outer"."is_visible_in_report" as "is_visible_in_report", "$Outer"."is_labour" as "is_labour", "$Outer"."can_be_paid" as "can_be_paid", "$Outer"."bal_core_bank_id" as "bal_core_bank_id", "$Outer"."repair_line_id" as "repair_line_id", "$Outer"."inv_back_order_qty" as "inv_back_order_qty", "$Outer"."sale_back_order_qty" as "sale_back_order_qty", "$Outer"."product_pricelist_item_id" as "product_pricelist_item_id", "$Outer"."is_discount" as "is_discount", "$Outer"."is_sale_tax" as "is_sale_tax", "$Outer"."auto_reconcile" as "auto_reconcile", "$Outer"."is_writeoff" as "is_writeoff", "$Outer"."is_extra_line" as "is_extra_line", "$Outer"."is_carry_forward" as "is_carry_forward", "$Inner"."user_type_id" as "public account_account.user_type_id" from "public"."account_move_line" "$Outer" left outer join ( select "_"."id" as "id2", "_"."name" as "name2", "_"."currency_id" as "currency_id2", "_"."code" as "code", "_"."deprecated" as "deprecated", "_"."user_type_id" as "user_type_id", "_"."internal_type" as "internal_type", "_"."internal_group" as "internal_group", "_"."reconcile" as "reconcile", "_"."note" as "note", "_"."company_id" as "company_id2", "_"."group_id" as "group_id", "_"."root_id" as "root_id", "_"."is_off_balance" as "is_off_balance", "_"."create_uid" as "create_uid2", "_"."create_date" as "create_date2", "_"."write_uid" as "write_uid2", "_"."write_date" as "write_date2", "_"."asset_model" as "asset_model", "_"."create_asset" as "create_asset", "_"."multiple_assets_per_line" as "multiple_assets_per_line" from "public"."account_account" "_" ) "$Inner" on ("$Outer"."account_id" = "$Inner"."id2")
Date: 2024-04-02 06:15:42
6 9 LOG: could not send data to client: Connection reset by peer
Times Reported Most Frequent Error / Event #6
Day Hour Count Apr 02 05 1 06 2 09 1 14 2 17 3 - ERROR: could not send data to client: Connection reset by peer
Statement: select "$Outer"."id" as "id", "$Outer"."move_id" as "move_id", "$Outer"."move_name" as "move_name", "$Outer"."date" as "date", "$Outer"."ref" as "ref", "$Outer"."parent_state" as "parent_state", "$Outer"."journal_id" as "journal_id", "$Outer"."company_id" as "company_id", "$Outer"."company_currency_id" as "company_currency_id", "$Outer"."account_id" as "account_id", "$Outer"."account_root_id" as "account_root_id", "$Outer"."sequence" as "sequence", "$Outer"."name" as "name", "$Outer"."quantity" as "quantity", "$Outer"."price_unit" as "price_unit", "$Outer"."discount" as "discount", "$Outer"."debit" as "debit", "$Outer"."credit" as "credit", "$Outer"."balance" as "balance", "$Outer"."amount_currency" as "amount_currency", "$Outer"."price_subtotal" as "price_subtotal", "$Outer"."price_total" as "price_total", "$Outer"."reconciled" as "reconciled", "$Outer"."blocked" as "blocked", "$Outer"."date_maturity" as "date_maturity", "$Outer"."currency_id" as "currency_id", "$Outer"."partner_id" as "partner_id", "$Outer"."product_uom_id" as "product_uom_id", "$Outer"."product_id" as "product_id", "$Outer"."reconcile_model_id" as "reconcile_model_id", "$Outer"."payment_id" as "payment_id", "$Outer"."statement_line_id" as "statement_line_id", "$Outer"."statement_id" as "statement_id", "$Outer"."tax_line_id" as "tax_line_id", "$Outer"."tax_group_id" as "tax_group_id", "$Outer"."tax_base_amount" as "tax_base_amount", "$Outer"."tax_exigible" as "tax_exigible", "$Outer"."tax_repartition_line_id" as "tax_repartition_line_id", "$Outer"."tax_audit" as "tax_audit", "$Outer"."amount_residual" as "amount_residual", "$Outer"."amount_residual_currency" as "amount_residual_currency", "$Outer"."full_reconcile_id" as "full_reconcile_id", "$Outer"."matching_number" as "matching_number", "$Outer"."analytic_account_id" as "analytic_account_id", "$Outer"."display_type" as "display_type", "$Outer"."is_rounding_line" as "is_rounding_line", "$Outer"."exclude_from_invoice_tab" as "exclude_from_invoice_tab", "$Outer"."create_uid" as "create_uid", "$Outer"."create_date" as "create_date", "$Outer"."write_uid" as "write_uid", "$Outer"."write_date" as "write_date", "$Outer"."expected_pay_date" as "expected_pay_date", "$Outer"."internal_note" as "internal_note", "$Outer"."next_action_date" as "next_action_date", "$Outer"."followup_line_id" as "followup_line_id", "$Outer"."followup_date" as "followup_date", "$Outer"."is_anglo_saxon_line" as "is_anglo_saxon_line", "$Outer"."purchase_line_id" as "purchase_line_id", "$Outer"."branch_id" as "branch_id", "$Outer"."branch_name" as "branch_name", "$Outer"."vehicle_id" as "vehicle_id", "$Outer"."move_options" as "move_options", "$Outer"."sign_product_qty" as "sign_product_qty", "$Outer"."sign_price_subtotal" as "sign_price_subtotal", "$Outer"."new_product_qty" as "new_product_qty", "$Outer"."sale_line_id" as "sale_line_id", "$Outer"."child_sale_line_id" as "child_sale_line_id", "$Outer"."main_invoice_line_id" as "main_invoice_line_id", "$Outer"."core_bank_transaction" as "core_bank_transaction", "$Outer"."is_rtv_line" as "is_rtv_line", "$Outer"."core_qty" as "core_qty", "$Outer"."rebate_amount" as "rebate_amount", "$Outer"."cost_price" as "cost_price", "$Outer"."is_visible_in_report" as "is_visible_in_report", "$Outer"."is_labour" as "is_labour", "$Outer"."can_be_paid" as "can_be_paid", "$Outer"."bal_core_bank_id" as "bal_core_bank_id", "$Outer"."repair_line_id" as "repair_line_id", "$Outer"."inv_back_order_qty" as "inv_back_order_qty", "$Outer"."sale_back_order_qty" as "sale_back_order_qty", "$Outer"."product_pricelist_item_id" as "product_pricelist_item_id", "$Outer"."is_discount" as "is_discount", "$Outer"."is_sale_tax" as "is_sale_tax", "$Outer"."auto_reconcile" as "auto_reconcile", "$Outer"."is_writeoff" as "is_writeoff", "$Outer"."is_extra_line" as "is_extra_line", "$Outer"."is_carry_forward" as "is_carry_forward", "$Inner"."user_type_id" as "public account_account.user_type_id" from "public"."account_move_line" "$Outer" left outer join ( select "_"."id" as "id2", "_"."name" as "name2", "_"."currency_id" as "currency_id2", "_"."code" as "code", "_"."deprecated" as "deprecated", "_"."user_type_id" as "user_type_id", "_"."internal_type" as "internal_type", "_"."internal_group" as "internal_group", "_"."reconcile" as "reconcile", "_"."note" as "note", "_"."company_id" as "company_id2", "_"."group_id" as "group_id", "_"."root_id" as "root_id", "_"."is_off_balance" as "is_off_balance", "_"."create_uid" as "create_uid2", "_"."create_date" as "create_date2", "_"."write_uid" as "write_uid2", "_"."write_date" as "write_date2", "_"."asset_model" as "asset_model", "_"."create_asset" as "create_asset", "_"."multiple_assets_per_line" as "multiple_assets_per_line" from "public"."account_account" "_" ) "$Inner" on ("$Outer"."account_id" = "$Inner"."id2")
Date: 2024-04-02 06:15:42
7 5 ERROR: duplicate key value violates unique constraint "..."
Times Reported Most Frequent Error / Event #7
Day Hour Count Apr 02 13 1 15 4 - ERROR: duplicate key value violates unique constraint "fleet_vehicle_vin_sn_unique"
- ERROR: duplicate key value violates unique constraint "product_template_cat_vendor_default_code_unique"
Detail: Key (vin_sn)=(HN005306) already exists.
Statement: INSERT INTO "fleet_vehicle" ("id", "create_uid", "create_date", "write_uid", "write_date", "acquisition_date", "active", "brand_id", "car_value", "co2", "color", "company_id", "description", "doors", "driver_id", "first_contract_date", "fuel_type", "future_driver_id", "horsepower", "horsepower_tax", "license_plate", "location", "manager_id", "model_id", "model_vehicle_type", "model_year", "name", "net_car_value", "next_assignation_date", "odometer_unit", "power", "residual_value", "seats", "state_id", "transmission", "vehicle_unit_no", "vin_sn") VALUES (nextval('fleet_vehicle_id_seq'), 978, (now() at time zone 'UTC'), 978, (now() at time zone 'UTC'), '2024-04-02', true, 103, 0.0, 0.0, NULL, 1, NULL, 5, 37591, '2024-04-02', NULL, NULL, 0, 0.0, 'SC81603', NULL, 2, 141, 29, NULL, '31', 0.0, NULL, 'miles', 0, 0.0, 0, 3, NULL, '31', 'HN005306') RETURNING idDate: 2024-04-02 13:48:38
Detail: Key (cat_vendor, default_code)=(High Bar, 10001485) already exists.
Statement: UPDATE "product_template" SET "can_image_1024_be_zoomed"=false,"cat_part_type"='All Parts',"cat_prod_type"='Parts',"cat_vendor"='High Bar',"has_configurable_attributes"=false,"inventory_vendor_short_name"='High Bar',"rating_last_value"=0.0,"write_uid"=953,"write_date"=(now() at time zone 'UTC') WHERE id IN (265591)Date: 2024-04-02 15:40:20
8 4 LOG: process ... still waiting for ExclusiveLock on tuple (...) of relation ... of database ... after ... ms
Times Reported Most Frequent Error / Event #8
Day Hour Count Apr 02 12 2 13 1 18 1 - ERROR: process 2404512 still waiting for ExclusiveLock on tuple (15262,10) of relation 42418 of database 65946 after 1000.051 ms
- ERROR: process 2338043 still waiting for ExclusiveLock on tuple (15251,13) of relation 42418 of database 65946 after 1000.069 ms
- ERROR: process 2406985 still waiting for ExclusiveLock on tuple (15371,5) of relation 42418 of database 65946 after 1000.044 ms
Detail: Process holding the lock: 2398586. Wait queue: 2404512.
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 != 1320160 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 != 1320160 ORDER BY id DESC LIMIT 1) ORDER BY sequence_number DESC LIMIT 1 ) RETURNING name;Date: 2024-04-02 12:52:49
Detail: Process holding the lock: 2395346. Wait queue: 2338043.
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 != 1320199 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 != 1320199 ORDER BY id DESC LIMIT 1) ORDER BY sequence_number DESC LIMIT 1 ) RETURNING name;Date: 2024-04-02 12:57:03
Detail: Process holding the lock: 2449506. Wait queue: 2406985.
Statement: UPDATE "account_move" SET "message_main_attachment_id"=5201884,"write_uid"=1245,"write_date"=(now() at time zone 'UTC') WHERE id IN (1320400)Date: 2024-04-02 13:14:13
9 2 ERROR: could not serialize access due to concurrent delete
Times Reported Most Frequent Error / Event #9
Day Hour Count Apr 02 15 1 17 1 - ERROR: could not serialize access due to concurrent delete
Statement: DELETE FROM monthly_statement_line WHERE id IN (1019362, 1019363, 1019364, 1019365, 1019366, 1019367, 1019368, 1019369, 1019370, 1019371, 1019372)
Date: 2024-04-02 17:10:45
10 1 ERROR: current transaction is aborted, commands ignored until end of transaction block
Times Reported Most Frequent Error / Event #10
Day Hour Count Apr 02 13 1 - ERROR: current transaction is aborted, commands ignored until end of transaction block
Statement: SELECT value FROM ir_translation WHERE lang='en_US' AND type in ('code') AND src='%s' AND md5(src)=md5('%s')
Date: 2024-04-02 13:11:31
11 1 LOG: could not receive data from client: Connection timed out
Times Reported Most Frequent Error / Event #11
Day Hour Count Apr 02 17 1 - ERROR: could not receive data from client: Connection timed out
Date: 2024-04-02 17:51:20
12 1 LOG: could not send data to client: Connection timed out
Times Reported Most Frequent Error / Event #12
Day Hour Count Apr 02 11 1 - ERROR: could not send data to client: Connection timed out
Statement: select "$Outer"."id" as "id", "$Outer"."move_id" as "move_id", "$Outer"."move_name" as "move_name", "$Outer"."date" as "date", "$Outer"."ref" as "ref", "$Outer"."parent_state" as "parent_state", "$Outer"."journal_id" as "journal_id", "$Outer"."company_id" as "company_id", "$Outer"."company_currency_id" as "company_currency_id", "$Outer"."account_id" as "account_id", "$Outer"."account_root_id" as "account_root_id", "$Outer"."sequence" as "sequence", "$Outer"."name" as "name", "$Outer"."quantity" as "quantity", "$Outer"."price_unit" as "price_unit", "$Outer"."discount" as "discount", "$Outer"."debit" as "debit", "$Outer"."credit" as "credit", "$Outer"."balance" as "balance", "$Outer"."amount_currency" as "amount_currency", "$Outer"."price_subtotal" as "price_subtotal", "$Outer"."price_total" as "price_total", "$Outer"."reconciled" as "reconciled", "$Outer"."blocked" as "blocked", "$Outer"."date_maturity" as "date_maturity", "$Outer"."currency_id" as "currency_id", "$Outer"."partner_id" as "partner_id", "$Outer"."product_uom_id" as "product_uom_id", "$Outer"."product_id" as "product_id", "$Outer"."reconcile_model_id" as "reconcile_model_id", "$Outer"."payment_id" as "payment_id", "$Outer"."statement_line_id" as "statement_line_id", "$Outer"."statement_id" as "statement_id", "$Outer"."tax_line_id" as "tax_line_id", "$Outer"."tax_group_id" as "tax_group_id", "$Outer"."tax_base_amount" as "tax_base_amount", "$Outer"."tax_exigible" as "tax_exigible", "$Outer"."tax_repartition_line_id" as "tax_repartition_line_id", "$Outer"."tax_audit" as "tax_audit", "$Outer"."amount_residual" as "amount_residual", "$Outer"."amount_residual_currency" as "amount_residual_currency", "$Outer"."full_reconcile_id" as "full_reconcile_id", "$Outer"."matching_number" as "matching_number", "$Outer"."analytic_account_id" as "analytic_account_id", "$Outer"."display_type" as "display_type", "$Outer"."is_rounding_line" as "is_rounding_line", "$Outer"."exclude_from_invoice_tab" as "exclude_from_invoice_tab", "$Outer"."create_uid" as "create_uid", "$Outer"."create_date" as "create_date", "$Outer"."write_uid" as "write_uid", "$Outer"."write_date" as "write_date", "$Outer"."expected_pay_date" as "expected_pay_date", "$Outer"."internal_note" as "internal_note", "$Outer"."next_action_date" as "next_action_date", "$Outer"."followup_line_id" as "followup_line_id", "$Outer"."followup_date" as "followup_date", "$Outer"."is_anglo_saxon_line" as "is_anglo_saxon_line", "$Outer"."purchase_line_id" as "purchase_line_id", "$Outer"."branch_id" as "branch_id", "$Outer"."branch_name" as "branch_name", "$Outer"."vehicle_id" as "vehicle_id", "$Outer"."move_options" as "move_options", "$Outer"."sign_product_qty" as "sign_product_qty", "$Outer"."sign_price_subtotal" as "sign_price_subtotal", "$Outer"."new_product_qty" as "new_product_qty", "$Outer"."sale_line_id" as "sale_line_id", "$Outer"."child_sale_line_id" as "child_sale_line_id", "$Outer"."main_invoice_line_id" as "main_invoice_line_id", "$Outer"."core_bank_transaction" as "core_bank_transaction", "$Outer"."is_rtv_line" as "is_rtv_line", "$Outer"."core_qty" as "core_qty", "$Outer"."rebate_amount" as "rebate_amount", "$Outer"."cost_price" as "cost_price", "$Outer"."is_visible_in_report" as "is_visible_in_report", "$Outer"."is_labour" as "is_labour", "$Outer"."can_be_paid" as "can_be_paid", "$Outer"."bal_core_bank_id" as "bal_core_bank_id", "$Outer"."repair_line_id" as "repair_line_id", "$Outer"."inv_back_order_qty" as "inv_back_order_qty", "$Outer"."sale_back_order_qty" as "sale_back_order_qty", "$Outer"."product_pricelist_item_id" as "product_pricelist_item_id", "$Outer"."is_discount" as "is_discount", "$Outer"."is_sale_tax" as "is_sale_tax", "$Outer"."auto_reconcile" as "auto_reconcile", "$Outer"."is_writeoff" as "is_writeoff", "$Outer"."is_extra_line" as "is_extra_line", "$Outer"."is_carry_forward" as "is_carry_forward", "$Inner"."user_type_id" as "public account_account.user_type_id" from "public"."account_move_line" "$Outer" left outer join ( select "_"."id" as "id2", "_"."name" as "name2", "_"."currency_id" as "currency_id2", "_"."code" as "code", "_"."deprecated" as "deprecated", "_"."user_type_id" as "user_type_id", "_"."internal_type" as "internal_type", "_"."internal_group" as "internal_group", "_"."reconcile" as "reconcile", "_"."note" as "note", "_"."company_id" as "company_id2", "_"."group_id" as "group_id", "_"."root_id" as "root_id", "_"."is_off_balance" as "is_off_balance", "_"."create_uid" as "create_uid2", "_"."create_date" as "create_date2", "_"."write_uid" as "write_uid2", "_"."write_date" as "write_date2", "_"."asset_model" as "asset_model", "_"."create_asset" as "create_asset", "_"."multiple_assets_per_line" as "multiple_assets_per_line" from "public"."account_account" "_" ) "$Inner" on ("$Outer"."account_id" = "$Inner"."id2")
Date: 2024-04-02 11:23:18
13 1 WARNING: is not a PostgreSQL server process
Times Reported Most Frequent Error / Event #13
Day Hour Count Apr 02 09 1 - WARNING: PID 4019209 is not a PostgreSQL server process
Date: 2024-04-02 09:12:50
14 1 ERROR: deadlock detected
Times Reported Most Frequent Error / Event #14
Day Hour Count Apr 02 16 1 - ERROR: deadlock detected
Detail: Process 2453658 waits for ShareLock on transaction 250876755; blocked by process 2380568. Process 2380568 waits for ShareLock on transaction 250876754; blocked by process 2453658. Process 2453658: UPDATE "sale_order_line" SET "cus_part_route"=NULL,"cus_user_id"=1270,"order_partner_id"=39666,"write_uid"=1263,"write_date"=(now() at time zone 'UTC') WHERE id IN (348121, 348116, 348117, 348119) Process 2380568: UPDATE "sale_order" SET "partner_id"=39666,"partner_invoice_id"=39666,"partner_shipping_id"=39666,"write_uid"=1263,"write_date"=(now() at time zone 'UTC') WHERE id IN (119762)
Context: while updating tuple (18018,25) in relation "sale_order_line"
Hint: See server log for query details.
Statement: UPDATE "sale_order_line" SET "cus_part_route"=NULL,"cus_user_id"=1270,"order_partner_id"=39666,"write_uid"=1263,"write_date"=(now() at time zone 'UTC') WHERE id IN (348121, 348116, 348117, 348119)Date: 2024-04-02 16:19:49
15 1 LOG: could not receive data from client: Connection reset by peer
Times Reported Most Frequent Error / Event #15
Day Hour Count Apr 02 10 1 - ERROR: could not receive data from client: Connection reset by peer
Date: 2024-04-02 10:05:53