Query Metrics

55 Database Queries
5 Different statements
42.95 ms Query time
0 Invalid entities

Grouped Statements

Show all queries

Time Count Info
29.13 ms
(67.81%)
50
SELECT t0.id AS id_1, t0.name AS name_2, t0.external_url AS external_url_3, t0.source AS source_4, t0.type AS type_5, t0.created_at AS created_at_6, t0.updated_at AS updated_at_7, t0.category AS category_8, t0.state AS state_9, t0.expiry_date AS expiry_date_10, t0.extraction_date AS extraction_date_11, t0.thca_percentage AS thca_percentage_12, t0.total_thc_percentage AS total_thc_percentage_13, t0.delta_nine_percentage AS delta_nine_percentage_14, t0.delta_nine_with_thca_combined AS delta_nine_with_thca_combined_15, t0.comments AS comments_16, t0.internal_url AS internal_url_17, t0.markdown_content AS markdown_content_18, t0.debug_data AS debug_data_19, t0.json_content AS json_content_20, t0.lab_name AS lab_name_21, t0.sample_name AS sample_name_22, t0.sample_matrix AS sample_matrix_23, t0.internal_path AS internal_path_24, t0.product_type AS product_type_25, t0.project_id AS project_id_26, t0.lab_report_source_id AS lab_report_source_id_27 FROM lab_report t0 INNER JOIN product_lab_report ON t0.id = product_lab_report.lab_report_id WHERE product_lab_report.product_id = ?
Parameters:
[
  2294
]
8.75 ms
(20.37%)
1
SELECT DISTINCT p0_.id AS id_0, p0_.product_page_url AS product_page_url_1, p0_.id AS id_2 FROM product p0_ ORDER BY p0_.product_page_url ASC, p0_.id DESC LIMIT 50 OFFSET 3950
Parameters:
[]
2.57 ms
(5.99%)
1
SELECT count(*) AS sclr_0 FROM product p0_
Parameters:
[]
1.46 ms
(3.40%)
1
SELECT p0_.id AS id_0, p0_.name AS name_1, p0_.lab_report_url AS lab_report_url_2, p0_.results AS results_3, p0_.product_page_url AS product_page_url_4, p0_.additional_data AS additional_data_5, p0_.state AS state_6, p0_.expiry_date AS expiry_date_7, p0_.extraction_date AS extraction_date_8, p0_.thca_percentage AS thca_percentage_9, p0_.total_thc_percentage AS total_thc_percentage_10, p0_.delta_nine_percentage AS delta_nine_percentage_11, p0_.delta_nine_with_thca_combined AS delta_nine_with_thca_combined_12, p0_.comments AS comments_13, p0_.debug_data AS debug_data_14, p0_.created_at AS created_at_15, p0_.updated_at AS updated_at_16, p0_.product_page_id AS product_page_id_17, p0_.project_id AS project_id_18, p0_.product_url_id AS product_url_id_19 FROM product p0_ WHERE p0_.id IN (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) ORDER BY p0_.product_page_url ASC, p0_.id DESC
Parameters:
[
  2294
  2293
  2292
  2291
  2290
  2289
  2288
  2287
  2286
  2285
  2284
  2283
  2282
  2281
  2280
  2279
  2278
  2277
  2276
  2275
  2274
  2273
  2272
  2271
  2270
  2269
  2268
  2267
  2266
  2265
  2264
  2263
  2262
  2261
  2260
  2259
  2258
  2257
  2256
  2255
  2254
  2253
  2252
  2251
  2250
  2249
  2248
  2247
  2246
  2245
]
1.04 ms
(2.43%)
2
SELECT t0.id AS id_1, t0.name AS name_2, t0.url AS url_3, t0.prompt AS prompt_4, t0.chat_json AS chat_json_5, t0.external_lab_reports_url AS external_lab_reports_url_6, t0.product_matching_url AS product_matching_url_7, t0.created_at AS created_at_8, t0.updated_at AS updated_at_9, t0.spider_source_matching_urls AS spider_source_matching_urls_10, t0.state AS state_11, t0.website_framework AS website_framework_12, t0.debug_data AS debug_data_13, t0.product_exclude_paths AS product_exclude_paths_14, t0.user_id AS user_id_15 FROM project t0 WHERE t0.id = ?
Parameters:
[
  112
]

Database Connections

Name Service
default doctrine.dbal.default_connection

Entity Managers

Name Service
default doctrine.orm.default_entity_manager

Second Level Cache

Second Level Cache is not enabled.

Entities Mapping

Class Mapping errors
App\Entity\Product No errors.
App\Entity\ProductPage No errors.
App\Entity\Project No errors.
App\Entity\ProductUrl No errors.
App\Entity\LabReport No errors.
App\Entity\User No errors.
App\Entity\SpiderSourceUrl No errors.
App\Entity\LabReportSource No errors.
App\Entity\LabReportFail No errors.
App\Entity\AILog No errors.
App\Entity\AIBatchJob No errors.