https://test.inzynio.pl/en

Query Metrics

131 Database Queries
29 Different statements
144.75 ms Query time
0 Invalid entities

Grouped Statements

Show all queries

Time▼ Count Info
94.18 ms
(65.06%)
11
SELECT
                         JSON_ARRAY(
                              JSON_OBJECT(
                                  'localizationCount', (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),
                                  'offerNamePL', offer.offer_name_pl,
                                  'offerNameEN', offer.offer_name_en,
                                  'language', offer.language,
                                  'salaryData', offer.salary_data,
                                  'temporaryId', offer.temporary_id,
                                  'workData', offer.work_data,
                                  'offerCompany', JSON_OBJECT(
                                        'logo', JSON_OBJECT(
                                            'fileName', FILE.file_name,
                                            'extension', FILE.extension
                                        ),
                                        'invoiceData', JSON_OBJECT('name', invoice_data.name)
                                  ),
                                  'boostDate', offer.boost_date,
                                  'publishedAt', offer.published_at
                              )
                         ) AS offer
                       FROM offer
                       LEFT JOIN offer_company ON(offer.offer_company_id = offer_company.id)
                       LEFT JOIN FILE ON (offer_company.logo_id = FILE.id)
                       LEFT JOIN invoice_data ON (offer_company.invoice_data_id = invoice_data.id)
                       WHERE offer.category_id = :industryId 
                       AND offer.done = 1 
                       AND offer.active = 1 
                       AND offer.offer_id IS NULL
                       ORDER BY CASE WHEN offer.boost_date IS NOT NULL THEN offer.boost_date
                            ELSE offer.published_at END DESC 
                            LIMIT 5 OFFSET 0
Parameters:
[
  "industryId" => "2"
]
18.60 ms
(12.85%)
71
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
]
7.99 ms
(5.52%)
1
SELECT t0.content AS content_1, t0.id AS id_2 FROM offer_name_cache t0 LIMIT 1
Parameters:
[]
3.17 ms
(2.19%)
2
SELECT TABLE_NAME
FROM information_schema.TABLES
WHERE TABLE_SCHEMA = ?
  AND TABLE_TYPE = 'BASE TABLE'
ORDER BY TABLE_NAME
Parameters:
[
  "m1451_inzynio_tt"
]
2.75 ms
(1.90%)
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:
[
  1
]
1.95 ms
(1.35%)
1
SELECT       c.COLUMN_NAME        AS field,
       c.COLUMN_TYPE       AS TYPE,
       c.IS_NULLABLE        AS `null`,
       c.COLUMN_KEY         AS `key`,
       c.COLUMN_DEFAULT     AS `default`,
       c.EXTRA,
       c.COLUMN_COMMENT     AS COMMENT,
       c.CHARACTER_SET_NAME AS characterset,
       c.COLLATION_NAME     AS COLLATION
FROM information_schema.COLUMNS c
    INNER JOIN information_schema.TABLES t
        ON t.TABLE_NAME = c.TABLE_NAME
     WHERE c.TABLE_SCHEMA = ? AND t.TABLE_SCHEMA = ? AND t.TABLE_TYPE = 'BASE TABLE' AND t.TABLE_NAME = ? ORDER BY ORDINAL_POSITION
Parameters:
[
  "m1451_inzynio_tt"
  "m1451_inzynio_tt"
  "doctrine_migration_versions"
]
1.91 ms
(1.32%)
1
SELECT t0.content AS content_1, t0.id AS id_2 FROM technology_cache t0 LIMIT 1
Parameters:
[]
1.58 ms
(1.09%)
1
SELECT location.name AS city FROM location GROUP BY city;
Parameters:
[]
1.49 ms
(1.03%)
1
SELECT DISTINCT            k.CONSTRAINT_NAME,
            k.COLUMN_NAME,
            k.REFERENCED_TABLE_NAME,
            k.REFERENCED_COLUMN_NAME,
            k.ORDINAL_POSITION /*!50116,
            c.UPDATE_RULE,
            c.DELETE_RULE */
FROM information_schema.key_column_usage k /*!50116
INNER JOIN information_schema.referential_constraints c
ON c.CONSTRAINT_NAME = k.CONSTRAINT_NAME
AND c.TABLE_NAME = k.TABLE_NAME */ WHERE k.TABLE_SCHEMA = ? AND k.TABLE_NAME = ? AND k.REFERENCED_COLUMN_NAME IS NOT NULL /*!50116 AND c.CONSTRAINT_SCHEMA = 'm1451_inzynio_tt' */ ORDER BY k.ORDINAL_POSITION
Parameters:
[
  "m1451_inzynio_tt"
  "doctrine_migration_versions"
]
1.35 ms
(0.94%)
6
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:
[
  "11"
]
1.15 ms
(0.79%)
1
SELECT t.TABLE_NAME,
           t.ENGINE,
           t.AUTO_INCREMENT,
           t.TABLE_COMMENT,
           t.CREATE_OPTIONS,
           t.TABLE_COLLATION,
           ccsa.CHARACTER_SET_NAME
      FROM information_schema.TABLES t
        INNER JOIN information_schema.COLLATION_CHARACTER_SET_APPLICABILITY ccsa
          ON ccsa.COLLATION_NAME = t.TABLE_COLLATION WHERE t.TABLE_SCHEMA = ? AND t.TABLE_NAME = ? AND t.TABLE_TYPE = 'BASE TABLE'
Parameters:
[
  "m1451_inzynio_tt"
  "doctrine_migration_versions"
]
1.14 ms
(0.79%)
3
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:
[]
1.02 ms
(0.71%)
6
SELECT DATABASE()
Parameters:
[]
0.86 ms
(0.60%)
1
SELECT        NON_UNIQUE  AS Non_Unique,
        INDEX_NAME  AS Key_name,
        COLUMN_NAME AS Column_Name,
        SUB_PART    AS Sub_Part,
        INDEX_TYPE  AS Index_Type
FROM information_schema.STATISTICS WHERE TABLE_SCHEMA = ? AND TABLE_NAME = ? ORDER BY SEQ_IN_INDEX
Parameters:
[
  "m1451_inzynio_tt"
  "doctrine_migration_versions"
]
0.58 ms
(0.40%)
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.58 ms
(0.40%)
1
SELECT JSON_OBJECT(
            'industry', JSON_OBJECT(
            'id', ic.id, 
            'name', ic.name, 
            'nameEn', JSON_VALUE(ic.translation, '$.en.nameCategory'), 'searchSlug', ic.search_slug),
            'offers', JSON_ARRAY()
         ) AS item
        FROM job_listings AS jl
        LEFT JOIN item_category ic ON(ic.id = jl.item_category_id)
        AND ic.active = 1
        WHERE jl.active = 1 
        ORDER BY jl.position;
Parameters:
[]
0.53 ms
(0.37%)
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"
  ""
]
0.42 ms
(0.29%)
1
SELECT t0.id AS id_1, t0.name AS name_2, t0.name_en AS name_en_3, t0.position AS position_4, t0.active AS active_5, t0.created_at AS created_at_6, t0.updated_at AS updated_at_7, t0.id_industry AS id_industry_8 FROM industry_list t0 WHERE t0.active = ? ORDER BY t0.position ASC
Parameters:
[
  1
]
0.39 ms
(0.27%)
1
SELECT t0.name AS name_1, t0.position AS position_2, t0.active AS active_3, t0.update_at AS update_at_4, t0.created_at AS created_at_5, t0.search_slug AS search_slug_6, t0.id AS id_7 FROM cities_list t0 WHERE t0.active = ? ORDER BY t0.position ASC
Parameters:
[
  1
]
0.39 ms
(0.27%)
1
SELECT t0.content AS content_1, t0.id AS id_2 FROM company_cache t0 LIMIT 1
Parameters:
[]
0.36 ms
(0.25%)
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.33 ms
(0.23%)
1
SELECT t0.id AS id_1, t0.name AS name_2, t0.name_en AS name_en_3, t0.created_at AS created_at_4, t0.position AS position_5, t0.active AS active_6, t0.id_item AS id_item_7 FROM popular_list t0 WHERE t0.active = ? ORDER BY t0.position ASC
Parameters:
[
  1
]
0.33 ms
(0.23%)
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:
[
  1
]
0.32 ms
(0.22%)
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.32 ms
(0.22%)
1
SELECT t0.seo_right_block_pl AS seo_right_block_pl_1, t0.seo_left_block_pl AS seo_left_block_pl_2, t0.seo_right_block_en AS seo_right_block_en_3, t0.seo_left_block_en AS seo_left_block_en_4, t0.id AS id_5 FROM seo_main_page t0
Parameters:
[]
0.31 ms
(0.21%)
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.30 ms
(0.21%)
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.25 ms
(0.17%)
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.20 ms
(0.14%)
1
SELECT * FROM doctrine_migration_versions
Parameters:
[]

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.