POST http://pim.loxone.com/pimcore-graphql-webservices/getProductsByCategory

Query Metrics

1372 Database Queries
75 Different statements
276.50 ms Query time
0 Invalid entities

Grouped Statements

Show all queries

Time Count Info
107.77 ms
(38.98%)
594
SELECT item_id, CASE WHEN item_lifetime IS NULL OR item_lifetime + item_time > ? THEN item_data ELSE NULL END FROM cache_items WHERE item_id IN (?)
Parameters:
[
  1732645038
  "site_domain_0217e1f3e5a913181b108d82d6420197"
]
65.32 ms
(23.62%)
369
SELECT assets.*, tree_locks.locked FROM assets
            LEFT JOIN tree_locks ON assets.id = tree_locks.id AND tree_locks.type = 'asset'
                WHERE assets.id = ?
Parameters:
[
  2342
]
21.18 ms
(7.66%)
51
SELECT * FROM object_metadata_CA WHERE id = ? AND dest_id = ? AND fieldname = ? AND ownertype = ? AND ownername = ? and position = ? and `index` = ?  AND (`type` = 'object' or `type` = '')
Parameters:
[
  1623
  1515
  "products"
  "object"
  ""
  "0"
  1
]
16.42 ms
(5.94%)
45
SELECT * FROM object_localized_data_P WHERE ooo_id = ? AND language IN ('en','de','fr','es','sk','cs','nl','it','pl','de_CH','en_GB','en_US','fr_CH')
Parameters:
[
  1527
]
10.69 ms
(3.87%)
36
SELECT customSettings FROM assets WHERE id = ?
Parameters:
[
  5669
]
9.69 ms
(3.50%)
45
SELECT * FROM object_relations_P WHERE src_id = ?
Parameters:
[
  1527
]
9.02 ms
(3.26%)
47
SELECT objects.*, tree_locks.locked as locked FROM objects
            LEFT JOIN tree_locks ON objects.id = tree_locks.id AND tree_locks.type = 'object'
                WHERE objects.id = ?
Parameters:
[
  1527
]
8.49 ms
(3.07%)
45
SELECT * FROM object_store_P WHERE oo_id = ?
Parameters:
[
  1527
]
6.44 ms
(2.33%)
47
SELECT `type`,`className`,`classId` FROM objects WHERE `id` = ?
Parameters:
[
  1527
]
4.76 ms
(1.72%)
17
SELECT * FROM settings_store WHERE id = ? AND scope = ?
Parameters:
[
  "system_settings"
  "pimcore_system_settings"
]
1.13 ms
(0.41%)
3
SELECT item_id, CASE WHEN item_lifetime IS NULL OR item_lifetime + item_time > ? THEN item_data ELSE NULL END FROM cache_items WHERE item_id IN (?, ?)
Parameters:
[
  1732645038
  "system\x01tags\x01"
  "site\x01tags\x01"
]
1.03 ms
(0.37%)
1
SELECT object_localized_CA_de.id as id, object_localized_CA_de.type as `type` FROM object_localized_CA_de WHERE ( ((`object_localized_CA_de`.`url` = 'lighting') )  AND  object_localized_CA_de.type IN ('object','folder','variant')) AND object_localized_CA_de.published = 1 ORDER BY `name` ASC
Parameters:
[]
0.93 ms
(0.34%)
3
SELECT id FROM documents WHERE `path` = BINARY ? AND `key` = BINARY ?
Parameters:
[
  "/pimcore-graphql-webservices/"
  "getProductsByCategory"
]
0.75 ms
(0.27%)
3
SELECT id FROM classes WHERE name = ?
Parameters:
[
  "Product"
]
0.72 ms
(0.26%)
3
SELECT item_id, CASE WHEN item_lifetime IS NULL OR item_lifetime + item_time > ? THEN item_data ELSE NULL END FROM cache_items WHERE item_id IN (?, ?, ?, ?, ?, ?, ?, ?, ?, ?)
Parameters:
[
  1732645038
  "object_1518\x01tags\x01"
  "class_P\x01tags\x01"
  "asset_2640\x01tags\x01"
  "asset_2641\x01tags\x01"
  "asset_2634\x01tags\x01"
  "asset_2635\x01tags\x01"
  "asset_2639\x01tags\x01"
  "asset_2636\x01tags\x01"
  "asset_2637\x01tags\x01"
  "asset_2638\x01tags\x01"
]
0.64 ms
(0.23%)
1
SELECT * FROM redirects WHERE
            (
                (source = ? AND (`type` = ? OR `type` = ?)) OR
                (source = ? AND `type` = ?) OR
                (source = ? AND `type` = ?)
            ) AND active = 1 AND (regex IS NULL OR regex = 0) AND (expiry > UNIX_TIMESTAMP() OR expiry IS NULL) AND sourceSite IS NULL AND priority = 99 ORDER BY `priority` DESC
Parameters:
[
  "/pimcore-graphql-webservices/getProductsByCategory"
  "path"
  "auto_create"
  "/pimcore-graphql-webservices/getProductsByCategory"
  "path_query"
  "http://pim.loxone.com/pimcore-graphql-webservices/getProductsByCategory"
  "entire_uri"
]
0.63 ms
(0.23%)
2
SELECT id FROM documents_page WHERE prettyUrl = ?
Parameters:
[
  "/pimcore-graphql-webservices/getProductsByCategory"
]
0.57 ms
(0.20%)
2
SELECT name FROM classes WHERE id = ?
Parameters:
[
  "CA"
]
0.51 ms
(0.18%)
1
SELECT id FROM objects WHERE id IN (1515,1518,1537,1511,1527,1508,1530,1510,1531,1474,1509,1512,1543,1513,1524,1514,1521,1507,1520,1528,1565,1526,1522,1529,1536,1533,1519,1551,1552,1539,1554,1550,1517,1553,1561,1737,1532,1523,1516,1547,1541,1535,1538,1542,1545,1555,1556,1549,1540,3623,4496)
Parameters:
[]
0.41 ms
(0.15%)
1
SELECT id FROM objects WHERE published=1 AND id IN (1515,1518,1537,1511,1527,1508,1530,1510,1531,1474,1509,1512,1543,1513,1524,1514,1521,1507,1520,1528,1565,1526,1522,1529,1536,1533,1519,1551,1552,1539,1554,1550,1517,1553,1561,1737,1532,1523,1516,1547,1541,1535,1538,1542,1545,1555,1556,1549,1540,3623,4496);
Parameters:
[]
0.40 ms
(0.15%)
1
SELECT * FROM object_relations_CA WHERE src_id = ?
Parameters:
[
  1623
]
0.40 ms
(0.15%)
1
SELECT * FROM object_metadata_CA WHERE object_metadata_CA.id = ? AND dest_id = ? AND fieldname = ? AND ownertype = ? AND ownername = ? and position = ? and `index` = ?  AND `type` = 'document'
Parameters:
[
  1623
  900
  "banner"
  "object"
  ""
  "0"
  1
]
0.36 ms
(0.13%)
1
SELECT * FROM tmp_store WHERE id = ?
Parameters:
[
  "maintenance_mode"
]
0.34 ms
(0.12%)
1
SELECT item_id, CASE WHEN item_lifetime IS NULL OR item_lifetime + item_time > ? THEN item_data ELSE NULL END FROM cache_items WHERE item_id IN (?, ?, ?)
Parameters:
[
  1732645038
  "system\x01tags\x01"
  "redirect\x01tags\x01"
  "route\x01tags\x01"
]
0.29 ms
(0.11%)
1
SELECT id, name FROM classes
Parameters:
[]
0.29 ms
(0.11%)
1
SELECT * FROM documents_editables WHERE documentId = ?
Parameters:
[
  900
]
0.28 ms
(0.10%)
1
SELECT id FROM documents WHERE id IN (900)
Parameters:
[]
0.27 ms
(0.10%)
2
SELECT item_id, CASE WHEN item_lifetime IS NULL OR item_lifetime + item_time > ? THEN item_data ELSE NULL END FROM cache_items WHERE item_id IN (?, ?, ?, ?, ?, ?, ?)
Parameters:
[
  1732645038
  "object_1513\x01tags\x01"
  "class_P\x01tags\x01"
  "asset_2683\x01tags\x01"
  "asset_2682\x01tags\x01"
  "asset_2680\x01tags\x01"
  "asset_2681\x01tags\x01"
  "asset_2679\x01tags\x01"
]
0.25 ms
(0.09%)
1
select `gallery` from object_store_P where oo_id  = 1523
Parameters:
[]
0.24 ms
(0.09%)
1
SELECT item_id, CASE WHEN item_lifetime IS NULL OR item_lifetime + item_time > ? THEN item_data ELSE NULL END FROM cache_items WHERE item_id IN (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?)
Parameters:
[
  1732645038
  "object_1515\x01tags\x01"
  "class_P\x01tags\x01"
  "asset_2666\x01tags\x01"
  "asset_2658\x01tags\x01"
  "asset_2661\x01tags\x01"
  "asset_2662\x01tags\x01"
  "asset_2663\x01tags\x01"
  "asset_2664\x01tags\x01"
  "asset_2665\x01tags\x01"
  "asset_2659\x01tags\x01"
  "asset_2660\x01tags\x01"
  "asset_5669\x01tags\x01"
]
0.24 ms
(0.09%)
1
SELECT id FROM documents WHERE published=1 AND id IN (900);
Parameters:
[]
0.23 ms
(0.08%)
1
select `gallery` from object_store_P where oo_id  = 1510
Parameters:
[]
0.22 ms
(0.08%)
1
select `gallery` from object_store_P where oo_id  = 1527
Parameters:
[]
0.20 ms
(0.07%)
1
select `gallery` from object_store_P where oo_id  = 1526
Parameters:
[]
0.19 ms
(0.07%)
1
select `gallery` from object_store_P where oo_id  = 1474
Parameters:
[]
0.19 ms
(0.07%)
1
select `gallery` from object_store_P where oo_id  = 1561
Parameters:
[]
0.19 ms
(0.07%)
1
select `gallery` from object_store_P where oo_id  = 1530
Parameters:
[]
0.18 ms
(0.07%)
1
select `gallery` from object_store_P where oo_id  = 1516
Parameters:
[]
0.18 ms
(0.07%)
1
select `gallery` from object_store_P where oo_id  = 1540
Parameters:
[]
0.18 ms
(0.06%)
1
select `gallery` from object_store_P where oo_id  = 1547
Parameters:
[]
0.18 ms
(0.06%)
1
select `gallery` from object_store_P where oo_id  = 1531
Parameters:
[]
0.17 ms
(0.06%)
1
select `gallery` from object_store_P where oo_id  = 1529
Parameters:
[]
0.17 ms
(0.06%)
1
select `gallery` from object_store_P where oo_id  = 1508
Parameters:
[]
0.16 ms
(0.06%)
1
select `gallery` from object_store_P where oo_id  = 1517
Parameters:
[]
0.16 ms
(0.06%)
1
select `gallery` from object_store_P where oo_id  = 1533
Parameters:
[]
0.16 ms
(0.06%)
1
select `gallery` from object_store_P where oo_id  = 1528
Parameters:
[]
0.15 ms
(0.06%)
1
select `gallery` from object_store_P where oo_id  = 1553
Parameters:
[]
0.15 ms
(0.05%)
1
select `gallery` from object_store_P where oo_id  = 1522
Parameters:
[]
0.15 ms
(0.05%)
1
select `gallery` from object_store_P where oo_id  = 1536
Parameters:
[]
0.15 ms
(0.05%)
1
select `gallery` from object_store_P where oo_id  = 1551
Parameters:
[]
0.15 ms
(0.05%)
1
select `gallery` from object_store_P where oo_id  = 1507
Parameters:
[]
0.14 ms
(0.05%)
1
select `gallery` from object_store_P where oo_id  = 1521
Parameters:
[]
0.14 ms
(0.05%)
1
select `gallery` from object_store_P where oo_id  = 1519
Parameters:
[]
0.13 ms
(0.05%)
1
select `gallery` from object_store_P where oo_id  = 1512
Parameters:
[]
0.13 ms
(0.05%)
1
select `gallery` from object_store_P where oo_id  = 1555
Parameters:
[]
0.12 ms
(0.04%)
1
select `gallery` from object_store_P where oo_id  = 1565
Parameters:
[]
0.11 ms
(0.04%)
1
select `gallery` from object_store_P where oo_id  = 1535
Parameters:
[]
0.11 ms
(0.04%)
1
select `gallery` from object_store_P where oo_id  = 3623
Parameters:
[]
0.11 ms
(0.04%)
1
select `gallery` from object_store_P where oo_id  = 1532
Parameters:
[]
0.11 ms
(0.04%)
1
select `gallery` from object_store_P where oo_id  = 1541
Parameters:
[]
0.10 ms
(0.04%)
1
select `gallery` from object_store_P where oo_id  = 1556
Parameters:
[]
0.10 ms
(0.04%)
1
select `gallery` from object_store_P where oo_id  = 4496
Parameters:
[]
0.10 ms
(0.04%)
1
select `gallery` from object_store_P where oo_id  = 1514
Parameters:
[]
0.10 ms
(0.04%)
1
select `gallery` from object_store_P where oo_id  = 1549
Parameters:
[]
0.10 ms
(0.04%)
1
select `gallery` from object_store_P where oo_id  = 1538
Parameters:
[]
0.10 ms
(0.03%)
1
select `gallery` from object_store_P where oo_id  = 1554
Parameters:
[]
0.10 ms
(0.03%)
1
select `gallery` from object_store_P where oo_id  = 1550
Parameters:
[]
0.10 ms
(0.03%)
1
select `gallery` from object_store_P where oo_id  = 1552
Parameters:
[]
0.10 ms
(0.03%)
1
select `gallery` from object_store_P where oo_id  = 1509
Parameters:
[]
0.09 ms
(0.03%)
1
select `gallery` from object_store_P where oo_id  = 1543
Parameters:
[]
0.09 ms
(0.03%)
1
select `gallery` from object_store_P where oo_id  = 1737
Parameters:
[]
0.09 ms
(0.03%)
1
select `gallery` from object_store_P where oo_id  = 1542
Parameters:
[]
0.09 ms
(0.03%)
1
select `gallery` from object_store_P where oo_id  = 1539
Parameters:
[]
0.09 ms
(0.03%)
1
select `gallery` from object_store_P where oo_id  = 1520
Parameters:
[]
0.09 ms
(0.03%)
1
select `gallery` from object_store_P where oo_id  = 1545
Parameters:
[]

Database Connections

Name Service
default doctrine.dbal.default_connection

Entity Managers

There are no configured entity managers.

Second Level Cache

Second Level Cache is not enabled.

Entities Mapping

No mapped entities.