-
Global information
- Generated on Sat Oct 26 20:50:29 2024
- Log file: /var/log/postgresql/postgresql-14-main.log
- Parsed 243,866 log entries in 28s
- Log start from 2024-10-26 00:00:04 to 2024-10-26 23:59:57
-
Overview
Global Stats
- 215 Number of unique normalized queries
- 81,616 Number of queries
- 4h8m Total query duration
- 2024-10-26 00:00:04 First query
- 2024-10-26 23:59:57 Last query
- 26 queries/s at 2024-10-26 18:18:02 Query peak
- 4h8m Total query duration
- 0ms Prepare/parse total duration
- 0ms Bind total duration
- 4h8m Execute total duration
- 1,043 Number of events
- 3 Number of unique normalized events
- 1,017 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
- 81,616 Average queries per session
- 4h8m 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
- 26 queries/s Query Peak
- 2024-10-26 18:18:02 Date
SELECT Traffic
Key values
- 26 queries/s Query Peak
- 2024-10-26 18:18:02 Date
INSERT/UPDATE/DELETE Traffic
Key values
- 5 queries/s Query Peak
- 2024-10-26 13:55:01 Date
Queries duration
Key values
- 4h8m 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) Oct 26 00 3,285 120ms 1s145ms 174ms 16s134ms 16s820ms 18s79ms 01 3,501 120ms 1s128ms 171ms 14s240ms 15s499ms 17s836ms 02 3,402 120ms 1s429ms 169ms 13s347ms 16s651ms 24s909ms 03 3,810 120ms 836ms 165ms 14s886ms 15s948ms 18s152ms 04 3,680 120ms 1s496ms 168ms 14s786ms 17s188ms 18s556ms 05 3,430 120ms 682ms 163ms 13s987ms 14s805ms 16s198ms 06 3,289 120ms 715ms 165ms 12s481ms 15s207ms 15s931ms 07 3,063 120ms 919ms 170ms 13s764ms 14s961ms 17s603ms 08 3,357 120ms 949ms 167ms 13s358ms 14s553ms 15s784ms 09 3,546 120ms 4m14s 482ms 1m7s 2m38s 5m4s 10 3,484 120ms 686ms 165ms 12s714ms 14s429ms 17s835ms 11 3,415 120ms 2s182ms 169ms 14s696ms 18s220ms 24s984ms 12 3,284 120ms 742ms 161ms 11s299ms 13s75ms 20s88ms 13 3,335 120ms 31s836ms 187ms 15s647ms 16s703ms 57s291ms 14 3,665 120ms 5s691ms 167ms 15s238ms 17s744ms 21s365ms 15 3,480 120ms 3s171ms 162ms 12s747ms 18s617ms 24s947ms 16 3,258 120ms 796ms 171ms 14s206ms 16s17ms 18s398ms 17 3,254 120ms 775ms 166ms 12s463ms 13s893ms 17s577ms 18 3,566 120ms 1s318ms 184ms 19s65ms 25s786ms 45s747ms 19 3,309 120ms 780ms 165ms 12s355ms 14s474ms 20s969ms 20 3,321 120ms 763ms 164ms 14s189ms 16s4ms 18s258ms 21 3,462 120ms 1s139ms 160ms 12s352ms 17s124ms 17s784ms 22 3,166 120ms 834ms 170ms 13s925ms 18s698ms 23s190ms 23 3,254 120ms 827ms 164ms 13s190ms 16s154ms 21s615ms Day Hour SELECT COPY TO Average Duration Latency Percentile(90) Latency Percentile(95) Latency Percentile(99) Oct 26 00 3,284 0 174ms 12s857ms 16s134ms 17s941ms 01 3,500 0 171ms 12s468ms 13s870ms 15s966ms 02 3,402 0 169ms 11s313ms 13s347ms 16s800ms 03 3,810 0 165ms 12s381ms 14s886ms 16s860ms 04 3,676 0 168ms 12s244ms 14s215ms 17s200ms 05 3,429 0 163ms 10s800ms 13s987ms 15s167ms 06 3,289 0 165ms 11s955ms 12s481ms 15s462ms 07 3,063 0 170ms 10s543ms 13s764ms 15s132ms 08 3,355 0 167ms 11s869ms 13s358ms 14s956ms 09 3,426 117 482ms 15s847ms 1m 4m14s 10 3,484 0 165ms 11s402ms 12s714ms 14s999ms 11 3,411 0 169ms 11s530ms 14s696ms 20s339ms 12 3,284 0 161ms 10s396ms 11s299ms 14s622ms 13 3,322 0 187ms 13s68ms 15s647ms 21s776ms 14 3,665 0 167ms 13s429ms 15s238ms 20s357ms 15 3,480 0 162ms 10s857ms 12s747ms 20s715ms 16 3,258 0 171ms 11s350ms 14s206ms 16s833ms 17 3,254 0 166ms 11s246ms 12s463ms 14s772ms 18 3,557 0 184ms 13s918ms 19s65ms 31s856ms 19 3,309 0 165ms 10s760ms 12s355ms 14s797ms 20 3,321 0 164ms 11s458ms 14s189ms 17s996ms 21 3,462 0 160ms 10s263ms 12s352ms 17s295ms 22 3,166 0 170ms 10s418ms 13s925ms 21s28ms 23 3,254 0 164ms 10s258ms 13s190ms 18s701ms Day Hour INSERT UPDATE DELETE COPY FROM Average Duration Latency Percentile(90) Latency Percentile(95) Latency Percentile(99) Oct 26 00 0 1 0 0 178ms 0ms 0ms 0ms 01 0 1 0 0 430ms 0ms 0ms 0ms 02 0 0 0 0 0ms 0ms 0ms 0ms 03 0 0 0 0 0ms 0ms 0ms 0ms 04 0 4 0 0 401ms 0ms 0ms 0ms 05 0 0 1 0 611ms 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 949ms 0ms 0ms 0ms 09 3 0 0 0 266ms 0ms 0ms 0ms 10 0 0 0 0 0ms 0ms 0ms 0ms 11 0 4 0 0 399ms 0ms 0ms 0ms 12 0 0 0 0 0ms 0ms 0ms 0ms 13 0 13 0 0 180ms 0ms 0ms 0ms 14 0 0 0 0 0ms 0ms 0ms 0ms 15 0 0 0 0 0ms 0ms 0ms 0ms 16 0 0 0 0 0ms 0ms 0ms 0ms 17 0 0 0 0 0ms 0ms 0ms 0ms 18 0 9 0 0 237ms 0ms 0ms 372ms 19 0 0 0 0 0ms 0ms 0ms 0ms 20 0 0 0 0 0ms 0ms 0ms 0ms 21 0 0 0 0 0ms 0ms 0ms 0ms 22 0 0 0 0 0ms 0ms 0ms 0ms 23 0 0 0 0 0ms 0ms 0ms 0ms Day Hour Prepare Bind Bind/Prepare Percentage of prepare Oct 26 00 0 0 0.00 0.00% 01 0 0 0.00 0.00% 02 0 0 0.00 0.00% 03 0 0 0.00 0.00% 04 0 0 0.00 0.00% 05 0 0 0.00 0.00% 06 0 0 0.00 0.00% 07 0 0 0.00 0.00% 08 0 0 0.00 0.00% 09 0 0 0.00 0.00% 10 0 0 0.00 0.00% 11 0 0 0.00 0.00% 12 0 0 0.00 0.00% 13 0 0 0.00 0.00% 14 0 0 0.00 0.00% 15 0 0 0.00 0.00% 16 0 0 0.00 0.00% 17 0 0 0.00 0.00% 18 0 0 0.00 0.00% 19 0 0 0.00 0.00% 20 0 0 0.00 0.00% 21 0 0 0.00 0.00% 22 0 0 0.00 0.00% 23 0 0 0.00 0.00% Day Hour Count Average / Second Oct 26 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 Oct 26 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 Oct 26 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 Oct 26 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) Oct 26 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 Oct 26 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 Oct 26 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
Average Autovacuum Duration
Key values
- 0 sec Highest CPU-cost vacuum
Table
Database - Date
Average Autovacuum Duration (5 minutes average)
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 Oct 26 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
- unknown Main Lock Type
- 0 locks Total
Most frequent waiting queries (N)
Rank Count Total time Min time Max time Avg duration Query NO DATASET
Queries that waited the most
Rank Wait time Query NO DATASET
-
Queries
Queries by type
Key values
- 81,461 Total read queries
- 155 Total write queries
Queries by database
Key values
- unknown Main database
- 81,616 Requests
- 4h8m (unknown)
- Main time consuming database
Queries by user
Key values
- unknown Main user
- 82,121 Requests
User Request type Count Duration unknown Total 82,121 4h9m27s copy to 117 14m2s delete 1 611ms insert 3 800ms select 81,966 3h55m13s tcl 1 153ms update 33 9s250ms Duration by user
Key values
- 4h9m27s (unknown) Main time consuming user
User Request type Count Duration unknown Total 82,121 4h9m27s copy to 117 14m2s delete 1 611ms insert 3 800ms select 81,966 3h55m13s tcl 1 153ms update 33 9s250ms Queries by host
Key values
- unknown Main host
- 82,121 Requests
- 4h9m27s (unknown)
- Main time consuming host
Queries by application
Key values
- unknown Main application
- 81,616 Requests
- 4h8m (unknown)
- Main time consuming application
Number of cancelled queries
Key values
- 0 per second Cancelled query Peak
- 2024-10-26 14:50:18 Date
Number of cancelled queries (5 minutes period)
NO DATASET
-
Top Queries
Histogram of query times
Key values
- 80,692 100-500ms duration
Slowest individual queries
Rank Duration Query 1 4m14s 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-10-26 09:10:59 ]
2 2m27s select ill.item_demand_plan_id from item_list_line ill LEFT JOIN item_demand_plan as idp ON ill.item_demand_plan_id = idp.id where ill.method is NULL and idp.active = True GROUP BY ill.item_demand_plan_id having count(ill.id) > 0;[ Date: 2024-10-26 09:32:29 ]
3 2m27s select ill.item_demand_plan_id from item_list_line ill LEFT JOIN item_demand_plan as idp ON ill.item_demand_plan_id = idp.id where ill.method is NULL and idp.active = True GROUP BY ill.item_demand_plan_id having count(ill.id) > 0;[ Date: 2024-10-26 09:32:29 ]
4 2m15s COPY public.item_list_line (id, item_demand_plan_id, product_id, selling_branch, product_uom_qty, invoice_date, warehouse_id, method, inventory_vendor_id, create_uid, create_date, write_uid, write_date, active, min_product_len_1, min_product_len_2, min_baseline_size, seasonal_period, supercede_product_id, superceded, campaign_id, source_id, medium_id, message_main_attachment_id, access_token, ref_id, ref) TO stdout;[ Date: 2024-10-26 09:04:28 ]
5 2m1s COPY public.mail_message (id, subject, date, body, parent_id, model, res_id, record_name, message_type, subtype_id, mail_activity_type_id, is_internal, email_from, author_id, no_auto_thread, message_id, reply_to, mail_server_id, moderation_status, moderator_id, email_layout_xmlid, add_sign, create_uid, create_date, write_uid, write_date, email_cc, email_bcc, email_to, ks_email_cc_string, ks_email_bcc_string, ks_cc_partners, ks_bcc_partners) TO stdout;[ Date: 2024-10-26 09:06:43 ]
6 41s274ms COPY public.account_move_line (id, move_id, move_name, date, ref, parent_state, journal_id, company_id, company_currency_id, account_id, account_root_id, sequence, name, quantity, price_unit, discount, debit, credit, balance, amount_currency, price_subtotal, price_total, reconciled, blocked, date_maturity, currency_id, partner_id, product_uom_id, product_id, reconcile_model_id, payment_id, statement_line_id, statement_id, tax_line_id, tax_group_id, tax_base_amount, tax_exigible, tax_repartition_line_id, tax_audit, amount_residual, amount_residual_currency, full_reconcile_id, matching_number, analytic_account_id, display_type, is_rounding_line, exclude_from_invoice_tab, create_uid, create_date, write_uid, write_date, expected_pay_date, internal_note, next_action_date, followup_line_id, followup_date, is_anglo_saxon_line, purchase_line_id, branch_id, branch_name, vehicle_id, move_options, sign_product_qty, sign_price_subtotal, new_product_qty, sale_line_id, child_sale_line_id, main_invoice_line_id, core_bank_transaction, is_rtv_line, core_qty, rebate_amount, cost_price, is_visible_in_report, is_labour, can_be_paid, bal_core_bank_id, repair_line_id, inv_back_order_qty, sale_back_order_qty, product_pricelist_item_id, is_discount, is_sale_tax, auto_reconcile, is_writeoff, is_extra_line, is_carry_forward, reconcile_date_from_add) TO stdout;[ Date: 2024-10-26 09:01:05 ]
7 31s836ms 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-10-19 13:53:34' 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-10-26 13:54:06 ]
8 24s529ms COPY public.sale_history_line (id, history_data_link, company_id, customer_id, product_id, invoice_id, product_name, name, product_uom_qty, price_unit, cost_price_unit, price_subtotal, cost_subtotal, gross_profit, rebate_amount, rebate_subtotal, invoice_item_no, inventory_product_categ, inventory_part_type, inventory_short_vendor_name, currency_id, core_sales_amount, core_cost_amount, labor_amount, serial_number, labor_flag, note, under_warranty, contact_reference, contact_name, selling_branch, vehicle_unit_no, vehicle_identification_number, vehicle_odometer, customer_reference_no, sales_obtain, sale_order_no, sale_order_date, invoice_number, invoice_date, user_id, exception_sale, create_uid, create_date, write_uid, write_date, product_pricelist_item_id, history_id, history_date, history_type, so_line_id, new_user_id, gross_profit_amount, is_shipping, move_options, manufacturing_usage, technician_id, inventory_vendor_id, product_type, current_branch, pricelist_id, product_pricelist_item_name, pricelist_name) TO stdout;[ Date: 2024-10-26 09:13:20 ]
9 19s398ms COPY public.base_import_import (id, res_model, file, file_name, file_type, create_uid, create_date, write_uid, write_date) TO stdout;[ Date: 2024-10-26 09:01:35 ]
10 17s589ms COPY public.account_move (id, access_token, message_main_attachment_id, name, date, ref, narration, state, posted_before, move_type, to_check, journal_id, company_id, currency_id, partner_id, commercial_partner_id, is_move_sent, partner_bank_id, payment_reference, payment_id, statement_line_id, amount_untaxed, amount_tax, amount_total, amount_residual, amount_untaxed_signed, amount_tax_signed, amount_total_signed, amount_residual_signed, payment_state, tax_cash_basis_rec_id, tax_cash_basis_move_id, auto_post, reversed_entry_id, fiscal_position_id, invoice_user_id, invoice_date, invoice_date_due, invoice_origin, invoice_payment_term_id, invoice_incoterm_id, qr_code_method, invoice_source_email, invoice_partner_display_name, invoice_cash_rounding_id, secure_sequence_number, inalterable_hash, sequence_prefix, sequence_number, create_uid, create_date, write_uid, write_date, payment_state_before_switch, duplicated_vendor_ref, extract_state, extract_status_code, extract_remote_id, transfer_model_id, tax_closing_end_date, tax_report_control_error, asset_id, asset_remaining_value, asset_depreciated_value, asset_manually_modified, asset_value_change, campaign_id, source_id, medium_id, team_id, partner_shipping_id, stock_move_id, preferred_payment_method_id, website_id, branch_id, branch_name, invoice_action, sign_amount_total, sign_amount_residual, sign_amount_untaxed, invoice_part_id, invoice_product_qty, balance_entry, to_check_negative, non_inventory_entry, direct_order, warranty_invoice, email_send_eod, email_sent, order_type, carrier_id, release_to_pay, release_to_pay_manual, force_release_to_pay, invoice_origin_new, debit_origin_id, paid_by_vc, payment_details, expense_choice, edi_810_id, cash_tendered, change_amount, sequence_generated, open_invoice, edi_split_lock, edi_billed, is_edi_bill, payment_details_compute, edi_done_date, partner_address_type, from_ar, auto_reconcile, related_payment_id, discount_amount_applied) TO stdout;[ Date: 2024-10-26 09:00:24 ]
11 13s201ms 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-10-19 13:53:53' 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-10-26 13:54:06 ]
12 13s146ms COPY public.price_sheet (id, price_sheet_control_id, inventory_vendor_id, vendor_short_name, part_type_id, part_type_option, default_code, name, description_sale, description, additional_description_sale, condensed_product_name, manufacturer_product_name, weight, uom_id, standard_price, current_cost, rebate_cost, purchase_cost, list_price, better, best, list_jobber, core_part_no, cores_per_part, core_cost, core_price_part_dmg_1, core_price_part_dmg_2, used_core_description, man_cost_update, call_for_prise, product_update_date, standard_carton_quantity, active, volume, is_exception, create_uid, create_date, write_uid, write_date) TO stdout;[ Date: 2024-10-26 09:11:13 ]
13 12s434ms COPY public.bus_bus (id, channel, message, create_uid, create_date, write_uid, write_date) TO stdout;[ Date: 2024-10-26 09:01:48 ]
14 11s677ms COPY public.stock_move (id, name, sequence, priority, create_date, date, date_deadline, company_id, product_id, description_picking, product_qty, product_uom_qty, product_uom, location_id, location_dest_id, partner_id, picking_id, note, state, price_unit, origin, procure_method, scrapped, group_id, rule_id, propagate_cancel, delay_alert_date, picking_type_id, inventory_id, origin_returned_move_id, restrict_partner_id, warehouse_id, additional, reference, package_level_id, next_serial, next_serial_count, orderpoint_id, create_uid, write_uid, write_date, to_refund, sale_line_id, purchase_line_id, created_purchase_line_id, is_done, created_production_id, production_id, raw_material_production_id, unbuild_id, consume_unbuild_id, operation_id, workorder_id, bom_line_id, byproduct_id, unit_factor, branch_id, weight, move_options, related_core_sale_line_id, related_core_purchase_line_id, sm_line_id, core_qty, bom_action, mrp_core_move, repair_id, repair_line_id, related_core_repair_line_id, related_bom_line_id, mrp_finish_core_move, picking_code, transfer_line_id, src_warehouse_id, dest_warehouse_id, current_warehouse_qty, is_core, inventory_vendor_id, technician_name_required, technician_id, product_cost) TO stdout;[ Date: 2024-10-26 09:13:47 ]
15 10s618ms COPY public.queue_job (id, uuid, graph_uuid, user_id, company_id, name, model_name, method_name, records, dependencies, args, kwargs, func_string, state, priority, exc_name, exc_message, exc_info, result, date_created, date_started, date_enqueued, date_done, exec_time, date_cancelled, eta, retry, max_retries, channel_method_name, job_function_id, channel, identity_key, worker_pid, sale_id, picking_id, repair_id, message_main_attachment_id) TO stdout;[ Date: 2024-10-26 09:12:48 ]
16 8s344ms COPY public.forecasted_data (id, date, min_product_uom_qty, max_product_uom_qty, item_supply_plan_id, po_qty, item_demand_plan_id, product_id, selling_branch, product_uom_qty, invoice_date, warehouse_id, method, inventory_vendor_id, create_uid, create_date, write_uid, write_date, active, min_product_len_1, min_product_len_2, min_baseline_size, seasonal_period, default_code, ext_cost, qty_available, qty_reserve, qty_on_order, qty_on_perm_order, qty_mtd_sold, lead_days, mon_1_qty, mon_2_qty, mon_3_qty, mon_4_qty, mon_5_qty, mon_6_qty, mon_7_qty, mon_8_qty, mon_9_qty, mon_10_qty, mon_11_qty, mon_12_qty, seasonal, stocking_flag, freeze_date, warehouse_min_product_uom_qty, is_forcast, modify_qty, req_po_qty, supercede_product_id, superceded, final_branch_id, po_id, unit_ext_cost, is_freeze, qty_in_transist, campaign_id, source_id, medium_id, message_main_attachment_id, access_token, is_new_stock_product, ref_id, ref, product_name, is_stock_flag_product, class_code_id, sft_stk_qty, need_qty_with_sft_stk) TO stdout;[ Date: 2024-10-26 09:02:05 ]
17 8s144ms COPY public.stock_valuation_layer (id, company_id, product_id, quantity, unit_cost, value, remaining_qty, remaining_value, description, stock_valuation_layer_id, stock_move_id, account_move_id, create_uid, create_date, write_uid, write_date, move_options, other_action, final_action, is_adjust_valuation, cost_svl_id) TO stdout;[ Date: 2024-10-26 09:14:12 ]
18 8s143ms COPY public.stock_move_line (id, picking_id, move_id, company_id, product_id, product_uom_id, product_qty, product_uom_qty, qty_done, package_id, package_level_id, lot_id, lot_name, result_package_id, date, owner_id, location_id, location_dest_id, state, reference, description_picking, create_uid, create_date, write_uid, write_date, workorder_id, production_id, related_core_sale_line_id, related_sale_line_id, related_core_purchase_line_id, related_purchase_line_id, related_core_stock_line_id, move_options, purchase_qty, related_repair_line_id, related_core_repair_line_id, branch_id, related_core_bom_line_id, related_bom_line_id, related_raw_material_production_id, linked_has_core_ml_id, order_purchase_qty, current_warehouse_qty, description) TO stdout;[ Date: 2024-10-26 09:13:55 ]
19 6s804ms COPY public.sale_order_line (id, order_id, name, sequence, invoice_status, price_unit, price_subtotal, price_tax, price_total, price_reduce, price_reduce_taxinc, price_reduce_taxexcl, discount, product_id, product_uom_qty, product_uom, qty_delivered_method, qty_delivered, qty_delivered_manual, qty_to_invoice, qty_invoiced, untaxed_amount_invoiced, untaxed_amount_to_invoice, salesman_id, currency_id, company_id, order_partner_id, is_expense, is_downpayment, state, customer_lead, display_type, create_uid, create_date, write_uid, write_date, product_packaging, route_id, project_id, task_id, is_service, linked_line_id, warning_stock, margin, margin_percent, purchase_price, is_delivery, so_line_id, return_rule_skiped, move_options, core_qty, core_bank_transaction, rebate_amount, is_visible_in_report, is_call_for_price_prod, open_qty_fil_moved0, core_sol_id, core_bank_id, product_pricelist_item_id, branch_id, open_qty_fil_moved1, open_qty_fil_moved2, open_qty_fil_moved3, open_qty_fil_moved4, tick, open_qty_fil_moved5, open_qty_fil_moved6, open_qty_fil_moved7, open_qty_fil_moved8, open_qty_fil_moved9, open_qty_fil_moved10, open_qty_fil_moved11, open_qty_fil_moved12, open_qty_fil_moved13, open_qty_fil_moved14, open_qty_fil, exception_sale, manual_price_changed, cus_date_order, cus_user_id, cus_part_route, is_legacy, inventory_vendor_id, warehouse_id, original_price, is_core, is_ohio_tax_free) TO stdout;[ Date: 2024-10-26 09:13:29 ]
20 6s295ms COPY public.stock_picking (id, message_main_attachment_id, name, origin, note, backorder_id, move_type, state, group_id, priority, scheduled_date, date_deadline, has_deadline_issue, date, date_done, location_id, location_dest_id, picking_type_id, partner_id, company_id, user_id, owner_id, printed, is_locked, immediate_transfer, create_uid, create_date, write_uid, write_date, sale_id, website_id, branch_id, carrier_price, carrier_id, weight, carrier_tracking_ref, saleorder_custom_id, purchaseorder_custom_id, stock_part_id, stock_product_qty, stock_type, stock_action, to_check_negative, next_picking_id, prev_picking_id, repair_id, is_intra_com, salesperson, date_order, part_route, move_branch_mrp_id, move_to_gear_id, supply_plan_id, all_references, src_warehouse_id, dest_warehouse_id, edi_810_id, batch_id, transfer_id, request_date, old_rec_update, is_rtv_picking) TO stdout;[ Date: 2024-10-26 09:14:02 ]
Time consuming queries (N)
Rank Total duration Times executed Min duration Max duration Avg duration Query 1 2h56m2s 67,354 131ms 919ms 156ms 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 Oct 26 20 2,666 7m6s 159ms 21 2,832 7m22s 156ms 22 2,820 7m23s 157ms 23 3,067 7m58s 155ms 00 3,024 7m51s 155ms 01 2,797 7m5s 152ms 02 2,680 6m52s 154ms 03 2,540 6m48s 160ms 04 2,731 7m10s 157ms 05 2,873 7m36s 158ms 06 2,869 7m18s 152ms 07 2,791 7m3s 151ms 08 2,753 6m57s 151ms 09 2,720 7m14s 159ms 10 3,063 7m49s 153ms 11 2,976 7m32s 151ms 12 2,740 7m32s 165ms 13 2,758 7m20s 159ms 14 2,700 7m19s 162ms 15 2,773 7m15s 157ms 16 2,791 7m21s 158ms 17 2,957 7m32s 153ms 18 2,671 7m17s 163ms 19 2,762 7m10s 155ms -
SELECT "bus_bus".id FROM "bus_bus" WHERE (("bus_bus"."create_date" > '2024-10-26 07:50:23') AND ("bus_bus"."channel" in ('"bundle_changed"', '"notify_branch_changed_1025"', '["pointspring_master","calendar.alarm",19563]', '["pointspring_master","mail.channel",249]', '["pointspring_master","mail.channel",250]', '["pointspring_master","mail.channel",251]', '["pointspring_master","mail.channel",451]', '["pointspring_master","mail.channel",460]', '["pointspring_master","mail.channel",513]', '["pointspring_master","mail.channel",624]', '["pointspring_master","res.partner",19563]', '["pointspring_master","ir.needaction",19563]'))) ORDER BY "bus_bus"."id";
Date: 2024-10-26 07:51:14 Duration: 919ms
-
SELECT "bus_bus".id FROM "bus_bus" WHERE (("bus_bus"."create_date" > '2024-10-26 18:17:11') AND ("bus_bus"."channel" in ('"bundle_changed"', '"notify_branch_changed_974"', '["pointspring_master","calendar.alarm",19512]', '["pointspring_master","mail.channel",419]', '["pointspring_master","mail.channel",420]', '["pointspring_master","mail.channel",421]', '["pointspring_master","mail.channel",489]', '["pointspring_master","mail.channel",557]', '["pointspring_master","res.partner",19512]', '["pointspring_master","ir.needaction",19512]'))) ORDER BY "bus_bus"."id";
Date: 2024-10-26 18:18:02 Duration: 914ms
-
SELECT "bus_bus".id FROM "bus_bus" WHERE (("bus_bus"."create_date" > '2024-10-26 18:17:11') AND ("bus_bus"."channel" in ('["pointspring_master","calendar.alarm",53355]', '["pointspring_master","res.partner",53355]', '["pointspring_master","ir.needaction",53355]'))) ORDER BY "bus_bus"."id";
Date: 2024-10-26 18:18:02 Duration: 889ms
2 14m31s 5,760 142ms 258ms 151ms select current_database() as database, schemaname as schema_name, tblname as table_name, bs * tblpages as real_size, (tblpages - est_tblpages_ff) * bs as bloat_size, case when tblpages - est_tblpages_ff > ? then ? * (tblpages - est_tblpages_ff) / tblpages::float else ? end as bloat_ratio from ( select ceil(reltuples / ((bs - page_hdr) / tpl_size)) + ceil(toasttuples / ?) as est_tblpages, ceil(reltuples / ((bs - page_hdr) * fillfactor / (tpl_size * ?))) + ceil(toasttuples / ?) as est_tblpages_ff, tblpages, fillfactor, bs, tblid, schemaname, tblname, heappages, toastpages, is_na from ( select (? + tpl_hdr_size + tpl_data_size + (? * ma) - case when tpl_hdr_size % ma = ? then ma else tpl_hdr_size % ma end - case when ceil(tpl_data_size)::int % ma = ? then ma else ceil(tpl_data_size)::int % ma end) as tpl_size, bs - page_hdr as size_per_block, (heappages + toastpages) as tblpages, heappages, toastpages, reltuples, toasttuples, bs, page_hdr, tblid, schemaname, tblname, fillfactor, is_na from ( select tbl.oid as tblid, ns.nspname as schemaname, tbl.relname as tblname, tbl.reltuples, tbl.relpages as heappages, coalesce(toast.relpages, ?) as toastpages, coalesce(toast.reltuples, ?) as toasttuples, coalesce(substring(array_to_string(tbl.reloptions, ?) from ?)::smallint, ?) as fillfactor, current_setting(?)::numeric as bs, case when version() ~ ? or version() ~ ? then ? else ? end as ma, ? as page_hdr, case when current_setting(?)::integer < ? then ? else ? end + case when max(coalesce(null_frac, ?)) > ? then (? + count(*)) / ? else ?::int end + ? as tpl_hdr_size, sum((? - coalesce(s.null_frac, ?)) * coalesce(s.avg_width, ?)) as tpl_data_size, bool_or(att.atttypid = ?::regtype) or count(att.attname) <> count(s.attname) as is_na from pg_attribute as att join pg_class as tbl on att.attrelid = tbl.oid join pg_namespace as ns on ns.oid = tbl.relnamespace left join pg_stats as s on s.schemaname = ns.nspname and s.tablename = tbl.relname and s.attname = att.attname left join pg_class as toast on tbl.reltoastrelid = toast.oid where att.attnum > ? and not att.attisdropped and tbl.relkind = ? group by ?, ?, ?, ?, ?, ?, ?, ?, ?, ? order by ?, ?) as s) as s2) as s3 where not is_na and schemaname || ? || tblname in (...);Times Reported Time consuming queries #2
Day Hour Count Duration Avg duration Oct 26 20 240 36s61ms 150ms 21 240 36s142ms 150ms 22 240 36s32ms 150ms 23 240 36s293ms 151ms 00 240 36s578ms 152ms 01 240 36s573ms 152ms 02 240 36s252ms 151ms 03 240 35s872ms 149ms 04 240 36s689ms 152ms 05 240 36s717ms 152ms 06 240 36s461ms 151ms 07 240 36s241ms 151ms 08 240 36s156ms 150ms 09 240 36s202ms 150ms 10 240 36s277ms 151ms 11 240 36s300ms 151ms 12 240 36s585ms 152ms 13 240 36s463ms 151ms 14 240 36s398ms 151ms 15 240 36s522ms 152ms 16 240 36s446ms 151ms 17 240 36s200ms 150ms 18 240 36s303ms 151ms 19 240 36s160ms 150ms -
SELECT -- BLOATQUERY current_database() as database, schemaname as schema_name, tblname as table_name, bs * tblpages AS real_size, (tblpages - est_tblpages_ff) * bs AS bloat_size, CASE WHEN tblpages - est_tblpages_ff > 0 THEN 100 * (tblpages - est_tblpages_ff) / tblpages::float ELSE 0 END AS bloat_ratio -- , (pst).free_percent + (pst).dead_tuple_percent AS real_frag FROM ( SELECT ceil(reltuples / ((bs - page_hdr) / tpl_size)) + ceil(toasttuples / 4) AS est_tblpages, ceil(reltuples / ((bs - page_hdr) * fillfactor / (tpl_size * 100))) + ceil(toasttuples / 4) AS est_tblpages_ff, tblpages, fillfactor, bs, tblid, schemaname, tblname, heappages, toastpages, is_na -- , stattuple.pgstattuple(tblid) AS pst FROM ( SELECT (4 + tpl_hdr_size + tpl_data_size + (2 * ma) - CASE WHEN tpl_hdr_size % ma = 0 THEN ma ELSE tpl_hdr_size % ma END - CASE WHEN ceil(tpl_data_size)::int % ma = 0 THEN ma ELSE ceil(tpl_data_size)::int % ma END) AS tpl_size, bs - page_hdr AS size_per_block, (heappages + toastpages) AS tblpages, heappages, toastpages, reltuples, toasttuples, bs, page_hdr, tblid, schemaname, tblname, fillfactor, is_na FROM ( SELECT tbl.oid AS tblid, ns.nspname AS schemaname, tbl.relname AS tblname, tbl.reltuples, tbl.relpages AS heappages, coalesce(toast.relpages, 0) AS toastpages, coalesce(toast.reltuples, 0) AS toasttuples, coalesce(substring(array_to_string(tbl.reloptions, ' ') FROM 'fillfactor=([0-9]+)')::smallint, 100) AS fillfactor, current_setting('block_size')::numeric AS bs, CASE WHEN version() ~ 'mingw32' OR version() ~ '64-bit|x86_64|ppc64|ia64|amd64' THEN 8 ELSE 4 END AS ma, 24 AS page_hdr, CASE WHEN current_setting('server_version_num')::integer < 80300 THEN 27 ELSE 23 END + CASE WHEN MAX(coalesce(null_frac, 0)) > 0 THEN (7 + count(*)) / 8 ELSE 0::int END +0 AS tpl_hdr_size, sum((1 - coalesce(s.null_frac, 0)) * coalesce(s.avg_width, 1024)) AS tpl_data_size, bool_or(att.atttypid = 'pg_catalog.name'::regtype) OR count(att.attname) <> count(s.attname) AS is_na FROM pg_attribute AS att JOIN pg_class AS tbl ON att.attrelid = tbl.oid JOIN pg_namespace AS ns ON ns.oid = tbl.relnamespace LEFT JOIN pg_stats AS s ON s.schemaname = ns.nspname AND s.tablename = tbl.relname AND s.attname = att.attname LEFT JOIN pg_class AS toast ON tbl.reltoastrelid = toast.oid WHERE att.attnum > 0 AND NOT att.attisdropped AND tbl.relkind = 'r' GROUP BY 1, 2, 3, 4, 5, 6, 7, 8, 9, 10 ORDER BY 2, 3) AS s) AS s2) AS s3 where not is_na and schemaname || '.' || tblname in ('information_schema.applicable_roles', 'information_schema.column_column_usage', 'information_schema.referential_constraints', 'information_schema.constraint_column_usage', 'information_schema.sql_sizing', 'information_schema.usage_privileges', 'information_schema.routines', 'information_schema.views', 'information_schema.foreign_data_wrappers', 'information_schema.character_sets', 'information_schema.routine_routine_usage', 'information_schema.triggered_update_columns', 'information_schema.role_column_grants', 'information_schema.routine_column_usage', 'information_schema.domain_constraints', 'information_schema.sequences', 'information_schema.table_privileges', 'information_schema.role_udt_grants', 'information_schema.foreign_data_wrapper_options', 'information_schema.information_schema_catalog_name', 'information_schema.domain_udt_usage', 'information_schema.schemata', 'information_schema.sql_features', 'information_schema.triggers', 'information_schema.user_defined_types', 'information_schema.foreign_table_options', 'information_schema.column_udt_usage', 'information_schema.routine_privileges', 'information_schema.domains', 'information_schema.user_mappings', 'information_schema.foreign_tables', 'information_schema.column_domain_usage', 'information_schema.enabled_roles', 'information_schema.view_routine_usage', 'information_schema.key_column_usage', 'information_schema.routine_sequence_usage', 'information_schema.view_column_usage', 'information_schema.foreign_servers', 'information_schema.columns', 'information_schema.sql_implementation_info', 'information_schema.data_type_privileges', 'information_schema.foreign_server_options', 'information_schema.check_constraints', 'information_schema.collation_character_set_applicability', 'information_schema.parameters', 'information_schema.routine_table_usage', 'information_schema.role_table_grants', 'information_schema.constraint_table_usage', 'information_schema.view_table_usage', 'information_schema.check_constraint_routine_usage', 'information_schema.column_privileges', 'information_schema.udt_privileges', 'information_schema.user_mapping_options', 'information_schema.attributes', 'information_schema.collations', 'information_schema.role_routine_grants', 'information_schema.tables', 'information_schema.column_options', 'information_schema.administrable_role_authorizations', 'information_schema.table_constraints', 'information_schema.role_usage_grants', 'information_schema.element_types', 'public.pg_stat_statements_info', 'public.pg_stat_statements', 'pg_catalog.pg_statio_all_tables', 'pg_catalog.pg_ts_config_map', 'pg_catalog.pg_default_acl', 'pg_catalog.pg_stat_all_indexes', 'pg_catalog.pg_statio_user_indexes', 'pg_catalog.pg_available_extension_versions', 'pg_catalog.pg_operator', 'pg_catalog.pg_publication', 'pg_catalog.pg_stat_xact_all_tables', 'pg_catalog.pg_db_role_setting', 'pg_catalog.pg_ts_template', 'pg_catalog.pg_stat_gssapi', 'pg_catalog.pg_inherits', 'pg_catalog.pg_views', 'pg_catalog.pg_prepared_xacts', 'pg_catalog.pg_statio_all_indexes', 'pg_catalog.pg_stat_subscription', 'pg_catalog.pg_tablespace', 'pg_catalog.pg_attribute', 'pg_catalog.pg_stat_archiver', 'pg_catalog.pg_init_privs', 'pg_catalog.pg_range', 'pg_catalog.pg_stat_database', 'pg_catalog.pg_stat_database_conflicts', 'pg_catalog.pg_stat_progress_analyze', 'pg_catalog.pg_largeobject_metadata', 'pg_catalog.pg_collation', 'pg_catalog.pg_sequences', 'pg_catalog.pg_publication_tables', 'pg_catalog.pg_stat_user_tables', 'pg_catalog.pg_stat_wal_receiver', 'pg_catalog.pg_transform', 'pg_catalog.pg_proc', 'pg_catalog.pg_shdescription', 'pg_catalog.pg_policies', 'pg_catalog.pg_stats', 'pg_catalog.pg_seclabels', 'pg_catalog.pg_statio_sys_sequences', 'pg_catalog.pg_stat_wal', 'pg_catalog.pg_ts_parser', 'pg_catalog.pg_stat_sys_tables', 'pg_catalog.pg_language', 'pg_catalog.pg_index', 'pg_catalog.pg_stat_bgwriter', 'pg_catalog.pg_stat_xact_user_tables', 'pg_catalog.pg_shdepend', 'pg_catalog.pg_replication_origin', 'pg_catalog.pg_publication_rel', 'pg_catalog.pg_type', 'pg_catalog.pg_enum', 'pg_catalog.pg_statio_sys_indexes', 'pg_catalog.pg_auth_members', 'pg_catalog.pg_stat_replication_slots', 'pg_catalog.pg_namespace', 'pg_catalog.pg_foreign_data_wrapper', 'pg_catalog.pg_tables', 'pg_catalog.pg_timezone_abbrevs', 'pg_catalog.pg_statio_sys_tables', 'pg_catalog.pg_statio_all_sequences', 'pg_catalog.pg_statio_user_sequences', 'pg_catalog.pg_rewrite', 'pg_catalog.pg_sequence', 'pg_catalog.pg_indexes', 'pg_catalog.pg_locks', 'pg_catalog.pg_cursors', 'pg_catalog.pg_foreign_table', 'pg_catalog.pg_class', 'pg_catalog.pg_opclass', 'pg_catalog.pg_extension', 'pg_catalog.pg_subscription', 'pg_catalog.pg_stat_progress_cluster', 'pg_catalog.pg_event_trigger', 'pg_catalog.pg_policy', 'pg_catalog.pg_rules', 'pg_catalog.pg_stats_ext', 'pg_catalog.pg_stat_xact_user_functions', 'pg_catalog.pg_amop', 'pg_catalog.pg_trigger', 'pg_catalog.pg_constraint', 'pg_catalog.pg_stat_progress_create_index', 'pg_catalog.pg_cast', 'pg_catalog.pg_timezone_names', 'pg_catalog.pg_stat_user_functions', 'pg_catalog.pg_aggregate', 'pg_catalog.pg_description', 'pg_catalog.pg_database', 'pg_catalog.pg_user', 'pg_catalog.pg_user_mappings', 'pg_catalog.pg_amproc', 'pg_catalog.pg_stat_progress_copy', 'pg_catalog.pg_ts_config', 'pg_catalog.pg_matviews', 'pg_catalog.pg_stat_ssl', 'pg_catalog.pg_group', 'pg_catalog.pg_prepared_statements', 'pg_catalog.pg_stat_sys_indexes', 'pg_catalog.pg_settings', 'pg_catalog.pg_available_extensions', 'pg_catalog.pg_stat_xact_sys_tables', 'pg_catalog.pg_attrdef', 'pg_catalog.pg_opfamily', 'pg_catalog.pg_seclabel', 'pg_catalog.pg_stat_user_indexes', 'pg_catalog.pg_stat_activity', 'pg_catalog.pg_stat_progress_basebackup', 'pg_catalog.pg_statistic_ext', 'pg_catalog.pg_conversion', 'pg_catalog.pg_stat_slru', 'pg_catalog.pg_roles', 'pg_catalog.pg_stat_progress_vacuum', 'pg_catalog.pg_foreign_server', 'pg_catalog.pg_shseclabel', 'pg_catalog.pg_subscription_rel', 'pg_catalog.pg_stats_ext_exprs', 'pg_catalog.pg_replication_slots', 'pg_catalog.pg_depend', 'pg_catalog.pg_ts_dict', 'pg_catalog.pg_am', 'pg_catalog.pg_partitioned_table', 'pg_catalog.pg_stat_all_tables', 'pg_catalog.pg_statio_user_tables', 'pg_catalog.pg_stat_replication');
Date: 2024-10-26 07:55:10 Duration: 258ms
-
SELECT -- BLOATQUERY current_database() as database, schemaname as schema_name, tblname as table_name, bs * tblpages AS real_size, (tblpages - est_tblpages_ff) * bs AS bloat_size, CASE WHEN tblpages - est_tblpages_ff > 0 THEN 100 * (tblpages - est_tblpages_ff) / tblpages::float ELSE 0 END AS bloat_ratio -- , (pst).free_percent + (pst).dead_tuple_percent AS real_frag FROM ( SELECT ceil(reltuples / ((bs - page_hdr) / tpl_size)) + ceil(toasttuples / 4) AS est_tblpages, ceil(reltuples / ((bs - page_hdr) * fillfactor / (tpl_size * 100))) + ceil(toasttuples / 4) AS est_tblpages_ff, tblpages, fillfactor, bs, tblid, schemaname, tblname, heappages, toastpages, is_na -- , stattuple.pgstattuple(tblid) AS pst FROM ( SELECT (4 + tpl_hdr_size + tpl_data_size + (2 * ma) - CASE WHEN tpl_hdr_size % ma = 0 THEN ma ELSE tpl_hdr_size % ma END - CASE WHEN ceil(tpl_data_size)::int % ma = 0 THEN ma ELSE ceil(tpl_data_size)::int % ma END) AS tpl_size, bs - page_hdr AS size_per_block, (heappages + toastpages) AS tblpages, heappages, toastpages, reltuples, toasttuples, bs, page_hdr, tblid, schemaname, tblname, fillfactor, is_na FROM ( SELECT tbl.oid AS tblid, ns.nspname AS schemaname, tbl.relname AS tblname, tbl.reltuples, tbl.relpages AS heappages, coalesce(toast.relpages, 0) AS toastpages, coalesce(toast.reltuples, 0) AS toasttuples, coalesce(substring(array_to_string(tbl.reloptions, ' ') FROM 'fillfactor=([0-9]+)')::smallint, 100) AS fillfactor, current_setting('block_size')::numeric AS bs, CASE WHEN version() ~ 'mingw32' OR version() ~ '64-bit|x86_64|ppc64|ia64|amd64' THEN 8 ELSE 4 END AS ma, 24 AS page_hdr, CASE WHEN current_setting('server_version_num')::integer < 80300 THEN 27 ELSE 23 END + CASE WHEN MAX(coalesce(null_frac, 0)) > 0 THEN (7 + count(*)) / 8 ELSE 0::int END +0 AS tpl_hdr_size, sum((1 - coalesce(s.null_frac, 0)) * coalesce(s.avg_width, 1024)) AS tpl_data_size, bool_or(att.atttypid = 'pg_catalog.name'::regtype) OR count(att.attname) <> count(s.attname) AS is_na FROM pg_attribute AS att JOIN pg_class AS tbl ON att.attrelid = tbl.oid JOIN pg_namespace AS ns ON ns.oid = tbl.relnamespace LEFT JOIN pg_stats AS s ON s.schemaname = ns.nspname AND s.tablename = tbl.relname AND s.attname = att.attname LEFT JOIN pg_class AS toast ON tbl.reltoastrelid = toast.oid WHERE att.attnum > 0 AND NOT att.attisdropped AND tbl.relkind = 'r' GROUP BY 1, 2, 3, 4, 5, 6, 7, 8, 9, 10 ORDER BY 2, 3) AS s) AS s2) AS s3 where not is_na and schemaname || '.' || tblname in ('pg_catalog.pg_ts_config', 'pg_catalog.pg_database', 'pg_catalog.pg_stat_bgwriter', 'pg_catalog.pg_stat_wal', 'pg_catalog.pg_enum', 'pg_catalog.pg_stats', 'pg_catalog.pg_statio_user_sequences', 'pg_catalog.pg_operator', 'pg_catalog.pg_trigger', 'pg_catalog.pg_cursors', 'pg_catalog.pg_attrdef', 'pg_catalog.pg_depend', 'pg_catalog.pg_seclabels', 'pg_catalog.pg_statio_sys_tables', 'pg_catalog.pg_stat_database_conflicts', 'pg_catalog.pg_subscription', 'pg_catalog.pg_foreign_data_wrapper', 'pg_catalog.pg_subscription_rel', 'pg_catalog.pg_stat_all_indexes', 'pg_catalog.pg_shdescription', 'pg_catalog.pg_stat_all_tables', 'pg_catalog.pg_policies', 'pg_catalog.pg_views', 'pg_catalog.pg_stat_xact_user_tables', 'pg_catalog.pg_inherits', 'pg_catalog.pg_init_privs', 'pg_catalog.pg_transform', 'pg_catalog.pg_rules', 'pg_catalog.pg_stats_ext_exprs', 'pg_catalog.pg_user_mappings', 'pg_catalog.pg_amproc', 'pg_catalog.pg_ts_config_map', 'pg_catalog.pg_statio_user_tables', 'pg_catalog.pg_statio_all_indexes', 'pg_catalog.pg_stat_replication', 'pg_catalog.pg_constraint', 'pg_catalog.pg_language', 'pg_catalog.pg_user', 'pg_catalog.pg_attribute', 'pg_catalog.pg_ts_template', 'pg_catalog.pg_timezone_names', 'pg_catalog.pg_stat_xact_user_functions', 'pg_catalog.pg_range', 'pg_catalog.pg_ts_dict', 'pg_catalog.pg_statio_sys_sequences', 'pg_catalog.pg_am', 'pg_catalog.pg_largeobject_metadata', 'pg_catalog.pg_statio_all_tables', 'pg_catalog.pg_rewrite', 'pg_catalog.pg_namespace', 'pg_catalog.pg_auth_members', 'pg_catalog.pg_publication', 'pg_catalog.pg_available_extensions', 'pg_catalog.pg_proc', 'pg_catalog.pg_stat_progress_copy', 'pg_catalog.pg_partitioned_table', 'pg_catalog.pg_sequences', 'pg_catalog.pg_replication_slots', 'pg_catalog.pg_class', 'pg_catalog.pg_opclass', 'pg_catalog.pg_description', 'pg_catalog.pg_shdepend', 'pg_catalog.pg_ts_parser', 'pg_catalog.pg_publication_tables', 'pg_catalog.pg_stat_user_indexes', 'pg_catalog.pg_index', 'pg_catalog.pg_statistic_ext', 'pg_catalog.pg_settings', 'pg_catalog.pg_stat_progress_vacuum', 'pg_catalog.pg_statio_sys_indexes', 'pg_catalog.pg_opfamily', 'pg_catalog.pg_event_trigger', 'pg_catalog.pg_stat_gssapi', 'pg_catalog.pg_stat_progress_create_index', 'pg_catalog.pg_stat_xact_sys_tables', 'pg_catalog.pg_available_extension_versions', 'pg_catalog.pg_indexes', 'pg_catalog.pg_stat_sys_tables', 'pg_catalog.pg_foreign_table', 'pg_catalog.pg_roles', 'pg_catalog.pg_stat_slru', 'pg_catalog.pg_db_role_setting', 'pg_catalog.pg_prepared_xacts', 'pg_catalog.pg_prepared_statements', 'pg_catalog.pg_stat_activity', 'pg_catalog.pg_stat_subscription', 'pg_catalog.pg_stat_user_functions', 'pg_catalog.pg_group', 'pg_catalog.pg_seclabel', 'pg_catalog.pg_tables', 'pg_catalog.pg_stat_xact_all_tables', 'pg_catalog.pg_extension', 'pg_catalog.pg_foreign_server', 'pg_catalog.pg_matviews', 'pg_catalog.pg_stats_ext', 'pg_catalog.pg_type', 'pg_catalog.pg_stat_progress_analyze', 'pg_catalog.pg_conversion', 'pg_catalog.pg_stat_replication_slots', 'pg_catalog.pg_amop', 'pg_catalog.pg_stat_archiver', 'pg_catalog.pg_sequence', 'pg_catalog.pg_shseclabel', 'pg_catalog.pg_publication_rel', 'pg_catalog.pg_locks', 'pg_catalog.pg_stat_sys_indexes', 'pg_catalog.pg_replication_origin', 'pg_catalog.pg_default_acl', 'pg_catalog.pg_stat_user_tables', 'pg_catalog.pg_statio_all_sequences', 'pg_catalog.pg_stat_database', 'pg_catalog.pg_aggregate', 'pg_catalog.pg_policy', 'pg_catalog.pg_timezone_abbrevs', 'pg_catalog.pg_stat_wal_receiver', 'pg_catalog.pg_tablespace', 'pg_catalog.pg_stat_progress_basebackup', 'pg_catalog.pg_collation', 'pg_catalog.pg_statio_user_indexes', 'pg_catalog.pg_stat_ssl', 'pg_catalog.pg_stat_progress_cluster', 'pg_catalog.pg_cast', 'information_schema.data_type_privileges', 'information_schema.check_constraint_routine_usage', 'information_schema.column_column_usage', 'information_schema.domain_udt_usage', 'information_schema.referential_constraints', 'information_schema.administrable_role_authorizations', 'information_schema.role_table_grants', 'information_schema.user_mappings', 'information_schema.user_mapping_options', 'information_schema.information_schema_catalog_name', 'information_schema.view_table_usage', 'information_schema.routine_routine_usage', 'information_schema.sql_features', 'information_schema.usage_privileges', 'information_schema.foreign_servers', 'information_schema.sql_sizing', 'information_schema.routine_privileges', 'information_schema.domains', 'information_schema.column_options', 'information_schema.check_constraints', 'information_schema.foreign_data_wrappers', 'information_schema.foreign_table_options', 'information_schema.foreign_tables', 'information_schema.columns', 'information_schema.sequences', 'information_schema.user_defined_types', 'information_schema.triggered_update_columns', 'information_schema.column_domain_usage', 'information_schema.column_udt_usage', 'information_schema.schemata', 'information_schema.table_constraints', 'information_schema.parameters', 'information_schema.sql_implementation_info', 'information_schema.udt_privileges', 'information_schema.column_privileges', 'information_schema.constraint_column_usage', 'information_schema.constraint_table_usage', 'information_schema.tables', 'information_schema.collations', 'information_schema.role_usage_grants', 'information_schema.view_routine_usage', 'information_schema.applicable_roles', 'information_schema.role_routine_grants', 'information_schema.routine_table_usage', 'information_schema.triggers', 'information_schema.routine_sequence_usage', 'information_schema.views', 'information_schema.foreign_data_wrapper_options', 'information_schema.attributes', 'information_schema.collation_character_set_applicability', 'information_schema.routine_column_usage', 'information_schema.enabled_roles', 'information_schema.role_udt_grants', 'information_schema.element_types', 'information_schema.character_sets', 'information_schema.role_column_grants', 'information_schema.domain_constraints', 'information_schema.table_privileges', 'information_schema.routines', 'information_schema.key_column_usage', 'information_schema.view_column_usage', 'information_schema.foreign_server_options', 'public.pg_stat_statements_info', 'public.pg_stat_statements');
Date: 2024-10-26 08:43:55 Duration: 243ms
-
SELECT -- BLOATQUERY current_database() as database, schemaname as schema_name, tblname as table_name, bs * tblpages AS real_size, (tblpages - est_tblpages_ff) * bs AS bloat_size, CASE WHEN tblpages - est_tblpages_ff > 0 THEN 100 * (tblpages - est_tblpages_ff) / tblpages::float ELSE 0 END AS bloat_ratio -- , (pst).free_percent + (pst).dead_tuple_percent AS real_frag FROM ( SELECT ceil(reltuples / ((bs - page_hdr) / tpl_size)) + ceil(toasttuples / 4) AS est_tblpages, ceil(reltuples / ((bs - page_hdr) * fillfactor / (tpl_size * 100))) + ceil(toasttuples / 4) AS est_tblpages_ff, tblpages, fillfactor, bs, tblid, schemaname, tblname, heappages, toastpages, is_na -- , stattuple.pgstattuple(tblid) AS pst FROM ( SELECT (4 + tpl_hdr_size + tpl_data_size + (2 * ma) - CASE WHEN tpl_hdr_size % ma = 0 THEN ma ELSE tpl_hdr_size % ma END - CASE WHEN ceil(tpl_data_size)::int % ma = 0 THEN ma ELSE ceil(tpl_data_size)::int % ma END) AS tpl_size, bs - page_hdr AS size_per_block, (heappages + toastpages) AS tblpages, heappages, toastpages, reltuples, toasttuples, bs, page_hdr, tblid, schemaname, tblname, fillfactor, is_na FROM ( SELECT tbl.oid AS tblid, ns.nspname AS schemaname, tbl.relname AS tblname, tbl.reltuples, tbl.relpages AS heappages, coalesce(toast.relpages, 0) AS toastpages, coalesce(toast.reltuples, 0) AS toasttuples, coalesce(substring(array_to_string(tbl.reloptions, ' ') FROM 'fillfactor=([0-9]+)')::smallint, 100) AS fillfactor, current_setting('block_size')::numeric AS bs, CASE WHEN version() ~ 'mingw32' OR version() ~ '64-bit|x86_64|ppc64|ia64|amd64' THEN 8 ELSE 4 END AS ma, 24 AS page_hdr, CASE WHEN current_setting('server_version_num')::integer < 80300 THEN 27 ELSE 23 END + CASE WHEN MAX(coalesce(null_frac, 0)) > 0 THEN (7 + count(*)) / 8 ELSE 0::int END +0 AS tpl_hdr_size, sum((1 - coalesce(s.null_frac, 0)) * coalesce(s.avg_width, 1024)) AS tpl_data_size, bool_or(att.atttypid = 'pg_catalog.name'::regtype) OR count(att.attname) <> count(s.attname) AS is_na FROM pg_attribute AS att JOIN pg_class AS tbl ON att.attrelid = tbl.oid JOIN pg_namespace AS ns ON ns.oid = tbl.relnamespace LEFT JOIN pg_stats AS s ON s.schemaname = ns.nspname AND s.tablename = tbl.relname AND s.attname = att.attname LEFT JOIN pg_class AS toast ON tbl.reltoastrelid = toast.oid WHERE att.attnum > 0 AND NOT att.attisdropped AND tbl.relkind = 'r' GROUP BY 1, 2, 3, 4, 5, 6, 7, 8, 9, 10 ORDER BY 2, 3) AS s) AS s2) AS s3 where not is_na and schemaname || '.' || tblname in ('information_schema.element_types', 'information_schema.view_column_usage', 'information_schema.column_udt_usage', 'information_schema.routine_privileges', 'information_schema.referential_constraints', 'information_schema.view_table_usage', 'information_schema.information_schema_catalog_name', 'information_schema.sql_features', 'information_schema.column_options', 'information_schema.user_mapping_options', 'information_schema.constraint_column_usage', 'information_schema.routine_column_usage', 'information_schema.parameters', 'information_schema.role_udt_grants', 'information_schema.foreign_data_wrapper_options', 'information_schema.routines', 'information_schema.table_privileges', 'information_schema.usage_privileges', 'information_schema.character_sets', 'information_schema.domains', 'information_schema.role_usage_grants', 'information_schema.administrable_role_authorizations', 'information_schema.column_column_usage', 'information_schema.schemata', 'information_schema.view_routine_usage', 'information_schema.applicable_roles', 'information_schema.user_mappings', 'information_schema.foreign_servers', 'information_schema.foreign_tables', 'information_schema.enabled_roles', 'information_schema.triggers', 'information_schema.user_defined_types', 'information_schema.foreign_table_options', 'information_schema.foreign_server_options', 'information_schema.attributes', 'information_schema.domain_constraints', 'information_schema.routine_routine_usage', 'information_schema.role_column_grants', 'information_schema.sql_sizing', 'information_schema.foreign_data_wrappers', 'information_schema.tables', 'information_schema.data_type_privileges', 'information_schema.collations', 'information_schema.collation_character_set_applicability', 'information_schema.column_domain_usage', 'information_schema.key_column_usage', 'information_schema.routine_sequence_usage', 'information_schema.columns', 'information_schema.constraint_table_usage', 'information_schema.domain_udt_usage', 'information_schema.sequences', 'information_schema.role_routine_grants', 'information_schema.sql_implementation_info', 'information_schema.udt_privileges', 'information_schema.check_constraints', 'information_schema.column_privileges', 'information_schema.role_table_grants', 'information_schema.views', 'information_schema.check_constraint_routine_usage', 'information_schema.routine_table_usage', 'information_schema.table_constraints', 'information_schema.triggered_update_columns', 'public.pg_stat_statements_info', 'public.pg_stat_statements', 'pg_catalog.pg_stat_replication_slots', 'pg_catalog.pg_stat_sys_tables', 'pg_catalog.pg_timezone_names', 'pg_catalog.pg_user_mappings', 'pg_catalog.pg_trigger', 'pg_catalog.pg_sequences', 'pg_catalog.pg_cursors', 'pg_catalog.pg_stats_ext', 'pg_catalog.pg_roles', 'pg_catalog.pg_opclass', 'pg_catalog.pg_depend', 'pg_catalog.pg_proc', 'pg_catalog.pg_init_privs', 'pg_catalog.pg_stat_sys_indexes', 'pg_catalog.pg_constraint', 'pg_catalog.pg_sequence', 'pg_catalog.pg_statio_all_indexes', 'pg_catalog.pg_foreign_server', 'pg_catalog.pg_stat_replication', 'pg_catalog.pg_stat_subscription', 'pg_catalog.pg_settings', 'pg_catalog.pg_operator', 'pg_catalog.pg_description', 'pg_catalog.pg_stat_user_tables', 'pg_catalog.pg_replication_slots', 'pg_catalog.pg_subscription', 'pg_catalog.pg_database', 'pg_catalog.pg_subscription_rel', 'pg_catalog.pg_locks', 'pg_catalog.pg_inherits', 'pg_catalog.pg_ts_parser', 'pg_catalog.pg_stats', 'pg_catalog.pg_stat_xact_user_tables', 'pg_catalog.pg_db_role_setting', 'pg_catalog.pg_matviews', 'pg_catalog.pg_rules', 'pg_catalog.pg_attrdef', 'pg_catalog.pg_stat_archiver', 'pg_catalog.pg_stats_ext_exprs', 'pg_catalog.pg_stat_xact_sys_tables', 'pg_catalog.pg_auth_members', 'pg_catalog.pg_range', 'pg_catalog.pg_policies', 'pg_catalog.pg_amop', 'pg_catalog.pg_stat_activity', 'pg_catalog.pg_views', 'pg_catalog.pg_foreign_table', 'pg_catalog.pg_language', 'pg_catalog.pg_rewrite', 'pg_catalog.pg_stat_all_indexes', 'pg_catalog.pg_foreign_data_wrapper', 'pg_catalog.pg_prepared_statements', 'pg_catalog.pg_statio_user_tables', 'pg_catalog.pg_available_extensions', 'pg_catalog.pg_statistic_ext', 'pg_catalog.pg_conversion', 'pg_catalog.pg_shdescription', 'pg_catalog.pg_largeobject_metadata', 'pg_catalog.pg_shdepend', 'pg_catalog.pg_publication', 'pg_catalog.pg_class', 'pg_catalog.pg_cast', 'pg_catalog.pg_statio_sys_indexes', 'pg_catalog.pg_stat_database_conflicts', 'pg_catalog.pg_group', 'pg_catalog.pg_extension', 'pg_catalog.pg_transform', 'pg_catalog.pg_statio_sys_sequences', 'pg_catalog.pg_policy', 'pg_catalog.pg_publication_tables', 'pg_catalog.pg_statio_all_tables', 'pg_catalog.pg_stat_user_indexes', 'pg_catalog.pg_stat_bgwriter', 'pg_catalog.pg_stat_progress_create_index', 'pg_catalog.pg_aggregate', 'pg_catalog.pg_stat_wal_receiver', 'pg_catalog.pg_stat_wal', 'pg_catalog.pg_stat_progress_analyze', 'pg_catalog.pg_ts_config_map', 'pg_catalog.pg_ts_dict', 'pg_catalog.pg_indexes', 'pg_catalog.pg_stat_slru', 'pg_catalog.pg_publication_rel', 'pg_catalog.pg_stat_progress_basebackup', 'pg_catalog.pg_stat_progress_copy', 'pg_catalog.pg_collation', 'pg_catalog.pg_stat_xact_all_tables', 'pg_catalog.pg_index', 'pg_catalog.pg_ts_template', 'pg_catalog.pg_prepared_xacts', 'pg_catalog.pg_partitioned_table', 'pg_catalog.pg_stat_all_tables', 'pg_catalog.pg_opfamily', 'pg_catalog.pg_seclabel', 'pg_catalog.pg_shseclabel', 'pg_catalog.pg_stat_ssl', 'pg_catalog.pg_am', 'pg_catalog.pg_enum', 'pg_catalog.pg_namespace', 'pg_catalog.pg_ts_config', 'pg_catalog.pg_user', 'pg_catalog.pg_statio_all_sequences', 'pg_catalog.pg_attribute', 'pg_catalog.pg_amproc', 'pg_catalog.pg_timezone_abbrevs', 'pg_catalog.pg_statio_user_indexes', 'pg_catalog.pg_type', 'pg_catalog.pg_available_extension_versions', 'pg_catalog.pg_seclabels', 'pg_catalog.pg_default_acl', 'pg_catalog.pg_stat_user_functions', 'pg_catalog.pg_stat_progress_vacuum', 'pg_catalog.pg_event_trigger', 'pg_catalog.pg_replication_origin', 'pg_catalog.pg_statio_sys_tables', 'pg_catalog.pg_statio_user_sequences', 'pg_catalog.pg_stat_gssapi', 'pg_catalog.pg_stat_database', 'pg_catalog.pg_tablespace', 'pg_catalog.pg_stat_xact_user_functions', 'pg_catalog.pg_stat_progress_cluster', 'pg_catalog.pg_tables');
Date: 2024-10-26 10:28:55 Duration: 238ms
3 9m6s 1,584 327ms 715ms 345ms 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"."sale_ok" = true) and (("product_template"."website_id" in (...)) or "product_template"."website_id" is null))) order by coalesce("product_template"."is_published", false) desc, coalesce("product_template__name"."value", "product_template"."name") asc, "product_template"."id" desc;Times Reported Time consuming queries #3
Day Hour Count Duration Avg duration Oct 26 20 48 16s579ms 345ms 21 96 33s10ms 343ms 22 96 33s25ms 344ms 23 78 26s740ms 342ms 00 75 25s940ms 345ms 01 72 25s31ms 347ms 02 93 32s344ms 347ms 03 63 21s450ms 340ms 04 72 24s936ms 346ms 05 69 24s186ms 350ms 06 96 33s280ms 346ms 07 81 27s931ms 344ms 08 60 20s770ms 346ms 09 111 38s669ms 348ms 10 93 31s997ms 344ms 11 39 13s485ms 345ms 12 39 13s365ms 342ms 13 45 15s409ms 342ms 14 51 17s532ms 343ms 15 54 18s662ms 345ms 16 36 12s457ms 346ms 17 39 13s361ms 342ms 18 39 13s326ms 341ms 19 39 13s447ms 344ms -
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"."sale_ok" = true) AND (("product_template"."website_id" in (1)) OR "product_template"."website_id" IS NULL))) ORDER BY COALESCE("product_template"."is_published", false) DESC, COALESCE("product_template__name"."value", "product_template"."name") ASC, "product_template"."id" DESC;
Date: 2024-10-26 06:27:13 Duration: 715ms
-
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"."sale_ok" = true) AND (("product_template"."website_id" in (1)) OR "product_template"."website_id" IS NULL))) ORDER BY COALESCE("product_template"."is_published", false) DESC, COALESCE("product_template__name"."value", "product_template"."name") ASC, "product_template"."id" DESC;
Date: 2024-10-26 13:04:20 Duration: 690ms
-
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"."sale_ok" = true) AND (("product_template"."website_id" in (1)) OR "product_template"."website_id" IS NULL))) ORDER BY COALESCE("product_template"."is_published", false) DESC, COALESCE("product_template__name"."value", "product_template"."name") ASC, "product_template"."id" DESC;
Date: 2024-10-26 10:24:45 Duration: 526ms
4 7m59s 1,389 327ms 742ms 345ms 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"."sale_ok" = true) and (("product_template"."website_id" in (...)) or "product_template"."website_id" is null))) order by coalesce("product_template"."is_published", false) desc, coalesce("product_template__name"."value", "product_template"."name") desc, "product_template"."id" desc;Times Reported Time consuming queries #4
Day Hour Count Duration Avg duration Oct 26 20 102 35s7ms 343ms 21 93 32s118ms 345ms 22 57 19s562ms 343ms 23 84 28s953ms 344ms 00 87 30s169ms 346ms 01 69 24s104ms 349ms 02 54 18s545ms 343ms 03 75 25s222ms 336ms 04 69 23s897ms 346ms 05 39 13s724ms 351ms 06 63 21s853ms 346ms 07 60 20s794ms 346ms 08 66 23s89ms 349ms 09 69 23s861ms 345ms 10 42 14s550ms 346ms 11 39 13s407ms 343ms 12 54 18s718ms 346ms 13 18 6s169ms 342ms 14 39 13s431ms 344ms 15 45 15s513ms 344ms 16 33 11s398ms 345ms 17 12 4s107ms 342ms 18 63 21s714ms 344ms 19 57 19s615ms 344ms -
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"."sale_ok" = true) AND (("product_template"."website_id" in (1)) OR "product_template"."website_id" IS NULL))) ORDER BY COALESCE("product_template"."is_published", false) DESC, COALESCE("product_template__name"."value", "product_template"."name") DESC, "product_template"."id" DESC;
Date: 2024-10-26 12:36:32 Duration: 742ms
-
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"."sale_ok" = true) AND (("product_template"."website_id" in (1)) OR "product_template"."website_id" IS NULL))) ORDER BY COALESCE("product_template"."is_published", false) DESC, COALESCE("product_template__name"."value", "product_template"."name") DESC, "product_template"."id" DESC;
Date: 2024-10-26 01:48:46 Duration: 490ms
-
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"."sale_ok" = true) AND (("product_template"."website_id" in (1)) OR "product_template"."website_id" IS NULL))) ORDER BY COALESCE("product_template"."is_published", false) DESC, COALESCE("product_template__name"."value", "product_template"."name") DESC, "product_template"."id" DESC;
Date: 2024-10-26 09:01:55 Duration: 448ms
5 6m32s 1,539 240ms 343ms 254ms select "product_template".id from "product_template" where (("product_template"."active" = true) and (("product_template"."sale_ok" = true) and (("product_template"."website_id" in (...)) or "product_template"."website_id" is null))) order by coalesce("product_template"."is_published", false) desc, "product_template"."list_price" desc, "product_template"."id" desc;Times Reported Time consuming queries #5
Day Hour Count Duration Avg duration Oct 26 20 75 18s925ms 252ms 21 108 27s372ms 253ms 22 57 14s398ms 252ms 23 48 12s201ms 254ms 00 81 20s691ms 255ms 01 69 17s785ms 257ms 02 90 22s921ms 254ms 03 48 12s57ms 251ms 04 39 9s923ms 254ms 05 57 14s743ms 258ms 06 57 14s560ms 255ms 07 63 16s71ms 255ms 08 45 11s472ms 254ms 09 42 10s730ms 255ms 10 57 14s386ms 252ms 11 36 9s231ms 256ms 12 54 13s860ms 256ms 13 84 21s343ms 254ms 14 75 19s308ms 257ms 15 72 18s461ms 256ms 16 81 20s781ms 256ms 17 90 22s932ms 254ms 18 66 16s760ms 253ms 19 45 11s450ms 254ms -
SELECT "product_template".id FROM "product_template" WHERE (("product_template"."active" = true) AND (("product_template"."sale_ok" = true) AND (("product_template"."website_id" in (1)) OR "product_template"."website_id" IS NULL))) ORDER BY COALESCE("product_template"."is_published", false) DESC, "product_template"."list_price" DESC, "product_template"."id" DESC;
Date: 2024-10-26 18:23:45 Duration: 343ms
-
SELECT "product_template".id FROM "product_template" WHERE (("product_template"."active" = true) AND (("product_template"."sale_ok" = true) AND (("product_template"."website_id" in (1)) OR "product_template"."website_id" IS NULL))) ORDER BY COALESCE("product_template"."is_published", false) DESC, "product_template"."list_price" DESC, "product_template"."id" DESC;
Date: 2024-10-26 07:56:41 Duration: 339ms
-
SELECT "product_template".id FROM "product_template" WHERE (("product_template"."active" = true) AND (("product_template"."sale_ok" = true) AND (("product_template"."website_id" in (1)) OR "product_template"."website_id" IS NULL))) ORDER BY COALESCE("product_template"."is_published", false) DESC, "product_template"."list_price" DESC, "product_template"."id" DESC;
Date: 2024-10-26 12:24:21 Duration: 338ms
6 5m39s 1,326 242ms 384ms 255ms select "product_template".id from "product_template" where (("product_template"."active" = true) and (("product_template"."sale_ok" = true) and (("product_template"."website_id" in (...)) or "product_template"."website_id" is null))) order by coalesce("product_template"."is_published", false) desc, "product_template"."list_price" asc, "product_template"."id" desc;Times Reported Time consuming queries #6
Day Hour Count Duration Avg duration Oct 26 20 93 23s633ms 254ms 21 66 16s869ms 255ms 22 54 13s678ms 253ms 23 57 14s521ms 254ms 00 60 15s465ms 257ms 01 60 15s607ms 260ms 02 51 13s41ms 255ms 03 33 8s220ms 249ms 04 78 20s58ms 257ms 05 57 14s869ms 260ms 06 66 17s15ms 257ms 07 60 15s234ms 253ms 08 51 13s62ms 256ms 09 54 13s773ms 255ms 10 51 13s140ms 257ms 11 63 16s97ms 255ms 12 42 10s821ms 257ms 13 48 12s261ms 255ms 14 51 13s57ms 256ms 15 42 10s757ms 256ms 16 54 13s880ms 257ms 17 57 14s491ms 254ms 18 33 8s394ms 254ms 19 45 11s452ms 254ms -
SELECT "product_template".id FROM "product_template" WHERE (("product_template"."active" = true) AND (("product_template"."sale_ok" = true) AND (("product_template"."website_id" in (1)) OR "product_template"."website_id" IS NULL))) ORDER BY COALESCE("product_template"."is_published", false) DESC, "product_template"."list_price" ASC, "product_template"."id" DESC;
Date: 2024-10-26 09:15:04 Duration: 384ms
-
SELECT "product_template".id FROM "product_template" WHERE (("product_template"."active" = true) AND (("product_template"."sale_ok" = true) AND (("product_template"."website_id" in (1)) OR "product_template"."website_id" IS NULL))) ORDER BY COALESCE("product_template"."is_published", false) DESC, "product_template"."list_price" ASC, "product_template"."id" DESC;
Date: 2024-10-26 10:12:58 Duration: 375ms
-
SELECT "product_template".id FROM "product_template" WHERE (("product_template"."active" = true) AND (("product_template"."sale_ok" = true) AND (("product_template"."website_id" in (1)) OR "product_template"."website_id" IS NULL))) ORDER BY COALESCE("product_template"."is_published", false) DESC, "product_template"."list_price" ASC, "product_template"."id" DESC;
Date: 2024-10-26 01:09:35 Duration: 363ms
7 4m57s 4 1s119ms 2m27s 1m14s select ill.item_demand_plan_id from item_list_line ill left join item_demand_plan as idp on ill.item_demand_plan_id = idp.id where ill.method is null and idp.active = true group by ill.item_demand_plan_id having count(ill.id) > ?;Times Reported Time consuming queries #7
Day Hour Count Duration Avg duration Oct 26 21 2 2s248ms 1s124ms 05 2 4m55s 2m27s -
select ill.item_demand_plan_id from item_list_line ill LEFT JOIN item_demand_plan as idp ON ill.item_demand_plan_id = idp.id where ill.method is NULL and idp.active = True GROUP BY ill.item_demand_plan_id having count(ill.id) > 0;
Date: 2024-10-26 09:32:29 Duration: 2m27s
-
select ill.item_demand_plan_id from item_list_line ill LEFT JOIN item_demand_plan as idp ON ill.item_demand_plan_id = idp.id where ill.method is NULL and idp.active = True GROUP BY ill.item_demand_plan_id having count(ill.id) > 0;
Date: 2024-10-26 09:32:29 Duration: 2m27s
-
select ill.item_demand_plan_id from item_list_line ill LEFT JOIN item_demand_plan as idp ON ill.item_demand_plan_id = idp.id where ill.method is NULL and idp.active = True GROUP BY ill.item_demand_plan_id having count(ill.id) > 0;
Date: 2024-10-26 01:00:04 Duration: 1s128ms
8 4m14s 1 4m14s 4m14s 4m14s 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;Times Reported Time consuming queries #8
Day Hour Count Duration Avg duration Oct 26 05 1 4m14s 4m14s -
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-10-26 09:10:59 Duration: 4m14s
9 3m54s 1,893 120ms 372ms 123ms select "product_template".id from "product_template" where (("product_template"."active" = true) and (("product_template"."sale_ok" = true) and (("product_template"."website_id" in (...)) or "product_template"."website_id" is null))) order by coalesce("product_template"."is_published", false) desc, "product_template"."website_sequence" asc, "product_template"."id" desc;Times Reported Time consuming queries #9
Day Hour Count Duration Avg duration Oct 26 20 43 5s268ms 122ms 21 58 7s254ms 125ms 22 67 8s424ms 125ms 23 179 22s123ms 123ms 00 101 12s440ms 123ms 01 122 14s966ms 122ms 02 78 9s566ms 122ms 03 43 5s400ms 125ms 04 125 15s744ms 125ms 05 85 10s421ms 122ms 06 79 9s814ms 124ms 07 73 9s91ms 124ms 08 68 8s501ms 125ms 09 59 7s270ms 123ms 10 77 9s455ms 122ms 11 78 9s552ms 122ms 12 85 10s733ms 126ms 13 56 6s955ms 124ms 14 97 11s998ms 123ms 15 81 9s950ms 122ms 16 85 10s440ms 122ms 17 61 7s448ms 122ms 18 52 6s376ms 122ms 19 41 5s40ms 122ms -
SELECT "product_template".id FROM "product_template" WHERE (("product_template"."active" = true) AND (("product_template"."sale_ok" = true) AND (("product_template"."website_id" in (1)) OR "product_template"."website_id" IS NULL))) ORDER BY COALESCE("product_template"."is_published", false) DESC, "product_template"."website_sequence" ASC, "product_template"."id" DESC;
Date: 2024-10-26 08:42:41 Duration: 372ms
-
SELECT "product_template".id FROM "product_template" WHERE (("product_template"."active" = true) AND (("product_template"."sale_ok" = true) AND (("product_template"."website_id" in (1)) OR "product_template"."website_id" IS NULL))) ORDER BY COALESCE("product_template"."is_published", false) DESC, "product_template"."website_sequence" ASC, "product_template"."id" DESC;
Date: 2024-10-26 08:42:41 Duration: 281ms
-
SELECT "product_template".id FROM "product_template" WHERE (("product_template"."active" = true) AND (("product_template"."sale_ok" = true) AND (("product_template"."website_id" in (1)) OR "product_template"."website_id" IS NULL))) ORDER BY COALESCE("product_template"."is_published", false) DESC, "product_template"."website_sequence" ASC, "product_template"."id" DESC;
Date: 2024-10-26 16:59:24 Duration: 195ms
10 2m15s 1 2m15s 2m15s 2m15s copy public.item_list_line (id, item_demand_plan_id, product_id, selling_branch, product_uom_qty, invoice_date, warehouse_id, method, inventory_vendor_id, create_uid, create_date, write_uid, write_date, active, min_product_len_1, min_product_len_2, min_baseline_size, seasonal_period, supercede_product_id, superceded, campaign_id, source_id, medium_id, message_main_attachment_id, access_token, ref_id, ref) to stdout;Times Reported Time consuming queries #10
Day Hour Count Duration Avg duration Oct 26 05 1 2m15s 2m15s -
COPY public.item_list_line (id, item_demand_plan_id, product_id, selling_branch, product_uom_qty, invoice_date, warehouse_id, method, inventory_vendor_id, create_uid, create_date, write_uid, write_date, active, min_product_len_1, min_product_len_2, min_baseline_size, seasonal_period, supercede_product_id, superceded, campaign_id, source_id, medium_id, message_main_attachment_id, access_token, ref_id, ref) TO stdout;
Date: 2024-10-26 09:04:28 Duration: 2m15s
11 2m1s 1 2m1s 2m1s 2m1s copy public.mail_message (id, subject, date, body, parent_id, model, res_id, record_name, message_type, subtype_id, mail_activity_type_id, is_internal, email_from, author_id, no_auto_thread, message_id, reply_to, mail_server_id, moderation_status, moderator_id, email_layout_xmlid, add_sign, create_uid, create_date, write_uid, write_date, email_cc, email_bcc, email_to, ks_email_cc_string, ks_email_bcc_string, ks_cc_partners, ks_bcc_partners) to stdout;Times Reported Time consuming queries #11
Day Hour Count Duration Avg duration Oct 26 05 1 2m1s 2m1s -
COPY public.mail_message (id, subject, date, body, parent_id, model, res_id, record_name, message_type, subtype_id, mail_activity_type_id, is_internal, email_from, author_id, no_auto_thread, message_id, reply_to, mail_server_id, moderation_status, moderator_id, email_layout_xmlid, add_sign, create_uid, create_date, write_uid, write_date, email_cc, email_bcc, email_to, ks_email_cc_string, ks_email_bcc_string, ks_cc_partners, ks_bcc_partners) TO stdout;
Date: 2024-10-26 09:06:43 Duration: 2m1s
12 51s19ms 188 263ms 313ms 271ms 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 #12
Day Hour Count Duration Avg duration Oct 26 20 4 1s87ms 271ms 14 184 49s932ms 271ms -
SELECT "sale_line_report".id FROM "sale_line_report" WHERE ("sale_line_report"."real_line_id" in (510737)) ORDER BY "sale_line_report"."id";
Date: 2024-10-26 18:38:05 Duration: 313ms
-
SELECT "sale_line_report".id FROM "sale_line_report" WHERE ("sale_line_report"."real_line_id" in (510735)) ORDER BY "sale_line_report"."id";
Date: 2024-10-26 18:38:05 Duration: 312ms
-
SELECT "sale_line_report".id FROM "sale_line_report" WHERE ("sale_line_report"."real_line_id" in (510739)) ORDER BY "sale_line_report"."id";
Date: 2024-10-26 18:37:53 Duration: 309ms
13 45s305ms 3 267ms 31s836ms 15s101ms 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 #13
Day Hour Count Duration Avg duration Oct 26 09 3 45s305ms 15s101ms -
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-10-19 13:53:34' 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-10-26 13:54:06 Duration: 31s836ms
-
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-10-19 13:53:53' 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-10-26 13:54:06 Duration: 13s201ms
-
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-10-19 13:54:23' 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-10-26 13:54:24 Duration: 267ms
14 41s274ms 1 41s274ms 41s274ms 41s274ms copy public.account_move_line (id, move_id, move_name, date, ref, parent_state, journal_id, company_id, company_currency_id, account_id, account_root_id, sequence, name, quantity, price_unit, discount, debit, credit, balance, amount_currency, price_subtotal, price_total, reconciled, blocked, date_maturity, currency_id, partner_id, product_uom_id, product_id, reconcile_model_id, payment_id, statement_line_id, statement_id, tax_line_id, tax_group_id, tax_base_amount, tax_exigible, tax_repartition_line_id, tax_audit, amount_residual, amount_residual_currency, full_reconcile_id, matching_number, analytic_account_id, display_type, is_rounding_line, exclude_from_invoice_tab, create_uid, create_date, write_uid, write_date, expected_pay_date, internal_note, next_action_date, followup_line_id, followup_date, is_anglo_saxon_line, purchase_line_id, branch_id, branch_name, vehicle_id, move_options, sign_product_qty, sign_price_subtotal, new_product_qty, sale_line_id, child_sale_line_id, main_invoice_line_id, core_bank_transaction, is_rtv_line, core_qty, rebate_amount, cost_price, is_visible_in_report, is_labour, can_be_paid, bal_core_bank_id, repair_line_id, inv_back_order_qty, sale_back_order_qty, product_pricelist_item_id, is_discount, is_sale_tax, auto_reconcile, is_writeoff, is_extra_line, is_carry_forward, reconcile_date_from_add) to stdout;Times Reported Time consuming queries #14
Day Hour Count Duration Avg duration Oct 26 05 1 41s274ms 41s274ms -
COPY public.account_move_line (id, move_id, move_name, date, ref, parent_state, journal_id, company_id, company_currency_id, account_id, account_root_id, sequence, name, quantity, price_unit, discount, debit, credit, balance, amount_currency, price_subtotal, price_total, reconciled, blocked, date_maturity, currency_id, partner_id, product_uom_id, product_id, reconcile_model_id, payment_id, statement_line_id, statement_id, tax_line_id, tax_group_id, tax_base_amount, tax_exigible, tax_repartition_line_id, tax_audit, amount_residual, amount_residual_currency, full_reconcile_id, matching_number, analytic_account_id, display_type, is_rounding_line, exclude_from_invoice_tab, create_uid, create_date, write_uid, write_date, expected_pay_date, internal_note, next_action_date, followup_line_id, followup_date, is_anglo_saxon_line, purchase_line_id, branch_id, branch_name, vehicle_id, move_options, sign_product_qty, sign_price_subtotal, new_product_qty, sale_line_id, child_sale_line_id, main_invoice_line_id, core_bank_transaction, is_rtv_line, core_qty, rebate_amount, cost_price, is_visible_in_report, is_labour, can_be_paid, bal_core_bank_id, repair_line_id, inv_back_order_qty, sale_back_order_qty, product_pricelist_item_id, is_discount, is_sale_tax, auto_reconcile, is_writeoff, is_extra_line, is_carry_forward, reconcile_date_from_add) TO stdout;
Date: 2024-10-26 09:01:05 Duration: 41s274ms
15 24s529ms 1 24s529ms 24s529ms 24s529ms copy public.sale_history_line (id, history_data_link, company_id, customer_id, product_id, invoice_id, product_name, name, product_uom_qty, price_unit, cost_price_unit, price_subtotal, cost_subtotal, gross_profit, rebate_amount, rebate_subtotal, invoice_item_no, inventory_product_categ, inventory_part_type, inventory_short_vendor_name, currency_id, core_sales_amount, core_cost_amount, labor_amount, serial_number, labor_flag, note, under_warranty, contact_reference, contact_name, selling_branch, vehicle_unit_no, vehicle_identification_number, vehicle_odometer, customer_reference_no, sales_obtain, sale_order_no, sale_order_date, invoice_number, invoice_date, user_id, exception_sale, create_uid, create_date, write_uid, write_date, product_pricelist_item_id, history_id, history_date, history_type, so_line_id, new_user_id, gross_profit_amount, is_shipping, move_options, manufacturing_usage, technician_id, inventory_vendor_id, product_type, current_branch, pricelist_id, product_pricelist_item_name, pricelist_name) to stdout;Times Reported Time consuming queries #15
Day Hour Count Duration Avg duration Oct 26 05 1 24s529ms 24s529ms -
COPY public.sale_history_line (id, history_data_link, company_id, customer_id, product_id, invoice_id, product_name, name, product_uom_qty, price_unit, cost_price_unit, price_subtotal, cost_subtotal, gross_profit, rebate_amount, rebate_subtotal, invoice_item_no, inventory_product_categ, inventory_part_type, inventory_short_vendor_name, currency_id, core_sales_amount, core_cost_amount, labor_amount, serial_number, labor_flag, note, under_warranty, contact_reference, contact_name, selling_branch, vehicle_unit_no, vehicle_identification_number, vehicle_odometer, customer_reference_no, sales_obtain, sale_order_no, sale_order_date, invoice_number, invoice_date, user_id, exception_sale, create_uid, create_date, write_uid, write_date, product_pricelist_item_id, history_id, history_date, history_type, so_line_id, new_user_id, gross_profit_amount, is_shipping, move_options, manufacturing_usage, technician_id, inventory_vendor_id, product_type, current_branch, pricelist_id, product_pricelist_item_name, pricelist_name) TO stdout;
Date: 2024-10-26 09:13:20 Duration: 24s529ms
16 24s98ms 7 170ms 5s691ms 3s442ms select "account_payment".id from "account_payment" left join "account_move" AS "account_payment__move_id" on ("account_payment"."move_id" = "account_payment__move_id"."id") where (("account_payment"."active" = true) and (("account_payment__move_id"."journal_id" = ?) and ((("account_payment__move_id"."date" >= ?) and ("account_payment__move_id"."date" < ?)) and ((("account_payment__move_id"."date" >= ?) and ("account_payment__move_id"."date" < ?)) and (("account_payment"."branch_id" in (...)) and (("account_payment"."partner_type" = ?) and ("account_payment"."is_internal_transfer" is null or "account_payment"."is_internal_transfer" = false))))))) and ("account_payment__move_id"."company_id" is null or ("account_payment__move_id"."company_id" in (...))) and ("account_payment__move_id"."company_id" is null or ("account_payment__move_id"."company_id" in (...))) order by "account_payment"."create_date" desc limit ?;Times Reported Time consuming queries #16
Day Hour Count Duration Avg duration Oct 26 10 3 11s509ms 3s836ms 11 4 12s588ms 3s147ms -
SELECT "account_payment".id FROM "account_payment" LEFT JOIN "account_move" AS "account_payment__move_id" ON ("account_payment"."move_id" = "account_payment__move_id"."id") WHERE (("account_payment"."active" = true) AND (("account_payment__move_id"."journal_id" = 8) AND ((("account_payment__move_id"."date" >= '2024-10-24') AND ("account_payment__move_id"."date" < '2024-10-25')) AND ((("account_payment__move_id"."date" >= '2024-10-01') AND ("account_payment__move_id"."date" < '2024-11-01')) AND (("account_payment"."branch_id" in (45)) AND (("account_payment"."partner_type" = 'customer') AND ("account_payment"."is_internal_transfer" IS NULL or "account_payment"."is_internal_transfer" = false))))))) AND ("account_payment__move_id"."company_id" IS NULL OR ("account_payment__move_id"."company_id" in (1))) AND ("account_payment__move_id"."company_id" IS NULL OR ("account_payment__move_id"."company_id" in (1))) ORDER BY "account_payment"."create_date" DESC LIMIT 80;
Date: 2024-10-26 14:32:29 Duration: 5s691ms
-
SELECT "account_payment".id FROM "account_payment" LEFT JOIN "account_move" AS "account_payment__move_id" ON ("account_payment"."move_id" = "account_payment__move_id"."id") WHERE (("account_payment"."active" = true) AND (("account_payment__move_id"."journal_id" = 8) AND ((("account_payment__move_id"."date" >= '2024-10-24') AND ("account_payment__move_id"."date" < '2024-10-25')) AND ((("account_payment__move_id"."date" >= '2024-10-01') AND ("account_payment__move_id"."date" < '2024-11-01')) AND (("account_payment"."branch_id" in (45)) AND (("account_payment"."partner_type" = 'customer') AND ("account_payment"."is_internal_transfer" IS NULL or "account_payment"."is_internal_transfer" = false))))))) AND ("account_payment__move_id"."company_id" IS NULL OR ("account_payment__move_id"."company_id" in (1))) AND ("account_payment__move_id"."company_id" IS NULL OR ("account_payment__move_id"."company_id" in (1))) ORDER BY "account_payment"."create_date" DESC LIMIT 80;
Date: 2024-10-26 14:33:19 Duration: 5s648ms
-
SELECT "account_payment".id FROM "account_payment" LEFT JOIN "account_move" AS "account_payment__move_id" ON ("account_payment"."move_id" = "account_payment__move_id"."id") WHERE (("account_payment"."active" = true) AND (("account_payment__move_id"."journal_id" = 8) AND ((("account_payment__move_id"."date" >= '2024-10-25') AND ("account_payment__move_id"."date" < '2024-10-26')) AND ((("account_payment__move_id"."date" >= '2024-10-01') AND ("account_payment__move_id"."date" < '2024-11-01')) AND (("account_payment"."branch_id" in (45)) AND (("account_payment"."partner_type" = 'customer') AND ("account_payment"."is_internal_transfer" IS NULL or "account_payment"."is_internal_transfer" = false))))))) AND ("account_payment__move_id"."company_id" IS NULL OR ("account_payment__move_id"."company_id" in (1))) AND ("account_payment__move_id"."company_id" IS NULL OR ("account_payment__move_id"."company_id" in (1))) ORDER BY "account_payment"."create_date" DESC LIMIT 80;
Date: 2024-10-26 15:01:52 Duration: 3s171ms
17 24s96ms 21 1s128ms 1s183ms 1s147ms select "product_template".id from "product_template" left join "ir_translation" AS "product_template__description_sale" on ("product_template"."id" = "product_template__description_sale"."res_id" and "product_template__description_sale"."type" = ? and "product_template__description_sale"."name" = ? and "product_template__description_sale"."lang" = ? and "product_template__description_sale"."value" != ?) left join "ir_translation" AS "product_template__description" on ("product_template"."id" = "product_template__description"."res_id" and "product_template__description"."type" = ? and "product_template__description"."name" = ? and "product_template__description"."lang" = ? and "product_template__description"."value" != ?) left join "ir_translation" AS "product_template__name" on ("product_template"."id" = "product_template__name"."res_id" and "product_template__name"."type" = ? and "product_template__name"."name" = ? and "product_template__name"."lang" = ? and "product_template__name"."value" != ?) where (("product_template"."active" = true) and ((("product_template"."sale_ok" = true) and (("product_template"."website_id" in (...)) or "product_template"."website_id" is null)) and (((((unaccent (coalesce("product_template__name"."value", "product_template"."name")) ilike unaccent (?) or ("product_template"."id" in ( select "product_product"."product_tmpl_id" from "product_product" where (("product_product"."active" = true) and (unaccent ("product_product"."default_code"::text) ilike unaccent (?)))))) or ("product_template"."id" in ( select "product_product"."product_tmpl_id" from "product_product" where (("product_product"."active" = true) and (unaccent ("product_product"."condensed_internal_ref"::text) ilike unaccent (?)))))) or ("product_template"."inventory_vendor_id" in ( select "psd_custom_inventory_vendor".id from "psd_custom_inventory_vendor" where (unaccent ("psd_custom_inventory_vendor"."name"::text) ilike unaccent (?))))) or unaccent (coalesce("product_template__description"."value", "product_template"."description")) ilike unaccent (?)) or unaccent (coalesce("product_template__description_sale"."value", "product_template"."description_sale")) ilike unaccent (?)))) order by coalesce("product_template"."is_published", false) desc, "product_template"."website_sequence" asc, "product_template"."id" desc limit ?;Times Reported Time consuming queries #17
Day Hour Count Duration Avg duration Oct 26 20 3 3s401ms 1s133ms 14 18 20s695ms 1s149ms -
SELECT "product_template".id FROM "product_template" LEFT JOIN "ir_translation" AS "product_template__description_sale" ON ("product_template"."id" = "product_template__description_sale"."res_id" AND "product_template__description_sale"."type" = 'model' AND "product_template__description_sale"."name" = 'product.template,description_sale' AND "product_template__description_sale"."lang" = 'en_US' AND "product_template__description_sale"."value" != '') LEFT JOIN "ir_translation" AS "product_template__description" ON ("product_template"."id" = "product_template__description"."res_id" AND "product_template__description"."type" = 'model' AND "product_template__description"."name" = 'product.template,description' AND "product_template__description"."lang" = 'en_US' AND "product_template__description"."value" != '') LEFT JOIN "ir_translation" AS "product_template__name" ON ("product_template"."id" = "product_template__name"."res_id" AND "product_template__name"."type" = 'model' AND "product_template__name"."name" = 'product.template,name' AND "product_template__name"."lang" = 'en_US' AND "product_template__name"."value" != '') WHERE (("product_template"."active" = true) AND ((("product_template"."sale_ok" = true) AND (("product_template"."website_id" in (1)) OR "product_template"."website_id" IS NULL)) AND (((((unaccent (COALESCE("product_template__name"."value", "product_template"."name")) ilike unaccent ('%eii%') OR ("product_template"."id" IN ( SELECT "product_product"."product_tmpl_id" FROM "product_product" WHERE (("product_product"."active" = true) AND (unaccent ("product_product"."default_code"::text) ilike unaccent ('%eii%')))))) OR ("product_template"."id" IN ( SELECT "product_product"."product_tmpl_id" FROM "product_product" WHERE (("product_product"."active" = true) AND (unaccent ("product_product"."condensed_internal_ref"::text) ilike unaccent ('%eii%')))))) OR ("product_template"."inventory_vendor_id" in ( SELECT "psd_custom_inventory_vendor".id FROM "psd_custom_inventory_vendor" WHERE (unaccent ("psd_custom_inventory_vendor"."name"::text) ilike unaccent ('%eii%'))))) OR unaccent (COALESCE("product_template__description"."value", "product_template"."description")) ilike unaccent ('%eii%')) OR unaccent (COALESCE("product_template__description_sale"."value", "product_template"."description_sale")) ilike unaccent ('%eii%')))) ORDER BY COALESCE("product_template"."is_published", false) DESC, "product_template"."website_sequence" ASC, "product_template"."id" DESC LIMIT 5;
Date: 2024-10-26 18:24:48 Duration: 1s183ms
-
SELECT "product_template".id FROM "product_template" LEFT JOIN "ir_translation" AS "product_template__description_sale" ON ("product_template"."id" = "product_template__description_sale"."res_id" AND "product_template__description_sale"."type" = 'model' AND "product_template__description_sale"."name" = 'product.template,description_sale' AND "product_template__description_sale"."lang" = 'en_US' AND "product_template__description_sale"."value" != '') LEFT JOIN "ir_translation" AS "product_template__description" ON ("product_template"."id" = "product_template__description"."res_id" AND "product_template__description"."type" = 'model' AND "product_template__description"."name" = 'product.template,description' AND "product_template__description"."lang" = 'en_US' AND "product_template__description"."value" != '') LEFT JOIN "ir_translation" AS "product_template__name" ON ("product_template"."id" = "product_template__name"."res_id" AND "product_template__name"."type" = 'model' AND "product_template__name"."name" = 'product.template,name' AND "product_template__name"."lang" = 'en_US' AND "product_template__name"."value" != '') WHERE (("product_template"."active" = true) AND ((("product_template"."sale_ok" = true) AND (("product_template"."website_id" in (1)) OR "product_template"."website_id" IS NULL)) AND (((((unaccent (COALESCE("product_template__name"."value", "product_template"."name")) ilike unaccent ('%382-%') OR ("product_template"."id" IN ( SELECT "product_product"."product_tmpl_id" FROM "product_product" WHERE (("product_product"."active" = true) AND (unaccent ("product_product"."default_code"::text) ilike unaccent ('%382-%')))))) OR ("product_template"."id" IN ( SELECT "product_product"."product_tmpl_id" FROM "product_product" WHERE (("product_product"."active" = true) AND (unaccent ("product_product"."condensed_internal_ref"::text) ilike unaccent ('%382-%')))))) OR ("product_template"."inventory_vendor_id" in ( SELECT "psd_custom_inventory_vendor".id FROM "psd_custom_inventory_vendor" WHERE (unaccent ("psd_custom_inventory_vendor"."name"::text) ilike unaccent ('%382-%'))))) OR unaccent (COALESCE("product_template__description"."value", "product_template"."description")) ilike unaccent ('%382-%')) OR unaccent (COALESCE("product_template__description_sale"."value", "product_template"."description_sale")) ilike unaccent ('%382-%')))) ORDER BY COALESCE("product_template"."is_published", false) DESC, "product_template"."website_sequence" ASC, "product_template"."id" DESC LIMIT 5;
Date: 2024-10-26 18:25:53 Duration: 1s176ms
-
SELECT "product_template".id FROM "product_template" LEFT JOIN "ir_translation" AS "product_template__description_sale" ON ("product_template"."id" = "product_template__description_sale"."res_id" AND "product_template__description_sale"."type" = 'model' AND "product_template__description_sale"."name" = 'product.template,description_sale' AND "product_template__description_sale"."lang" = 'en_US' AND "product_template__description_sale"."value" != '') LEFT JOIN "ir_translation" AS "product_template__description" ON ("product_template"."id" = "product_template__description"."res_id" AND "product_template__description"."type" = 'model' AND "product_template__description"."name" = 'product.template,description' AND "product_template__description"."lang" = 'en_US' AND "product_template__description"."value" != '') LEFT JOIN "ir_translation" AS "product_template__name" ON ("product_template"."id" = "product_template__name"."res_id" AND "product_template__name"."type" = 'model' AND "product_template__name"."name" = 'product.template,name' AND "product_template__name"."lang" = 'en_US' AND "product_template__name"."value" != '') WHERE (("product_template"."active" = true) AND ((("product_template"."sale_ok" = true) AND (("product_template"."website_id" in (1)) OR "product_template"."website_id" IS NULL)) AND (((((unaccent (COALESCE("product_template__name"."value", "product_template"."name")) ilike unaccent ('%45386%') OR ("product_template"."id" IN ( SELECT "product_product"."product_tmpl_id" FROM "product_product" WHERE (("product_product"."active" = true) AND (unaccent ("product_product"."default_code"::text) ilike unaccent ('%45386%')))))) OR ("product_template"."id" IN ( SELECT "product_product"."product_tmpl_id" FROM "product_product" WHERE (("product_product"."active" = true) AND (unaccent ("product_product"."condensed_internal_ref"::text) ilike unaccent ('%45386%')))))) OR ("product_template"."inventory_vendor_id" in ( SELECT "psd_custom_inventory_vendor".id FROM "psd_custom_inventory_vendor" WHERE (unaccent ("psd_custom_inventory_vendor"."name"::text) ilike unaccent ('%45386%'))))) OR unaccent (COALESCE("product_template__description"."value", "product_template"."description")) ilike unaccent ('%45386%')) OR unaccent (COALESCE("product_template__description_sale"."value", "product_template"."description_sale")) ilike unaccent ('%45386%')))) ORDER BY COALESCE("product_template"."is_published", false) DESC, "product_template"."website_sequence" ASC, "product_template"."id" DESC LIMIT 5;
Date: 2024-10-26 18:27:52 Duration: 1s170ms
18 23s868ms 21 1s114ms 1s168ms 1s136ms select count(?) from "product_template" left join "ir_translation" AS "product_template__description_sale" on ("product_template"."id" = "product_template__description_sale"."res_id" and "product_template__description_sale"."type" = ? and "product_template__description_sale"."name" = ? and "product_template__description_sale"."lang" = ? and "product_template__description_sale"."value" != ?) left join "ir_translation" AS "product_template__description" on ("product_template"."id" = "product_template__description"."res_id" and "product_template__description"."type" = ? and "product_template__description"."name" = ? and "product_template__description"."lang" = ? and "product_template__description"."value" != ?) left join "ir_translation" AS "product_template__name" on ("product_template"."id" = "product_template__name"."res_id" and "product_template__name"."type" = ? and "product_template__name"."name" = ? and "product_template__name"."lang" = ? and "product_template__name"."value" != ?) where (("product_template"."active" = true) and ((("product_template"."sale_ok" = true) and (("product_template"."website_id" in (...)) or "product_template"."website_id" is null)) and (((((unaccent (coalesce("product_template__name"."value", "product_template"."name")) ilike unaccent (?) or ("product_template"."id" in ( select "product_product"."product_tmpl_id" from "product_product" where (("product_product"."active" = true) and (unaccent ("product_product"."default_code"::text) ilike unaccent (?)))))) or ("product_template"."id" in ( select "product_product"."product_tmpl_id" from "product_product" where (("product_product"."active" = true) and (unaccent ("product_product"."condensed_internal_ref"::text) ilike unaccent (?)))))) or ("product_template"."inventory_vendor_id" in ( select "psd_custom_inventory_vendor".id from "psd_custom_inventory_vendor" where (unaccent ("psd_custom_inventory_vendor"."name"::text) ilike unaccent (?))))) or unaccent (coalesce("product_template__description"."value", "product_template"."description")) ilike unaccent (?)) or unaccent (coalesce("product_template__description_sale"."value", "product_template"."description_sale")) ilike unaccent (?))));Times Reported Time consuming queries #18
Day Hour Count Duration Avg duration Oct 26 20 3 3s377ms 1s125ms 14 18 20s491ms 1s138ms -
SELECT count(1) FROM "product_template" LEFT JOIN "ir_translation" AS "product_template__description_sale" ON ("product_template"."id" = "product_template__description_sale"."res_id" AND "product_template__description_sale"."type" = 'model' AND "product_template__description_sale"."name" = 'product.template,description_sale' AND "product_template__description_sale"."lang" = 'en_US' AND "product_template__description_sale"."value" != '') LEFT JOIN "ir_translation" AS "product_template__description" ON ("product_template"."id" = "product_template__description"."res_id" AND "product_template__description"."type" = 'model' AND "product_template__description"."name" = 'product.template,description' AND "product_template__description"."lang" = 'en_US' AND "product_template__description"."value" != '') LEFT JOIN "ir_translation" AS "product_template__name" ON ("product_template"."id" = "product_template__name"."res_id" AND "product_template__name"."type" = 'model' AND "product_template__name"."name" = 'product.template,name' AND "product_template__name"."lang" = 'en_US' AND "product_template__name"."value" != '') WHERE (("product_template"."active" = true) AND ((("product_template"."sale_ok" = true) AND (("product_template"."website_id" in (1)) OR "product_template"."website_id" IS NULL)) AND (((((unaccent (COALESCE("product_template__name"."value", "product_template"."name")) ilike unaccent ('%382-80%') OR ("product_template"."id" IN ( SELECT "product_product"."product_tmpl_id" FROM "product_product" WHERE (("product_product"."active" = true) AND (unaccent ("product_product"."default_code"::text) ilike unaccent ('%382-80%')))))) OR ("product_template"."id" IN ( SELECT "product_product"."product_tmpl_id" FROM "product_product" WHERE (("product_product"."active" = true) AND (unaccent ("product_product"."condensed_internal_ref"::text) ilike unaccent ('%382-80%')))))) OR ("product_template"."inventory_vendor_id" in ( SELECT "psd_custom_inventory_vendor".id FROM "psd_custom_inventory_vendor" WHERE (unaccent ("psd_custom_inventory_vendor"."name"::text) ilike unaccent ('%382-80%'))))) OR unaccent (COALESCE("product_template__description"."value", "product_template"."description")) ilike unaccent ('%382-80%')) OR unaccent (COALESCE("product_template__description_sale"."value", "product_template"."description_sale")) ilike unaccent ('%382-80%'))));
Date: 2024-10-26 18:25:57 Duration: 1s168ms
-
SELECT count(1) FROM "product_template" LEFT JOIN "ir_translation" AS "product_template__description_sale" ON ("product_template"."id" = "product_template__description_sale"."res_id" AND "product_template__description_sale"."type" = 'model' AND "product_template__description_sale"."name" = 'product.template,description_sale' AND "product_template__description_sale"."lang" = 'en_US' AND "product_template__description_sale"."value" != '') LEFT JOIN "ir_translation" AS "product_template__description" ON ("product_template"."id" = "product_template__description"."res_id" AND "product_template__description"."type" = 'model' AND "product_template__description"."name" = 'product.template,description' AND "product_template__description"."lang" = 'en_US' AND "product_template__description"."value" != '') LEFT JOIN "ir_translation" AS "product_template__name" ON ("product_template"."id" = "product_template__name"."res_id" AND "product_template__name"."type" = 'model' AND "product_template__name"."name" = 'product.template,name' AND "product_template__name"."lang" = 'en_US' AND "product_template__name"."value" != '') WHERE (("product_template"."active" = true) AND ((("product_template"."sale_ok" = true) AND (("product_template"."website_id" in (1)) OR "product_template"."website_id" IS NULL)) AND (((((unaccent (COALESCE("product_template__name"."value", "product_template"."name")) ilike unaccent ('%452%') OR ("product_template"."id" IN ( SELECT "product_product"."product_tmpl_id" FROM "product_product" WHERE (("product_product"."active" = true) AND (unaccent ("product_product"."default_code"::text) ilike unaccent ('%452%')))))) OR ("product_template"."id" IN ( SELECT "product_product"."product_tmpl_id" FROM "product_product" WHERE (("product_product"."active" = true) AND (unaccent ("product_product"."condensed_internal_ref"::text) ilike unaccent ('%452%')))))) OR ("product_template"."inventory_vendor_id" in ( SELECT "psd_custom_inventory_vendor".id FROM "psd_custom_inventory_vendor" WHERE (unaccent ("psd_custom_inventory_vendor"."name"::text) ilike unaccent ('%452%'))))) OR unaccent (COALESCE("product_template__description"."value", "product_template"."description")) ilike unaccent ('%452%')) OR unaccent (COALESCE("product_template__description_sale"."value", "product_template"."description_sale")) ilike unaccent ('%452%'))));
Date: 2024-10-26 18:27:45 Duration: 1s155ms
-
SELECT count(1) FROM "product_template" LEFT JOIN "ir_translation" AS "product_template__description_sale" ON ("product_template"."id" = "product_template__description_sale"."res_id" AND "product_template__description_sale"."type" = 'model' AND "product_template__description_sale"."name" = 'product.template,description_sale' AND "product_template__description_sale"."lang" = 'en_US' AND "product_template__description_sale"."value" != '') LEFT JOIN "ir_translation" AS "product_template__description" ON ("product_template"."id" = "product_template__description"."res_id" AND "product_template__description"."type" = 'model' AND "product_template__description"."name" = 'product.template,description' AND "product_template__description"."lang" = 'en_US' AND "product_template__description"."value" != '') LEFT JOIN "ir_translation" AS "product_template__name" ON ("product_template"."id" = "product_template__name"."res_id" AND "product_template__name"."type" = 'model' AND "product_template__name"."name" = 'product.template,name' AND "product_template__name"."lang" = 'en_US' AND "product_template__name"."value" != '') WHERE (("product_template"."active" = true) AND ((("product_template"."sale_ok" = true) AND (("product_template"."website_id" in (1)) OR "product_template"."website_id" IS NULL)) AND (((((unaccent (COALESCE("product_template__name"."value", "product_template"."name")) ilike unaccent ('%392-9%') OR ("product_template"."id" IN ( SELECT "product_product"."product_tmpl_id" FROM "product_product" WHERE (("product_product"."active" = true) AND (unaccent ("product_product"."default_code"::text) ilike unaccent ('%392-9%')))))) OR ("product_template"."id" IN ( SELECT "product_product"."product_tmpl_id" FROM "product_product" WHERE (("product_product"."active" = true) AND (unaccent ("product_product"."condensed_internal_ref"::text) ilike unaccent ('%392-9%')))))) OR ("product_template"."inventory_vendor_id" in ( SELECT "psd_custom_inventory_vendor".id FROM "psd_custom_inventory_vendor" WHERE (unaccent ("psd_custom_inventory_vendor"."name"::text) ilike unaccent ('%392-9%'))))) OR unaccent (COALESCE("product_template__description"."value", "product_template"."description")) ilike unaccent ('%392-9%')) OR unaccent (COALESCE("product_template__description_sale"."value", "product_template"."description_sale")) ilike unaccent ('%392-9%'))));
Date: 2024-10-26 18:26:43 Duration: 1s152ms
19 19s398ms 1 19s398ms 19s398ms 19s398ms copy public.base_import_import (id, res_model, file, file_name, file_type, create_uid, create_date, write_uid, write_date) to stdout;Times Reported Time consuming queries #19
Day Hour Count Duration Avg duration Oct 26 05 1 19s398ms 19s398ms -
COPY public.base_import_import (id, res_model, file, file_name, file_type, create_uid, create_date, write_uid, write_date) TO stdout;
Date: 2024-10-26 09:01:35 Duration: 19s398ms
20 17s589ms 1 17s589ms 17s589ms 17s589ms copy public.account_move (id, access_token, message_main_attachment_id, name, date, ref, narration, state, posted_before, move_type, to_check, journal_id, company_id, currency_id, partner_id, commercial_partner_id, is_move_sent, partner_bank_id, payment_reference, payment_id, statement_line_id, amount_untaxed, amount_tax, amount_total, amount_residual, amount_untaxed_signed, amount_tax_signed, amount_total_signed, amount_residual_signed, payment_state, tax_cash_basis_rec_id, tax_cash_basis_move_id, auto_post, reversed_entry_id, fiscal_position_id, invoice_user_id, invoice_date, invoice_date_due, invoice_origin, invoice_payment_term_id, invoice_incoterm_id, qr_code_method, invoice_source_email, invoice_partner_display_name, invoice_cash_rounding_id, secure_sequence_number, inalterable_hash, sequence_prefix, sequence_number, create_uid, create_date, write_uid, write_date, payment_state_before_switch, duplicated_vendor_ref, extract_state, extract_status_code, extract_remote_id, transfer_model_id, tax_closing_end_date, tax_report_control_error, asset_id, asset_remaining_value, asset_depreciated_value, asset_manually_modified, asset_value_change, campaign_id, source_id, medium_id, team_id, partner_shipping_id, stock_move_id, preferred_payment_method_id, website_id, branch_id, branch_name, invoice_action, sign_amount_total, sign_amount_residual, sign_amount_untaxed, invoice_part_id, invoice_product_qty, balance_entry, to_check_negative, non_inventory_entry, direct_order, warranty_invoice, email_send_eod, email_sent, order_type, carrier_id, release_to_pay, release_to_pay_manual, force_release_to_pay, invoice_origin_new, debit_origin_id, paid_by_vc, payment_details, expense_choice, edi_810_id, cash_tendered, change_amount, sequence_generated, open_invoice, edi_split_lock, edi_billed, is_edi_bill, payment_details_compute, edi_done_date, partner_address_type, from_ar, auto_reconcile, related_payment_id, discount_amount_applied) to stdout;Times Reported Time consuming queries #20
Day Hour Count Duration Avg duration Oct 26 05 1 17s589ms 17s589ms -
COPY public.account_move (id, access_token, message_main_attachment_id, name, date, ref, narration, state, posted_before, move_type, to_check, journal_id, company_id, currency_id, partner_id, commercial_partner_id, is_move_sent, partner_bank_id, payment_reference, payment_id, statement_line_id, amount_untaxed, amount_tax, amount_total, amount_residual, amount_untaxed_signed, amount_tax_signed, amount_total_signed, amount_residual_signed, payment_state, tax_cash_basis_rec_id, tax_cash_basis_move_id, auto_post, reversed_entry_id, fiscal_position_id, invoice_user_id, invoice_date, invoice_date_due, invoice_origin, invoice_payment_term_id, invoice_incoterm_id, qr_code_method, invoice_source_email, invoice_partner_display_name, invoice_cash_rounding_id, secure_sequence_number, inalterable_hash, sequence_prefix, sequence_number, create_uid, create_date, write_uid, write_date, payment_state_before_switch, duplicated_vendor_ref, extract_state, extract_status_code, extract_remote_id, transfer_model_id, tax_closing_end_date, tax_report_control_error, asset_id, asset_remaining_value, asset_depreciated_value, asset_manually_modified, asset_value_change, campaign_id, source_id, medium_id, team_id, partner_shipping_id, stock_move_id, preferred_payment_method_id, website_id, branch_id, branch_name, invoice_action, sign_amount_total, sign_amount_residual, sign_amount_untaxed, invoice_part_id, invoice_product_qty, balance_entry, to_check_negative, non_inventory_entry, direct_order, warranty_invoice, email_send_eod, email_sent, order_type, carrier_id, release_to_pay, release_to_pay_manual, force_release_to_pay, invoice_origin_new, debit_origin_id, paid_by_vc, payment_details, expense_choice, edi_810_id, cash_tendered, change_amount, sequence_generated, open_invoice, edi_split_lock, edi_billed, is_edi_bill, payment_details_compute, edi_done_date, partner_address_type, from_ar, auto_reconcile, related_payment_id, discount_amount_applied) TO stdout;
Date: 2024-10-26 09:00:24 Duration: 17s589ms
Most frequent queries (N)
Rank Times executed Total duration Min duration Max duration Avg duration Query 1 67,354 2h56m2s 131ms 919ms 156ms 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 Oct 26 20 2,666 7m6s 159ms 21 2,832 7m22s 156ms 22 2,820 7m23s 157ms 23 3,067 7m58s 155ms 00 3,024 7m51s 155ms 01 2,797 7m5s 152ms 02 2,680 6m52s 154ms 03 2,540 6m48s 160ms 04 2,731 7m10s 157ms 05 2,873 7m36s 158ms 06 2,869 7m18s 152ms 07 2,791 7m3s 151ms 08 2,753 6m57s 151ms 09 2,720 7m14s 159ms 10 3,063 7m49s 153ms 11 2,976 7m32s 151ms 12 2,740 7m32s 165ms 13 2,758 7m20s 159ms 14 2,700 7m19s 162ms 15 2,773 7m15s 157ms 16 2,791 7m21s 158ms 17 2,957 7m32s 153ms 18 2,671 7m17s 163ms 19 2,762 7m10s 155ms -
SELECT "bus_bus".id FROM "bus_bus" WHERE (("bus_bus"."create_date" > '2024-10-26 07:50:23') AND ("bus_bus"."channel" in ('"bundle_changed"', '"notify_branch_changed_1025"', '["pointspring_master","calendar.alarm",19563]', '["pointspring_master","mail.channel",249]', '["pointspring_master","mail.channel",250]', '["pointspring_master","mail.channel",251]', '["pointspring_master","mail.channel",451]', '["pointspring_master","mail.channel",460]', '["pointspring_master","mail.channel",513]', '["pointspring_master","mail.channel",624]', '["pointspring_master","res.partner",19563]', '["pointspring_master","ir.needaction",19563]'))) ORDER BY "bus_bus"."id";
Date: 2024-10-26 07:51:14 Duration: 919ms
-
SELECT "bus_bus".id FROM "bus_bus" WHERE (("bus_bus"."create_date" > '2024-10-26 18:17:11') AND ("bus_bus"."channel" in ('"bundle_changed"', '"notify_branch_changed_974"', '["pointspring_master","calendar.alarm",19512]', '["pointspring_master","mail.channel",419]', '["pointspring_master","mail.channel",420]', '["pointspring_master","mail.channel",421]', '["pointspring_master","mail.channel",489]', '["pointspring_master","mail.channel",557]', '["pointspring_master","res.partner",19512]', '["pointspring_master","ir.needaction",19512]'))) ORDER BY "bus_bus"."id";
Date: 2024-10-26 18:18:02 Duration: 914ms
-
SELECT "bus_bus".id FROM "bus_bus" WHERE (("bus_bus"."create_date" > '2024-10-26 18:17:11') AND ("bus_bus"."channel" in ('["pointspring_master","calendar.alarm",53355]', '["pointspring_master","res.partner",53355]', '["pointspring_master","ir.needaction",53355]'))) ORDER BY "bus_bus"."id";
Date: 2024-10-26 18:18:02 Duration: 889ms
2 5,760 14m31s 142ms 258ms 151ms select current_database() as database, schemaname as schema_name, tblname as table_name, bs * tblpages as real_size, (tblpages - est_tblpages_ff) * bs as bloat_size, case when tblpages - est_tblpages_ff > ? then ? * (tblpages - est_tblpages_ff) / tblpages::float else ? end as bloat_ratio from ( select ceil(reltuples / ((bs - page_hdr) / tpl_size)) + ceil(toasttuples / ?) as est_tblpages, ceil(reltuples / ((bs - page_hdr) * fillfactor / (tpl_size * ?))) + ceil(toasttuples / ?) as est_tblpages_ff, tblpages, fillfactor, bs, tblid, schemaname, tblname, heappages, toastpages, is_na from ( select (? + tpl_hdr_size + tpl_data_size + (? * ma) - case when tpl_hdr_size % ma = ? then ma else tpl_hdr_size % ma end - case when ceil(tpl_data_size)::int % ma = ? then ma else ceil(tpl_data_size)::int % ma end) as tpl_size, bs - page_hdr as size_per_block, (heappages + toastpages) as tblpages, heappages, toastpages, reltuples, toasttuples, bs, page_hdr, tblid, schemaname, tblname, fillfactor, is_na from ( select tbl.oid as tblid, ns.nspname as schemaname, tbl.relname as tblname, tbl.reltuples, tbl.relpages as heappages, coalesce(toast.relpages, ?) as toastpages, coalesce(toast.reltuples, ?) as toasttuples, coalesce(substring(array_to_string(tbl.reloptions, ?) from ?)::smallint, ?) as fillfactor, current_setting(?)::numeric as bs, case when version() ~ ? or version() ~ ? then ? else ? end as ma, ? as page_hdr, case when current_setting(?)::integer < ? then ? else ? end + case when max(coalesce(null_frac, ?)) > ? then (? + count(*)) / ? else ?::int end + ? as tpl_hdr_size, sum((? - coalesce(s.null_frac, ?)) * coalesce(s.avg_width, ?)) as tpl_data_size, bool_or(att.atttypid = ?::regtype) or count(att.attname) <> count(s.attname) as is_na from pg_attribute as att join pg_class as tbl on att.attrelid = tbl.oid join pg_namespace as ns on ns.oid = tbl.relnamespace left join pg_stats as s on s.schemaname = ns.nspname and s.tablename = tbl.relname and s.attname = att.attname left join pg_class as toast on tbl.reltoastrelid = toast.oid where att.attnum > ? and not att.attisdropped and tbl.relkind = ? group by ?, ?, ?, ?, ?, ?, ?, ?, ?, ? order by ?, ?) as s) as s2) as s3 where not is_na and schemaname || ? || tblname in (...);Times Reported Time consuming queries #2
Day Hour Count Duration Avg duration Oct 26 20 240 36s61ms 150ms 21 240 36s142ms 150ms 22 240 36s32ms 150ms 23 240 36s293ms 151ms 00 240 36s578ms 152ms 01 240 36s573ms 152ms 02 240 36s252ms 151ms 03 240 35s872ms 149ms 04 240 36s689ms 152ms 05 240 36s717ms 152ms 06 240 36s461ms 151ms 07 240 36s241ms 151ms 08 240 36s156ms 150ms 09 240 36s202ms 150ms 10 240 36s277ms 151ms 11 240 36s300ms 151ms 12 240 36s585ms 152ms 13 240 36s463ms 151ms 14 240 36s398ms 151ms 15 240 36s522ms 152ms 16 240 36s446ms 151ms 17 240 36s200ms 150ms 18 240 36s303ms 151ms 19 240 36s160ms 150ms -
SELECT -- BLOATQUERY current_database() as database, schemaname as schema_name, tblname as table_name, bs * tblpages AS real_size, (tblpages - est_tblpages_ff) * bs AS bloat_size, CASE WHEN tblpages - est_tblpages_ff > 0 THEN 100 * (tblpages - est_tblpages_ff) / tblpages::float ELSE 0 END AS bloat_ratio -- , (pst).free_percent + (pst).dead_tuple_percent AS real_frag FROM ( SELECT ceil(reltuples / ((bs - page_hdr) / tpl_size)) + ceil(toasttuples / 4) AS est_tblpages, ceil(reltuples / ((bs - page_hdr) * fillfactor / (tpl_size * 100))) + ceil(toasttuples / 4) AS est_tblpages_ff, tblpages, fillfactor, bs, tblid, schemaname, tblname, heappages, toastpages, is_na -- , stattuple.pgstattuple(tblid) AS pst FROM ( SELECT (4 + tpl_hdr_size + tpl_data_size + (2 * ma) - CASE WHEN tpl_hdr_size % ma = 0 THEN ma ELSE tpl_hdr_size % ma END - CASE WHEN ceil(tpl_data_size)::int % ma = 0 THEN ma ELSE ceil(tpl_data_size)::int % ma END) AS tpl_size, bs - page_hdr AS size_per_block, (heappages + toastpages) AS tblpages, heappages, toastpages, reltuples, toasttuples, bs, page_hdr, tblid, schemaname, tblname, fillfactor, is_na FROM ( SELECT tbl.oid AS tblid, ns.nspname AS schemaname, tbl.relname AS tblname, tbl.reltuples, tbl.relpages AS heappages, coalesce(toast.relpages, 0) AS toastpages, coalesce(toast.reltuples, 0) AS toasttuples, coalesce(substring(array_to_string(tbl.reloptions, ' ') FROM 'fillfactor=([0-9]+)')::smallint, 100) AS fillfactor, current_setting('block_size')::numeric AS bs, CASE WHEN version() ~ 'mingw32' OR version() ~ '64-bit|x86_64|ppc64|ia64|amd64' THEN 8 ELSE 4 END AS ma, 24 AS page_hdr, CASE WHEN current_setting('server_version_num')::integer < 80300 THEN 27 ELSE 23 END + CASE WHEN MAX(coalesce(null_frac, 0)) > 0 THEN (7 + count(*)) / 8 ELSE 0::int END +0 AS tpl_hdr_size, sum((1 - coalesce(s.null_frac, 0)) * coalesce(s.avg_width, 1024)) AS tpl_data_size, bool_or(att.atttypid = 'pg_catalog.name'::regtype) OR count(att.attname) <> count(s.attname) AS is_na FROM pg_attribute AS att JOIN pg_class AS tbl ON att.attrelid = tbl.oid JOIN pg_namespace AS ns ON ns.oid = tbl.relnamespace LEFT JOIN pg_stats AS s ON s.schemaname = ns.nspname AND s.tablename = tbl.relname AND s.attname = att.attname LEFT JOIN pg_class AS toast ON tbl.reltoastrelid = toast.oid WHERE att.attnum > 0 AND NOT att.attisdropped AND tbl.relkind = 'r' GROUP BY 1, 2, 3, 4, 5, 6, 7, 8, 9, 10 ORDER BY 2, 3) AS s) AS s2) AS s3 where not is_na and schemaname || '.' || tblname in ('information_schema.applicable_roles', 'information_schema.column_column_usage', 'information_schema.referential_constraints', 'information_schema.constraint_column_usage', 'information_schema.sql_sizing', 'information_schema.usage_privileges', 'information_schema.routines', 'information_schema.views', 'information_schema.foreign_data_wrappers', 'information_schema.character_sets', 'information_schema.routine_routine_usage', 'information_schema.triggered_update_columns', 'information_schema.role_column_grants', 'information_schema.routine_column_usage', 'information_schema.domain_constraints', 'information_schema.sequences', 'information_schema.table_privileges', 'information_schema.role_udt_grants', 'information_schema.foreign_data_wrapper_options', 'information_schema.information_schema_catalog_name', 'information_schema.domain_udt_usage', 'information_schema.schemata', 'information_schema.sql_features', 'information_schema.triggers', 'information_schema.user_defined_types', 'information_schema.foreign_table_options', 'information_schema.column_udt_usage', 'information_schema.routine_privileges', 'information_schema.domains', 'information_schema.user_mappings', 'information_schema.foreign_tables', 'information_schema.column_domain_usage', 'information_schema.enabled_roles', 'information_schema.view_routine_usage', 'information_schema.key_column_usage', 'information_schema.routine_sequence_usage', 'information_schema.view_column_usage', 'information_schema.foreign_servers', 'information_schema.columns', 'information_schema.sql_implementation_info', 'information_schema.data_type_privileges', 'information_schema.foreign_server_options', 'information_schema.check_constraints', 'information_schema.collation_character_set_applicability', 'information_schema.parameters', 'information_schema.routine_table_usage', 'information_schema.role_table_grants', 'information_schema.constraint_table_usage', 'information_schema.view_table_usage', 'information_schema.check_constraint_routine_usage', 'information_schema.column_privileges', 'information_schema.udt_privileges', 'information_schema.user_mapping_options', 'information_schema.attributes', 'information_schema.collations', 'information_schema.role_routine_grants', 'information_schema.tables', 'information_schema.column_options', 'information_schema.administrable_role_authorizations', 'information_schema.table_constraints', 'information_schema.role_usage_grants', 'information_schema.element_types', 'public.pg_stat_statements_info', 'public.pg_stat_statements', 'pg_catalog.pg_statio_all_tables', 'pg_catalog.pg_ts_config_map', 'pg_catalog.pg_default_acl', 'pg_catalog.pg_stat_all_indexes', 'pg_catalog.pg_statio_user_indexes', 'pg_catalog.pg_available_extension_versions', 'pg_catalog.pg_operator', 'pg_catalog.pg_publication', 'pg_catalog.pg_stat_xact_all_tables', 'pg_catalog.pg_db_role_setting', 'pg_catalog.pg_ts_template', 'pg_catalog.pg_stat_gssapi', 'pg_catalog.pg_inherits', 'pg_catalog.pg_views', 'pg_catalog.pg_prepared_xacts', 'pg_catalog.pg_statio_all_indexes', 'pg_catalog.pg_stat_subscription', 'pg_catalog.pg_tablespace', 'pg_catalog.pg_attribute', 'pg_catalog.pg_stat_archiver', 'pg_catalog.pg_init_privs', 'pg_catalog.pg_range', 'pg_catalog.pg_stat_database', 'pg_catalog.pg_stat_database_conflicts', 'pg_catalog.pg_stat_progress_analyze', 'pg_catalog.pg_largeobject_metadata', 'pg_catalog.pg_collation', 'pg_catalog.pg_sequences', 'pg_catalog.pg_publication_tables', 'pg_catalog.pg_stat_user_tables', 'pg_catalog.pg_stat_wal_receiver', 'pg_catalog.pg_transform', 'pg_catalog.pg_proc', 'pg_catalog.pg_shdescription', 'pg_catalog.pg_policies', 'pg_catalog.pg_stats', 'pg_catalog.pg_seclabels', 'pg_catalog.pg_statio_sys_sequences', 'pg_catalog.pg_stat_wal', 'pg_catalog.pg_ts_parser', 'pg_catalog.pg_stat_sys_tables', 'pg_catalog.pg_language', 'pg_catalog.pg_index', 'pg_catalog.pg_stat_bgwriter', 'pg_catalog.pg_stat_xact_user_tables', 'pg_catalog.pg_shdepend', 'pg_catalog.pg_replication_origin', 'pg_catalog.pg_publication_rel', 'pg_catalog.pg_type', 'pg_catalog.pg_enum', 'pg_catalog.pg_statio_sys_indexes', 'pg_catalog.pg_auth_members', 'pg_catalog.pg_stat_replication_slots', 'pg_catalog.pg_namespace', 'pg_catalog.pg_foreign_data_wrapper', 'pg_catalog.pg_tables', 'pg_catalog.pg_timezone_abbrevs', 'pg_catalog.pg_statio_sys_tables', 'pg_catalog.pg_statio_all_sequences', 'pg_catalog.pg_statio_user_sequences', 'pg_catalog.pg_rewrite', 'pg_catalog.pg_sequence', 'pg_catalog.pg_indexes', 'pg_catalog.pg_locks', 'pg_catalog.pg_cursors', 'pg_catalog.pg_foreign_table', 'pg_catalog.pg_class', 'pg_catalog.pg_opclass', 'pg_catalog.pg_extension', 'pg_catalog.pg_subscription', 'pg_catalog.pg_stat_progress_cluster', 'pg_catalog.pg_event_trigger', 'pg_catalog.pg_policy', 'pg_catalog.pg_rules', 'pg_catalog.pg_stats_ext', 'pg_catalog.pg_stat_xact_user_functions', 'pg_catalog.pg_amop', 'pg_catalog.pg_trigger', 'pg_catalog.pg_constraint', 'pg_catalog.pg_stat_progress_create_index', 'pg_catalog.pg_cast', 'pg_catalog.pg_timezone_names', 'pg_catalog.pg_stat_user_functions', 'pg_catalog.pg_aggregate', 'pg_catalog.pg_description', 'pg_catalog.pg_database', 'pg_catalog.pg_user', 'pg_catalog.pg_user_mappings', 'pg_catalog.pg_amproc', 'pg_catalog.pg_stat_progress_copy', 'pg_catalog.pg_ts_config', 'pg_catalog.pg_matviews', 'pg_catalog.pg_stat_ssl', 'pg_catalog.pg_group', 'pg_catalog.pg_prepared_statements', 'pg_catalog.pg_stat_sys_indexes', 'pg_catalog.pg_settings', 'pg_catalog.pg_available_extensions', 'pg_catalog.pg_stat_xact_sys_tables', 'pg_catalog.pg_attrdef', 'pg_catalog.pg_opfamily', 'pg_catalog.pg_seclabel', 'pg_catalog.pg_stat_user_indexes', 'pg_catalog.pg_stat_activity', 'pg_catalog.pg_stat_progress_basebackup', 'pg_catalog.pg_statistic_ext', 'pg_catalog.pg_conversion', 'pg_catalog.pg_stat_slru', 'pg_catalog.pg_roles', 'pg_catalog.pg_stat_progress_vacuum', 'pg_catalog.pg_foreign_server', 'pg_catalog.pg_shseclabel', 'pg_catalog.pg_subscription_rel', 'pg_catalog.pg_stats_ext_exprs', 'pg_catalog.pg_replication_slots', 'pg_catalog.pg_depend', 'pg_catalog.pg_ts_dict', 'pg_catalog.pg_am', 'pg_catalog.pg_partitioned_table', 'pg_catalog.pg_stat_all_tables', 'pg_catalog.pg_statio_user_tables', 'pg_catalog.pg_stat_replication');
Date: 2024-10-26 07:55:10 Duration: 258ms
-
SELECT -- BLOATQUERY current_database() as database, schemaname as schema_name, tblname as table_name, bs * tblpages AS real_size, (tblpages - est_tblpages_ff) * bs AS bloat_size, CASE WHEN tblpages - est_tblpages_ff > 0 THEN 100 * (tblpages - est_tblpages_ff) / tblpages::float ELSE 0 END AS bloat_ratio -- , (pst).free_percent + (pst).dead_tuple_percent AS real_frag FROM ( SELECT ceil(reltuples / ((bs - page_hdr) / tpl_size)) + ceil(toasttuples / 4) AS est_tblpages, ceil(reltuples / ((bs - page_hdr) * fillfactor / (tpl_size * 100))) + ceil(toasttuples / 4) AS est_tblpages_ff, tblpages, fillfactor, bs, tblid, schemaname, tblname, heappages, toastpages, is_na -- , stattuple.pgstattuple(tblid) AS pst FROM ( SELECT (4 + tpl_hdr_size + tpl_data_size + (2 * ma) - CASE WHEN tpl_hdr_size % ma = 0 THEN ma ELSE tpl_hdr_size % ma END - CASE WHEN ceil(tpl_data_size)::int % ma = 0 THEN ma ELSE ceil(tpl_data_size)::int % ma END) AS tpl_size, bs - page_hdr AS size_per_block, (heappages + toastpages) AS tblpages, heappages, toastpages, reltuples, toasttuples, bs, page_hdr, tblid, schemaname, tblname, fillfactor, is_na FROM ( SELECT tbl.oid AS tblid, ns.nspname AS schemaname, tbl.relname AS tblname, tbl.reltuples, tbl.relpages AS heappages, coalesce(toast.relpages, 0) AS toastpages, coalesce(toast.reltuples, 0) AS toasttuples, coalesce(substring(array_to_string(tbl.reloptions, ' ') FROM 'fillfactor=([0-9]+)')::smallint, 100) AS fillfactor, current_setting('block_size')::numeric AS bs, CASE WHEN version() ~ 'mingw32' OR version() ~ '64-bit|x86_64|ppc64|ia64|amd64' THEN 8 ELSE 4 END AS ma, 24 AS page_hdr, CASE WHEN current_setting('server_version_num')::integer < 80300 THEN 27 ELSE 23 END + CASE WHEN MAX(coalesce(null_frac, 0)) > 0 THEN (7 + count(*)) / 8 ELSE 0::int END +0 AS tpl_hdr_size, sum((1 - coalesce(s.null_frac, 0)) * coalesce(s.avg_width, 1024)) AS tpl_data_size, bool_or(att.atttypid = 'pg_catalog.name'::regtype) OR count(att.attname) <> count(s.attname) AS is_na FROM pg_attribute AS att JOIN pg_class AS tbl ON att.attrelid = tbl.oid JOIN pg_namespace AS ns ON ns.oid = tbl.relnamespace LEFT JOIN pg_stats AS s ON s.schemaname = ns.nspname AND s.tablename = tbl.relname AND s.attname = att.attname LEFT JOIN pg_class AS toast ON tbl.reltoastrelid = toast.oid WHERE att.attnum > 0 AND NOT att.attisdropped AND tbl.relkind = 'r' GROUP BY 1, 2, 3, 4, 5, 6, 7, 8, 9, 10 ORDER BY 2, 3) AS s) AS s2) AS s3 where not is_na and schemaname || '.' || tblname in ('pg_catalog.pg_ts_config', 'pg_catalog.pg_database', 'pg_catalog.pg_stat_bgwriter', 'pg_catalog.pg_stat_wal', 'pg_catalog.pg_enum', 'pg_catalog.pg_stats', 'pg_catalog.pg_statio_user_sequences', 'pg_catalog.pg_operator', 'pg_catalog.pg_trigger', 'pg_catalog.pg_cursors', 'pg_catalog.pg_attrdef', 'pg_catalog.pg_depend', 'pg_catalog.pg_seclabels', 'pg_catalog.pg_statio_sys_tables', 'pg_catalog.pg_stat_database_conflicts', 'pg_catalog.pg_subscription', 'pg_catalog.pg_foreign_data_wrapper', 'pg_catalog.pg_subscription_rel', 'pg_catalog.pg_stat_all_indexes', 'pg_catalog.pg_shdescription', 'pg_catalog.pg_stat_all_tables', 'pg_catalog.pg_policies', 'pg_catalog.pg_views', 'pg_catalog.pg_stat_xact_user_tables', 'pg_catalog.pg_inherits', 'pg_catalog.pg_init_privs', 'pg_catalog.pg_transform', 'pg_catalog.pg_rules', 'pg_catalog.pg_stats_ext_exprs', 'pg_catalog.pg_user_mappings', 'pg_catalog.pg_amproc', 'pg_catalog.pg_ts_config_map', 'pg_catalog.pg_statio_user_tables', 'pg_catalog.pg_statio_all_indexes', 'pg_catalog.pg_stat_replication', 'pg_catalog.pg_constraint', 'pg_catalog.pg_language', 'pg_catalog.pg_user', 'pg_catalog.pg_attribute', 'pg_catalog.pg_ts_template', 'pg_catalog.pg_timezone_names', 'pg_catalog.pg_stat_xact_user_functions', 'pg_catalog.pg_range', 'pg_catalog.pg_ts_dict', 'pg_catalog.pg_statio_sys_sequences', 'pg_catalog.pg_am', 'pg_catalog.pg_largeobject_metadata', 'pg_catalog.pg_statio_all_tables', 'pg_catalog.pg_rewrite', 'pg_catalog.pg_namespace', 'pg_catalog.pg_auth_members', 'pg_catalog.pg_publication', 'pg_catalog.pg_available_extensions', 'pg_catalog.pg_proc', 'pg_catalog.pg_stat_progress_copy', 'pg_catalog.pg_partitioned_table', 'pg_catalog.pg_sequences', 'pg_catalog.pg_replication_slots', 'pg_catalog.pg_class', 'pg_catalog.pg_opclass', 'pg_catalog.pg_description', 'pg_catalog.pg_shdepend', 'pg_catalog.pg_ts_parser', 'pg_catalog.pg_publication_tables', 'pg_catalog.pg_stat_user_indexes', 'pg_catalog.pg_index', 'pg_catalog.pg_statistic_ext', 'pg_catalog.pg_settings', 'pg_catalog.pg_stat_progress_vacuum', 'pg_catalog.pg_statio_sys_indexes', 'pg_catalog.pg_opfamily', 'pg_catalog.pg_event_trigger', 'pg_catalog.pg_stat_gssapi', 'pg_catalog.pg_stat_progress_create_index', 'pg_catalog.pg_stat_xact_sys_tables', 'pg_catalog.pg_available_extension_versions', 'pg_catalog.pg_indexes', 'pg_catalog.pg_stat_sys_tables', 'pg_catalog.pg_foreign_table', 'pg_catalog.pg_roles', 'pg_catalog.pg_stat_slru', 'pg_catalog.pg_db_role_setting', 'pg_catalog.pg_prepared_xacts', 'pg_catalog.pg_prepared_statements', 'pg_catalog.pg_stat_activity', 'pg_catalog.pg_stat_subscription', 'pg_catalog.pg_stat_user_functions', 'pg_catalog.pg_group', 'pg_catalog.pg_seclabel', 'pg_catalog.pg_tables', 'pg_catalog.pg_stat_xact_all_tables', 'pg_catalog.pg_extension', 'pg_catalog.pg_foreign_server', 'pg_catalog.pg_matviews', 'pg_catalog.pg_stats_ext', 'pg_catalog.pg_type', 'pg_catalog.pg_stat_progress_analyze', 'pg_catalog.pg_conversion', 'pg_catalog.pg_stat_replication_slots', 'pg_catalog.pg_amop', 'pg_catalog.pg_stat_archiver', 'pg_catalog.pg_sequence', 'pg_catalog.pg_shseclabel', 'pg_catalog.pg_publication_rel', 'pg_catalog.pg_locks', 'pg_catalog.pg_stat_sys_indexes', 'pg_catalog.pg_replication_origin', 'pg_catalog.pg_default_acl', 'pg_catalog.pg_stat_user_tables', 'pg_catalog.pg_statio_all_sequences', 'pg_catalog.pg_stat_database', 'pg_catalog.pg_aggregate', 'pg_catalog.pg_policy', 'pg_catalog.pg_timezone_abbrevs', 'pg_catalog.pg_stat_wal_receiver', 'pg_catalog.pg_tablespace', 'pg_catalog.pg_stat_progress_basebackup', 'pg_catalog.pg_collation', 'pg_catalog.pg_statio_user_indexes', 'pg_catalog.pg_stat_ssl', 'pg_catalog.pg_stat_progress_cluster', 'pg_catalog.pg_cast', 'information_schema.data_type_privileges', 'information_schema.check_constraint_routine_usage', 'information_schema.column_column_usage', 'information_schema.domain_udt_usage', 'information_schema.referential_constraints', 'information_schema.administrable_role_authorizations', 'information_schema.role_table_grants', 'information_schema.user_mappings', 'information_schema.user_mapping_options', 'information_schema.information_schema_catalog_name', 'information_schema.view_table_usage', 'information_schema.routine_routine_usage', 'information_schema.sql_features', 'information_schema.usage_privileges', 'information_schema.foreign_servers', 'information_schema.sql_sizing', 'information_schema.routine_privileges', 'information_schema.domains', 'information_schema.column_options', 'information_schema.check_constraints', 'information_schema.foreign_data_wrappers', 'information_schema.foreign_table_options', 'information_schema.foreign_tables', 'information_schema.columns', 'information_schema.sequences', 'information_schema.user_defined_types', 'information_schema.triggered_update_columns', 'information_schema.column_domain_usage', 'information_schema.column_udt_usage', 'information_schema.schemata', 'information_schema.table_constraints', 'information_schema.parameters', 'information_schema.sql_implementation_info', 'information_schema.udt_privileges', 'information_schema.column_privileges', 'information_schema.constraint_column_usage', 'information_schema.constraint_table_usage', 'information_schema.tables', 'information_schema.collations', 'information_schema.role_usage_grants', 'information_schema.view_routine_usage', 'information_schema.applicable_roles', 'information_schema.role_routine_grants', 'information_schema.routine_table_usage', 'information_schema.triggers', 'information_schema.routine_sequence_usage', 'information_schema.views', 'information_schema.foreign_data_wrapper_options', 'information_schema.attributes', 'information_schema.collation_character_set_applicability', 'information_schema.routine_column_usage', 'information_schema.enabled_roles', 'information_schema.role_udt_grants', 'information_schema.element_types', 'information_schema.character_sets', 'information_schema.role_column_grants', 'information_schema.domain_constraints', 'information_schema.table_privileges', 'information_schema.routines', 'information_schema.key_column_usage', 'information_schema.view_column_usage', 'information_schema.foreign_server_options', 'public.pg_stat_statements_info', 'public.pg_stat_statements');
Date: 2024-10-26 08:43:55 Duration: 243ms
-
SELECT -- BLOATQUERY current_database() as database, schemaname as schema_name, tblname as table_name, bs * tblpages AS real_size, (tblpages - est_tblpages_ff) * bs AS bloat_size, CASE WHEN tblpages - est_tblpages_ff > 0 THEN 100 * (tblpages - est_tblpages_ff) / tblpages::float ELSE 0 END AS bloat_ratio -- , (pst).free_percent + (pst).dead_tuple_percent AS real_frag FROM ( SELECT ceil(reltuples / ((bs - page_hdr) / tpl_size)) + ceil(toasttuples / 4) AS est_tblpages, ceil(reltuples / ((bs - page_hdr) * fillfactor / (tpl_size * 100))) + ceil(toasttuples / 4) AS est_tblpages_ff, tblpages, fillfactor, bs, tblid, schemaname, tblname, heappages, toastpages, is_na -- , stattuple.pgstattuple(tblid) AS pst FROM ( SELECT (4 + tpl_hdr_size + tpl_data_size + (2 * ma) - CASE WHEN tpl_hdr_size % ma = 0 THEN ma ELSE tpl_hdr_size % ma END - CASE WHEN ceil(tpl_data_size)::int % ma = 0 THEN ma ELSE ceil(tpl_data_size)::int % ma END) AS tpl_size, bs - page_hdr AS size_per_block, (heappages + toastpages) AS tblpages, heappages, toastpages, reltuples, toasttuples, bs, page_hdr, tblid, schemaname, tblname, fillfactor, is_na FROM ( SELECT tbl.oid AS tblid, ns.nspname AS schemaname, tbl.relname AS tblname, tbl.reltuples, tbl.relpages AS heappages, coalesce(toast.relpages, 0) AS toastpages, coalesce(toast.reltuples, 0) AS toasttuples, coalesce(substring(array_to_string(tbl.reloptions, ' ') FROM 'fillfactor=([0-9]+)')::smallint, 100) AS fillfactor, current_setting('block_size')::numeric AS bs, CASE WHEN version() ~ 'mingw32' OR version() ~ '64-bit|x86_64|ppc64|ia64|amd64' THEN 8 ELSE 4 END AS ma, 24 AS page_hdr, CASE WHEN current_setting('server_version_num')::integer < 80300 THEN 27 ELSE 23 END + CASE WHEN MAX(coalesce(null_frac, 0)) > 0 THEN (7 + count(*)) / 8 ELSE 0::int END +0 AS tpl_hdr_size, sum((1 - coalesce(s.null_frac, 0)) * coalesce(s.avg_width, 1024)) AS tpl_data_size, bool_or(att.atttypid = 'pg_catalog.name'::regtype) OR count(att.attname) <> count(s.attname) AS is_na FROM pg_attribute AS att JOIN pg_class AS tbl ON att.attrelid = tbl.oid JOIN pg_namespace AS ns ON ns.oid = tbl.relnamespace LEFT JOIN pg_stats AS s ON s.schemaname = ns.nspname AND s.tablename = tbl.relname AND s.attname = att.attname LEFT JOIN pg_class AS toast ON tbl.reltoastrelid = toast.oid WHERE att.attnum > 0 AND NOT att.attisdropped AND tbl.relkind = 'r' GROUP BY 1, 2, 3, 4, 5, 6, 7, 8, 9, 10 ORDER BY 2, 3) AS s) AS s2) AS s3 where not is_na and schemaname || '.' || tblname in ('information_schema.element_types', 'information_schema.view_column_usage', 'information_schema.column_udt_usage', 'information_schema.routine_privileges', 'information_schema.referential_constraints', 'information_schema.view_table_usage', 'information_schema.information_schema_catalog_name', 'information_schema.sql_features', 'information_schema.column_options', 'information_schema.user_mapping_options', 'information_schema.constraint_column_usage', 'information_schema.routine_column_usage', 'information_schema.parameters', 'information_schema.role_udt_grants', 'information_schema.foreign_data_wrapper_options', 'information_schema.routines', 'information_schema.table_privileges', 'information_schema.usage_privileges', 'information_schema.character_sets', 'information_schema.domains', 'information_schema.role_usage_grants', 'information_schema.administrable_role_authorizations', 'information_schema.column_column_usage', 'information_schema.schemata', 'information_schema.view_routine_usage', 'information_schema.applicable_roles', 'information_schema.user_mappings', 'information_schema.foreign_servers', 'information_schema.foreign_tables', 'information_schema.enabled_roles', 'information_schema.triggers', 'information_schema.user_defined_types', 'information_schema.foreign_table_options', 'information_schema.foreign_server_options', 'information_schema.attributes', 'information_schema.domain_constraints', 'information_schema.routine_routine_usage', 'information_schema.role_column_grants', 'information_schema.sql_sizing', 'information_schema.foreign_data_wrappers', 'information_schema.tables', 'information_schema.data_type_privileges', 'information_schema.collations', 'information_schema.collation_character_set_applicability', 'information_schema.column_domain_usage', 'information_schema.key_column_usage', 'information_schema.routine_sequence_usage', 'information_schema.columns', 'information_schema.constraint_table_usage', 'information_schema.domain_udt_usage', 'information_schema.sequences', 'information_schema.role_routine_grants', 'information_schema.sql_implementation_info', 'information_schema.udt_privileges', 'information_schema.check_constraints', 'information_schema.column_privileges', 'information_schema.role_table_grants', 'information_schema.views', 'information_schema.check_constraint_routine_usage', 'information_schema.routine_table_usage', 'information_schema.table_constraints', 'information_schema.triggered_update_columns', 'public.pg_stat_statements_info', 'public.pg_stat_statements', 'pg_catalog.pg_stat_replication_slots', 'pg_catalog.pg_stat_sys_tables', 'pg_catalog.pg_timezone_names', 'pg_catalog.pg_user_mappings', 'pg_catalog.pg_trigger', 'pg_catalog.pg_sequences', 'pg_catalog.pg_cursors', 'pg_catalog.pg_stats_ext', 'pg_catalog.pg_roles', 'pg_catalog.pg_opclass', 'pg_catalog.pg_depend', 'pg_catalog.pg_proc', 'pg_catalog.pg_init_privs', 'pg_catalog.pg_stat_sys_indexes', 'pg_catalog.pg_constraint', 'pg_catalog.pg_sequence', 'pg_catalog.pg_statio_all_indexes', 'pg_catalog.pg_foreign_server', 'pg_catalog.pg_stat_replication', 'pg_catalog.pg_stat_subscription', 'pg_catalog.pg_settings', 'pg_catalog.pg_operator', 'pg_catalog.pg_description', 'pg_catalog.pg_stat_user_tables', 'pg_catalog.pg_replication_slots', 'pg_catalog.pg_subscription', 'pg_catalog.pg_database', 'pg_catalog.pg_subscription_rel', 'pg_catalog.pg_locks', 'pg_catalog.pg_inherits', 'pg_catalog.pg_ts_parser', 'pg_catalog.pg_stats', 'pg_catalog.pg_stat_xact_user_tables', 'pg_catalog.pg_db_role_setting', 'pg_catalog.pg_matviews', 'pg_catalog.pg_rules', 'pg_catalog.pg_attrdef', 'pg_catalog.pg_stat_archiver', 'pg_catalog.pg_stats_ext_exprs', 'pg_catalog.pg_stat_xact_sys_tables', 'pg_catalog.pg_auth_members', 'pg_catalog.pg_range', 'pg_catalog.pg_policies', 'pg_catalog.pg_amop', 'pg_catalog.pg_stat_activity', 'pg_catalog.pg_views', 'pg_catalog.pg_foreign_table', 'pg_catalog.pg_language', 'pg_catalog.pg_rewrite', 'pg_catalog.pg_stat_all_indexes', 'pg_catalog.pg_foreign_data_wrapper', 'pg_catalog.pg_prepared_statements', 'pg_catalog.pg_statio_user_tables', 'pg_catalog.pg_available_extensions', 'pg_catalog.pg_statistic_ext', 'pg_catalog.pg_conversion', 'pg_catalog.pg_shdescription', 'pg_catalog.pg_largeobject_metadata', 'pg_catalog.pg_shdepend', 'pg_catalog.pg_publication', 'pg_catalog.pg_class', 'pg_catalog.pg_cast', 'pg_catalog.pg_statio_sys_indexes', 'pg_catalog.pg_stat_database_conflicts', 'pg_catalog.pg_group', 'pg_catalog.pg_extension', 'pg_catalog.pg_transform', 'pg_catalog.pg_statio_sys_sequences', 'pg_catalog.pg_policy', 'pg_catalog.pg_publication_tables', 'pg_catalog.pg_statio_all_tables', 'pg_catalog.pg_stat_user_indexes', 'pg_catalog.pg_stat_bgwriter', 'pg_catalog.pg_stat_progress_create_index', 'pg_catalog.pg_aggregate', 'pg_catalog.pg_stat_wal_receiver', 'pg_catalog.pg_stat_wal', 'pg_catalog.pg_stat_progress_analyze', 'pg_catalog.pg_ts_config_map', 'pg_catalog.pg_ts_dict', 'pg_catalog.pg_indexes', 'pg_catalog.pg_stat_slru', 'pg_catalog.pg_publication_rel', 'pg_catalog.pg_stat_progress_basebackup', 'pg_catalog.pg_stat_progress_copy', 'pg_catalog.pg_collation', 'pg_catalog.pg_stat_xact_all_tables', 'pg_catalog.pg_index', 'pg_catalog.pg_ts_template', 'pg_catalog.pg_prepared_xacts', 'pg_catalog.pg_partitioned_table', 'pg_catalog.pg_stat_all_tables', 'pg_catalog.pg_opfamily', 'pg_catalog.pg_seclabel', 'pg_catalog.pg_shseclabel', 'pg_catalog.pg_stat_ssl', 'pg_catalog.pg_am', 'pg_catalog.pg_enum', 'pg_catalog.pg_namespace', 'pg_catalog.pg_ts_config', 'pg_catalog.pg_user', 'pg_catalog.pg_statio_all_sequences', 'pg_catalog.pg_attribute', 'pg_catalog.pg_amproc', 'pg_catalog.pg_timezone_abbrevs', 'pg_catalog.pg_statio_user_indexes', 'pg_catalog.pg_type', 'pg_catalog.pg_available_extension_versions', 'pg_catalog.pg_seclabels', 'pg_catalog.pg_default_acl', 'pg_catalog.pg_stat_user_functions', 'pg_catalog.pg_stat_progress_vacuum', 'pg_catalog.pg_event_trigger', 'pg_catalog.pg_replication_origin', 'pg_catalog.pg_statio_sys_tables', 'pg_catalog.pg_statio_user_sequences', 'pg_catalog.pg_stat_gssapi', 'pg_catalog.pg_stat_database', 'pg_catalog.pg_tablespace', 'pg_catalog.pg_stat_xact_user_functions', 'pg_catalog.pg_stat_progress_cluster', 'pg_catalog.pg_tables');
Date: 2024-10-26 10:28:55 Duration: 238ms
3 1,893 3m54s 120ms 372ms 123ms select "product_template".id from "product_template" where (("product_template"."active" = true) and (("product_template"."sale_ok" = true) and (("product_template"."website_id" in (...)) or "product_template"."website_id" is null))) order by coalesce("product_template"."is_published", false) desc, "product_template"."website_sequence" asc, "product_template"."id" desc;Times Reported Time consuming queries #3
Day Hour Count Duration Avg duration Oct 26 20 43 5s268ms 122ms 21 58 7s254ms 125ms 22 67 8s424ms 125ms 23 179 22s123ms 123ms 00 101 12s440ms 123ms 01 122 14s966ms 122ms 02 78 9s566ms 122ms 03 43 5s400ms 125ms 04 125 15s744ms 125ms 05 85 10s421ms 122ms 06 79 9s814ms 124ms 07 73 9s91ms 124ms 08 68 8s501ms 125ms 09 59 7s270ms 123ms 10 77 9s455ms 122ms 11 78 9s552ms 122ms 12 85 10s733ms 126ms 13 56 6s955ms 124ms 14 97 11s998ms 123ms 15 81 9s950ms 122ms 16 85 10s440ms 122ms 17 61 7s448ms 122ms 18 52 6s376ms 122ms 19 41 5s40ms 122ms -
SELECT "product_template".id FROM "product_template" WHERE (("product_template"."active" = true) AND (("product_template"."sale_ok" = true) AND (("product_template"."website_id" in (1)) OR "product_template"."website_id" IS NULL))) ORDER BY COALESCE("product_template"."is_published", false) DESC, "product_template"."website_sequence" ASC, "product_template"."id" DESC;
Date: 2024-10-26 08:42:41 Duration: 372ms
-
SELECT "product_template".id FROM "product_template" WHERE (("product_template"."active" = true) AND (("product_template"."sale_ok" = true) AND (("product_template"."website_id" in (1)) OR "product_template"."website_id" IS NULL))) ORDER BY COALESCE("product_template"."is_published", false) DESC, "product_template"."website_sequence" ASC, "product_template"."id" DESC;
Date: 2024-10-26 08:42:41 Duration: 281ms
-
SELECT "product_template".id FROM "product_template" WHERE (("product_template"."active" = true) AND (("product_template"."sale_ok" = true) AND (("product_template"."website_id" in (1)) OR "product_template"."website_id" IS NULL))) ORDER BY COALESCE("product_template"."is_published", false) DESC, "product_template"."website_sequence" ASC, "product_template"."id" DESC;
Date: 2024-10-26 16:59:24 Duration: 195ms
4 1,584 9m6s 327ms 715ms 345ms 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"."sale_ok" = true) and (("product_template"."website_id" in (...)) or "product_template"."website_id" is null))) order by coalesce("product_template"."is_published", false) desc, coalesce("product_template__name"."value", "product_template"."name") asc, "product_template"."id" desc;Times Reported Time consuming queries #4
Day Hour Count Duration Avg duration Oct 26 20 48 16s579ms 345ms 21 96 33s10ms 343ms 22 96 33s25ms 344ms 23 78 26s740ms 342ms 00 75 25s940ms 345ms 01 72 25s31ms 347ms 02 93 32s344ms 347ms 03 63 21s450ms 340ms 04 72 24s936ms 346ms 05 69 24s186ms 350ms 06 96 33s280ms 346ms 07 81 27s931ms 344ms 08 60 20s770ms 346ms 09 111 38s669ms 348ms 10 93 31s997ms 344ms 11 39 13s485ms 345ms 12 39 13s365ms 342ms 13 45 15s409ms 342ms 14 51 17s532ms 343ms 15 54 18s662ms 345ms 16 36 12s457ms 346ms 17 39 13s361ms 342ms 18 39 13s326ms 341ms 19 39 13s447ms 344ms -
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"."sale_ok" = true) AND (("product_template"."website_id" in (1)) OR "product_template"."website_id" IS NULL))) ORDER BY COALESCE("product_template"."is_published", false) DESC, COALESCE("product_template__name"."value", "product_template"."name") ASC, "product_template"."id" DESC;
Date: 2024-10-26 06:27:13 Duration: 715ms
-
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"."sale_ok" = true) AND (("product_template"."website_id" in (1)) OR "product_template"."website_id" IS NULL))) ORDER BY COALESCE("product_template"."is_published", false) DESC, COALESCE("product_template__name"."value", "product_template"."name") ASC, "product_template"."id" DESC;
Date: 2024-10-26 13:04:20 Duration: 690ms
-
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"."sale_ok" = true) AND (("product_template"."website_id" in (1)) OR "product_template"."website_id" IS NULL))) ORDER BY COALESCE("product_template"."is_published", false) DESC, COALESCE("product_template__name"."value", "product_template"."name") ASC, "product_template"."id" DESC;
Date: 2024-10-26 10:24:45 Duration: 526ms
5 1,539 6m32s 240ms 343ms 254ms select "product_template".id from "product_template" where (("product_template"."active" = true) and (("product_template"."sale_ok" = true) and (("product_template"."website_id" in (...)) or "product_template"."website_id" is null))) order by coalesce("product_template"."is_published", false) desc, "product_template"."list_price" desc, "product_template"."id" desc;Times Reported Time consuming queries #5
Day Hour Count Duration Avg duration Oct 26 20 75 18s925ms 252ms 21 108 27s372ms 253ms 22 57 14s398ms 252ms 23 48 12s201ms 254ms 00 81 20s691ms 255ms 01 69 17s785ms 257ms 02 90 22s921ms 254ms 03 48 12s57ms 251ms 04 39 9s923ms 254ms 05 57 14s743ms 258ms 06 57 14s560ms 255ms 07 63 16s71ms 255ms 08 45 11s472ms 254ms 09 42 10s730ms 255ms 10 57 14s386ms 252ms 11 36 9s231ms 256ms 12 54 13s860ms 256ms 13 84 21s343ms 254ms 14 75 19s308ms 257ms 15 72 18s461ms 256ms 16 81 20s781ms 256ms 17 90 22s932ms 254ms 18 66 16s760ms 253ms 19 45 11s450ms 254ms -
SELECT "product_template".id FROM "product_template" WHERE (("product_template"."active" = true) AND (("product_template"."sale_ok" = true) AND (("product_template"."website_id" in (1)) OR "product_template"."website_id" IS NULL))) ORDER BY COALESCE("product_template"."is_published", false) DESC, "product_template"."list_price" DESC, "product_template"."id" DESC;
Date: 2024-10-26 18:23:45 Duration: 343ms
-
SELECT "product_template".id FROM "product_template" WHERE (("product_template"."active" = true) AND (("product_template"."sale_ok" = true) AND (("product_template"."website_id" in (1)) OR "product_template"."website_id" IS NULL))) ORDER BY COALESCE("product_template"."is_published", false) DESC, "product_template"."list_price" DESC, "product_template"."id" DESC;
Date: 2024-10-26 07:56:41 Duration: 339ms
-
SELECT "product_template".id FROM "product_template" WHERE (("product_template"."active" = true) AND (("product_template"."sale_ok" = true) AND (("product_template"."website_id" in (1)) OR "product_template"."website_id" IS NULL))) ORDER BY COALESCE("product_template"."is_published", false) DESC, "product_template"."list_price" DESC, "product_template"."id" DESC;
Date: 2024-10-26 12:24:21 Duration: 338ms
6 1,389 7m59s 327ms 742ms 345ms 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"."sale_ok" = true) and (("product_template"."website_id" in (...)) or "product_template"."website_id" is null))) order by coalesce("product_template"."is_published", false) desc, coalesce("product_template__name"."value", "product_template"."name") desc, "product_template"."id" desc;Times Reported Time consuming queries #6
Day Hour Count Duration Avg duration Oct 26 20 102 35s7ms 343ms 21 93 32s118ms 345ms 22 57 19s562ms 343ms 23 84 28s953ms 344ms 00 87 30s169ms 346ms 01 69 24s104ms 349ms 02 54 18s545ms 343ms 03 75 25s222ms 336ms 04 69 23s897ms 346ms 05 39 13s724ms 351ms 06 63 21s853ms 346ms 07 60 20s794ms 346ms 08 66 23s89ms 349ms 09 69 23s861ms 345ms 10 42 14s550ms 346ms 11 39 13s407ms 343ms 12 54 18s718ms 346ms 13 18 6s169ms 342ms 14 39 13s431ms 344ms 15 45 15s513ms 344ms 16 33 11s398ms 345ms 17 12 4s107ms 342ms 18 63 21s714ms 344ms 19 57 19s615ms 344ms -
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"."sale_ok" = true) AND (("product_template"."website_id" in (1)) OR "product_template"."website_id" IS NULL))) ORDER BY COALESCE("product_template"."is_published", false) DESC, COALESCE("product_template__name"."value", "product_template"."name") DESC, "product_template"."id" DESC;
Date: 2024-10-26 12:36:32 Duration: 742ms
-
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"."sale_ok" = true) AND (("product_template"."website_id" in (1)) OR "product_template"."website_id" IS NULL))) ORDER BY COALESCE("product_template"."is_published", false) DESC, COALESCE("product_template__name"."value", "product_template"."name") DESC, "product_template"."id" DESC;
Date: 2024-10-26 01:48:46 Duration: 490ms
-
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"."sale_ok" = true) AND (("product_template"."website_id" in (1)) OR "product_template"."website_id" IS NULL))) ORDER BY COALESCE("product_template"."is_published", false) DESC, COALESCE("product_template__name"."value", "product_template"."name") DESC, "product_template"."id" DESC;
Date: 2024-10-26 09:01:55 Duration: 448ms
7 1,326 5m39s 242ms 384ms 255ms select "product_template".id from "product_template" where (("product_template"."active" = true) and (("product_template"."sale_ok" = true) and (("product_template"."website_id" in (...)) or "product_template"."website_id" is null))) order by coalesce("product_template"."is_published", false) desc, "product_template"."list_price" asc, "product_template"."id" desc;Times Reported Time consuming queries #7
Day Hour Count Duration Avg duration Oct 26 20 93 23s633ms 254ms 21 66 16s869ms 255ms 22 54 13s678ms 253ms 23 57 14s521ms 254ms 00 60 15s465ms 257ms 01 60 15s607ms 260ms 02 51 13s41ms 255ms 03 33 8s220ms 249ms 04 78 20s58ms 257ms 05 57 14s869ms 260ms 06 66 17s15ms 257ms 07 60 15s234ms 253ms 08 51 13s62ms 256ms 09 54 13s773ms 255ms 10 51 13s140ms 257ms 11 63 16s97ms 255ms 12 42 10s821ms 257ms 13 48 12s261ms 255ms 14 51 13s57ms 256ms 15 42 10s757ms 256ms 16 54 13s880ms 257ms 17 57 14s491ms 254ms 18 33 8s394ms 254ms 19 45 11s452ms 254ms -
SELECT "product_template".id FROM "product_template" WHERE (("product_template"."active" = true) AND (("product_template"."sale_ok" = true) AND (("product_template"."website_id" in (1)) OR "product_template"."website_id" IS NULL))) ORDER BY COALESCE("product_template"."is_published", false) DESC, "product_template"."list_price" ASC, "product_template"."id" DESC;
Date: 2024-10-26 09:15:04 Duration: 384ms
-
SELECT "product_template".id FROM "product_template" WHERE (("product_template"."active" = true) AND (("product_template"."sale_ok" = true) AND (("product_template"."website_id" in (1)) OR "product_template"."website_id" IS NULL))) ORDER BY COALESCE("product_template"."is_published", false) DESC, "product_template"."list_price" ASC, "product_template"."id" DESC;
Date: 2024-10-26 10:12:58 Duration: 375ms
-
SELECT "product_template".id FROM "product_template" WHERE (("product_template"."active" = true) AND (("product_template"."sale_ok" = true) AND (("product_template"."website_id" in (1)) OR "product_template"."website_id" IS NULL))) ORDER BY COALESCE("product_template"."is_published", false) DESC, "product_template"."list_price" ASC, "product_template"."id" DESC;
Date: 2024-10-26 01:09:35 Duration: 363ms
8 188 51s19ms 263ms 313ms 271ms 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 #8
Day Hour Count Duration Avg duration Oct 26 20 4 1s87ms 271ms 14 184 49s932ms 271ms -
SELECT "sale_line_report".id FROM "sale_line_report" WHERE ("sale_line_report"."real_line_id" in (510737)) ORDER BY "sale_line_report"."id";
Date: 2024-10-26 18:38:05 Duration: 313ms
-
SELECT "sale_line_report".id FROM "sale_line_report" WHERE ("sale_line_report"."real_line_id" in (510735)) ORDER BY "sale_line_report"."id";
Date: 2024-10-26 18:38:05 Duration: 312ms
-
SELECT "sale_line_report".id FROM "sale_line_report" WHERE ("sale_line_report"."real_line_id" in (510739)) ORDER BY "sale_line_report"."id";
Date: 2024-10-26 18:37:53 Duration: 309ms
9 81 10s897ms 125ms 196ms 134ms select "sale_order_line".id from "sale_order_line" where (("sale_order_line"."core_sol_id" = ?) and "sale_order_line"."product_id" is not null) order by "sale_order_line"."id" asc limit ?;Times Reported Time consuming queries #9
Day Hour Count Duration Avg duration Oct 26 20 1 127ms 127ms 14 80 10s769ms 134ms -
SELECT "sale_order_line".id FROM "sale_order_line" WHERE (("sale_order_line"."core_sol_id" = 510736) AND "sale_order_line"."product_id" IS NOT NULL) ORDER BY "sale_order_line"."id" ASC LIMIT 1;
Date: 2024-10-26 18:25:04 Duration: 196ms
-
SELECT "sale_order_line".id FROM "sale_order_line" WHERE (("sale_order_line"."core_sol_id" = 510737) AND "sale_order_line"."product_id" IS NOT NULL) ORDER BY "sale_order_line"."id" ASC LIMIT 1;
Date: 2024-10-26 18:37:51 Duration: 160ms
-
SELECT "sale_order_line".id FROM "sale_order_line" WHERE (("sale_order_line"."core_sol_id" = 510735) AND "sale_order_line"."product_id" IS NOT NULL) ORDER BY "sale_order_line"."id" ASC LIMIT 1;
Date: 2024-10-26 18:38:05 Duration: 157ms
10 38 8s943ms 219ms 265ms 235ms select "account_move".id from "account_move" where (("account_move"."edi_810_id" in (...)) and (("account_move"."id" not in (...)) or "account_move"."id" is null)) order by "account_move"."invoice_date_due";Times Reported Time consuming queries #10
Day Hour Count Duration Avg duration Oct 26 23 14 3s299ms 235ms 03 12 2s835ms 236ms 19 12 2s808ms 234ms -
SELECT "account_move".id FROM "account_move" WHERE (("account_move"."edi_810_id" in (58719)) AND (("account_move"."id" not in (1674898, 1672633, 1662927, 1660338, 1693858)) OR "account_move"."id" IS NULL)) ORDER BY "account_move"."invoice_date_due";
Date: 2024-10-26 07:12:23 Duration: 265ms
-
SELECT "account_move".id FROM "account_move" WHERE (("account_move"."edi_810_id" in (58378)) AND (("account_move"."id" not in (1672632, 1672631)) OR "account_move"."id" IS NULL)) ORDER BY "account_move"."invoice_date_due";
Date: 2024-10-26 23:12:17 Duration: 252ms
-
SELECT "account_move".id FROM "account_move" WHERE (("account_move"."edi_810_id" in (60414)) AND (("account_move"."id" not in (1704663)) OR "account_move"."id" IS NULL)) ORDER BY "account_move"."invoice_date_due";
Date: 2024-10-26 03:30:27 Duration: 251ms
11 29 3s789ms 120ms 157ms 130ms select "queue_job".id from "queue_job" where ((("queue_job"."date_done" <= ?) or ("queue_job"."date_cancelled" <= ?)) and ("queue_job"."channel" = ?)) order by "queue_job"."date_created" desc, "queue_job"."date_done" desc limit ?;Times Reported Time consuming queries #11
Day Hour Count Duration Avg duration Oct 26 23 29 3s789ms 130ms -
SELECT "queue_job".id FROM "queue_job" WHERE ((("queue_job"."date_done" <= '2024-09-26 03:39:07.028250') OR ("queue_job"."date_cancelled" <= '2024-09-26 03:39:07.028250')) AND ("queue_job"."channel" = 'root.root_trigger')) ORDER BY "queue_job"."date_created" DESC, "queue_job"."date_done" DESC LIMIT 1000;
Date: 2024-10-26 03:39:13 Duration: 157ms
-
SELECT "queue_job".id FROM "queue_job" WHERE ((("queue_job"."date_done" <= '2024-09-26 03:39:07.028250') OR ("queue_job"."date_cancelled" <= '2024-09-26 03:39:07.028250')) AND ("queue_job"."channel" = 'root.root_trigger')) ORDER BY "queue_job"."date_created" DESC, "queue_job"."date_done" DESC LIMIT 1000;
Date: 2024-10-26 03:39:10 Duration: 156ms
-
SELECT "queue_job".id FROM "queue_job" WHERE ((("queue_job"."date_done" <= '2024-09-26 03:39:07.028250') OR ("queue_job"."date_cancelled" <= '2024-09-26 03:39:07.028250')) AND ("queue_job"."channel" = 'root.root_trigger')) ORDER BY "queue_job"."date_created" DESC, "queue_job"."date_done" DESC LIMIT 1000;
Date: 2024-10-26 03:39:07 Duration: 152ms
12 21 24s96ms 1s128ms 1s183ms 1s147ms select "product_template".id from "product_template" left join "ir_translation" AS "product_template__description_sale" on ("product_template"."id" = "product_template__description_sale"."res_id" and "product_template__description_sale"."type" = ? and "product_template__description_sale"."name" = ? and "product_template__description_sale"."lang" = ? and "product_template__description_sale"."value" != ?) left join "ir_translation" AS "product_template__description" on ("product_template"."id" = "product_template__description"."res_id" and "product_template__description"."type" = ? and "product_template__description"."name" = ? and "product_template__description"."lang" = ? and "product_template__description"."value" != ?) left join "ir_translation" AS "product_template__name" on ("product_template"."id" = "product_template__name"."res_id" and "product_template__name"."type" = ? and "product_template__name"."name" = ? and "product_template__name"."lang" = ? and "product_template__name"."value" != ?) where (("product_template"."active" = true) and ((("product_template"."sale_ok" = true) and (("product_template"."website_id" in (...)) or "product_template"."website_id" is null)) and (((((unaccent (coalesce("product_template__name"."value", "product_template"."name")) ilike unaccent (?) or ("product_template"."id" in ( select "product_product"."product_tmpl_id" from "product_product" where (("product_product"."active" = true) and (unaccent ("product_product"."default_code"::text) ilike unaccent (?)))))) or ("product_template"."id" in ( select "product_product"."product_tmpl_id" from "product_product" where (("product_product"."active" = true) and (unaccent ("product_product"."condensed_internal_ref"::text) ilike unaccent (?)))))) or ("product_template"."inventory_vendor_id" in ( select "psd_custom_inventory_vendor".id from "psd_custom_inventory_vendor" where (unaccent ("psd_custom_inventory_vendor"."name"::text) ilike unaccent (?))))) or unaccent (coalesce("product_template__description"."value", "product_template"."description")) ilike unaccent (?)) or unaccent (coalesce("product_template__description_sale"."value", "product_template"."description_sale")) ilike unaccent (?)))) order by coalesce("product_template"."is_published", false) desc, "product_template"."website_sequence" asc, "product_template"."id" desc limit ?;Times Reported Time consuming queries #12
Day Hour Count Duration Avg duration Oct 26 20 3 3s401ms 1s133ms 14 18 20s695ms 1s149ms -
SELECT "product_template".id FROM "product_template" LEFT JOIN "ir_translation" AS "product_template__description_sale" ON ("product_template"."id" = "product_template__description_sale"."res_id" AND "product_template__description_sale"."type" = 'model' AND "product_template__description_sale"."name" = 'product.template,description_sale' AND "product_template__description_sale"."lang" = 'en_US' AND "product_template__description_sale"."value" != '') LEFT JOIN "ir_translation" AS "product_template__description" ON ("product_template"."id" = "product_template__description"."res_id" AND "product_template__description"."type" = 'model' AND "product_template__description"."name" = 'product.template,description' AND "product_template__description"."lang" = 'en_US' AND "product_template__description"."value" != '') LEFT JOIN "ir_translation" AS "product_template__name" ON ("product_template"."id" = "product_template__name"."res_id" AND "product_template__name"."type" = 'model' AND "product_template__name"."name" = 'product.template,name' AND "product_template__name"."lang" = 'en_US' AND "product_template__name"."value" != '') WHERE (("product_template"."active" = true) AND ((("product_template"."sale_ok" = true) AND (("product_template"."website_id" in (1)) OR "product_template"."website_id" IS NULL)) AND (((((unaccent (COALESCE("product_template__name"."value", "product_template"."name")) ilike unaccent ('%eii%') OR ("product_template"."id" IN ( SELECT "product_product"."product_tmpl_id" FROM "product_product" WHERE (("product_product"."active" = true) AND (unaccent ("product_product"."default_code"::text) ilike unaccent ('%eii%')))))) OR ("product_template"."id" IN ( SELECT "product_product"."product_tmpl_id" FROM "product_product" WHERE (("product_product"."active" = true) AND (unaccent ("product_product"."condensed_internal_ref"::text) ilike unaccent ('%eii%')))))) OR ("product_template"."inventory_vendor_id" in ( SELECT "psd_custom_inventory_vendor".id FROM "psd_custom_inventory_vendor" WHERE (unaccent ("psd_custom_inventory_vendor"."name"::text) ilike unaccent ('%eii%'))))) OR unaccent (COALESCE("product_template__description"."value", "product_template"."description")) ilike unaccent ('%eii%')) OR unaccent (COALESCE("product_template__description_sale"."value", "product_template"."description_sale")) ilike unaccent ('%eii%')))) ORDER BY COALESCE("product_template"."is_published", false) DESC, "product_template"."website_sequence" ASC, "product_template"."id" DESC LIMIT 5;
Date: 2024-10-26 18:24:48 Duration: 1s183ms
-
SELECT "product_template".id FROM "product_template" LEFT JOIN "ir_translation" AS "product_template__description_sale" ON ("product_template"."id" = "product_template__description_sale"."res_id" AND "product_template__description_sale"."type" = 'model' AND "product_template__description_sale"."name" = 'product.template,description_sale' AND "product_template__description_sale"."lang" = 'en_US' AND "product_template__description_sale"."value" != '') LEFT JOIN "ir_translation" AS "product_template__description" ON ("product_template"."id" = "product_template__description"."res_id" AND "product_template__description"."type" = 'model' AND "product_template__description"."name" = 'product.template,description' AND "product_template__description"."lang" = 'en_US' AND "product_template__description"."value" != '') LEFT JOIN "ir_translation" AS "product_template__name" ON ("product_template"."id" = "product_template__name"."res_id" AND "product_template__name"."type" = 'model' AND "product_template__name"."name" = 'product.template,name' AND "product_template__name"."lang" = 'en_US' AND "product_template__name"."value" != '') WHERE (("product_template"."active" = true) AND ((("product_template"."sale_ok" = true) AND (("product_template"."website_id" in (1)) OR "product_template"."website_id" IS NULL)) AND (((((unaccent (COALESCE("product_template__name"."value", "product_template"."name")) ilike unaccent ('%382-%') OR ("product_template"."id" IN ( SELECT "product_product"."product_tmpl_id" FROM "product_product" WHERE (("product_product"."active" = true) AND (unaccent ("product_product"."default_code"::text) ilike unaccent ('%382-%')))))) OR ("product_template"."id" IN ( SELECT "product_product"."product_tmpl_id" FROM "product_product" WHERE (("product_product"."active" = true) AND (unaccent ("product_product"."condensed_internal_ref"::text) ilike unaccent ('%382-%')))))) OR ("product_template"."inventory_vendor_id" in ( SELECT "psd_custom_inventory_vendor".id FROM "psd_custom_inventory_vendor" WHERE (unaccent ("psd_custom_inventory_vendor"."name"::text) ilike unaccent ('%382-%'))))) OR unaccent (COALESCE("product_template__description"."value", "product_template"."description")) ilike unaccent ('%382-%')) OR unaccent (COALESCE("product_template__description_sale"."value", "product_template"."description_sale")) ilike unaccent ('%382-%')))) ORDER BY COALESCE("product_template"."is_published", false) DESC, "product_template"."website_sequence" ASC, "product_template"."id" DESC LIMIT 5;
Date: 2024-10-26 18:25:53 Duration: 1s176ms
-
SELECT "product_template".id FROM "product_template" LEFT JOIN "ir_translation" AS "product_template__description_sale" ON ("product_template"."id" = "product_template__description_sale"."res_id" AND "product_template__description_sale"."type" = 'model' AND "product_template__description_sale"."name" = 'product.template,description_sale' AND "product_template__description_sale"."lang" = 'en_US' AND "product_template__description_sale"."value" != '') LEFT JOIN "ir_translation" AS "product_template__description" ON ("product_template"."id" = "product_template__description"."res_id" AND "product_template__description"."type" = 'model' AND "product_template__description"."name" = 'product.template,description' AND "product_template__description"."lang" = 'en_US' AND "product_template__description"."value" != '') LEFT JOIN "ir_translation" AS "product_template__name" ON ("product_template"."id" = "product_template__name"."res_id" AND "product_template__name"."type" = 'model' AND "product_template__name"."name" = 'product.template,name' AND "product_template__name"."lang" = 'en_US' AND "product_template__name"."value" != '') WHERE (("product_template"."active" = true) AND ((("product_template"."sale_ok" = true) AND (("product_template"."website_id" in (1)) OR "product_template"."website_id" IS NULL)) AND (((((unaccent (COALESCE("product_template__name"."value", "product_template"."name")) ilike unaccent ('%45386%') OR ("product_template"."id" IN ( SELECT "product_product"."product_tmpl_id" FROM "product_product" WHERE (("product_product"."active" = true) AND (unaccent ("product_product"."default_code"::text) ilike unaccent ('%45386%')))))) OR ("product_template"."id" IN ( SELECT "product_product"."product_tmpl_id" FROM "product_product" WHERE (("product_product"."active" = true) AND (unaccent ("product_product"."condensed_internal_ref"::text) ilike unaccent ('%45386%')))))) OR ("product_template"."inventory_vendor_id" in ( SELECT "psd_custom_inventory_vendor".id FROM "psd_custom_inventory_vendor" WHERE (unaccent ("psd_custom_inventory_vendor"."name"::text) ilike unaccent ('%45386%'))))) OR unaccent (COALESCE("product_template__description"."value", "product_template"."description")) ilike unaccent ('%45386%')) OR unaccent (COALESCE("product_template__description_sale"."value", "product_template"."description_sale")) ilike unaccent ('%45386%')))) ORDER BY COALESCE("product_template"."is_published", false) DESC, "product_template"."website_sequence" ASC, "product_template"."id" DESC LIMIT 5;
Date: 2024-10-26 18:27:52 Duration: 1s170ms
13 21 23s868ms 1s114ms 1s168ms 1s136ms select count(?) from "product_template" left join "ir_translation" AS "product_template__description_sale" on ("product_template"."id" = "product_template__description_sale"."res_id" and "product_template__description_sale"."type" = ? and "product_template__description_sale"."name" = ? and "product_template__description_sale"."lang" = ? and "product_template__description_sale"."value" != ?) left join "ir_translation" AS "product_template__description" on ("product_template"."id" = "product_template__description"."res_id" and "product_template__description"."type" = ? and "product_template__description"."name" = ? and "product_template__description"."lang" = ? and "product_template__description"."value" != ?) left join "ir_translation" AS "product_template__name" on ("product_template"."id" = "product_template__name"."res_id" and "product_template__name"."type" = ? and "product_template__name"."name" = ? and "product_template__name"."lang" = ? and "product_template__name"."value" != ?) where (("product_template"."active" = true) and ((("product_template"."sale_ok" = true) and (("product_template"."website_id" in (...)) or "product_template"."website_id" is null)) and (((((unaccent (coalesce("product_template__name"."value", "product_template"."name")) ilike unaccent (?) or ("product_template"."id" in ( select "product_product"."product_tmpl_id" from "product_product" where (("product_product"."active" = true) and (unaccent ("product_product"."default_code"::text) ilike unaccent (?)))))) or ("product_template"."id" in ( select "product_product"."product_tmpl_id" from "product_product" where (("product_product"."active" = true) and (unaccent ("product_product"."condensed_internal_ref"::text) ilike unaccent (?)))))) or ("product_template"."inventory_vendor_id" in ( select "psd_custom_inventory_vendor".id from "psd_custom_inventory_vendor" where (unaccent ("psd_custom_inventory_vendor"."name"::text) ilike unaccent (?))))) or unaccent (coalesce("product_template__description"."value", "product_template"."description")) ilike unaccent (?)) or unaccent (coalesce("product_template__description_sale"."value", "product_template"."description_sale")) ilike unaccent (?))));Times Reported Time consuming queries #13
Day Hour Count Duration Avg duration Oct 26 20 3 3s377ms 1s125ms 14 18 20s491ms 1s138ms -
SELECT count(1) FROM "product_template" LEFT JOIN "ir_translation" AS "product_template__description_sale" ON ("product_template"."id" = "product_template__description_sale"."res_id" AND "product_template__description_sale"."type" = 'model' AND "product_template__description_sale"."name" = 'product.template,description_sale' AND "product_template__description_sale"."lang" = 'en_US' AND "product_template__description_sale"."value" != '') LEFT JOIN "ir_translation" AS "product_template__description" ON ("product_template"."id" = "product_template__description"."res_id" AND "product_template__description"."type" = 'model' AND "product_template__description"."name" = 'product.template,description' AND "product_template__description"."lang" = 'en_US' AND "product_template__description"."value" != '') LEFT JOIN "ir_translation" AS "product_template__name" ON ("product_template"."id" = "product_template__name"."res_id" AND "product_template__name"."type" = 'model' AND "product_template__name"."name" = 'product.template,name' AND "product_template__name"."lang" = 'en_US' AND "product_template__name"."value" != '') WHERE (("product_template"."active" = true) AND ((("product_template"."sale_ok" = true) AND (("product_template"."website_id" in (1)) OR "product_template"."website_id" IS NULL)) AND (((((unaccent (COALESCE("product_template__name"."value", "product_template"."name")) ilike unaccent ('%382-80%') OR ("product_template"."id" IN ( SELECT "product_product"."product_tmpl_id" FROM "product_product" WHERE (("product_product"."active" = true) AND (unaccent ("product_product"."default_code"::text) ilike unaccent ('%382-80%')))))) OR ("product_template"."id" IN ( SELECT "product_product"."product_tmpl_id" FROM "product_product" WHERE (("product_product"."active" = true) AND (unaccent ("product_product"."condensed_internal_ref"::text) ilike unaccent ('%382-80%')))))) OR ("product_template"."inventory_vendor_id" in ( SELECT "psd_custom_inventory_vendor".id FROM "psd_custom_inventory_vendor" WHERE (unaccent ("psd_custom_inventory_vendor"."name"::text) ilike unaccent ('%382-80%'))))) OR unaccent (COALESCE("product_template__description"."value", "product_template"."description")) ilike unaccent ('%382-80%')) OR unaccent (COALESCE("product_template__description_sale"."value", "product_template"."description_sale")) ilike unaccent ('%382-80%'))));
Date: 2024-10-26 18:25:57 Duration: 1s168ms
-
SELECT count(1) FROM "product_template" LEFT JOIN "ir_translation" AS "product_template__description_sale" ON ("product_template"."id" = "product_template__description_sale"."res_id" AND "product_template__description_sale"."type" = 'model' AND "product_template__description_sale"."name" = 'product.template,description_sale' AND "product_template__description_sale"."lang" = 'en_US' AND "product_template__description_sale"."value" != '') LEFT JOIN "ir_translation" AS "product_template__description" ON ("product_template"."id" = "product_template__description"."res_id" AND "product_template__description"."type" = 'model' AND "product_template__description"."name" = 'product.template,description' AND "product_template__description"."lang" = 'en_US' AND "product_template__description"."value" != '') LEFT JOIN "ir_translation" AS "product_template__name" ON ("product_template"."id" = "product_template__name"."res_id" AND "product_template__name"."type" = 'model' AND "product_template__name"."name" = 'product.template,name' AND "product_template__name"."lang" = 'en_US' AND "product_template__name"."value" != '') WHERE (("product_template"."active" = true) AND ((("product_template"."sale_ok" = true) AND (("product_template"."website_id" in (1)) OR "product_template"."website_id" IS NULL)) AND (((((unaccent (COALESCE("product_template__name"."value", "product_template"."name")) ilike unaccent ('%452%') OR ("product_template"."id" IN ( SELECT "product_product"."product_tmpl_id" FROM "product_product" WHERE (("product_product"."active" = true) AND (unaccent ("product_product"."default_code"::text) ilike unaccent ('%452%')))))) OR ("product_template"."id" IN ( SELECT "product_product"."product_tmpl_id" FROM "product_product" WHERE (("product_product"."active" = true) AND (unaccent ("product_product"."condensed_internal_ref"::text) ilike unaccent ('%452%')))))) OR ("product_template"."inventory_vendor_id" in ( SELECT "psd_custom_inventory_vendor".id FROM "psd_custom_inventory_vendor" WHERE (unaccent ("psd_custom_inventory_vendor"."name"::text) ilike unaccent ('%452%'))))) OR unaccent (COALESCE("product_template__description"."value", "product_template"."description")) ilike unaccent ('%452%')) OR unaccent (COALESCE("product_template__description_sale"."value", "product_template"."description_sale")) ilike unaccent ('%452%'))));
Date: 2024-10-26 18:27:45 Duration: 1s155ms
-
SELECT count(1) FROM "product_template" LEFT JOIN "ir_translation" AS "product_template__description_sale" ON ("product_template"."id" = "product_template__description_sale"."res_id" AND "product_template__description_sale"."type" = 'model' AND "product_template__description_sale"."name" = 'product.template,description_sale' AND "product_template__description_sale"."lang" = 'en_US' AND "product_template__description_sale"."value" != '') LEFT JOIN "ir_translation" AS "product_template__description" ON ("product_template"."id" = "product_template__description"."res_id" AND "product_template__description"."type" = 'model' AND "product_template__description"."name" = 'product.template,description' AND "product_template__description"."lang" = 'en_US' AND "product_template__description"."value" != '') LEFT JOIN "ir_translation" AS "product_template__name" ON ("product_template"."id" = "product_template__name"."res_id" AND "product_template__name"."type" = 'model' AND "product_template__name"."name" = 'product.template,name' AND "product_template__name"."lang" = 'en_US' AND "product_template__name"."value" != '') WHERE (("product_template"."active" = true) AND ((("product_template"."sale_ok" = true) AND (("product_template"."website_id" in (1)) OR "product_template"."website_id" IS NULL)) AND (((((unaccent (COALESCE("product_template__name"."value", "product_template"."name")) ilike unaccent ('%392-9%') OR ("product_template"."id" IN ( SELECT "product_product"."product_tmpl_id" FROM "product_product" WHERE (("product_product"."active" = true) AND (unaccent ("product_product"."default_code"::text) ilike unaccent ('%392-9%')))))) OR ("product_template"."id" IN ( SELECT "product_product"."product_tmpl_id" FROM "product_product" WHERE (("product_product"."active" = true) AND (unaccent ("product_product"."condensed_internal_ref"::text) ilike unaccent ('%392-9%')))))) OR ("product_template"."inventory_vendor_id" in ( SELECT "psd_custom_inventory_vendor".id FROM "psd_custom_inventory_vendor" WHERE (unaccent ("psd_custom_inventory_vendor"."name"::text) ilike unaccent ('%392-9%'))))) OR unaccent (COALESCE("product_template__description"."value", "product_template"."description")) ilike unaccent ('%392-9%')) OR unaccent (COALESCE("product_template__description_sale"."value", "product_template"."description_sale")) ilike unaccent ('%392-9%'))));
Date: 2024-10-26 18:26:43 Duration: 1s152ms
14 21 11s170ms 527ms 552ms 531ms select "ir_attachment".id from "ir_attachment" where (("ir_attachment"."res_field" is null and ("ir_attachment"."type" = ?)) and ((unaccent ("ir_attachment"."url"::text) like unaccent (?)) or ("ir_attachment"."url" = ?))) order by "ir_attachment"."id" desc;Times Reported Time consuming queries #14
Day Hour Count Duration Avg duration Oct 26 20 3 1s592ms 530ms 21 4 2s125ms 531ms 23 2 1s61ms 530ms 09 1 530ms 530ms 10 1 527ms 527ms 12 1 529ms 529ms 13 1 531ms 531ms 14 2 1s67ms 533ms 15 2 1s61ms 530ms 18 2 1s57ms 528ms 19 2 1s87ms 543ms -
SELECT "ir_attachment".id FROM "ir_attachment" WHERE (("ir_attachment"."res_field" IS NULL AND ("ir_attachment"."type" = 'binary')) AND ((unaccent ("ir_attachment"."url"::text) like unaccent ('/sitemap-1-%.xml')) OR ("ir_attachment"."url" = '/sitemap-1.xml'))) ORDER BY "ir_attachment"."id" DESC;
Date: 2024-10-26 23:42:49 Duration: 552ms
-
SELECT "ir_attachment".id FROM "ir_attachment" WHERE (("ir_attachment"."res_field" IS NULL AND ("ir_attachment"."type" = 'binary')) AND ((unaccent ("ir_attachment"."url"::text) like unaccent ('/sitemap-1-%.xml')) OR ("ir_attachment"."url" = '/sitemap-1.xml'))) ORDER BY "ir_attachment"."id" DESC;
Date: 2024-10-26 18:43:45 Duration: 537ms
-
SELECT "ir_attachment".id FROM "ir_attachment" WHERE (("ir_attachment"."res_field" IS NULL AND ("ir_attachment"."type" = 'binary')) AND ((unaccent ("ir_attachment"."url"::text) like unaccent ('/sitemap-1-%.xml')) OR ("ir_attachment"."url" = '/sitemap-1.xml'))) ORDER BY "ir_attachment"."id" DESC;
Date: 2024-10-26 23:42:49 Duration: 534ms
15 20 4s843ms 223ms 286ms 242ms select "account_move".id from "account_move" where ("account_move"."edi_810_id" in (...)) order by "account_move"."invoice_date_due";Times Reported Time consuming queries #15
Day Hour Count Duration Avg duration Oct 26 23 6 1s434ms 239ms 03 6 1s423ms 237ms 05 1 240ms 240ms 19 7 1s745ms 249ms -
SELECT "account_move".id FROM "account_move" WHERE ("account_move"."edi_810_id" in (59278, 59295, 59310, 59370, 59378, 59394, 59399, 59408, 59468, 59486, 59574, 59576, 59577, 59582, 59607, 59615, 59620, 59621, 59627, 59630, 59633, 59696, 59728, 59732, 59733, 59760, 59761, 59795, 59806, 59823, 59838, 59888, 59889, 59890, 59908, 59916, 59919, 59929, 59931, 59938)) ORDER BY "account_move"."invoice_date_due";
Date: 2024-10-26 23:18:08 Duration: 286ms
-
SELECT "account_move".id FROM "account_move" WHERE ("account_move"."edi_810_id" in (59942, 59992, 59995, 60005, 60017, 60030, 60050, 60068, 60078, 60087, 60125, 60145, 60153, 60169, 60176, 60185, 60189, 60223, 60233, 60239, 60247, 60249, 60254, 60263, 60303, 60323, 60342, 60357, 60367, 60369, 60370, 60373, 60384, 60390, 60397, 60401, 60403, 60405, 60407, 60413)) ORDER BY "account_move"."invoice_date_due";
Date: 2024-10-26 23:24:06 Duration: 261ms
-
SELECT "account_move".id FROM "account_move" WHERE ("account_move"."edi_810_id" in (60414, 60417, 60418, 60435, 60439, 60441, 60442, 60443, 60445, 60450, 60455, 60458, 60459, 60462, 60468, 60470, 60473, 60479, 60480, 60484, 60494, 60496, 60501, 60502, 60505, 60509, 60511, 60514, 60524, 60525, 60530, 60537, 60541, 60542, 60543, 60544, 60545, 60546, 60547, 60548)) ORDER BY "account_move"."invoice_date_due";
Date: 2024-10-26 23:30:16 Duration: 252ms
16 18 9s235ms 495ms 536ms 513ms 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 #16
Day Hour Count Duration Avg duration Oct 26 22 2 1s41ms 520ms 03 3 1s493ms 497ms 06 2 1s25ms 512ms 07 4 2s91ms 522ms 08 1 511ms 511ms 09 1 512ms 512ms 10 2 1s21ms 510ms 13 3 1s536ms 512ms -
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-10-26 11:56:25 Duration: 536ms
-
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-10-26 02:56:11 Duration: 529ms
-
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_backend.js'))) AND (NOT ((unaccent ("ir_attachment"."url"::text) like unaccent ('/web/content/%-764e508/%%%'))))) ORDER BY "ir_attachment"."id" DESC;
Date: 2024-10-26 11:56:27 Duration: 527ms
17 12 14s476ms 1s126ms 1s429ms 1s206ms select "product_template".id from "product_template" left join "ir_translation" AS "product_template__description_sale" on ("product_template"."id" = "product_template__description_sale"."res_id" and "product_template__description_sale"."type" = ? and "product_template__description_sale"."name" = ? and "product_template__description_sale"."lang" = ? and "product_template__description_sale"."value" != ?) left join "ir_translation" AS "product_template__description" on ("product_template"."id" = "product_template__description"."res_id" and "product_template__description"."type" = ? and "product_template__description"."name" = ? and "product_template__description"."lang" = ? and "product_template__description"."value" != ?) left join "ir_translation" AS "product_template__name" on ("product_template"."id" = "product_template__name"."res_id" and "product_template__name"."type" = ? and "product_template__name"."name" = ? and "product_template__name"."lang" = ? and "product_template__name"."value" != ?) where (("product_template"."active" = true) and ((("product_template"."sale_ok" = true) and (("product_template"."website_id" in (...)) or "product_template"."website_id" is null)) and (((((unaccent (coalesce("product_template__name"."value", "product_template"."name")) ilike unaccent (?) or ("product_template"."id" in ( select "product_product"."product_tmpl_id" from "product_product" where (("product_product"."active" = true) and (unaccent ("product_product"."default_code"::text) ilike unaccent (?)))))) or ("product_template"."id" in ( select "product_product"."product_tmpl_id" from "product_product" where (("product_product"."active" = true) and (unaccent ("product_product"."condensed_internal_ref"::text) ilike unaccent (?)))))) or ("product_template"."inventory_vendor_id" in ( select "psd_custom_inventory_vendor".id from "psd_custom_inventory_vendor" where (unaccent ("psd_custom_inventory_vendor"."name"::text) ilike unaccent (?))))) or unaccent (coalesce("product_template__description"."value", "product_template"."description")) ilike unaccent (?)) or unaccent (coalesce("product_template__description_sale"."value", "product_template"."description_sale")) ilike unaccent (?)))) order by coalesce("product_template"."is_published", false) desc, "product_template"."website_sequence" asc, "product_template"."id" desc;Times Reported Time consuming queries #17
Day Hour Count Duration Avg duration Oct 26 20 3 3s406ms 1s135ms 22 3 4s274ms 1s424ms 00 3 3s387ms 1s129ms 17 3 3s408ms 1s136ms -
SELECT "product_template".id FROM "product_template" LEFT JOIN "ir_translation" AS "product_template__description_sale" ON ("product_template"."id" = "product_template__description_sale"."res_id" AND "product_template__description_sale"."type" = 'model' AND "product_template__description_sale"."name" = 'product.template,description_sale' AND "product_template__description_sale"."lang" = 'en_US' AND "product_template__description_sale"."value" != '') LEFT JOIN "ir_translation" AS "product_template__description" ON ("product_template"."id" = "product_template__description"."res_id" AND "product_template__description"."type" = 'model' AND "product_template__description"."name" = 'product.template,description' AND "product_template__description"."lang" = 'en_US' AND "product_template__description"."value" != '') LEFT JOIN "ir_translation" AS "product_template__name" ON ("product_template"."id" = "product_template__name"."res_id" AND "product_template__name"."type" = 'model' AND "product_template__name"."name" = 'product.template,name' AND "product_template__name"."lang" = 'en_US' AND "product_template__name"."value" != '') WHERE (("product_template"."active" = true) AND ((("product_template"."sale_ok" = true) AND (("product_template"."website_id" in (1)) OR "product_template"."website_id" IS NULL)) AND (((((unaccent (COALESCE("product_template__name"."value", "product_template"."name")) ilike unaccent ('%hƩps://drive.google.com/file/d/1uT7W9gqp8Bybgxu4Ir4FU-z6n4vXfrDT/view?usp=sharin%') OR ("product_template"."id" IN ( SELECT "product_product"."product_tmpl_id" FROM "product_product" WHERE (("product_product"."active" = true) AND (unaccent ("product_product"."default_code"::text) ilike unaccent ('%hƩps://drive.google.com/file/d/1uT7W9gqp8Bybgxu4Ir4FU-z6n4vXfrDT/view?usp=sharin%')))))) OR ("product_template"."id" IN ( SELECT "product_product"."product_tmpl_id" FROM "product_product" WHERE (("product_product"."active" = true) AND (unaccent ("product_product"."condensed_internal_ref"::text) ilike unaccent ('%hƩps://drive.google.com/file/d/1uT7W9gqp8Bybgxu4Ir4FU-z6n4vXfrDT/view?usp=sharin%')))))) OR ("product_template"."inventory_vendor_id" in ( SELECT "psd_custom_inventory_vendor".id FROM "psd_custom_inventory_vendor" WHERE (unaccent ("psd_custom_inventory_vendor"."name"::text) ilike unaccent ('%hƩps://drive.google.com/file/d/1uT7W9gqp8Bybgxu4Ir4FU-z6n4vXfrDT/view?usp=sharin%'))))) OR unaccent (COALESCE("product_template__description"."value", "product_template"."description")) ilike unaccent ('%hƩps://drive.google.com/file/d/1uT7W9gqp8Bybgxu4Ir4FU-z6n4vXfrDT/view?usp=sharin%')) OR unaccent (COALESCE("product_template__description_sale"."value", "product_template"."description_sale")) ilike unaccent ('%hƩps://drive.google.com/file/d/1uT7W9gqp8Bybgxu4Ir4FU-z6n4vXfrDT/view?usp=sharin%')))) ORDER BY COALESCE("product_template"."is_published", false) DESC, "product_template"."website_sequence" ASC, "product_template"."id" DESC;
Date: 2024-10-26 02:27:13 Duration: 1s429ms
-
SELECT "product_template".id FROM "product_template" LEFT JOIN "ir_translation" AS "product_template__description_sale" ON ("product_template"."id" = "product_template__description_sale"."res_id" AND "product_template__description_sale"."type" = 'model' AND "product_template__description_sale"."name" = 'product.template,description_sale' AND "product_template__description_sale"."lang" = 'en_US' AND "product_template__description_sale"."value" != '') LEFT JOIN "ir_translation" AS "product_template__description" ON ("product_template"."id" = "product_template__description"."res_id" AND "product_template__description"."type" = 'model' AND "product_template__description"."name" = 'product.template,description' AND "product_template__description"."lang" = 'en_US' AND "product_template__description"."value" != '') LEFT JOIN "ir_translation" AS "product_template__name" ON ("product_template"."id" = "product_template__name"."res_id" AND "product_template__name"."type" = 'model' AND "product_template__name"."name" = 'product.template,name' AND "product_template__name"."lang" = 'en_US' AND "product_template__name"."value" != '') WHERE (("product_template"."active" = true) AND ((("product_template"."sale_ok" = true) AND (("product_template"."website_id" in (1)) OR "product_template"."website_id" IS NULL)) AND (((((unaccent (COALESCE("product_template__name"."value", "product_template"."name")) ilike unaccent ('%hƩps://drive.google.com/file/d/1uT7W9gqp8Bybgxu4Ir4FU-z6n4vXfrDT/view?usp=sharin%') OR ("product_template"."id" IN ( SELECT "product_product"."product_tmpl_id" FROM "product_product" WHERE (("product_product"."active" = true) AND (unaccent ("product_product"."default_code"::text) ilike unaccent ('%hƩps://drive.google.com/file/d/1uT7W9gqp8Bybgxu4Ir4FU-z6n4vXfrDT/view?usp=sharin%')))))) OR ("product_template"."id" IN ( SELECT "product_product"."product_tmpl_id" FROM "product_product" WHERE (("product_product"."active" = true) AND (unaccent ("product_product"."condensed_internal_ref"::text) ilike unaccent ('%hƩps://drive.google.com/file/d/1uT7W9gqp8Bybgxu4Ir4FU-z6n4vXfrDT/view?usp=sharin%')))))) OR ("product_template"."inventory_vendor_id" in ( SELECT "psd_custom_inventory_vendor".id FROM "psd_custom_inventory_vendor" WHERE (unaccent ("psd_custom_inventory_vendor"."name"::text) ilike unaccent ('%hƩps://drive.google.com/file/d/1uT7W9gqp8Bybgxu4Ir4FU-z6n4vXfrDT/view?usp=sharin%'))))) OR unaccent (COALESCE("product_template__description"."value", "product_template"."description")) ilike unaccent ('%hƩps://drive.google.com/file/d/1uT7W9gqp8Bybgxu4Ir4FU-z6n4vXfrDT/view?usp=sharin%')) OR unaccent (COALESCE("product_template__description_sale"."value", "product_template"."description_sale")) ilike unaccent ('%hƩps://drive.google.com/file/d/1uT7W9gqp8Bybgxu4Ir4FU-z6n4vXfrDT/view?usp=sharin%')))) ORDER BY COALESCE("product_template"."is_published", false) DESC, "product_template"."website_sequence" ASC, "product_template"."id" DESC;
Date: 2024-10-26 02:27:14 Duration: 1s423ms
-
SELECT "product_template".id FROM "product_template" LEFT JOIN "ir_translation" AS "product_template__description_sale" ON ("product_template"."id" = "product_template__description_sale"."res_id" AND "product_template__description_sale"."type" = 'model' AND "product_template__description_sale"."name" = 'product.template,description_sale' AND "product_template__description_sale"."lang" = 'en_US' AND "product_template__description_sale"."value" != '') LEFT JOIN "ir_translation" AS "product_template__description" ON ("product_template"."id" = "product_template__description"."res_id" AND "product_template__description"."type" = 'model' AND "product_template__description"."name" = 'product.template,description' AND "product_template__description"."lang" = 'en_US' AND "product_template__description"."value" != '') LEFT JOIN "ir_translation" AS "product_template__name" ON ("product_template"."id" = "product_template__name"."res_id" AND "product_template__name"."type" = 'model' AND "product_template__name"."name" = 'product.template,name' AND "product_template__name"."lang" = 'en_US' AND "product_template__name"."value" != '') WHERE (("product_template"."active" = true) AND ((("product_template"."sale_ok" = true) AND (("product_template"."website_id" in (1)) OR "product_template"."website_id" IS NULL)) AND (((((unaccent (COALESCE("product_template__name"."value", "product_template"."name")) ilike unaccent ('%hƩps://drive.google.com/file/d/1uT7W9gqp8Bybgxu4Ir4FU-z6n4vXfrDT/view?usp=sharin%') OR ("product_template"."id" IN ( SELECT "product_product"."product_tmpl_id" FROM "product_product" WHERE (("product_product"."active" = true) AND (unaccent ("product_product"."default_code"::text) ilike unaccent ('%hƩps://drive.google.com/file/d/1uT7W9gqp8Bybgxu4Ir4FU-z6n4vXfrDT/view?usp=sharin%')))))) OR ("product_template"."id" IN ( SELECT "product_product"."product_tmpl_id" FROM "product_product" WHERE (("product_product"."active" = true) AND (unaccent ("product_product"."condensed_internal_ref"::text) ilike unaccent ('%hƩps://drive.google.com/file/d/1uT7W9gqp8Bybgxu4Ir4FU-z6n4vXfrDT/view?usp=sharin%')))))) OR ("product_template"."inventory_vendor_id" in ( SELECT "psd_custom_inventory_vendor".id FROM "psd_custom_inventory_vendor" WHERE (unaccent ("psd_custom_inventory_vendor"."name"::text) ilike unaccent ('%hƩps://drive.google.com/file/d/1uT7W9gqp8Bybgxu4Ir4FU-z6n4vXfrDT/view?usp=sharin%'))))) OR unaccent (COALESCE("product_template__description"."value", "product_template"."description")) ilike unaccent ('%hƩps://drive.google.com/file/d/1uT7W9gqp8Bybgxu4Ir4FU-z6n4vXfrDT/view?usp=sharin%')) OR unaccent (COALESCE("product_template__description_sale"."value", "product_template"."description_sale")) ilike unaccent ('%hƩps://drive.google.com/file/d/1uT7W9gqp8Bybgxu4Ir4FU-z6n4vXfrDT/view?usp=sharin%')))) ORDER BY COALESCE("product_template"."is_published", false) DESC, "product_template"."website_sequence" ASC, "product_template"."id" DESC;
Date: 2024-10-26 02:27:16 Duration: 1s421ms
18 9 3s402ms 369ms 406ms 378ms 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"."sale_ok" = true) and (("product_template"."website_id" in (...)) or "product_template"."website_id" is null)) and exists ( select ? from "product_public_category_product_template_rel" AS "product_template__public_categ_ids" where "product_template__public_categ_ids"."product_template_id" = "product_template".id and "product_template__public_categ_ids"."product_public_category_id" in (...)))) order by coalesce("product_template"."is_published", false) desc, coalesce("product_template__name"."value", "product_template"."name") asc, "product_template"."id" desc;Times Reported Time consuming queries #18
Day Hour Count Duration Avg duration Oct 26 23 6 2s291ms 381ms 12 3 1s110ms 370ms -
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"."sale_ok" = true) AND (("product_template"."website_id" in (1)) OR "product_template"."website_id" IS NULL)) AND EXISTS ( SELECT 1 FROM "product_public_category_product_template_rel" AS "product_template__public_categ_ids" WHERE "product_template__public_categ_ids"."product_template_id" = "product_template".id AND "product_template__public_categ_ids"."product_public_category_id" IN (12382, 12625, 12626, 12627, 12628, 12629, 12630, 12631, 12632, 12633, 12634, 12635, 12636, 12637, 12638, 12639, 12640, 12641, 12642, 12643, 12645, 12646, 12647, 12648, 12649, 12651, 12652, 12655, 12656, 12657, 12658, 12659, 12660, 12661, 12662, 12663, 12664, 12665, 12666, 12667, 12668, 12669, 12670, 12671, 12672, 12673, 12674, 12676, 12677, 12678, 12680, 12681, 12682, 12684, 12686, 12687, 12688, 12689, 12690, 12692, 12694, 12695, 12696, 12697, 12698, 12699, 12700, 12701, 12702, 12703, 12704, 12705, 12706, 12707, 12708, 12709, 12710, 12711, 12712, 12714, 12715, 12716, 12717, 12718, 12719, 12720, 12721, 12722, 12723, 12724, 12725, 12726, 12728, 12730, 12731, 12732, 12734, 12735, 12736, 12748, 12750, 12751, 12752, 12753, 12754, 12755, 12756, 12757, 12758, 12759, 12761, 12762, 12764, 12765, 12766, 12767, 12768, 12769, 12770, 12771, 12772, 12773, 12774, 12775, 12776, 12778, 12779, 12780, 12781, 12782, 12783, 12784, 12785, 12786, 12787, 12788, 12789, 12790, 12791, 12792, 12793, 12795, 12796, 12797, 12799, 12800, 12801, 12802, 12804, 12806, 12807, 12808, 12810, 12811, 12812, 12813, 12814, 12815, 12816, 12817, 12819, 12820, 12821, 12822, 12823, 12824, 12825, 12826, 12827, 12828, 12830, 12831, 12832, 12833, 12834, 12835, 12836, 12838, 12839, 12840, 12842, 12843, 12844, 12846, 12847, 12848, 12850, 12851, 12852, 12853, 12854, 12856, 12857, 12858, 12859, 12860, 12861, 12862, 12863, 12865, 12866, 13835, 13836, 13837, 13838, 13839, 13840, 13841, 13842, 13843, 13844, 13845, 13846, 13847, 13848, 13849, 13850, 13851, 13852, 13853, 13854, 13855, 13856, 13857, 13858, 13859, 13860, 13862, 13863, 13864, 13865, 13866, 13867, 13868, 13869, 13870, 13871, 13872, 13874, 13875, 13876, 13877, 13878, 13879, 13880, 13881, 13882, 13883, 13884, 13885, 13886, 13889, 13890, 13891, 13892, 13893, 13894, 13895, 13896, 13897, 13898, 13899, 13900, 13901, 13902, 13903, 13904, 13905, 13906, 13907, 13908, 13909, 13910, 13911, 13912, 13913, 13914, 13915, 13916, 13917, 13918, 13919, 13920, 13921, 13922, 13923, 13924, 13925, 13926, 13927, 13928, 13929, 13930, 13931, 13932, 13934, 13935, 13936, 13937, 13938, 13939, 13940, 13941, 13942, 13943, 13944, 13945, 13946, 13947, 13948, 13949, 13950, 13951, 13952, 13953, 13954, 13955, 13956, 13957, 13958, 13959, 13960, 13961, 13962, 13963, 13964, 13965, 13967, 13968, 13969, 13971, 13972, 13973, 13974, 13975, 13976, 13978, 13979, 13980, 13981, 13982, 13984, 13985, 13986, 13987, 13988, 13989, 13990, 13991, 13992, 13993, 13994, 13995, 13996, 13997, 13998, 13999, 14000, 14001, 14002, 14003, 14004, 14005, 14006, 14007, 14008, 14009, 14010, 14011, 14012, 14013, 14014, 14015, 14016, 14017, 14018, 14019, 14020, 14021, 14022, 14023, 14024, 14025, 14026, 14027, 14028, 14029, 14030, 14031, 14032, 14033, 14034, 14035, 14036, 14038, 14039, 14040, 14041, 14042, 14043, 14044, 14045, 14046, 14047, 14048, 14049, 14050, 14051, 14052, 14053, 14054, 14055, 14056, 14058, 14059, 14061, 14062, 14063, 14065, 14066, 14068, 14069, 14070, 14071, 14072, 14084, 14085, 14086, 14087, 14088, 14089, 14090, 14091, 14092, 14093, 14094, 14095, 14097, 14098, 14099, 14100, 14101, 14102, 14103, 14104, 14105, 14106, 14107, 14108, 14109, 14111, 14112, 14113, 14114, 14115, 14116, 14117, 14119, 14120, 14121, 14122, 14123, 14124, 14125, 14126, 14127, 14128, 14129, 14130, 14131, 14132, 14133, 14134, 14135, 14136, 14137, 14138, 14139, 14140, 14142, 14143, 14144, 14145, 14146, 14147, 14148, 14149, 14150, 14151, 14152, 14153, 14154, 14155, 14156, 14157, 14158, 14159, 14160, 14161, 14162, 14163, 14164, 14165, 14166, 14167, 14168, 14169, 14170, 14172, 14173, 14174, 14175, 14176, 14178, 14179, 14180, 14181, 14182, 14185, 14186, 14187, 14188, 14189, 14190, 14191, 14192, 14193, 14194, 14195, 14196, 14197, 14198, 14199, 14200, 14201, 14202, 14203, 14205, 14206, 14207, 14208, 14209, 14210, 14211, 14212, 14213, 14214, 14215, 14216, 14217, 14219, 14220, 14221, 14222, 14223, 14224, 14225, 14226, 14227, 14228, 14229, 14230, 14231, 14232, 14233, 14234, 14235, 14236, 14237, 14238, 14239, 14240, 14241, 14242, 14243, 14244, 14245, 14246, 14247, 14248, 14249, 14250, 14251, 14252, 14253, 14254, 14255, 14256, 14257, 14258, 14259, 14260, 14261, 14262, 14264, 14265, 14267, 14268, 14269, 14270, 14271, 14272, 14273, 14274, 14275, 14276, 14277, 14278, 14279, 14280, 14281, 14282, 14283, 14285, 14286, 14287, 14288, 14289, 14290, 14291, 14292, 14294, 14295, 14296, 14297, 14299, 14300, 14301, 14302, 14303, 14304, 14305, 14306, 14307, 14308, 14309, 14310, 14311, 14312, 14313, 14314, 14316, 14317, 14318, 14320, 14321, 14322, 14323, 14324, 14325, 14326, 14327, 14328, 14329, 14332, 14335, 14336, 14345, 14346, 14347, 14348, 14353, 14354, 14355, 14356, 14357, 14358, 14359, 14360, 14361, 14362, 14363, 14364, 14365, 14366, 14367, 14368, 14369, 14370, 14371, 14372, 14373, 14374, 14375, 14376, 14377, 14378, 14379, 14380, 14381, 14382, 14383, 14384, 14385, 14386, 14387, 14388, 14389, 14390, 14391, 14392, 14393, 14394, 14395, 14396, 14397, 14398, 14399, 14400, 14411)))) ORDER BY COALESCE("product_template"."is_published", false) DESC, COALESCE("product_template__name"."value", "product_template"."name") ASC, "product_template"."id" DESC;
Date: 2024-10-26 03:03:39 Duration: 406ms
-
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"."sale_ok" = true) AND (("product_template"."website_id" in (1)) OR "product_template"."website_id" IS NULL)) AND EXISTS ( SELECT 1 FROM "product_public_category_product_template_rel" AS "product_template__public_categ_ids" WHERE "product_template__public_categ_ids"."product_template_id" = "product_template".id AND "product_template__public_categ_ids"."product_public_category_id" IN (12382, 12625, 12626, 12627, 12628, 12629, 12630, 12631, 12632, 12633, 12634, 12635, 12636, 12637, 12638, 12639, 12640, 12641, 12642, 12643, 12645, 12646, 12647, 12648, 12649, 12651, 12652, 12655, 12656, 12657, 12658, 12659, 12660, 12661, 12662, 12663, 12664, 12665, 12666, 12667, 12668, 12669, 12670, 12671, 12672, 12673, 12674, 12676, 12677, 12678, 12680, 12681, 12682, 12684, 12686, 12687, 12688, 12689, 12690, 12692, 12694, 12695, 12696, 12697, 12698, 12699, 12700, 12701, 12702, 12703, 12704, 12705, 12706, 12707, 12708, 12709, 12710, 12711, 12712, 12714, 12715, 12716, 12717, 12718, 12719, 12720, 12721, 12722, 12723, 12724, 12725, 12726, 12728, 12730, 12731, 12732, 12734, 12735, 12736, 12748, 12750, 12751, 12752, 12753, 12754, 12755, 12756, 12757, 12758, 12759, 12761, 12762, 12764, 12765, 12766, 12767, 12768, 12769, 12770, 12771, 12772, 12773, 12774, 12775, 12776, 12778, 12779, 12780, 12781, 12782, 12783, 12784, 12785, 12786, 12787, 12788, 12789, 12790, 12791, 12792, 12793, 12795, 12796, 12797, 12799, 12800, 12801, 12802, 12804, 12806, 12807, 12808, 12810, 12811, 12812, 12813, 12814, 12815, 12816, 12817, 12819, 12820, 12821, 12822, 12823, 12824, 12825, 12826, 12827, 12828, 12830, 12831, 12832, 12833, 12834, 12835, 12836, 12838, 12839, 12840, 12842, 12843, 12844, 12846, 12847, 12848, 12850, 12851, 12852, 12853, 12854, 12856, 12857, 12858, 12859, 12860, 12861, 12862, 12863, 12865, 12866, 13835, 13836, 13837, 13838, 13839, 13840, 13841, 13842, 13843, 13844, 13845, 13846, 13847, 13848, 13849, 13850, 13851, 13852, 13853, 13854, 13855, 13856, 13857, 13858, 13859, 13860, 13862, 13863, 13864, 13865, 13866, 13867, 13868, 13869, 13870, 13871, 13872, 13874, 13875, 13876, 13877, 13878, 13879, 13880, 13881, 13882, 13883, 13884, 13885, 13886, 13889, 13890, 13891, 13892, 13893, 13894, 13895, 13896, 13897, 13898, 13899, 13900, 13901, 13902, 13903, 13904, 13905, 13906, 13907, 13908, 13909, 13910, 13911, 13912, 13913, 13914, 13915, 13916, 13917, 13918, 13919, 13920, 13921, 13922, 13923, 13924, 13925, 13926, 13927, 13928, 13929, 13930, 13931, 13932, 13934, 13935, 13936, 13937, 13938, 13939, 13940, 13941, 13942, 13943, 13944, 13945, 13946, 13947, 13948, 13949, 13950, 13951, 13952, 13953, 13954, 13955, 13956, 13957, 13958, 13959, 13960, 13961, 13962, 13963, 13964, 13965, 13967, 13968, 13969, 13971, 13972, 13973, 13974, 13975, 13976, 13978, 13979, 13980, 13981, 13982, 13984, 13985, 13986, 13987, 13988, 13989, 13990, 13991, 13992, 13993, 13994, 13995, 13996, 13997, 13998, 13999, 14000, 14001, 14002, 14003, 14004, 14005, 14006, 14007, 14008, 14009, 14010, 14011, 14012, 14013, 14014, 14015, 14016, 14017, 14018, 14019, 14020, 14021, 14022, 14023, 14024, 14025, 14026, 14027, 14028, 14029, 14030, 14031, 14032, 14033, 14034, 14035, 14036, 14038, 14039, 14040, 14041, 14042, 14043, 14044, 14045, 14046, 14047, 14048, 14049, 14050, 14051, 14052, 14053, 14054, 14055, 14056, 14058, 14059, 14061, 14062, 14063, 14065, 14066, 14068, 14069, 14070, 14071, 14072, 14084, 14085, 14086, 14087, 14088, 14089, 14090, 14091, 14092, 14093, 14094, 14095, 14097, 14098, 14099, 14100, 14101, 14102, 14103, 14104, 14105, 14106, 14107, 14108, 14109, 14111, 14112, 14113, 14114, 14115, 14116, 14117, 14119, 14120, 14121, 14122, 14123, 14124, 14125, 14126, 14127, 14128, 14129, 14130, 14131, 14132, 14133, 14134, 14135, 14136, 14137, 14138, 14139, 14140, 14142, 14143, 14144, 14145, 14146, 14147, 14148, 14149, 14150, 14151, 14152, 14153, 14154, 14155, 14156, 14157, 14158, 14159, 14160, 14161, 14162, 14163, 14164, 14165, 14166, 14167, 14168, 14169, 14170, 14172, 14173, 14174, 14175, 14176, 14178, 14179, 14180, 14181, 14182, 14185, 14186, 14187, 14188, 14189, 14190, 14191, 14192, 14193, 14194, 14195, 14196, 14197, 14198, 14199, 14200, 14201, 14202, 14203, 14205, 14206, 14207, 14208, 14209, 14210, 14211, 14212, 14213, 14214, 14215, 14216, 14217, 14219, 14220, 14221, 14222, 14223, 14224, 14225, 14226, 14227, 14228, 14229, 14230, 14231, 14232, 14233, 14234, 14235, 14236, 14237, 14238, 14239, 14240, 14241, 14242, 14243, 14244, 14245, 14246, 14247, 14248, 14249, 14250, 14251, 14252, 14253, 14254, 14255, 14256, 14257, 14258, 14259, 14260, 14261, 14262, 14264, 14265, 14267, 14268, 14269, 14270, 14271, 14272, 14273, 14274, 14275, 14276, 14277, 14278, 14279, 14280, 14281, 14282, 14283, 14285, 14286, 14287, 14288, 14289, 14290, 14291, 14292, 14294, 14295, 14296, 14297, 14299, 14300, 14301, 14302, 14303, 14304, 14305, 14306, 14307, 14308, 14309, 14310, 14311, 14312, 14313, 14314, 14316, 14317, 14318, 14320, 14321, 14322, 14323, 14324, 14325, 14326, 14327, 14328, 14329, 14332, 14335, 14336, 14345, 14346, 14347, 14348, 14353, 14354, 14355, 14356, 14357, 14358, 14359, 14360, 14361, 14362, 14363, 14364, 14365, 14366, 14367, 14368, 14369, 14370, 14371, 14372, 14373, 14374, 14375, 14376, 14377, 14378, 14379, 14380, 14381, 14382, 14383, 14384, 14385, 14386, 14387, 14388, 14389, 14390, 14391, 14392, 14393, 14394, 14395, 14396, 14397, 14398, 14399, 14400, 14411)))) ORDER BY COALESCE("product_template"."is_published", false) DESC, COALESCE("product_template__name"."value", "product_template"."name") ASC, "product_template"."id" DESC;
Date: 2024-10-26 03:03:39 Duration: 381ms
-
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"."sale_ok" = true) AND (("product_template"."website_id" in (1)) OR "product_template"."website_id" IS NULL)) AND EXISTS ( SELECT 1 FROM "product_public_category_product_template_rel" AS "product_template__public_categ_ids" WHERE "product_template__public_categ_ids"."product_template_id" = "product_template".id AND "product_template__public_categ_ids"."product_public_category_id" IN (12382, 12625, 12626, 12627, 12628, 12629, 12630, 12631, 12632, 12633, 12634, 12635, 12636, 12637, 12638, 12639, 12640, 12641, 12642, 12643, 12645, 12646, 12647, 12648, 12649, 12651, 12652, 12655, 12656, 12657, 12658, 12659, 12660, 12661, 12662, 12663, 12664, 12665, 12666, 12667, 12668, 12669, 12670, 12671, 12672, 12673, 12674, 12676, 12677, 12678, 12680, 12681, 12682, 12684, 12686, 12687, 12688, 12689, 12690, 12692, 12694, 12695, 12696, 12697, 12698, 12699, 12700, 12701, 12702, 12703, 12704, 12705, 12706, 12707, 12708, 12709, 12710, 12711, 12712, 12714, 12715, 12716, 12717, 12718, 12719, 12720, 12721, 12722, 12723, 12724, 12725, 12726, 12728, 12730, 12731, 12732, 12734, 12735, 12736, 12748, 12750, 12751, 12752, 12753, 12754, 12755, 12756, 12757, 12758, 12759, 12761, 12762, 12764, 12765, 12766, 12767, 12768, 12769, 12770, 12771, 12772, 12773, 12774, 12775, 12776, 12778, 12779, 12780, 12781, 12782, 12783, 12784, 12785, 12786, 12787, 12788, 12789, 12790, 12791, 12792, 12793, 12795, 12796, 12797, 12799, 12800, 12801, 12802, 12804, 12806, 12807, 12808, 12810, 12811, 12812, 12813, 12814, 12815, 12816, 12817, 12819, 12820, 12821, 12822, 12823, 12824, 12825, 12826, 12827, 12828, 12830, 12831, 12832, 12833, 12834, 12835, 12836, 12838, 12839, 12840, 12842, 12843, 12844, 12846, 12847, 12848, 12850, 12851, 12852, 12853, 12854, 12856, 12857, 12858, 12859, 12860, 12861, 12862, 12863, 12865, 12866, 13835, 13836, 13837, 13838, 13839, 13840, 13841, 13842, 13843, 13844, 13845, 13846, 13847, 13848, 13849, 13850, 13851, 13852, 13853, 13854, 13855, 13856, 13857, 13858, 13859, 13860, 13862, 13863, 13864, 13865, 13866, 13867, 13868, 13869, 13870, 13871, 13872, 13874, 13875, 13876, 13877, 13878, 13879, 13880, 13881, 13882, 13883, 13884, 13885, 13886, 13889, 13890, 13891, 13892, 13893, 13894, 13895, 13896, 13897, 13898, 13899, 13900, 13901, 13902, 13903, 13904, 13905, 13906, 13907, 13908, 13909, 13910, 13911, 13912, 13913, 13914, 13915, 13916, 13917, 13918, 13919, 13920, 13921, 13922, 13923, 13924, 13925, 13926, 13927, 13928, 13929, 13930, 13931, 13932, 13934, 13935, 13936, 13937, 13938, 13939, 13940, 13941, 13942, 13943, 13944, 13945, 13946, 13947, 13948, 13949, 13950, 13951, 13952, 13953, 13954, 13955, 13956, 13957, 13958, 13959, 13960, 13961, 13962, 13963, 13964, 13965, 13967, 13968, 13969, 13971, 13972, 13973, 13974, 13975, 13976, 13978, 13979, 13980, 13981, 13982, 13984, 13985, 13986, 13987, 13988, 13989, 13990, 13991, 13992, 13993, 13994, 13995, 13996, 13997, 13998, 13999, 14000, 14001, 14002, 14003, 14004, 14005, 14006, 14007, 14008, 14009, 14010, 14011, 14012, 14013, 14014, 14015, 14016, 14017, 14018, 14019, 14020, 14021, 14022, 14023, 14024, 14025, 14026, 14027, 14028, 14029, 14030, 14031, 14032, 14033, 14034, 14035, 14036, 14038, 14039, 14040, 14041, 14042, 14043, 14044, 14045, 14046, 14047, 14048, 14049, 14050, 14051, 14052, 14053, 14054, 14055, 14056, 14058, 14059, 14061, 14062, 14063, 14065, 14066, 14068, 14069, 14070, 14071, 14072, 14084, 14085, 14086, 14087, 14088, 14089, 14090, 14091, 14092, 14093, 14094, 14095, 14097, 14098, 14099, 14100, 14101, 14102, 14103, 14104, 14105, 14106, 14107, 14108, 14109, 14111, 14112, 14113, 14114, 14115, 14116, 14117, 14119, 14120, 14121, 14122, 14123, 14124, 14125, 14126, 14127, 14128, 14129, 14130, 14131, 14132, 14133, 14134, 14135, 14136, 14137, 14138, 14139, 14140, 14142, 14143, 14144, 14145, 14146, 14147, 14148, 14149, 14150, 14151, 14152, 14153, 14154, 14155, 14156, 14157, 14158, 14159, 14160, 14161, 14162, 14163, 14164, 14165, 14166, 14167, 14168, 14169, 14170, 14172, 14173, 14174, 14175, 14176, 14178, 14179, 14180, 14181, 14182, 14185, 14186, 14187, 14188, 14189, 14190, 14191, 14192, 14193, 14194, 14195, 14196, 14197, 14198, 14199, 14200, 14201, 14202, 14203, 14205, 14206, 14207, 14208, 14209, 14210, 14211, 14212, 14213, 14214, 14215, 14216, 14217, 14219, 14220, 14221, 14222, 14223, 14224, 14225, 14226, 14227, 14228, 14229, 14230, 14231, 14232, 14233, 14234, 14235, 14236, 14237, 14238, 14239, 14240, 14241, 14242, 14243, 14244, 14245, 14246, 14247, 14248, 14249, 14250, 14251, 14252, 14253, 14254, 14255, 14256, 14257, 14258, 14259, 14260, 14261, 14262, 14264, 14265, 14267, 14268, 14269, 14270, 14271, 14272, 14273, 14274, 14275, 14276, 14277, 14278, 14279, 14280, 14281, 14282, 14283, 14285, 14286, 14287, 14288, 14289, 14290, 14291, 14292, 14294, 14295, 14296, 14297, 14299, 14300, 14301, 14302, 14303, 14304, 14305, 14306, 14307, 14308, 14309, 14310, 14311, 14312, 14313, 14314, 14316, 14317, 14318, 14320, 14321, 14322, 14323, 14324, 14325, 14326, 14327, 14328, 14329, 14332, 14335, 14336, 14345, 14346, 14347, 14348, 14353, 14354, 14355, 14356, 14357, 14358, 14359, 14360, 14361, 14362, 14363, 14364, 14365, 14366, 14367, 14368, 14369, 14370, 14371, 14372, 14373, 14374, 14375, 14376, 14377, 14378, 14379, 14380, 14381, 14382, 14383, 14384, 14385, 14386, 14387, 14388, 14389, 14390, 14391, 14392, 14393, 14394, 14395, 14396, 14397, 14398, 14399, 14400, 14411)))) ORDER BY COALESCE("product_template"."is_published", false) DESC, COALESCE("product_template__name"."value", "product_template"."name") ASC, "product_template"."id" DESC;
Date: 2024-10-26 03:03:39 Duration: 380ms
19 9 1s671ms 176ms 200ms 185ms update product_warehouse_inventory set qty_shipped_not_invoiced = case when ?.? is not null then greatest ((?.? - ?.?) + (?.? - ?.?), ?) else greatest ((?.? - ?.?), ?) end where product_id = ? and warehouse_id = ? and company_id = ?;Times Reported Time consuming queries #19
Day Hour Count Duration Avg duration Oct 26 20 1 178ms 178ms 09 1 177ms 177ms 14 7 1s315ms 187ms -
update product_warehouse_inventory set qty_shipped_not_invoiced = CASE WHEN 0.0 IS NOT NULL THEN GREATEST ((20.0 - 20.0) + (0.0 - 0.0), 0) ELSE GREATEST ((20.0 - 20.0), 0) END where product_id = 177123 and warehouse_id = 35 and company_id = 1;
Date: 2024-10-26 18:28:14 Duration: 200ms
-
update product_warehouse_inventory set qty_shipped_not_invoiced = CASE WHEN 0.0 IS NOT NULL THEN GREATEST ((20.0 - 20.0) + (0.0 - 0.0), 0) ELSE GREATEST ((20.0 - 20.0), 0) END where product_id = 187819 and warehouse_id = 35 and company_id = 1;
Date: 2024-10-26 18:26:22 Duration: 195ms
-
update product_warehouse_inventory set qty_shipped_not_invoiced = CASE WHEN 0.0 IS NOT NULL THEN GREATEST ((13.0 - 13.0) + (0.0 - 0.0), 0) ELSE GREATEST ((13.0 - 13.0), 0) END where product_id = 238980 and warehouse_id = 35 and company_id = 1;
Date: 2024-10-26 18:25:02 Duration: 192ms
20 7 24s98ms 170ms 5s691ms 3s442ms select "account_payment".id from "account_payment" left join "account_move" AS "account_payment__move_id" on ("account_payment"."move_id" = "account_payment__move_id"."id") where (("account_payment"."active" = true) and (("account_payment__move_id"."journal_id" = ?) and ((("account_payment__move_id"."date" >= ?) and ("account_payment__move_id"."date" < ?)) and ((("account_payment__move_id"."date" >= ?) and ("account_payment__move_id"."date" < ?)) and (("account_payment"."branch_id" in (...)) and (("account_payment"."partner_type" = ?) and ("account_payment"."is_internal_transfer" is null or "account_payment"."is_internal_transfer" = false))))))) and ("account_payment__move_id"."company_id" is null or ("account_payment__move_id"."company_id" in (...))) and ("account_payment__move_id"."company_id" is null or ("account_payment__move_id"."company_id" in (...))) order by "account_payment"."create_date" desc limit ?;Times Reported Time consuming queries #20
Day Hour Count Duration Avg duration Oct 26 10 3 11s509ms 3s836ms 11 4 12s588ms 3s147ms -
SELECT "account_payment".id FROM "account_payment" LEFT JOIN "account_move" AS "account_payment__move_id" ON ("account_payment"."move_id" = "account_payment__move_id"."id") WHERE (("account_payment"."active" = true) AND (("account_payment__move_id"."journal_id" = 8) AND ((("account_payment__move_id"."date" >= '2024-10-24') AND ("account_payment__move_id"."date" < '2024-10-25')) AND ((("account_payment__move_id"."date" >= '2024-10-01') AND ("account_payment__move_id"."date" < '2024-11-01')) AND (("account_payment"."branch_id" in (45)) AND (("account_payment"."partner_type" = 'customer') AND ("account_payment"."is_internal_transfer" IS NULL or "account_payment"."is_internal_transfer" = false))))))) AND ("account_payment__move_id"."company_id" IS NULL OR ("account_payment__move_id"."company_id" in (1))) AND ("account_payment__move_id"."company_id" IS NULL OR ("account_payment__move_id"."company_id" in (1))) ORDER BY "account_payment"."create_date" DESC LIMIT 80;
Date: 2024-10-26 14:32:29 Duration: 5s691ms
-
SELECT "account_payment".id FROM "account_payment" LEFT JOIN "account_move" AS "account_payment__move_id" ON ("account_payment"."move_id" = "account_payment__move_id"."id") WHERE (("account_payment"."active" = true) AND (("account_payment__move_id"."journal_id" = 8) AND ((("account_payment__move_id"."date" >= '2024-10-24') AND ("account_payment__move_id"."date" < '2024-10-25')) AND ((("account_payment__move_id"."date" >= '2024-10-01') AND ("account_payment__move_id"."date" < '2024-11-01')) AND (("account_payment"."branch_id" in (45)) AND (("account_payment"."partner_type" = 'customer') AND ("account_payment"."is_internal_transfer" IS NULL or "account_payment"."is_internal_transfer" = false))))))) AND ("account_payment__move_id"."company_id" IS NULL OR ("account_payment__move_id"."company_id" in (1))) AND ("account_payment__move_id"."company_id" IS NULL OR ("account_payment__move_id"."company_id" in (1))) ORDER BY "account_payment"."create_date" DESC LIMIT 80;
Date: 2024-10-26 14:33:19 Duration: 5s648ms
-
SELECT "account_payment".id FROM "account_payment" LEFT JOIN "account_move" AS "account_payment__move_id" ON ("account_payment"."move_id" = "account_payment__move_id"."id") WHERE (("account_payment"."active" = true) AND (("account_payment__move_id"."journal_id" = 8) AND ((("account_payment__move_id"."date" >= '2024-10-25') AND ("account_payment__move_id"."date" < '2024-10-26')) AND ((("account_payment__move_id"."date" >= '2024-10-01') AND ("account_payment__move_id"."date" < '2024-11-01')) AND (("account_payment"."branch_id" in (45)) AND (("account_payment"."partner_type" = 'customer') AND ("account_payment"."is_internal_transfer" IS NULL or "account_payment"."is_internal_transfer" = false))))))) AND ("account_payment__move_id"."company_id" IS NULL OR ("account_payment__move_id"."company_id" in (1))) AND ("account_payment__move_id"."company_id" IS NULL OR ("account_payment__move_id"."company_id" in (1))) ORDER BY "account_payment"."create_date" DESC LIMIT 80;
Date: 2024-10-26 15:01:52 Duration: 3s171ms
Normalized slowest queries (N)
Rank Min duration Max duration Avg duration Times executed Total duration Query 1 4m14s 4m14s 4m14s 1 4m14s 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;Times Reported Time consuming queries #1
Day Hour Count Duration Avg duration Oct 26 05 1 4m14s 4m14s -
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-10-26 09:10:59 Duration: 4m14s
2 2m15s 2m15s 2m15s 1 2m15s copy public.item_list_line (id, item_demand_plan_id, product_id, selling_branch, product_uom_qty, invoice_date, warehouse_id, method, inventory_vendor_id, create_uid, create_date, write_uid, write_date, active, min_product_len_1, min_product_len_2, min_baseline_size, seasonal_period, supercede_product_id, superceded, campaign_id, source_id, medium_id, message_main_attachment_id, access_token, ref_id, ref) to stdout;Times Reported Time consuming queries #2
Day Hour Count Duration Avg duration Oct 26 05 1 2m15s 2m15s -
COPY public.item_list_line (id, item_demand_plan_id, product_id, selling_branch, product_uom_qty, invoice_date, warehouse_id, method, inventory_vendor_id, create_uid, create_date, write_uid, write_date, active, min_product_len_1, min_product_len_2, min_baseline_size, seasonal_period, supercede_product_id, superceded, campaign_id, source_id, medium_id, message_main_attachment_id, access_token, ref_id, ref) TO stdout;
Date: 2024-10-26 09:04:28 Duration: 2m15s
3 2m1s 2m1s 2m1s 1 2m1s copy public.mail_message (id, subject, date, body, parent_id, model, res_id, record_name, message_type, subtype_id, mail_activity_type_id, is_internal, email_from, author_id, no_auto_thread, message_id, reply_to, mail_server_id, moderation_status, moderator_id, email_layout_xmlid, add_sign, create_uid, create_date, write_uid, write_date, email_cc, email_bcc, email_to, ks_email_cc_string, ks_email_bcc_string, ks_cc_partners, ks_bcc_partners) to stdout;Times Reported Time consuming queries #3
Day Hour Count Duration Avg duration Oct 26 05 1 2m1s 2m1s -
COPY public.mail_message (id, subject, date, body, parent_id, model, res_id, record_name, message_type, subtype_id, mail_activity_type_id, is_internal, email_from, author_id, no_auto_thread, message_id, reply_to, mail_server_id, moderation_status, moderator_id, email_layout_xmlid, add_sign, create_uid, create_date, write_uid, write_date, email_cc, email_bcc, email_to, ks_email_cc_string, ks_email_bcc_string, ks_cc_partners, ks_bcc_partners) TO stdout;
Date: 2024-10-26 09:06:43 Duration: 2m1s
4 1s119ms 2m27s 1m14s 4 4m57s select ill.item_demand_plan_id from item_list_line ill left join item_demand_plan as idp on ill.item_demand_plan_id = idp.id where ill.method is null and idp.active = true group by ill.item_demand_plan_id having count(ill.id) > ?;Times Reported Time consuming queries #4
Day Hour Count Duration Avg duration Oct 26 21 2 2s248ms 1s124ms 05 2 4m55s 2m27s -
select ill.item_demand_plan_id from item_list_line ill LEFT JOIN item_demand_plan as idp ON ill.item_demand_plan_id = idp.id where ill.method is NULL and idp.active = True GROUP BY ill.item_demand_plan_id having count(ill.id) > 0;
Date: 2024-10-26 09:32:29 Duration: 2m27s
-
select ill.item_demand_plan_id from item_list_line ill LEFT JOIN item_demand_plan as idp ON ill.item_demand_plan_id = idp.id where ill.method is NULL and idp.active = True GROUP BY ill.item_demand_plan_id having count(ill.id) > 0;
Date: 2024-10-26 09:32:29 Duration: 2m27s
-
select ill.item_demand_plan_id from item_list_line ill LEFT JOIN item_demand_plan as idp ON ill.item_demand_plan_id = idp.id where ill.method is NULL and idp.active = True GROUP BY ill.item_demand_plan_id having count(ill.id) > 0;
Date: 2024-10-26 01:00:04 Duration: 1s128ms
5 41s274ms 41s274ms 41s274ms 1 41s274ms copy public.account_move_line (id, move_id, move_name, date, ref, parent_state, journal_id, company_id, company_currency_id, account_id, account_root_id, sequence, name, quantity, price_unit, discount, debit, credit, balance, amount_currency, price_subtotal, price_total, reconciled, blocked, date_maturity, currency_id, partner_id, product_uom_id, product_id, reconcile_model_id, payment_id, statement_line_id, statement_id, tax_line_id, tax_group_id, tax_base_amount, tax_exigible, tax_repartition_line_id, tax_audit, amount_residual, amount_residual_currency, full_reconcile_id, matching_number, analytic_account_id, display_type, is_rounding_line, exclude_from_invoice_tab, create_uid, create_date, write_uid, write_date, expected_pay_date, internal_note, next_action_date, followup_line_id, followup_date, is_anglo_saxon_line, purchase_line_id, branch_id, branch_name, vehicle_id, move_options, sign_product_qty, sign_price_subtotal, new_product_qty, sale_line_id, child_sale_line_id, main_invoice_line_id, core_bank_transaction, is_rtv_line, core_qty, rebate_amount, cost_price, is_visible_in_report, is_labour, can_be_paid, bal_core_bank_id, repair_line_id, inv_back_order_qty, sale_back_order_qty, product_pricelist_item_id, is_discount, is_sale_tax, auto_reconcile, is_writeoff, is_extra_line, is_carry_forward, reconcile_date_from_add) to stdout;Times Reported Time consuming queries #5
Day Hour Count Duration Avg duration Oct 26 05 1 41s274ms 41s274ms -
COPY public.account_move_line (id, move_id, move_name, date, ref, parent_state, journal_id, company_id, company_currency_id, account_id, account_root_id, sequence, name, quantity, price_unit, discount, debit, credit, balance, amount_currency, price_subtotal, price_total, reconciled, blocked, date_maturity, currency_id, partner_id, product_uom_id, product_id, reconcile_model_id, payment_id, statement_line_id, statement_id, tax_line_id, tax_group_id, tax_base_amount, tax_exigible, tax_repartition_line_id, tax_audit, amount_residual, amount_residual_currency, full_reconcile_id, matching_number, analytic_account_id, display_type, is_rounding_line, exclude_from_invoice_tab, create_uid, create_date, write_uid, write_date, expected_pay_date, internal_note, next_action_date, followup_line_id, followup_date, is_anglo_saxon_line, purchase_line_id, branch_id, branch_name, vehicle_id, move_options, sign_product_qty, sign_price_subtotal, new_product_qty, sale_line_id, child_sale_line_id, main_invoice_line_id, core_bank_transaction, is_rtv_line, core_qty, rebate_amount, cost_price, is_visible_in_report, is_labour, can_be_paid, bal_core_bank_id, repair_line_id, inv_back_order_qty, sale_back_order_qty, product_pricelist_item_id, is_discount, is_sale_tax, auto_reconcile, is_writeoff, is_extra_line, is_carry_forward, reconcile_date_from_add) TO stdout;
Date: 2024-10-26 09:01:05 Duration: 41s274ms
6 24s529ms 24s529ms 24s529ms 1 24s529ms copy public.sale_history_line (id, history_data_link, company_id, customer_id, product_id, invoice_id, product_name, name, product_uom_qty, price_unit, cost_price_unit, price_subtotal, cost_subtotal, gross_profit, rebate_amount, rebate_subtotal, invoice_item_no, inventory_product_categ, inventory_part_type, inventory_short_vendor_name, currency_id, core_sales_amount, core_cost_amount, labor_amount, serial_number, labor_flag, note, under_warranty, contact_reference, contact_name, selling_branch, vehicle_unit_no, vehicle_identification_number, vehicle_odometer, customer_reference_no, sales_obtain, sale_order_no, sale_order_date, invoice_number, invoice_date, user_id, exception_sale, create_uid, create_date, write_uid, write_date, product_pricelist_item_id, history_id, history_date, history_type, so_line_id, new_user_id, gross_profit_amount, is_shipping, move_options, manufacturing_usage, technician_id, inventory_vendor_id, product_type, current_branch, pricelist_id, product_pricelist_item_name, pricelist_name) to stdout;Times Reported Time consuming queries #6
Day Hour Count Duration Avg duration Oct 26 05 1 24s529ms 24s529ms -
COPY public.sale_history_line (id, history_data_link, company_id, customer_id, product_id, invoice_id, product_name, name, product_uom_qty, price_unit, cost_price_unit, price_subtotal, cost_subtotal, gross_profit, rebate_amount, rebate_subtotal, invoice_item_no, inventory_product_categ, inventory_part_type, inventory_short_vendor_name, currency_id, core_sales_amount, core_cost_amount, labor_amount, serial_number, labor_flag, note, under_warranty, contact_reference, contact_name, selling_branch, vehicle_unit_no, vehicle_identification_number, vehicle_odometer, customer_reference_no, sales_obtain, sale_order_no, sale_order_date, invoice_number, invoice_date, user_id, exception_sale, create_uid, create_date, write_uid, write_date, product_pricelist_item_id, history_id, history_date, history_type, so_line_id, new_user_id, gross_profit_amount, is_shipping, move_options, manufacturing_usage, technician_id, inventory_vendor_id, product_type, current_branch, pricelist_id, product_pricelist_item_name, pricelist_name) TO stdout;
Date: 2024-10-26 09:13:20 Duration: 24s529ms
7 19s398ms 19s398ms 19s398ms 1 19s398ms copy public.base_import_import (id, res_model, file, file_name, file_type, create_uid, create_date, write_uid, write_date) to stdout;Times Reported Time consuming queries #7
Day Hour Count Duration Avg duration Oct 26 05 1 19s398ms 19s398ms -
COPY public.base_import_import (id, res_model, file, file_name, file_type, create_uid, create_date, write_uid, write_date) TO stdout;
Date: 2024-10-26 09:01:35 Duration: 19s398ms
8 17s589ms 17s589ms 17s589ms 1 17s589ms copy public.account_move (id, access_token, message_main_attachment_id, name, date, ref, narration, state, posted_before, move_type, to_check, journal_id, company_id, currency_id, partner_id, commercial_partner_id, is_move_sent, partner_bank_id, payment_reference, payment_id, statement_line_id, amount_untaxed, amount_tax, amount_total, amount_residual, amount_untaxed_signed, amount_tax_signed, amount_total_signed, amount_residual_signed, payment_state, tax_cash_basis_rec_id, tax_cash_basis_move_id, auto_post, reversed_entry_id, fiscal_position_id, invoice_user_id, invoice_date, invoice_date_due, invoice_origin, invoice_payment_term_id, invoice_incoterm_id, qr_code_method, invoice_source_email, invoice_partner_display_name, invoice_cash_rounding_id, secure_sequence_number, inalterable_hash, sequence_prefix, sequence_number, create_uid, create_date, write_uid, write_date, payment_state_before_switch, duplicated_vendor_ref, extract_state, extract_status_code, extract_remote_id, transfer_model_id, tax_closing_end_date, tax_report_control_error, asset_id, asset_remaining_value, asset_depreciated_value, asset_manually_modified, asset_value_change, campaign_id, source_id, medium_id, team_id, partner_shipping_id, stock_move_id, preferred_payment_method_id, website_id, branch_id, branch_name, invoice_action, sign_amount_total, sign_amount_residual, sign_amount_untaxed, invoice_part_id, invoice_product_qty, balance_entry, to_check_negative, non_inventory_entry, direct_order, warranty_invoice, email_send_eod, email_sent, order_type, carrier_id, release_to_pay, release_to_pay_manual, force_release_to_pay, invoice_origin_new, debit_origin_id, paid_by_vc, payment_details, expense_choice, edi_810_id, cash_tendered, change_amount, sequence_generated, open_invoice, edi_split_lock, edi_billed, is_edi_bill, payment_details_compute, edi_done_date, partner_address_type, from_ar, auto_reconcile, related_payment_id, discount_amount_applied) to stdout;Times Reported Time consuming queries #8
Day Hour Count Duration Avg duration Oct 26 05 1 17s589ms 17s589ms -
COPY public.account_move (id, access_token, message_main_attachment_id, name, date, ref, narration, state, posted_before, move_type, to_check, journal_id, company_id, currency_id, partner_id, commercial_partner_id, is_move_sent, partner_bank_id, payment_reference, payment_id, statement_line_id, amount_untaxed, amount_tax, amount_total, amount_residual, amount_untaxed_signed, amount_tax_signed, amount_total_signed, amount_residual_signed, payment_state, tax_cash_basis_rec_id, tax_cash_basis_move_id, auto_post, reversed_entry_id, fiscal_position_id, invoice_user_id, invoice_date, invoice_date_due, invoice_origin, invoice_payment_term_id, invoice_incoterm_id, qr_code_method, invoice_source_email, invoice_partner_display_name, invoice_cash_rounding_id, secure_sequence_number, inalterable_hash, sequence_prefix, sequence_number, create_uid, create_date, write_uid, write_date, payment_state_before_switch, duplicated_vendor_ref, extract_state, extract_status_code, extract_remote_id, transfer_model_id, tax_closing_end_date, tax_report_control_error, asset_id, asset_remaining_value, asset_depreciated_value, asset_manually_modified, asset_value_change, campaign_id, source_id, medium_id, team_id, partner_shipping_id, stock_move_id, preferred_payment_method_id, website_id, branch_id, branch_name, invoice_action, sign_amount_total, sign_amount_residual, sign_amount_untaxed, invoice_part_id, invoice_product_qty, balance_entry, to_check_negative, non_inventory_entry, direct_order, warranty_invoice, email_send_eod, email_sent, order_type, carrier_id, release_to_pay, release_to_pay_manual, force_release_to_pay, invoice_origin_new, debit_origin_id, paid_by_vc, payment_details, expense_choice, edi_810_id, cash_tendered, change_amount, sequence_generated, open_invoice, edi_split_lock, edi_billed, is_edi_bill, payment_details_compute, edi_done_date, partner_address_type, from_ar, auto_reconcile, related_payment_id, discount_amount_applied) TO stdout;
Date: 2024-10-26 09:00:24 Duration: 17s589ms
9 267ms 31s836ms 15s101ms 3 45s305ms 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 #9
Day Hour Count Duration Avg duration Oct 26 09 3 45s305ms 15s101ms -
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-10-19 13:53:34' 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-10-26 13:54:06 Duration: 31s836ms
-
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-10-19 13:53:53' 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-10-26 13:54:06 Duration: 13s201ms
-
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-10-19 13:54:23' 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-10-26 13:54:24 Duration: 267ms
10 170ms 5s691ms 3s442ms 7 24s98ms select "account_payment".id from "account_payment" left join "account_move" AS "account_payment__move_id" on ("account_payment"."move_id" = "account_payment__move_id"."id") where (("account_payment"."active" = true) and (("account_payment__move_id"."journal_id" = ?) and ((("account_payment__move_id"."date" >= ?) and ("account_payment__move_id"."date" < ?)) and ((("account_payment__move_id"."date" >= ?) and ("account_payment__move_id"."date" < ?)) and (("account_payment"."branch_id" in (...)) and (("account_payment"."partner_type" = ?) and ("account_payment"."is_internal_transfer" is null or "account_payment"."is_internal_transfer" = false))))))) and ("account_payment__move_id"."company_id" is null or ("account_payment__move_id"."company_id" in (...))) and ("account_payment__move_id"."company_id" is null or ("account_payment__move_id"."company_id" in (...))) order by "account_payment"."create_date" desc limit ?;Times Reported Time consuming queries #10
Day Hour Count Duration Avg duration Oct 26 10 3 11s509ms 3s836ms 11 4 12s588ms 3s147ms -
SELECT "account_payment".id FROM "account_payment" LEFT JOIN "account_move" AS "account_payment__move_id" ON ("account_payment"."move_id" = "account_payment__move_id"."id") WHERE (("account_payment"."active" = true) AND (("account_payment__move_id"."journal_id" = 8) AND ((("account_payment__move_id"."date" >= '2024-10-24') AND ("account_payment__move_id"."date" < '2024-10-25')) AND ((("account_payment__move_id"."date" >= '2024-10-01') AND ("account_payment__move_id"."date" < '2024-11-01')) AND (("account_payment"."branch_id" in (45)) AND (("account_payment"."partner_type" = 'customer') AND ("account_payment"."is_internal_transfer" IS NULL or "account_payment"."is_internal_transfer" = false))))))) AND ("account_payment__move_id"."company_id" IS NULL OR ("account_payment__move_id"."company_id" in (1))) AND ("account_payment__move_id"."company_id" IS NULL OR ("account_payment__move_id"."company_id" in (1))) ORDER BY "account_payment"."create_date" DESC LIMIT 80;
Date: 2024-10-26 14:32:29 Duration: 5s691ms
-
SELECT "account_payment".id FROM "account_payment" LEFT JOIN "account_move" AS "account_payment__move_id" ON ("account_payment"."move_id" = "account_payment__move_id"."id") WHERE (("account_payment"."active" = true) AND (("account_payment__move_id"."journal_id" = 8) AND ((("account_payment__move_id"."date" >= '2024-10-24') AND ("account_payment__move_id"."date" < '2024-10-25')) AND ((("account_payment__move_id"."date" >= '2024-10-01') AND ("account_payment__move_id"."date" < '2024-11-01')) AND (("account_payment"."branch_id" in (45)) AND (("account_payment"."partner_type" = 'customer') AND ("account_payment"."is_internal_transfer" IS NULL or "account_payment"."is_internal_transfer" = false))))))) AND ("account_payment__move_id"."company_id" IS NULL OR ("account_payment__move_id"."company_id" in (1))) AND ("account_payment__move_id"."company_id" IS NULL OR ("account_payment__move_id"."company_id" in (1))) ORDER BY "account_payment"."create_date" DESC LIMIT 80;
Date: 2024-10-26 14:33:19 Duration: 5s648ms
-
SELECT "account_payment".id FROM "account_payment" LEFT JOIN "account_move" AS "account_payment__move_id" ON ("account_payment"."move_id" = "account_payment__move_id"."id") WHERE (("account_payment"."active" = true) AND (("account_payment__move_id"."journal_id" = 8) AND ((("account_payment__move_id"."date" >= '2024-10-25') AND ("account_payment__move_id"."date" < '2024-10-26')) AND ((("account_payment__move_id"."date" >= '2024-10-01') AND ("account_payment__move_id"."date" < '2024-11-01')) AND (("account_payment"."branch_id" in (45)) AND (("account_payment"."partner_type" = 'customer') AND ("account_payment"."is_internal_transfer" IS NULL or "account_payment"."is_internal_transfer" = false))))))) AND ("account_payment__move_id"."company_id" IS NULL OR ("account_payment__move_id"."company_id" in (1))) AND ("account_payment__move_id"."company_id" IS NULL OR ("account_payment__move_id"."company_id" in (1))) ORDER BY "account_payment"."create_date" DESC LIMIT 80;
Date: 2024-10-26 15:01:52 Duration: 3s171ms
11 1s126ms 1s429ms 1s206ms 12 14s476ms select "product_template".id from "product_template" left join "ir_translation" AS "product_template__description_sale" on ("product_template"."id" = "product_template__description_sale"."res_id" and "product_template__description_sale"."type" = ? and "product_template__description_sale"."name" = ? and "product_template__description_sale"."lang" = ? and "product_template__description_sale"."value" != ?) left join "ir_translation" AS "product_template__description" on ("product_template"."id" = "product_template__description"."res_id" and "product_template__description"."type" = ? and "product_template__description"."name" = ? and "product_template__description"."lang" = ? and "product_template__description"."value" != ?) left join "ir_translation" AS "product_template__name" on ("product_template"."id" = "product_template__name"."res_id" and "product_template__name"."type" = ? and "product_template__name"."name" = ? and "product_template__name"."lang" = ? and "product_template__name"."value" != ?) where (("product_template"."active" = true) and ((("product_template"."sale_ok" = true) and (("product_template"."website_id" in (...)) or "product_template"."website_id" is null)) and (((((unaccent (coalesce("product_template__name"."value", "product_template"."name")) ilike unaccent (?) or ("product_template"."id" in ( select "product_product"."product_tmpl_id" from "product_product" where (("product_product"."active" = true) and (unaccent ("product_product"."default_code"::text) ilike unaccent (?)))))) or ("product_template"."id" in ( select "product_product"."product_tmpl_id" from "product_product" where (("product_product"."active" = true) and (unaccent ("product_product"."condensed_internal_ref"::text) ilike unaccent (?)))))) or ("product_template"."inventory_vendor_id" in ( select "psd_custom_inventory_vendor".id from "psd_custom_inventory_vendor" where (unaccent ("psd_custom_inventory_vendor"."name"::text) ilike unaccent (?))))) or unaccent (coalesce("product_template__description"."value", "product_template"."description")) ilike unaccent (?)) or unaccent (coalesce("product_template__description_sale"."value", "product_template"."description_sale")) ilike unaccent (?)))) order by coalesce("product_template"."is_published", false) desc, "product_template"."website_sequence" asc, "product_template"."id" desc;Times Reported Time consuming queries #11
Day Hour Count Duration Avg duration Oct 26 20 3 3s406ms 1s135ms 22 3 4s274ms 1s424ms 00 3 3s387ms 1s129ms 17 3 3s408ms 1s136ms -
SELECT "product_template".id FROM "product_template" LEFT JOIN "ir_translation" AS "product_template__description_sale" ON ("product_template"."id" = "product_template__description_sale"."res_id" AND "product_template__description_sale"."type" = 'model' AND "product_template__description_sale"."name" = 'product.template,description_sale' AND "product_template__description_sale"."lang" = 'en_US' AND "product_template__description_sale"."value" != '') LEFT JOIN "ir_translation" AS "product_template__description" ON ("product_template"."id" = "product_template__description"."res_id" AND "product_template__description"."type" = 'model' AND "product_template__description"."name" = 'product.template,description' AND "product_template__description"."lang" = 'en_US' AND "product_template__description"."value" != '') LEFT JOIN "ir_translation" AS "product_template__name" ON ("product_template"."id" = "product_template__name"."res_id" AND "product_template__name"."type" = 'model' AND "product_template__name"."name" = 'product.template,name' AND "product_template__name"."lang" = 'en_US' AND "product_template__name"."value" != '') WHERE (("product_template"."active" = true) AND ((("product_template"."sale_ok" = true) AND (("product_template"."website_id" in (1)) OR "product_template"."website_id" IS NULL)) AND (((((unaccent (COALESCE("product_template__name"."value", "product_template"."name")) ilike unaccent ('%hƩps://drive.google.com/file/d/1uT7W9gqp8Bybgxu4Ir4FU-z6n4vXfrDT/view?usp=sharin%') OR ("product_template"."id" IN ( SELECT "product_product"."product_tmpl_id" FROM "product_product" WHERE (("product_product"."active" = true) AND (unaccent ("product_product"."default_code"::text) ilike unaccent ('%hƩps://drive.google.com/file/d/1uT7W9gqp8Bybgxu4Ir4FU-z6n4vXfrDT/view?usp=sharin%')))))) OR ("product_template"."id" IN ( SELECT "product_product"."product_tmpl_id" FROM "product_product" WHERE (("product_product"."active" = true) AND (unaccent ("product_product"."condensed_internal_ref"::text) ilike unaccent ('%hƩps://drive.google.com/file/d/1uT7W9gqp8Bybgxu4Ir4FU-z6n4vXfrDT/view?usp=sharin%')))))) OR ("product_template"."inventory_vendor_id" in ( SELECT "psd_custom_inventory_vendor".id FROM "psd_custom_inventory_vendor" WHERE (unaccent ("psd_custom_inventory_vendor"."name"::text) ilike unaccent ('%hƩps://drive.google.com/file/d/1uT7W9gqp8Bybgxu4Ir4FU-z6n4vXfrDT/view?usp=sharin%'))))) OR unaccent (COALESCE("product_template__description"."value", "product_template"."description")) ilike unaccent ('%hƩps://drive.google.com/file/d/1uT7W9gqp8Bybgxu4Ir4FU-z6n4vXfrDT/view?usp=sharin%')) OR unaccent (COALESCE("product_template__description_sale"."value", "product_template"."description_sale")) ilike unaccent ('%hƩps://drive.google.com/file/d/1uT7W9gqp8Bybgxu4Ir4FU-z6n4vXfrDT/view?usp=sharin%')))) ORDER BY COALESCE("product_template"."is_published", false) DESC, "product_template"."website_sequence" ASC, "product_template"."id" DESC;
Date: 2024-10-26 02:27:13 Duration: 1s429ms
-
SELECT "product_template".id FROM "product_template" LEFT JOIN "ir_translation" AS "product_template__description_sale" ON ("product_template"."id" = "product_template__description_sale"."res_id" AND "product_template__description_sale"."type" = 'model' AND "product_template__description_sale"."name" = 'product.template,description_sale' AND "product_template__description_sale"."lang" = 'en_US' AND "product_template__description_sale"."value" != '') LEFT JOIN "ir_translation" AS "product_template__description" ON ("product_template"."id" = "product_template__description"."res_id" AND "product_template__description"."type" = 'model' AND "product_template__description"."name" = 'product.template,description' AND "product_template__description"."lang" = 'en_US' AND "product_template__description"."value" != '') LEFT JOIN "ir_translation" AS "product_template__name" ON ("product_template"."id" = "product_template__name"."res_id" AND "product_template__name"."type" = 'model' AND "product_template__name"."name" = 'product.template,name' AND "product_template__name"."lang" = 'en_US' AND "product_template__name"."value" != '') WHERE (("product_template"."active" = true) AND ((("product_template"."sale_ok" = true) AND (("product_template"."website_id" in (1)) OR "product_template"."website_id" IS NULL)) AND (((((unaccent (COALESCE("product_template__name"."value", "product_template"."name")) ilike unaccent ('%hƩps://drive.google.com/file/d/1uT7W9gqp8Bybgxu4Ir4FU-z6n4vXfrDT/view?usp=sharin%') OR ("product_template"."id" IN ( SELECT "product_product"."product_tmpl_id" FROM "product_product" WHERE (("product_product"."active" = true) AND (unaccent ("product_product"."default_code"::text) ilike unaccent ('%hƩps://drive.google.com/file/d/1uT7W9gqp8Bybgxu4Ir4FU-z6n4vXfrDT/view?usp=sharin%')))))) OR ("product_template"."id" IN ( SELECT "product_product"."product_tmpl_id" FROM "product_product" WHERE (("product_product"."active" = true) AND (unaccent ("product_product"."condensed_internal_ref"::text) ilike unaccent ('%hƩps://drive.google.com/file/d/1uT7W9gqp8Bybgxu4Ir4FU-z6n4vXfrDT/view?usp=sharin%')))))) OR ("product_template"."inventory_vendor_id" in ( SELECT "psd_custom_inventory_vendor".id FROM "psd_custom_inventory_vendor" WHERE (unaccent ("psd_custom_inventory_vendor"."name"::text) ilike unaccent ('%hƩps://drive.google.com/file/d/1uT7W9gqp8Bybgxu4Ir4FU-z6n4vXfrDT/view?usp=sharin%'))))) OR unaccent (COALESCE("product_template__description"."value", "product_template"."description")) ilike unaccent ('%hƩps://drive.google.com/file/d/1uT7W9gqp8Bybgxu4Ir4FU-z6n4vXfrDT/view?usp=sharin%')) OR unaccent (COALESCE("product_template__description_sale"."value", "product_template"."description_sale")) ilike unaccent ('%hƩps://drive.google.com/file/d/1uT7W9gqp8Bybgxu4Ir4FU-z6n4vXfrDT/view?usp=sharin%')))) ORDER BY COALESCE("product_template"."is_published", false) DESC, "product_template"."website_sequence" ASC, "product_template"."id" DESC;
Date: 2024-10-26 02:27:14 Duration: 1s423ms
-
SELECT "product_template".id FROM "product_template" LEFT JOIN "ir_translation" AS "product_template__description_sale" ON ("product_template"."id" = "product_template__description_sale"."res_id" AND "product_template__description_sale"."type" = 'model' AND "product_template__description_sale"."name" = 'product.template,description_sale' AND "product_template__description_sale"."lang" = 'en_US' AND "product_template__description_sale"."value" != '') LEFT JOIN "ir_translation" AS "product_template__description" ON ("product_template"."id" = "product_template__description"."res_id" AND "product_template__description"."type" = 'model' AND "product_template__description"."name" = 'product.template,description' AND "product_template__description"."lang" = 'en_US' AND "product_template__description"."value" != '') LEFT JOIN "ir_translation" AS "product_template__name" ON ("product_template"."id" = "product_template__name"."res_id" AND "product_template__name"."type" = 'model' AND "product_template__name"."name" = 'product.template,name' AND "product_template__name"."lang" = 'en_US' AND "product_template__name"."value" != '') WHERE (("product_template"."active" = true) AND ((("product_template"."sale_ok" = true) AND (("product_template"."website_id" in (1)) OR "product_template"."website_id" IS NULL)) AND (((((unaccent (COALESCE("product_template__name"."value", "product_template"."name")) ilike unaccent ('%hƩps://drive.google.com/file/d/1uT7W9gqp8Bybgxu4Ir4FU-z6n4vXfrDT/view?usp=sharin%') OR ("product_template"."id" IN ( SELECT "product_product"."product_tmpl_id" FROM "product_product" WHERE (("product_product"."active" = true) AND (unaccent ("product_product"."default_code"::text) ilike unaccent ('%hƩps://drive.google.com/file/d/1uT7W9gqp8Bybgxu4Ir4FU-z6n4vXfrDT/view?usp=sharin%')))))) OR ("product_template"."id" IN ( SELECT "product_product"."product_tmpl_id" FROM "product_product" WHERE (("product_product"."active" = true) AND (unaccent ("product_product"."condensed_internal_ref"::text) ilike unaccent ('%hƩps://drive.google.com/file/d/1uT7W9gqp8Bybgxu4Ir4FU-z6n4vXfrDT/view?usp=sharin%')))))) OR ("product_template"."inventory_vendor_id" in ( SELECT "psd_custom_inventory_vendor".id FROM "psd_custom_inventory_vendor" WHERE (unaccent ("psd_custom_inventory_vendor"."name"::text) ilike unaccent ('%hƩps://drive.google.com/file/d/1uT7W9gqp8Bybgxu4Ir4FU-z6n4vXfrDT/view?usp=sharin%'))))) OR unaccent (COALESCE("product_template__description"."value", "product_template"."description")) ilike unaccent ('%hƩps://drive.google.com/file/d/1uT7W9gqp8Bybgxu4Ir4FU-z6n4vXfrDT/view?usp=sharin%')) OR unaccent (COALESCE("product_template__description_sale"."value", "product_template"."description_sale")) ilike unaccent ('%hƩps://drive.google.com/file/d/1uT7W9gqp8Bybgxu4Ir4FU-z6n4vXfrDT/view?usp=sharin%')))) ORDER BY COALESCE("product_template"."is_published", false) DESC, "product_template"."website_sequence" ASC, "product_template"."id" DESC;
Date: 2024-10-26 02:27:16 Duration: 1s421ms
12 1s128ms 1s183ms 1s147ms 21 24s96ms select "product_template".id from "product_template" left join "ir_translation" AS "product_template__description_sale" on ("product_template"."id" = "product_template__description_sale"."res_id" and "product_template__description_sale"."type" = ? and "product_template__description_sale"."name" = ? and "product_template__description_sale"."lang" = ? and "product_template__description_sale"."value" != ?) left join "ir_translation" AS "product_template__description" on ("product_template"."id" = "product_template__description"."res_id" and "product_template__description"."type" = ? and "product_template__description"."name" = ? and "product_template__description"."lang" = ? and "product_template__description"."value" != ?) left join "ir_translation" AS "product_template__name" on ("product_template"."id" = "product_template__name"."res_id" and "product_template__name"."type" = ? and "product_template__name"."name" = ? and "product_template__name"."lang" = ? and "product_template__name"."value" != ?) where (("product_template"."active" = true) and ((("product_template"."sale_ok" = true) and (("product_template"."website_id" in (...)) or "product_template"."website_id" is null)) and (((((unaccent (coalesce("product_template__name"."value", "product_template"."name")) ilike unaccent (?) or ("product_template"."id" in ( select "product_product"."product_tmpl_id" from "product_product" where (("product_product"."active" = true) and (unaccent ("product_product"."default_code"::text) ilike unaccent (?)))))) or ("product_template"."id" in ( select "product_product"."product_tmpl_id" from "product_product" where (("product_product"."active" = true) and (unaccent ("product_product"."condensed_internal_ref"::text) ilike unaccent (?)))))) or ("product_template"."inventory_vendor_id" in ( select "psd_custom_inventory_vendor".id from "psd_custom_inventory_vendor" where (unaccent ("psd_custom_inventory_vendor"."name"::text) ilike unaccent (?))))) or unaccent (coalesce("product_template__description"."value", "product_template"."description")) ilike unaccent (?)) or unaccent (coalesce("product_template__description_sale"."value", "product_template"."description_sale")) ilike unaccent (?)))) order by coalesce("product_template"."is_published", false) desc, "product_template"."website_sequence" asc, "product_template"."id" desc limit ?;Times Reported Time consuming queries #12
Day Hour Count Duration Avg duration Oct 26 20 3 3s401ms 1s133ms 14 18 20s695ms 1s149ms -
SELECT "product_template".id FROM "product_template" LEFT JOIN "ir_translation" AS "product_template__description_sale" ON ("product_template"."id" = "product_template__description_sale"."res_id" AND "product_template__description_sale"."type" = 'model' AND "product_template__description_sale"."name" = 'product.template,description_sale' AND "product_template__description_sale"."lang" = 'en_US' AND "product_template__description_sale"."value" != '') LEFT JOIN "ir_translation" AS "product_template__description" ON ("product_template"."id" = "product_template__description"."res_id" AND "product_template__description"."type" = 'model' AND "product_template__description"."name" = 'product.template,description' AND "product_template__description"."lang" = 'en_US' AND "product_template__description"."value" != '') LEFT JOIN "ir_translation" AS "product_template__name" ON ("product_template"."id" = "product_template__name"."res_id" AND "product_template__name"."type" = 'model' AND "product_template__name"."name" = 'product.template,name' AND "product_template__name"."lang" = 'en_US' AND "product_template__name"."value" != '') WHERE (("product_template"."active" = true) AND ((("product_template"."sale_ok" = true) AND (("product_template"."website_id" in (1)) OR "product_template"."website_id" IS NULL)) AND (((((unaccent (COALESCE("product_template__name"."value", "product_template"."name")) ilike unaccent ('%eii%') OR ("product_template"."id" IN ( SELECT "product_product"."product_tmpl_id" FROM "product_product" WHERE (("product_product"."active" = true) AND (unaccent ("product_product"."default_code"::text) ilike unaccent ('%eii%')))))) OR ("product_template"."id" IN ( SELECT "product_product"."product_tmpl_id" FROM "product_product" WHERE (("product_product"."active" = true) AND (unaccent ("product_product"."condensed_internal_ref"::text) ilike unaccent ('%eii%')))))) OR ("product_template"."inventory_vendor_id" in ( SELECT "psd_custom_inventory_vendor".id FROM "psd_custom_inventory_vendor" WHERE (unaccent ("psd_custom_inventory_vendor"."name"::text) ilike unaccent ('%eii%'))))) OR unaccent (COALESCE("product_template__description"."value", "product_template"."description")) ilike unaccent ('%eii%')) OR unaccent (COALESCE("product_template__description_sale"."value", "product_template"."description_sale")) ilike unaccent ('%eii%')))) ORDER BY COALESCE("product_template"."is_published", false) DESC, "product_template"."website_sequence" ASC, "product_template"."id" DESC LIMIT 5;
Date: 2024-10-26 18:24:48 Duration: 1s183ms
-
SELECT "product_template".id FROM "product_template" LEFT JOIN "ir_translation" AS "product_template__description_sale" ON ("product_template"."id" = "product_template__description_sale"."res_id" AND "product_template__description_sale"."type" = 'model' AND "product_template__description_sale"."name" = 'product.template,description_sale' AND "product_template__description_sale"."lang" = 'en_US' AND "product_template__description_sale"."value" != '') LEFT JOIN "ir_translation" AS "product_template__description" ON ("product_template"."id" = "product_template__description"."res_id" AND "product_template__description"."type" = 'model' AND "product_template__description"."name" = 'product.template,description' AND "product_template__description"."lang" = 'en_US' AND "product_template__description"."value" != '') LEFT JOIN "ir_translation" AS "product_template__name" ON ("product_template"."id" = "product_template__name"."res_id" AND "product_template__name"."type" = 'model' AND "product_template__name"."name" = 'product.template,name' AND "product_template__name"."lang" = 'en_US' AND "product_template__name"."value" != '') WHERE (("product_template"."active" = true) AND ((("product_template"."sale_ok" = true) AND (("product_template"."website_id" in (1)) OR "product_template"."website_id" IS NULL)) AND (((((unaccent (COALESCE("product_template__name"."value", "product_template"."name")) ilike unaccent ('%382-%') OR ("product_template"."id" IN ( SELECT "product_product"."product_tmpl_id" FROM "product_product" WHERE (("product_product"."active" = true) AND (unaccent ("product_product"."default_code"::text) ilike unaccent ('%382-%')))))) OR ("product_template"."id" IN ( SELECT "product_product"."product_tmpl_id" FROM "product_product" WHERE (("product_product"."active" = true) AND (unaccent ("product_product"."condensed_internal_ref"::text) ilike unaccent ('%382-%')))))) OR ("product_template"."inventory_vendor_id" in ( SELECT "psd_custom_inventory_vendor".id FROM "psd_custom_inventory_vendor" WHERE (unaccent ("psd_custom_inventory_vendor"."name"::text) ilike unaccent ('%382-%'))))) OR unaccent (COALESCE("product_template__description"."value", "product_template"."description")) ilike unaccent ('%382-%')) OR unaccent (COALESCE("product_template__description_sale"."value", "product_template"."description_sale")) ilike unaccent ('%382-%')))) ORDER BY COALESCE("product_template"."is_published", false) DESC, "product_template"."website_sequence" ASC, "product_template"."id" DESC LIMIT 5;
Date: 2024-10-26 18:25:53 Duration: 1s176ms
-
SELECT "product_template".id FROM "product_template" LEFT JOIN "ir_translation" AS "product_template__description_sale" ON ("product_template"."id" = "product_template__description_sale"."res_id" AND "product_template__description_sale"."type" = 'model' AND "product_template__description_sale"."name" = 'product.template,description_sale' AND "product_template__description_sale"."lang" = 'en_US' AND "product_template__description_sale"."value" != '') LEFT JOIN "ir_translation" AS "product_template__description" ON ("product_template"."id" = "product_template__description"."res_id" AND "product_template__description"."type" = 'model' AND "product_template__description"."name" = 'product.template,description' AND "product_template__description"."lang" = 'en_US' AND "product_template__description"."value" != '') LEFT JOIN "ir_translation" AS "product_template__name" ON ("product_template"."id" = "product_template__name"."res_id" AND "product_template__name"."type" = 'model' AND "product_template__name"."name" = 'product.template,name' AND "product_template__name"."lang" = 'en_US' AND "product_template__name"."value" != '') WHERE (("product_template"."active" = true) AND ((("product_template"."sale_ok" = true) AND (("product_template"."website_id" in (1)) OR "product_template"."website_id" IS NULL)) AND (((((unaccent (COALESCE("product_template__name"."value", "product_template"."name")) ilike unaccent ('%45386%') OR ("product_template"."id" IN ( SELECT "product_product"."product_tmpl_id" FROM "product_product" WHERE (("product_product"."active" = true) AND (unaccent ("product_product"."default_code"::text) ilike unaccent ('%45386%')))))) OR ("product_template"."id" IN ( SELECT "product_product"."product_tmpl_id" FROM "product_product" WHERE (("product_product"."active" = true) AND (unaccent ("product_product"."condensed_internal_ref"::text) ilike unaccent ('%45386%')))))) OR ("product_template"."inventory_vendor_id" in ( SELECT "psd_custom_inventory_vendor".id FROM "psd_custom_inventory_vendor" WHERE (unaccent ("psd_custom_inventory_vendor"."name"::text) ilike unaccent ('%45386%'))))) OR unaccent (COALESCE("product_template__description"."value", "product_template"."description")) ilike unaccent ('%45386%')) OR unaccent (COALESCE("product_template__description_sale"."value", "product_template"."description_sale")) ilike unaccent ('%45386%')))) ORDER BY COALESCE("product_template"."is_published", false) DESC, "product_template"."website_sequence" ASC, "product_template"."id" DESC LIMIT 5;
Date: 2024-10-26 18:27:52 Duration: 1s170ms
13 1s114ms 1s168ms 1s136ms 21 23s868ms select count(?) from "product_template" left join "ir_translation" AS "product_template__description_sale" on ("product_template"."id" = "product_template__description_sale"."res_id" and "product_template__description_sale"."type" = ? and "product_template__description_sale"."name" = ? and "product_template__description_sale"."lang" = ? and "product_template__description_sale"."value" != ?) left join "ir_translation" AS "product_template__description" on ("product_template"."id" = "product_template__description"."res_id" and "product_template__description"."type" = ? and "product_template__description"."name" = ? and "product_template__description"."lang" = ? and "product_template__description"."value" != ?) left join "ir_translation" AS "product_template__name" on ("product_template"."id" = "product_template__name"."res_id" and "product_template__name"."type" = ? and "product_template__name"."name" = ? and "product_template__name"."lang" = ? and "product_template__name"."value" != ?) where (("product_template"."active" = true) and ((("product_template"."sale_ok" = true) and (("product_template"."website_id" in (...)) or "product_template"."website_id" is null)) and (((((unaccent (coalesce("product_template__name"."value", "product_template"."name")) ilike unaccent (?) or ("product_template"."id" in ( select "product_product"."product_tmpl_id" from "product_product" where (("product_product"."active" = true) and (unaccent ("product_product"."default_code"::text) ilike unaccent (?)))))) or ("product_template"."id" in ( select "product_product"."product_tmpl_id" from "product_product" where (("product_product"."active" = true) and (unaccent ("product_product"."condensed_internal_ref"::text) ilike unaccent (?)))))) or ("product_template"."inventory_vendor_id" in ( select "psd_custom_inventory_vendor".id from "psd_custom_inventory_vendor" where (unaccent ("psd_custom_inventory_vendor"."name"::text) ilike unaccent (?))))) or unaccent (coalesce("product_template__description"."value", "product_template"."description")) ilike unaccent (?)) or unaccent (coalesce("product_template__description_sale"."value", "product_template"."description_sale")) ilike unaccent (?))));Times Reported Time consuming queries #13
Day Hour Count Duration Avg duration Oct 26 20 3 3s377ms 1s125ms 14 18 20s491ms 1s138ms -
SELECT count(1) FROM "product_template" LEFT JOIN "ir_translation" AS "product_template__description_sale" ON ("product_template"."id" = "product_template__description_sale"."res_id" AND "product_template__description_sale"."type" = 'model' AND "product_template__description_sale"."name" = 'product.template,description_sale' AND "product_template__description_sale"."lang" = 'en_US' AND "product_template__description_sale"."value" != '') LEFT JOIN "ir_translation" AS "product_template__description" ON ("product_template"."id" = "product_template__description"."res_id" AND "product_template__description"."type" = 'model' AND "product_template__description"."name" = 'product.template,description' AND "product_template__description"."lang" = 'en_US' AND "product_template__description"."value" != '') LEFT JOIN "ir_translation" AS "product_template__name" ON ("product_template"."id" = "product_template__name"."res_id" AND "product_template__name"."type" = 'model' AND "product_template__name"."name" = 'product.template,name' AND "product_template__name"."lang" = 'en_US' AND "product_template__name"."value" != '') WHERE (("product_template"."active" = true) AND ((("product_template"."sale_ok" = true) AND (("product_template"."website_id" in (1)) OR "product_template"."website_id" IS NULL)) AND (((((unaccent (COALESCE("product_template__name"."value", "product_template"."name")) ilike unaccent ('%382-80%') OR ("product_template"."id" IN ( SELECT "product_product"."product_tmpl_id" FROM "product_product" WHERE (("product_product"."active" = true) AND (unaccent ("product_product"."default_code"::text) ilike unaccent ('%382-80%')))))) OR ("product_template"."id" IN ( SELECT "product_product"."product_tmpl_id" FROM "product_product" WHERE (("product_product"."active" = true) AND (unaccent ("product_product"."condensed_internal_ref"::text) ilike unaccent ('%382-80%')))))) OR ("product_template"."inventory_vendor_id" in ( SELECT "psd_custom_inventory_vendor".id FROM "psd_custom_inventory_vendor" WHERE (unaccent ("psd_custom_inventory_vendor"."name"::text) ilike unaccent ('%382-80%'))))) OR unaccent (COALESCE("product_template__description"."value", "product_template"."description")) ilike unaccent ('%382-80%')) OR unaccent (COALESCE("product_template__description_sale"."value", "product_template"."description_sale")) ilike unaccent ('%382-80%'))));
Date: 2024-10-26 18:25:57 Duration: 1s168ms
-
SELECT count(1) FROM "product_template" LEFT JOIN "ir_translation" AS "product_template__description_sale" ON ("product_template"."id" = "product_template__description_sale"."res_id" AND "product_template__description_sale"."type" = 'model' AND "product_template__description_sale"."name" = 'product.template,description_sale' AND "product_template__description_sale"."lang" = 'en_US' AND "product_template__description_sale"."value" != '') LEFT JOIN "ir_translation" AS "product_template__description" ON ("product_template"."id" = "product_template__description"."res_id" AND "product_template__description"."type" = 'model' AND "product_template__description"."name" = 'product.template,description' AND "product_template__description"."lang" = 'en_US' AND "product_template__description"."value" != '') LEFT JOIN "ir_translation" AS "product_template__name" ON ("product_template"."id" = "product_template__name"."res_id" AND "product_template__name"."type" = 'model' AND "product_template__name"."name" = 'product.template,name' AND "product_template__name"."lang" = 'en_US' AND "product_template__name"."value" != '') WHERE (("product_template"."active" = true) AND ((("product_template"."sale_ok" = true) AND (("product_template"."website_id" in (1)) OR "product_template"."website_id" IS NULL)) AND (((((unaccent (COALESCE("product_template__name"."value", "product_template"."name")) ilike unaccent ('%452%') OR ("product_template"."id" IN ( SELECT "product_product"."product_tmpl_id" FROM "product_product" WHERE (("product_product"."active" = true) AND (unaccent ("product_product"."default_code"::text) ilike unaccent ('%452%')))))) OR ("product_template"."id" IN ( SELECT "product_product"."product_tmpl_id" FROM "product_product" WHERE (("product_product"."active" = true) AND (unaccent ("product_product"."condensed_internal_ref"::text) ilike unaccent ('%452%')))))) OR ("product_template"."inventory_vendor_id" in ( SELECT "psd_custom_inventory_vendor".id FROM "psd_custom_inventory_vendor" WHERE (unaccent ("psd_custom_inventory_vendor"."name"::text) ilike unaccent ('%452%'))))) OR unaccent (COALESCE("product_template__description"."value", "product_template"."description")) ilike unaccent ('%452%')) OR unaccent (COALESCE("product_template__description_sale"."value", "product_template"."description_sale")) ilike unaccent ('%452%'))));
Date: 2024-10-26 18:27:45 Duration: 1s155ms
-
SELECT count(1) FROM "product_template" LEFT JOIN "ir_translation" AS "product_template__description_sale" ON ("product_template"."id" = "product_template__description_sale"."res_id" AND "product_template__description_sale"."type" = 'model' AND "product_template__description_sale"."name" = 'product.template,description_sale' AND "product_template__description_sale"."lang" = 'en_US' AND "product_template__description_sale"."value" != '') LEFT JOIN "ir_translation" AS "product_template__description" ON ("product_template"."id" = "product_template__description"."res_id" AND "product_template__description"."type" = 'model' AND "product_template__description"."name" = 'product.template,description' AND "product_template__description"."lang" = 'en_US' AND "product_template__description"."value" != '') LEFT JOIN "ir_translation" AS "product_template__name" ON ("product_template"."id" = "product_template__name"."res_id" AND "product_template__name"."type" = 'model' AND "product_template__name"."name" = 'product.template,name' AND "product_template__name"."lang" = 'en_US' AND "product_template__name"."value" != '') WHERE (("product_template"."active" = true) AND ((("product_template"."sale_ok" = true) AND (("product_template"."website_id" in (1)) OR "product_template"."website_id" IS NULL)) AND (((((unaccent (COALESCE("product_template__name"."value", "product_template"."name")) ilike unaccent ('%392-9%') OR ("product_template"."id" IN ( SELECT "product_product"."product_tmpl_id" FROM "product_product" WHERE (("product_product"."active" = true) AND (unaccent ("product_product"."default_code"::text) ilike unaccent ('%392-9%')))))) OR ("product_template"."id" IN ( SELECT "product_product"."product_tmpl_id" FROM "product_product" WHERE (("product_product"."active" = true) AND (unaccent ("product_product"."condensed_internal_ref"::text) ilike unaccent ('%392-9%')))))) OR ("product_template"."inventory_vendor_id" in ( SELECT "psd_custom_inventory_vendor".id FROM "psd_custom_inventory_vendor" WHERE (unaccent ("psd_custom_inventory_vendor"."name"::text) ilike unaccent ('%392-9%'))))) OR unaccent (COALESCE("product_template__description"."value", "product_template"."description")) ilike unaccent ('%392-9%')) OR unaccent (COALESCE("product_template__description_sale"."value", "product_template"."description_sale")) ilike unaccent ('%392-9%'))));
Date: 2024-10-26 18:26:43 Duration: 1s152ms
14 527ms 552ms 531ms 21 11s170ms select "ir_attachment".id from "ir_attachment" where (("ir_attachment"."res_field" is null and ("ir_attachment"."type" = ?)) and ((unaccent ("ir_attachment"."url"::text) like unaccent (?)) or ("ir_attachment"."url" = ?))) order by "ir_attachment"."id" desc;Times Reported Time consuming queries #14
Day Hour Count Duration Avg duration Oct 26 20 3 1s592ms 530ms 21 4 2s125ms 531ms 23 2 1s61ms 530ms 09 1 530ms 530ms 10 1 527ms 527ms 12 1 529ms 529ms 13 1 531ms 531ms 14 2 1s67ms 533ms 15 2 1s61ms 530ms 18 2 1s57ms 528ms 19 2 1s87ms 543ms -
SELECT "ir_attachment".id FROM "ir_attachment" WHERE (("ir_attachment"."res_field" IS NULL AND ("ir_attachment"."type" = 'binary')) AND ((unaccent ("ir_attachment"."url"::text) like unaccent ('/sitemap-1-%.xml')) OR ("ir_attachment"."url" = '/sitemap-1.xml'))) ORDER BY "ir_attachment"."id" DESC;
Date: 2024-10-26 23:42:49 Duration: 552ms
-
SELECT "ir_attachment".id FROM "ir_attachment" WHERE (("ir_attachment"."res_field" IS NULL AND ("ir_attachment"."type" = 'binary')) AND ((unaccent ("ir_attachment"."url"::text) like unaccent ('/sitemap-1-%.xml')) OR ("ir_attachment"."url" = '/sitemap-1.xml'))) ORDER BY "ir_attachment"."id" DESC;
Date: 2024-10-26 18:43:45 Duration: 537ms
-
SELECT "ir_attachment".id FROM "ir_attachment" WHERE (("ir_attachment"."res_field" IS NULL AND ("ir_attachment"."type" = 'binary')) AND ((unaccent ("ir_attachment"."url"::text) like unaccent ('/sitemap-1-%.xml')) OR ("ir_attachment"."url" = '/sitemap-1.xml'))) ORDER BY "ir_attachment"."id" DESC;
Date: 2024-10-26 23:42:49 Duration: 534ms
15 495ms 536ms 513ms 18 9s235ms 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 #15
Day Hour Count Duration Avg duration Oct 26 22 2 1s41ms 520ms 03 3 1s493ms 497ms 06 2 1s25ms 512ms 07 4 2s91ms 522ms 08 1 511ms 511ms 09 1 512ms 512ms 10 2 1s21ms 510ms 13 3 1s536ms 512ms -
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-10-26 11:56:25 Duration: 536ms
-
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-10-26 02:56:11 Duration: 529ms
-
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_backend.js'))) AND (NOT ((unaccent ("ir_attachment"."url"::text) like unaccent ('/web/content/%-764e508/%%%'))))) ORDER BY "ir_attachment"."id" DESC;
Date: 2024-10-26 11:56:27 Duration: 527ms
16 369ms 406ms 378ms 9 3s402ms 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"."sale_ok" = true) and (("product_template"."website_id" in (...)) or "product_template"."website_id" is null)) and exists ( select ? from "product_public_category_product_template_rel" AS "product_template__public_categ_ids" where "product_template__public_categ_ids"."product_template_id" = "product_template".id and "product_template__public_categ_ids"."product_public_category_id" in (...)))) order by coalesce("product_template"."is_published", false) desc, coalesce("product_template__name"."value", "product_template"."name") asc, "product_template"."id" desc;Times Reported Time consuming queries #16
Day Hour Count Duration Avg duration Oct 26 23 6 2s291ms 381ms 12 3 1s110ms 370ms -
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"."sale_ok" = true) AND (("product_template"."website_id" in (1)) OR "product_template"."website_id" IS NULL)) AND EXISTS ( SELECT 1 FROM "product_public_category_product_template_rel" AS "product_template__public_categ_ids" WHERE "product_template__public_categ_ids"."product_template_id" = "product_template".id AND "product_template__public_categ_ids"."product_public_category_id" IN (12382, 12625, 12626, 12627, 12628, 12629, 12630, 12631, 12632, 12633, 12634, 12635, 12636, 12637, 12638, 12639, 12640, 12641, 12642, 12643, 12645, 12646, 12647, 12648, 12649, 12651, 12652, 12655, 12656, 12657, 12658, 12659, 12660, 12661, 12662, 12663, 12664, 12665, 12666, 12667, 12668, 12669, 12670, 12671, 12672, 12673, 12674, 12676, 12677, 12678, 12680, 12681, 12682, 12684, 12686, 12687, 12688, 12689, 12690, 12692, 12694, 12695, 12696, 12697, 12698, 12699, 12700, 12701, 12702, 12703, 12704, 12705, 12706, 12707, 12708, 12709, 12710, 12711, 12712, 12714, 12715, 12716, 12717, 12718, 12719, 12720, 12721, 12722, 12723, 12724, 12725, 12726, 12728, 12730, 12731, 12732, 12734, 12735, 12736, 12748, 12750, 12751, 12752, 12753, 12754, 12755, 12756, 12757, 12758, 12759, 12761, 12762, 12764, 12765, 12766, 12767, 12768, 12769, 12770, 12771, 12772, 12773, 12774, 12775, 12776, 12778, 12779, 12780, 12781, 12782, 12783, 12784, 12785, 12786, 12787, 12788, 12789, 12790, 12791, 12792, 12793, 12795, 12796, 12797, 12799, 12800, 12801, 12802, 12804, 12806, 12807, 12808, 12810, 12811, 12812, 12813, 12814, 12815, 12816, 12817, 12819, 12820, 12821, 12822, 12823, 12824, 12825, 12826, 12827, 12828, 12830, 12831, 12832, 12833, 12834, 12835, 12836, 12838, 12839, 12840, 12842, 12843, 12844, 12846, 12847, 12848, 12850, 12851, 12852, 12853, 12854, 12856, 12857, 12858, 12859, 12860, 12861, 12862, 12863, 12865, 12866, 13835, 13836, 13837, 13838, 13839, 13840, 13841, 13842, 13843, 13844, 13845, 13846, 13847, 13848, 13849, 13850, 13851, 13852, 13853, 13854, 13855, 13856, 13857, 13858, 13859, 13860, 13862, 13863, 13864, 13865, 13866, 13867, 13868, 13869, 13870, 13871, 13872, 13874, 13875, 13876, 13877, 13878, 13879, 13880, 13881, 13882, 13883, 13884, 13885, 13886, 13889, 13890, 13891, 13892, 13893, 13894, 13895, 13896, 13897, 13898, 13899, 13900, 13901, 13902, 13903, 13904, 13905, 13906, 13907, 13908, 13909, 13910, 13911, 13912, 13913, 13914, 13915, 13916, 13917, 13918, 13919, 13920, 13921, 13922, 13923, 13924, 13925, 13926, 13927, 13928, 13929, 13930, 13931, 13932, 13934, 13935, 13936, 13937, 13938, 13939, 13940, 13941, 13942, 13943, 13944, 13945, 13946, 13947, 13948, 13949, 13950, 13951, 13952, 13953, 13954, 13955, 13956, 13957, 13958, 13959, 13960, 13961, 13962, 13963, 13964, 13965, 13967, 13968, 13969, 13971, 13972, 13973, 13974, 13975, 13976, 13978, 13979, 13980, 13981, 13982, 13984, 13985, 13986, 13987, 13988, 13989, 13990, 13991, 13992, 13993, 13994, 13995, 13996, 13997, 13998, 13999, 14000, 14001, 14002, 14003, 14004, 14005, 14006, 14007, 14008, 14009, 14010, 14011, 14012, 14013, 14014, 14015, 14016, 14017, 14018, 14019, 14020, 14021, 14022, 14023, 14024, 14025, 14026, 14027, 14028, 14029, 14030, 14031, 14032, 14033, 14034, 14035, 14036, 14038, 14039, 14040, 14041, 14042, 14043, 14044, 14045, 14046, 14047, 14048, 14049, 14050, 14051, 14052, 14053, 14054, 14055, 14056, 14058, 14059, 14061, 14062, 14063, 14065, 14066, 14068, 14069, 14070, 14071, 14072, 14084, 14085, 14086, 14087, 14088, 14089, 14090, 14091, 14092, 14093, 14094, 14095, 14097, 14098, 14099, 14100, 14101, 14102, 14103, 14104, 14105, 14106, 14107, 14108, 14109, 14111, 14112, 14113, 14114, 14115, 14116, 14117, 14119, 14120, 14121, 14122, 14123, 14124, 14125, 14126, 14127, 14128, 14129, 14130, 14131, 14132, 14133, 14134, 14135, 14136, 14137, 14138, 14139, 14140, 14142, 14143, 14144, 14145, 14146, 14147, 14148, 14149, 14150, 14151, 14152, 14153, 14154, 14155, 14156, 14157, 14158, 14159, 14160, 14161, 14162, 14163, 14164, 14165, 14166, 14167, 14168, 14169, 14170, 14172, 14173, 14174, 14175, 14176, 14178, 14179, 14180, 14181, 14182, 14185, 14186, 14187, 14188, 14189, 14190, 14191, 14192, 14193, 14194, 14195, 14196, 14197, 14198, 14199, 14200, 14201, 14202, 14203, 14205, 14206, 14207, 14208, 14209, 14210, 14211, 14212, 14213, 14214, 14215, 14216, 14217, 14219, 14220, 14221, 14222, 14223, 14224, 14225, 14226, 14227, 14228, 14229, 14230, 14231, 14232, 14233, 14234, 14235, 14236, 14237, 14238, 14239, 14240, 14241, 14242, 14243, 14244, 14245, 14246, 14247, 14248, 14249, 14250, 14251, 14252, 14253, 14254, 14255, 14256, 14257, 14258, 14259, 14260, 14261, 14262, 14264, 14265, 14267, 14268, 14269, 14270, 14271, 14272, 14273, 14274, 14275, 14276, 14277, 14278, 14279, 14280, 14281, 14282, 14283, 14285, 14286, 14287, 14288, 14289, 14290, 14291, 14292, 14294, 14295, 14296, 14297, 14299, 14300, 14301, 14302, 14303, 14304, 14305, 14306, 14307, 14308, 14309, 14310, 14311, 14312, 14313, 14314, 14316, 14317, 14318, 14320, 14321, 14322, 14323, 14324, 14325, 14326, 14327, 14328, 14329, 14332, 14335, 14336, 14345, 14346, 14347, 14348, 14353, 14354, 14355, 14356, 14357, 14358, 14359, 14360, 14361, 14362, 14363, 14364, 14365, 14366, 14367, 14368, 14369, 14370, 14371, 14372, 14373, 14374, 14375, 14376, 14377, 14378, 14379, 14380, 14381, 14382, 14383, 14384, 14385, 14386, 14387, 14388, 14389, 14390, 14391, 14392, 14393, 14394, 14395, 14396, 14397, 14398, 14399, 14400, 14411)))) ORDER BY COALESCE("product_template"."is_published", false) DESC, COALESCE("product_template__name"."value", "product_template"."name") ASC, "product_template"."id" DESC;
Date: 2024-10-26 03:03:39 Duration: 406ms
-
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"."sale_ok" = true) AND (("product_template"."website_id" in (1)) OR "product_template"."website_id" IS NULL)) AND EXISTS ( SELECT 1 FROM "product_public_category_product_template_rel" AS "product_template__public_categ_ids" WHERE "product_template__public_categ_ids"."product_template_id" = "product_template".id AND "product_template__public_categ_ids"."product_public_category_id" IN (12382, 12625, 12626, 12627, 12628, 12629, 12630, 12631, 12632, 12633, 12634, 12635, 12636, 12637, 12638, 12639, 12640, 12641, 12642, 12643, 12645, 12646, 12647, 12648, 12649, 12651, 12652, 12655, 12656, 12657, 12658, 12659, 12660, 12661, 12662, 12663, 12664, 12665, 12666, 12667, 12668, 12669, 12670, 12671, 12672, 12673, 12674, 12676, 12677, 12678, 12680, 12681, 12682, 12684, 12686, 12687, 12688, 12689, 12690, 12692, 12694, 12695, 12696, 12697, 12698, 12699, 12700, 12701, 12702, 12703, 12704, 12705, 12706, 12707, 12708, 12709, 12710, 12711, 12712, 12714, 12715, 12716, 12717, 12718, 12719, 12720, 12721, 12722, 12723, 12724, 12725, 12726, 12728, 12730, 12731, 12732, 12734, 12735, 12736, 12748, 12750, 12751, 12752, 12753, 12754, 12755, 12756, 12757, 12758, 12759, 12761, 12762, 12764, 12765, 12766, 12767, 12768, 12769, 12770, 12771, 12772, 12773, 12774, 12775, 12776, 12778, 12779, 12780, 12781, 12782, 12783, 12784, 12785, 12786, 12787, 12788, 12789, 12790, 12791, 12792, 12793, 12795, 12796, 12797, 12799, 12800, 12801, 12802, 12804, 12806, 12807, 12808, 12810, 12811, 12812, 12813, 12814, 12815, 12816, 12817, 12819, 12820, 12821, 12822, 12823, 12824, 12825, 12826, 12827, 12828, 12830, 12831, 12832, 12833, 12834, 12835, 12836, 12838, 12839, 12840, 12842, 12843, 12844, 12846, 12847, 12848, 12850, 12851, 12852, 12853, 12854, 12856, 12857, 12858, 12859, 12860, 12861, 12862, 12863, 12865, 12866, 13835, 13836, 13837, 13838, 13839, 13840, 13841, 13842, 13843, 13844, 13845, 13846, 13847, 13848, 13849, 13850, 13851, 13852, 13853, 13854, 13855, 13856, 13857, 13858, 13859, 13860, 13862, 13863, 13864, 13865, 13866, 13867, 13868, 13869, 13870, 13871, 13872, 13874, 13875, 13876, 13877, 13878, 13879, 13880, 13881, 13882, 13883, 13884, 13885, 13886, 13889, 13890, 13891, 13892, 13893, 13894, 13895, 13896, 13897, 13898, 13899, 13900, 13901, 13902, 13903, 13904, 13905, 13906, 13907, 13908, 13909, 13910, 13911, 13912, 13913, 13914, 13915, 13916, 13917, 13918, 13919, 13920, 13921, 13922, 13923, 13924, 13925, 13926, 13927, 13928, 13929, 13930, 13931, 13932, 13934, 13935, 13936, 13937, 13938, 13939, 13940, 13941, 13942, 13943, 13944, 13945, 13946, 13947, 13948, 13949, 13950, 13951, 13952, 13953, 13954, 13955, 13956, 13957, 13958, 13959, 13960, 13961, 13962, 13963, 13964, 13965, 13967, 13968, 13969, 13971, 13972, 13973, 13974, 13975, 13976, 13978, 13979, 13980, 13981, 13982, 13984, 13985, 13986, 13987, 13988, 13989, 13990, 13991, 13992, 13993, 13994, 13995, 13996, 13997, 13998, 13999, 14000, 14001, 14002, 14003, 14004, 14005, 14006, 14007, 14008, 14009, 14010, 14011, 14012, 14013, 14014, 14015, 14016, 14017, 14018, 14019, 14020, 14021, 14022, 14023, 14024, 14025, 14026, 14027, 14028, 14029, 14030, 14031, 14032, 14033, 14034, 14035, 14036, 14038, 14039, 14040, 14041, 14042, 14043, 14044, 14045, 14046, 14047, 14048, 14049, 14050, 14051, 14052, 14053, 14054, 14055, 14056, 14058, 14059, 14061, 14062, 14063, 14065, 14066, 14068, 14069, 14070, 14071, 14072, 14084, 14085, 14086, 14087, 14088, 14089, 14090, 14091, 14092, 14093, 14094, 14095, 14097, 14098, 14099, 14100, 14101, 14102, 14103, 14104, 14105, 14106, 14107, 14108, 14109, 14111, 14112, 14113, 14114, 14115, 14116, 14117, 14119, 14120, 14121, 14122, 14123, 14124, 14125, 14126, 14127, 14128, 14129, 14130, 14131, 14132, 14133, 14134, 14135, 14136, 14137, 14138, 14139, 14140, 14142, 14143, 14144, 14145, 14146, 14147, 14148, 14149, 14150, 14151, 14152, 14153, 14154, 14155, 14156, 14157, 14158, 14159, 14160, 14161, 14162, 14163, 14164, 14165, 14166, 14167, 14168, 14169, 14170, 14172, 14173, 14174, 14175, 14176, 14178, 14179, 14180, 14181, 14182, 14185, 14186, 14187, 14188, 14189, 14190, 14191, 14192, 14193, 14194, 14195, 14196, 14197, 14198, 14199, 14200, 14201, 14202, 14203, 14205, 14206, 14207, 14208, 14209, 14210, 14211, 14212, 14213, 14214, 14215, 14216, 14217, 14219, 14220, 14221, 14222, 14223, 14224, 14225, 14226, 14227, 14228, 14229, 14230, 14231, 14232, 14233, 14234, 14235, 14236, 14237, 14238, 14239, 14240, 14241, 14242, 14243, 14244, 14245, 14246, 14247, 14248, 14249, 14250, 14251, 14252, 14253, 14254, 14255, 14256, 14257, 14258, 14259, 14260, 14261, 14262, 14264, 14265, 14267, 14268, 14269, 14270, 14271, 14272, 14273, 14274, 14275, 14276, 14277, 14278, 14279, 14280, 14281, 14282, 14283, 14285, 14286, 14287, 14288, 14289, 14290, 14291, 14292, 14294, 14295, 14296, 14297, 14299, 14300, 14301, 14302, 14303, 14304, 14305, 14306, 14307, 14308, 14309, 14310, 14311, 14312, 14313, 14314, 14316, 14317, 14318, 14320, 14321, 14322, 14323, 14324, 14325, 14326, 14327, 14328, 14329, 14332, 14335, 14336, 14345, 14346, 14347, 14348, 14353, 14354, 14355, 14356, 14357, 14358, 14359, 14360, 14361, 14362, 14363, 14364, 14365, 14366, 14367, 14368, 14369, 14370, 14371, 14372, 14373, 14374, 14375, 14376, 14377, 14378, 14379, 14380, 14381, 14382, 14383, 14384, 14385, 14386, 14387, 14388, 14389, 14390, 14391, 14392, 14393, 14394, 14395, 14396, 14397, 14398, 14399, 14400, 14411)))) ORDER BY COALESCE("product_template"."is_published", false) DESC, COALESCE("product_template__name"."value", "product_template"."name") ASC, "product_template"."id" DESC;
Date: 2024-10-26 03:03:39 Duration: 381ms
-
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"."sale_ok" = true) AND (("product_template"."website_id" in (1)) OR "product_template"."website_id" IS NULL)) AND EXISTS ( SELECT 1 FROM "product_public_category_product_template_rel" AS "product_template__public_categ_ids" WHERE "product_template__public_categ_ids"."product_template_id" = "product_template".id AND "product_template__public_categ_ids"."product_public_category_id" IN (12382, 12625, 12626, 12627, 12628, 12629, 12630, 12631, 12632, 12633, 12634, 12635, 12636, 12637, 12638, 12639, 12640, 12641, 12642, 12643, 12645, 12646, 12647, 12648, 12649, 12651, 12652, 12655, 12656, 12657, 12658, 12659, 12660, 12661, 12662, 12663, 12664, 12665, 12666, 12667, 12668, 12669, 12670, 12671, 12672, 12673, 12674, 12676, 12677, 12678, 12680, 12681, 12682, 12684, 12686, 12687, 12688, 12689, 12690, 12692, 12694, 12695, 12696, 12697, 12698, 12699, 12700, 12701, 12702, 12703, 12704, 12705, 12706, 12707, 12708, 12709, 12710, 12711, 12712, 12714, 12715, 12716, 12717, 12718, 12719, 12720, 12721, 12722, 12723, 12724, 12725, 12726, 12728, 12730, 12731, 12732, 12734, 12735, 12736, 12748, 12750, 12751, 12752, 12753, 12754, 12755, 12756, 12757, 12758, 12759, 12761, 12762, 12764, 12765, 12766, 12767, 12768, 12769, 12770, 12771, 12772, 12773, 12774, 12775, 12776, 12778, 12779, 12780, 12781, 12782, 12783, 12784, 12785, 12786, 12787, 12788, 12789, 12790, 12791, 12792, 12793, 12795, 12796, 12797, 12799, 12800, 12801, 12802, 12804, 12806, 12807, 12808, 12810, 12811, 12812, 12813, 12814, 12815, 12816, 12817, 12819, 12820, 12821, 12822, 12823, 12824, 12825, 12826, 12827, 12828, 12830, 12831, 12832, 12833, 12834, 12835, 12836, 12838, 12839, 12840, 12842, 12843, 12844, 12846, 12847, 12848, 12850, 12851, 12852, 12853, 12854, 12856, 12857, 12858, 12859, 12860, 12861, 12862, 12863, 12865, 12866, 13835, 13836, 13837, 13838, 13839, 13840, 13841, 13842, 13843, 13844, 13845, 13846, 13847, 13848, 13849, 13850, 13851, 13852, 13853, 13854, 13855, 13856, 13857, 13858, 13859, 13860, 13862, 13863, 13864, 13865, 13866, 13867, 13868, 13869, 13870, 13871, 13872, 13874, 13875, 13876, 13877, 13878, 13879, 13880, 13881, 13882, 13883, 13884, 13885, 13886, 13889, 13890, 13891, 13892, 13893, 13894, 13895, 13896, 13897, 13898, 13899, 13900, 13901, 13902, 13903, 13904, 13905, 13906, 13907, 13908, 13909, 13910, 13911, 13912, 13913, 13914, 13915, 13916, 13917, 13918, 13919, 13920, 13921, 13922, 13923, 13924, 13925, 13926, 13927, 13928, 13929, 13930, 13931, 13932, 13934, 13935, 13936, 13937, 13938, 13939, 13940, 13941, 13942, 13943, 13944, 13945, 13946, 13947, 13948, 13949, 13950, 13951, 13952, 13953, 13954, 13955, 13956, 13957, 13958, 13959, 13960, 13961, 13962, 13963, 13964, 13965, 13967, 13968, 13969, 13971, 13972, 13973, 13974, 13975, 13976, 13978, 13979, 13980, 13981, 13982, 13984, 13985, 13986, 13987, 13988, 13989, 13990, 13991, 13992, 13993, 13994, 13995, 13996, 13997, 13998, 13999, 14000, 14001, 14002, 14003, 14004, 14005, 14006, 14007, 14008, 14009, 14010, 14011, 14012, 14013, 14014, 14015, 14016, 14017, 14018, 14019, 14020, 14021, 14022, 14023, 14024, 14025, 14026, 14027, 14028, 14029, 14030, 14031, 14032, 14033, 14034, 14035, 14036, 14038, 14039, 14040, 14041, 14042, 14043, 14044, 14045, 14046, 14047, 14048, 14049, 14050, 14051, 14052, 14053, 14054, 14055, 14056, 14058, 14059, 14061, 14062, 14063, 14065, 14066, 14068, 14069, 14070, 14071, 14072, 14084, 14085, 14086, 14087, 14088, 14089, 14090, 14091, 14092, 14093, 14094, 14095, 14097, 14098, 14099, 14100, 14101, 14102, 14103, 14104, 14105, 14106, 14107, 14108, 14109, 14111, 14112, 14113, 14114, 14115, 14116, 14117, 14119, 14120, 14121, 14122, 14123, 14124, 14125, 14126, 14127, 14128, 14129, 14130, 14131, 14132, 14133, 14134, 14135, 14136, 14137, 14138, 14139, 14140, 14142, 14143, 14144, 14145, 14146, 14147, 14148, 14149, 14150, 14151, 14152, 14153, 14154, 14155, 14156, 14157, 14158, 14159, 14160, 14161, 14162, 14163, 14164, 14165, 14166, 14167, 14168, 14169, 14170, 14172, 14173, 14174, 14175, 14176, 14178, 14179, 14180, 14181, 14182, 14185, 14186, 14187, 14188, 14189, 14190, 14191, 14192, 14193, 14194, 14195, 14196, 14197, 14198, 14199, 14200, 14201, 14202, 14203, 14205, 14206, 14207, 14208, 14209, 14210, 14211, 14212, 14213, 14214, 14215, 14216, 14217, 14219, 14220, 14221, 14222, 14223, 14224, 14225, 14226, 14227, 14228, 14229, 14230, 14231, 14232, 14233, 14234, 14235, 14236, 14237, 14238, 14239, 14240, 14241, 14242, 14243, 14244, 14245, 14246, 14247, 14248, 14249, 14250, 14251, 14252, 14253, 14254, 14255, 14256, 14257, 14258, 14259, 14260, 14261, 14262, 14264, 14265, 14267, 14268, 14269, 14270, 14271, 14272, 14273, 14274, 14275, 14276, 14277, 14278, 14279, 14280, 14281, 14282, 14283, 14285, 14286, 14287, 14288, 14289, 14290, 14291, 14292, 14294, 14295, 14296, 14297, 14299, 14300, 14301, 14302, 14303, 14304, 14305, 14306, 14307, 14308, 14309, 14310, 14311, 14312, 14313, 14314, 14316, 14317, 14318, 14320, 14321, 14322, 14323, 14324, 14325, 14326, 14327, 14328, 14329, 14332, 14335, 14336, 14345, 14346, 14347, 14348, 14353, 14354, 14355, 14356, 14357, 14358, 14359, 14360, 14361, 14362, 14363, 14364, 14365, 14366, 14367, 14368, 14369, 14370, 14371, 14372, 14373, 14374, 14375, 14376, 14377, 14378, 14379, 14380, 14381, 14382, 14383, 14384, 14385, 14386, 14387, 14388, 14389, 14390, 14391, 14392, 14393, 14394, 14395, 14396, 14397, 14398, 14399, 14400, 14411)))) ORDER BY COALESCE("product_template"."is_published", false) DESC, COALESCE("product_template__name"."value", "product_template"."name") ASC, "product_template"."id" DESC;
Date: 2024-10-26 03:03:39 Duration: 380ms
17 327ms 715ms 345ms 1,584 9m6s 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"."sale_ok" = true) and (("product_template"."website_id" in (...)) or "product_template"."website_id" is null))) order by coalesce("product_template"."is_published", false) desc, coalesce("product_template__name"."value", "product_template"."name") asc, "product_template"."id" desc;Times Reported Time consuming queries #17
Day Hour Count Duration Avg duration Oct 26 20 48 16s579ms 345ms 21 96 33s10ms 343ms 22 96 33s25ms 344ms 23 78 26s740ms 342ms 00 75 25s940ms 345ms 01 72 25s31ms 347ms 02 93 32s344ms 347ms 03 63 21s450ms 340ms 04 72 24s936ms 346ms 05 69 24s186ms 350ms 06 96 33s280ms 346ms 07 81 27s931ms 344ms 08 60 20s770ms 346ms 09 111 38s669ms 348ms 10 93 31s997ms 344ms 11 39 13s485ms 345ms 12 39 13s365ms 342ms 13 45 15s409ms 342ms 14 51 17s532ms 343ms 15 54 18s662ms 345ms 16 36 12s457ms 346ms 17 39 13s361ms 342ms 18 39 13s326ms 341ms 19 39 13s447ms 344ms -
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"."sale_ok" = true) AND (("product_template"."website_id" in (1)) OR "product_template"."website_id" IS NULL))) ORDER BY COALESCE("product_template"."is_published", false) DESC, COALESCE("product_template__name"."value", "product_template"."name") ASC, "product_template"."id" DESC;
Date: 2024-10-26 06:27:13 Duration: 715ms
-
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"."sale_ok" = true) AND (("product_template"."website_id" in (1)) OR "product_template"."website_id" IS NULL))) ORDER BY COALESCE("product_template"."is_published", false) DESC, COALESCE("product_template__name"."value", "product_template"."name") ASC, "product_template"."id" DESC;
Date: 2024-10-26 13:04:20 Duration: 690ms
-
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"."sale_ok" = true) AND (("product_template"."website_id" in (1)) OR "product_template"."website_id" IS NULL))) ORDER BY COALESCE("product_template"."is_published", false) DESC, COALESCE("product_template__name"."value", "product_template"."name") ASC, "product_template"."id" DESC;
Date: 2024-10-26 10:24:45 Duration: 526ms
18 327ms 742ms 345ms 1,389 7m59s 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"."sale_ok" = true) and (("product_template"."website_id" in (...)) or "product_template"."website_id" is null))) order by coalesce("product_template"."is_published", false) desc, coalesce("product_template__name"."value", "product_template"."name") desc, "product_template"."id" desc;Times Reported Time consuming queries #18
Day Hour Count Duration Avg duration Oct 26 20 102 35s7ms 343ms 21 93 32s118ms 345ms 22 57 19s562ms 343ms 23 84 28s953ms 344ms 00 87 30s169ms 346ms 01 69 24s104ms 349ms 02 54 18s545ms 343ms 03 75 25s222ms 336ms 04 69 23s897ms 346ms 05 39 13s724ms 351ms 06 63 21s853ms 346ms 07 60 20s794ms 346ms 08 66 23s89ms 349ms 09 69 23s861ms 345ms 10 42 14s550ms 346ms 11 39 13s407ms 343ms 12 54 18s718ms 346ms 13 18 6s169ms 342ms 14 39 13s431ms 344ms 15 45 15s513ms 344ms 16 33 11s398ms 345ms 17 12 4s107ms 342ms 18 63 21s714ms 344ms 19 57 19s615ms 344ms -
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"."sale_ok" = true) AND (("product_template"."website_id" in (1)) OR "product_template"."website_id" IS NULL))) ORDER BY COALESCE("product_template"."is_published", false) DESC, COALESCE("product_template__name"."value", "product_template"."name") DESC, "product_template"."id" DESC;
Date: 2024-10-26 12:36:32 Duration: 742ms
-
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"."sale_ok" = true) AND (("product_template"."website_id" in (1)) OR "product_template"."website_id" IS NULL))) ORDER BY COALESCE("product_template"."is_published", false) DESC, COALESCE("product_template__name"."value", "product_template"."name") DESC, "product_template"."id" DESC;
Date: 2024-10-26 01:48:46 Duration: 490ms
-
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"."sale_ok" = true) AND (("product_template"."website_id" in (1)) OR "product_template"."website_id" IS NULL))) ORDER BY COALESCE("product_template"."is_published", false) DESC, COALESCE("product_template__name"."value", "product_template"."name") DESC, "product_template"."id" DESC;
Date: 2024-10-26 09:01:55 Duration: 448ms
19 263ms 313ms 271ms 188 51s19ms 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 #19
Day Hour Count Duration Avg duration Oct 26 20 4 1s87ms 271ms 14 184 49s932ms 271ms -
SELECT "sale_line_report".id FROM "sale_line_report" WHERE ("sale_line_report"."real_line_id" in (510737)) ORDER BY "sale_line_report"."id";
Date: 2024-10-26 18:38:05 Duration: 313ms
-
SELECT "sale_line_report".id FROM "sale_line_report" WHERE ("sale_line_report"."real_line_id" in (510735)) ORDER BY "sale_line_report"."id";
Date: 2024-10-26 18:38:05 Duration: 312ms
-
SELECT "sale_line_report".id FROM "sale_line_report" WHERE ("sale_line_report"."real_line_id" in (510739)) ORDER BY "sale_line_report"."id";
Date: 2024-10-26 18:37:53 Duration: 309ms
20 242ms 384ms 255ms 1,326 5m39s select "product_template".id from "product_template" where (("product_template"."active" = true) and (("product_template"."sale_ok" = true) and (("product_template"."website_id" in (...)) or "product_template"."website_id" is null))) order by coalesce("product_template"."is_published", false) desc, "product_template"."list_price" asc, "product_template"."id" desc;Times Reported Time consuming queries #20
Day Hour Count Duration Avg duration Oct 26 20 93 23s633ms 254ms 21 66 16s869ms 255ms 22 54 13s678ms 253ms 23 57 14s521ms 254ms 00 60 15s465ms 257ms 01 60 15s607ms 260ms 02 51 13s41ms 255ms 03 33 8s220ms 249ms 04 78 20s58ms 257ms 05 57 14s869ms 260ms 06 66 17s15ms 257ms 07 60 15s234ms 253ms 08 51 13s62ms 256ms 09 54 13s773ms 255ms 10 51 13s140ms 257ms 11 63 16s97ms 255ms 12 42 10s821ms 257ms 13 48 12s261ms 255ms 14 51 13s57ms 256ms 15 42 10s757ms 256ms 16 54 13s880ms 257ms 17 57 14s491ms 254ms 18 33 8s394ms 254ms 19 45 11s452ms 254ms -
SELECT "product_template".id FROM "product_template" WHERE (("product_template"."active" = true) AND (("product_template"."sale_ok" = true) AND (("product_template"."website_id" in (1)) OR "product_template"."website_id" IS NULL))) ORDER BY COALESCE("product_template"."is_published", false) DESC, "product_template"."list_price" ASC, "product_template"."id" DESC;
Date: 2024-10-26 09:15:04 Duration: 384ms
-
SELECT "product_template".id FROM "product_template" WHERE (("product_template"."active" = true) AND (("product_template"."sale_ok" = true) AND (("product_template"."website_id" in (1)) OR "product_template"."website_id" IS NULL))) ORDER BY COALESCE("product_template"."is_published", false) DESC, "product_template"."list_price" ASC, "product_template"."id" DESC;
Date: 2024-10-26 10:12:58 Duration: 375ms
-
SELECT "product_template".id FROM "product_template" WHERE (("product_template"."active" = true) AND (("product_template"."sale_ok" = true) AND (("product_template"."website_id" in (1)) OR "product_template"."website_id" IS NULL))) ORDER BY COALESCE("product_template"."is_published", false) DESC, "product_template"."list_price" ASC, "product_template"."id" DESC;
Date: 2024-10-26 01:09:35 Duration: 363ms
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
- 83,702 Log entries
Events distribution
Key values
- 0 PANIC entries
- 0 FATAL entries
- 1043 ERROR entries
- 0 WARNING entries
Most Frequent Errors/Events
Key values
- 1,017 Max number of times the same event was reported
- 1,043 Total events found
Rank Times reported Error 1 1,017 ERROR: could not obtain lock on row in relation "..."
Times Reported Most Frequent Error / Event #1
Day Hour Count Oct 26 20 37 21 35 22 35 23 42 00 34 01 36 02 34 03 104 04 102 05 37 06 38 07 40 08 37 09 37 10 35 11 41 12 35 13 34 14 35 15 41 16 36 17 38 18 40 19 34 - ERROR: could not obtain lock on row in relation "ir_cron"
- ERROR: could not obtain lock on row in relation "ir_cron"
- ERROR: could not obtain lock on row in relation "ir_cron"
Statement: SELECT * FROM ir_cron WHERE numbercall != 0 AND active AND nextcall <= (now() at time zone 'UTC') AND id=67 FOR UPDATE NOWAIT
Date: 2024-10-26 17:50:12
Statement: SELECT * FROM ir_cron WHERE numbercall != 0 AND active AND nextcall <= (now() at time zone 'UTC') AND id=68 FOR UPDATE NOWAIT
Date: 2024-10-26 18:00:29
Statement: SELECT * FROM ir_cron WHERE numbercall != 0 AND active AND nextcall <= (now() at time zone 'UTC') AND id=65 FOR UPDATE NOWAIT
Date: 2024-10-26 18:10:02
2 21 ERROR: could not serialize access due to concurrent update
Times Reported Most Frequent Error / Event #2
Day Hour Count Oct 26 20 3 22 2 02 1 06 1 07 1 09 2 12 1 14 8 15 1 18 1 - ERROR: could not serialize access due to concurrent update
- ERROR: could not serialize access due to concurrent update
- ERROR: could not serialize access due to concurrent update
Statement: UPDATE "sale_order" SET "carrier_id"=82,"write_uid"=1146,"write_date"=(now() at time zone 'UTC') WHERE id IN (175911)
Date: 2024-10-26 18:38:04
Statement: UPDATE "sale_order_line" SET "write_uid"=1146,"write_date"=(now() at time zone 'UTC') WHERE id IN (510736)
Date: 2024-10-26 18:38:07
Statement: INSERT INTO account_tax_sale_order_line_rel (sale_order_line_id, account_tax_id) VALUES (510735, 2122) ON CONFLICT DO NOTHING
Date: 2024-10-26 18:38:09
3 5 ERROR: could not serialize access due to concurrent delete
Times Reported Most Frequent Error / Event #3
Day Hour Count Oct 26 14 5 - ERROR: could not serialize access due to concurrent delete
- ERROR: could not serialize access due to concurrent delete
- ERROR: could not serialize access due to concurrent delete
Statement: DELETE FROM account_tax_sale_order_line_rel WHERE sale_order_line_id IN (510735) AND account_tax_id IN (2122)
Date: 2024-10-26 18:38:03
Statement: DELETE FROM account_tax_sale_order_line_rel WHERE sale_order_line_id IN (510737) AND account_tax_id IN (2122)
Date: 2024-10-26 18:38:04
Statement: DELETE FROM account_tax_sale_order_line_rel WHERE sale_order_line_id IN (510736) AND account_tax_id IN (2122)
Date: 2024-10-26 18:38:12