Query Metrics
55
Database Queries
23
Different statements
54.22 ms
Query time
0
Invalid entities
Grouped Statements
| Time▼ | Count | Info |
|---|---|---|
|
19.51 ms (35.98%) |
2 |
SELECT t0.content AS content_1, t0.id AS id_2 FROM offer_name_cache t0 LIMIT 1
Parameters:
[] |
|
7.76 ms (14.32%) |
1 |
SELECT JSON_ARRAY( JSON_OBJECT( 'id', offer.id, 'industry', offer.id, 'offerNumber', (SELECT COUNT(offer2.id) FROM offer AS offer2 WHERE offer.id = offer2.offer_id), 'offers', (SELECT JSON_ARRAYAGG(JSON_OBJECT( 'workData', offer2.work_data, 'language', offer2.language, 'temporaryId', offer2.temporary_id )) FROM offer AS offer2 WHERE offer.id = offer2.offer_id), 'namePl', offer.offer_name_pl, 'nameEn', offer.offer_name_en, 'language', offer.language, 'temporaryId', offer.temporary_id, 'mainOffer', (SELECT JSON_OBJECT( 'logo', (SELECT JSON_OBJECT('fileName', FILE.file_name, 'extension', FILE.extension) FROM offer_company LEFT JOIN FILE ON offer_company.logo_id = FILE.id WHERE offer2.offer_company_id = offer_company.id) ) FROM offer AS offer2 WHERE offer.offer_id = offer2.id), 'logo', (SELECT JSON_OBJECT('fileName', FILE.file_name, 'extension', FILE.extension) FROM offer_company LEFT JOIN FILE ON offer_company.logo_id = FILE.id WHERE offer.offer_company_id = offer_company.id), 'invoiceData', (SELECT JSON_OBJECT('name', invoice_data.name) FROM offer_company LEFT JOIN invoice_data ON (invoice_data.id = offer_company.invoice_data_id) WHERE offer.offer_company_id = offer_company.id), 'workData', offer.work_data, 'salaryData', offer.salary_data, 'publishedAt', offer.published_at, 'boostedAt', offer.boost_date ) ) AS item FROM offer WHERE offer.done = 1 AND offer.active = 1 AND MATCH(offer.keywords) AGAINST('+"programista-plc"' IN BOOLEAN MODE) AND offer.offer_id IS NULL GROUP BY offer.id, offer.boost_date ORDER BY CASE WHEN offer.boost_date IS NOT NULL THEN offer.boost_date ELSE offer.published_at END DESC LIMIT 20 OFFSET 0;
Parameters:
[] |
|
6.84 ms (12.61%) |
1 |
SELECT offer.id AS offerMax FROM offer WHERE offer.done = 1 AND offer.active = 1 AND MATCH(offer.keywords) AGAINST('+"programista-plc"' IN BOOLEAN MODE) AND offer.offer_id IS NULL GROUP BY offer.id, offer.boost_date ORDER BY CASE WHEN offer.boost_date IS NOT NULL THEN offer.boost_date ELSE offer.published_at END DESC
Parameters:
[] |
|
4.09 ms (7.55%) |
2 |
SELECT t0.content AS content_1, t0.id AS id_2 FROM technology_cache t0 LIMIT 1
Parameters:
[] |
|
3.15 ms (5.81%) |
2 |
SELECT location.name AS city FROM location GROUP BY city;
Parameters:
[] |
|
2.66 ms (4.90%) |
13 |
SELECT t0.migration_id AS migration_id_1, t0.template_path AS template_path_2, t0.id AS id_3, t0.created_at AS created_at_4, t0.updated_at AS updated_at_5, t0.blog_id AS blog_id_6, t0.footer_link_id AS footer_link_id_7 FROM PAGE t0 WHERE t0.migration_id = ? LIMIT 1
Parameters:
[
1
]
|
|
2.05 ms (3.78%) |
10 |
SELECT t0.url AS url_1, t0.displayed_title AS displayed_title_2, t0.displayed_description AS displayed_description_3, t0.id AS id_4, t0.locale AS locale_5, t0.translatable_id AS translatable_id_6 FROM page_translation t0 WHERE t0.translatable_id = ?
Parameters:
[
25
]
|
|
1.04 ms (1.92%) |
2 |
SELECT JSON_OBJECT( 'namePl', CASE WHEN item_category.name = '' THEN JSON_EXTRACT(item_category.translation, '$.en.nameCategory') ELSE item_category.name END, 'nameEn', JSON_EXTRACT(item_category.translation, '$.en.nameCategory'), 'searchSlug', item_category.search_slug ) AS item FROM item_category WHERE item_category_id IS NULL AND active = 1;
Parameters:
[] |
|
1.01 ms (1.86%) |
2 |
SELECT t0.content AS content_1, t0.id AS id_2 FROM company_cache t0 LIMIT 1
Parameters:
[] |
|
0.90 ms (1.67%) |
5 |
SELECT t0.migration_id AS migration_id_1, t0.template_path AS template_path_2, t0.id AS id_3, t0.created_at AS created_at_4, t0.updated_at AS updated_at_5, t0.blog_id AS blog_id_6, t0.footer_link_id AS footer_link_id_7 FROM PAGE t0 WHERE t0.footer_link_id = ? LIMIT 1
Parameters:
[
"8"
]
|
|
0.69 ms (1.27%) |
1 |
SELECT JSON_ARRAY( JSON_OBJECT( 'id', item.id, 'name', CASE WHEN item.name = '' THEN item.name_en ELSE item.name END, 'slug', item.search_slug ) ) AS item FROM job_level AS jl LEFT JOIN job_level_item jli ON (jli.job_level_id = jl.id) LEFT JOIN item ON (item.id = jli.item_id) WHERE jl.active = 1 AND item.id IS NOT NULL ORDER BY jl.position ASC;
Parameters:
[] |
|
0.60 ms (1.10%) |
2 |
SELECT t0.id AS id_1, t0.name_pl AS name_pl_2, t0.name_en AS name_en_3, t0.created_at AS created_at_4, t0.updated_at AS updated_at_5, t0.content_pl AS content_pl_6, t0.content_en AS content_en_7, t0.url_pl AS url_pl_8, t0.url_en AS url_en_9, t0.page_id AS page_id_10 FROM footer_link t0
Parameters:
[] |
|
0.56 ms (1.02%) |
2 |
SELECT t0.id AS id_1, t0.name_pl AS name_pl_2, t0.id_offer AS id_offer_3, t0.name_slug AS name_slug_4, t0.position AS position_5, t0.search_engine_id AS search_engine_id_6 FROM search_city t0 ORDER BY t0.position ASC
Parameters:
[] |
|
0.48 ms (0.88%) |
1 |
SELECT JSON_OBJECT( 'id', item_category.id, 'plName', item_category.name, 'enName', JSON_EXTRACT(item_category.translation, '$.en.nameCategory'), 'slugName', item_category.search_slug ) AS item FROM search_industry LEFT JOIN item_category ON item_category.id = search_industry.item_category_id ORDER BY search_industry.position ASC
Parameters:
[] |
|
0.42 ms (0.78%) |
1 |
SELECT t0.url AS url_1, t0.displayed_title AS displayed_title_2, t0.displayed_description AS displayed_description_3, t0.id AS id_4, t0.locale AS locale_5, t0.translatable_id AS translatable_id_6 FROM page_translation t0 WHERE t0.locale = ? AND t0.url = ? LIMIT 1
Parameters:
[ "en" "offers" ] |
|
0.37 ms (0.69%) |
1 |
SELECT JSON_OBJECT( 'name', search_city.name_pl, 'nameSlug', search_city.name_slug ) AS item FROM search_city WHERE search_city.name_slug IS NOT NULL AND search_city.name_slug != '' ORDER BY position ASC;
Parameters:
[] |
|
0.36 ms (0.67%) |
1 |
SELECT JSON_OBJECT('slugName', item_category.search_slug) AS item FROM item_category WHERE item_category_id IS NULL AND active = 1 AND search_slug IS NOT NULL AND search_slug != '';
Parameters:
[] |
|
0.34 ms (0.63%) |
1 |
SELECT t0.id AS id_1, t0.can_show AS can_show_2 FROM level_job_select t0 WHERE t0.id = ? LIMIT 1
Parameters:
[
1
]
|
|
0.30 ms (0.56%) |
1 |
SELECT JSON_OBJECT( 'plName', another.label_pl, 'enName', another.label_en, 'slug', another.name_slug ) AS item FROM another WHERE active = 1 ORDER BY position ASC;
Parameters:
[] |
|
0.30 ms (0.55%) |
1 |
SELECT t0.label_pl AS label_pl_1, t0.label_en AS label_en_2, t0.calculation_factor AS calculation_factor_3, t0.name_slug AS name_slug_4, t0.active AS active_5, t0.position AS position_6, t0.id AS id_7, t0.item_id AS item_id_8 FROM another t0 WHERE t0.active = ? ORDER BY t0.position ASC
Parameters:
[
1
]
|
|
0.27 ms (0.51%) |
1 |
SELECT t0.id AS id_1, t0.shortcut AS shortcut_2, t0.name_pl AS name_pl_3, t0.name_en AS name_en_4, t0.symbol AS symbol_5 FROM currency t0
Parameters:
[] |
|
0.27 ms (0.49%) |
1 |
SELECT t0.id AS id_1, t0.position AS position_2, t0.search_engine_id AS search_engine_id_3, t0.item_category_id AS item_category_id_4 FROM search_industry t0 ORDER BY t0.position ASC
Parameters:
[] |
|
0.25 ms (0.46%) |
1 |
SELECT t0.migration_id AS migration_id_1, t0.template_path AS template_path_2, t0.id AS id_3, t0.created_at AS created_at_4, t0.updated_at AS updated_at_5, t0.blog_id AS blog_id_6, t0.footer_link_id AS footer_link_id_7 FROM PAGE t0 WHERE t0.id = ?
Parameters:
[
25
]
|
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\Page\Page | No errors. |
| App\Entity\Page\PageTranslation | No errors. |
| App\Entity\Blog | No errors. |
| App\Entity\FooterLink | No errors. |
| App\Entity\Currency | No errors. |
| App\Entity\SearchCache\TechnologyCache | No errors. |
| App\Entity\SearchCache\CompanyCache | No errors. |
| App\Entity\SearchCache\OfferNameCache | No errors. |
| App\Entity\LevelJobSelect | No errors. |
| App\Entity\Search\SearchIndustry | No errors. |
| App\Entity\Search\SearchEngineParameters | No errors. |
| App\Entity\Item\ItemCategory | No errors. |
| App\Entity\Search\SearchCity | No errors. |
| App\Entity\Another | No errors. |
| App\Entity\Item\Item | No errors. |
| App\Entity\Offer\Offer | No errors. |