GET https://test.kursimple.de/rest/cart/show?client=7&sessionId=7ogfmn0g3n2m4a5smcdo71v7cf

Query Metrics

10 Database Queries
10 Different statements
6.18 ms Query time
0 Invalid entities
4 Managed entities

Grouped Statements

Show all queries

Time Count Info
1.16 ms
(18.71%)
1
SELECT c0_.id AS id_0, c0_.created AS created_1, c0_.modified AS modified_2, c0_.session_id AS session_id_3, c0_.customer_id AS customer_id_4, c0_.client_id AS client_id_5 FROM cart c0_ INNER JOIN cart_item c1_ ON c0_.id = c1_.cart_id WHERE c0_.session_id = ? AND c0_.client_id = ? AND c0_.customer_id IS NULL GROUP BY c0_.id HAVING COUNT(c1_.id) > 0 ORDER BY c0_.created DESC LIMIT 1
Parameters:
[
  "7ogfmn0g3n2m4a5smcdo71v7cf"
  7
]
1.05 ms
(16.94%)
1
SELECT c0_.id AS id_0, c0_.created AS created_1, c0_.modified AS modified_2, c0_.quantity AS quantity_3, c1_.id AS id_4, c1_.created AS created_5, c1_.modified AS modified_6, c1_.published AS published_7, c1_.start AS start_8, c1_.end AS end_9, c1_.slots AS slots_10, c1_.code AS code_11, c1_.reservation_allowed AS reservation_allowed_12, c1_.booked_slots AS booked_slots_13, c1_.price AS price_14, c1_.tax_rate AS tax_rate_15, c1_.material_cost AS material_cost_16, c1_.number AS number_17, c2_.id AS id_18, c2_.created AS created_19, c2_.modified AS modified_20, c2_.title AS title_21, c2_.subtitle AS subtitle_22, c2_.course_nature AS course_nature_23, c2_.description AS description_24, c2_.searchwords AS searchwords_25, c2_.price AS price_26, c2_.rabatt AS rabatt_27, c2_.tax_rate AS tax_rate_28, c2_.number AS number_29, c2_.material_cost AS material_cost_30, c2_.quantity_material_per_participant_only AS quantity_material_per_participant_only_31, c2_.target_age_min AS target_age_min_32, c2_.target_age_max AS target_age_max_33, c2_.invoice_upper_comment AS invoice_upper_comment_34, c2_.invoice_lower_comment AS invoice_lower_comment_35, c2_.invoice_lower_comment_debit AS invoice_lower_comment_debit_36, c0_.client_id AS client_id_37, c0_.cart_id AS cart_id_38, c0_.course_occurrence_id AS course_occurrence_id_39, c0_.course_occurrence_time_id AS course_occurrence_time_id_40, c0_.course_item_id AS course_item_id_41, c1_.client_id AS client_id_42, c1_.venueId AS venueId_43, c1_.venueRoomId AS venueRoomId_44, c1_.courseId AS courseId_45, c2_.client_id AS client_id_46, c2_.subscription_id AS subscription_id_47, c2_.category_id AS category_id_48, c2_.series_id AS series_id_49, c2_.type_id AS type_id_50 FROM cart_item c0_ LEFT JOIN course_occurrence c1_ ON c0_.course_occurrence_id = c1_.id LEFT JOIN course c2_ ON c1_.courseId = c2_.id LEFT JOIN cart c3_ ON c0_.cart_id = c3_.id WHERE c3_.id = ? AND c0_.course_item_id IS NULL ORDER BY c2_.title ASC LIMIT 100
Parameters:
[
  24
]
0.86 ms
(13.91%)
1
SELECT t0.id AS id_1, t0.created AS created_2, t0.modified AS modified_3, t0.name AS name_4, t0.street AS street_5, t0.street_number AS street_number_6, t0.addressAddition AS addressAddition_7, t0.postalcode AS postalcode_8, t0.city AS city_9, t0.country AS country_10, t0.email AS email_11, t0.web AS web_12, t0.phone AS phone_13, t0.fax AS fax_14, t0.from_email AS from_email_15, t0.logo_path AS logo_path_16, t0.subdomain AS subdomain_17, t0.custom_domain AS custom_domain_18, t0.keycloak_client_id AS keycloak_client_id_19, t0.keycloakGroupId AS keycloakGroupId_20 FROM client t0 WHERE t0.id = ?
Parameters:
[
  7
]
0.78 ms
(12.58%)
1
SELECT t0.id AS id_1, t0.created AS created_2, t0.modified AS modified_3, t0.username AS username_4, t0.password AS password_5, t0.role AS role_6, t0.password_reset_token AS password_reset_token_7, t0.password_requested_at AS password_requested_at_8, t0.password_reset_at AS password_reset_at_9, t0.activate_token AS activate_token_10, t0.activate_requested_at AS activate_requested_at_11, t0.activated_at AS activated_at_12, t0.email_confirm_token AS email_confirm_token_13, t0.email_confirm_requested_at AS email_confirm_requested_at_14, t0.email_confirmed_at AS email_confirmed_at_15, t0.facebook_id AS facebook_id_16, t0.google_id AS google_id_17, t0.keycloak_id AS keycloak_id_18, t19.id AS id_20, t19.created AS created_21, t19.modified AS modified_22, t19.title AS title_23, t19.salutation AS salutation_24, t19.member AS member_25, t19.allow_member_vouchers AS allow_member_vouchers_26, t19.rabatt AS rabatt_27, t19.firstname AS firstname_28, t19.lastname AS lastname_29, t19.date_of_birth AS date_of_birth_30, t19.city_of_birth AS city_of_birth_31, t19.comment AS comment_32, t19.is_main_contact AS is_main_contact_33, t19.is_speaker AS is_speaker_34, t19.is_customer AS is_customer_35, t19.active AS active_36, t19.street AS street_37, t19.street_number AS street_number_38, t19.postalcode AS postalcode_39, t19.city AS city_40, t19.contact_email AS contact_email_41, t19.web AS web_42, t19.country AS country_43, t19.phone AS phone_44, t19.mobile AS mobile_45, t19.delete_date AS delete_date_46, t19.iban AS iban_47, t19.bic AS bic_48, t19.bank AS bank_49, t19.debit_agree AS debit_agree_50, t19.debit_agree_source AS debit_agree_source_51, t19.debit_agree_date AS debit_agree_date_52, t19.email_invoice AS email_invoice_53, t19.privacy_policy_confirmed AS privacy_policy_confirmed_54, t19.receive_newsletter AS receive_newsletter_55, t19.debit_active AS debit_active_56, t19.is_invoice_recipient AS is_invoice_recipient_57, t19.company AS company_58, t19.user_id AS user_id_59, t19.client_id AS client_id_60, t19.family_member_of_id AS family_member_of_id_61 FROM user t0 LEFT JOIN person t19 ON t19.user_id = t0.id WHERE t0.username = ? LIMIT 1
Parameters:
[
  "service-account-kursimple-tenant-7"
]
0.70 ms
(11.27%)
1
SELECT c0_.id AS id_0, c0_.created AS created_1, c0_.modified AS modified_2, c0_.session_id AS session_id_3, c0_.customer_id AS customer_id_4, c0_.client_id AS client_id_5 FROM cart c0_ WHERE c0_.session_id = ? AND c0_.client_id = ? AND c0_.customer_id IS NULL
Parameters:
[
  "7ogfmn0g3n2m4a5smcdo71v7cf"
  7
]
0.44 ms
(7.05%)
1
SELECT t0.id AS id_1, t0.created AS created_2, t0.modified AS modified_3, t0.name AS name_4, t0.street AS street_5, t0.street_number AS street_number_6, t0.addressAddition AS addressAddition_7, t0.postalcode AS postalcode_8, t0.city AS city_9, t0.country AS country_10, t0.email AS email_11, t0.web AS web_12, t0.phone AS phone_13, t0.fax AS fax_14, t0.from_email AS from_email_15, t0.logo_path AS logo_path_16, t0.subdomain AS subdomain_17, t0.custom_domain AS custom_domain_18, t0.keycloak_client_id AS keycloak_client_id_19, t0.keycloakGroupId AS keycloakGroupId_20 FROM client t0 WHERE t0.custom_domain = ? LIMIT 1
Parameters:
[
  "test.kursimple.de"
]
0.36 ms
(5.81%)
1
SELECT t0.id AS id_1, t0.created AS created_2, t0.modified AS modified_3, t0.name AS name_4, t0.street AS street_5, t0.street_number AS street_number_6, t0.addressAddition AS addressAddition_7, t0.postalcode AS postalcode_8, t0.city AS city_9, t0.country AS country_10, t0.email AS email_11, t0.web AS web_12, t0.phone AS phone_13, t0.fax AS fax_14, t0.from_email AS from_email_15, t0.logo_path AS logo_path_16, t0.subdomain AS subdomain_17, t0.custom_domain AS custom_domain_18, t0.keycloak_client_id AS keycloak_client_id_19, t0.keycloakGroupId AS keycloakGroupId_20 FROM client t0 INNER JOIN user_client ON t0.id = user_client.clientId WHERE user_client.userId = ?
Parameters:
[
  1265
]
0.33 ms
(5.40%)
1
SELECT t0.id AS id_1, t0.created AS created_2, t0.modified AS modified_3, t0.session_id AS session_id_4, t0.customer_id AS customer_id_5, t0.client_id AS client_id_6 FROM cart t0 WHERE t0.session_id = ? LIMIT 1
Parameters:
[
  "dr7rureh5j03k2e391ocgnk9rp"
]
0.26 ms
(4.26%)
1
SELECT t0.id AS id_1, t0.created AS created_2, t0.modified AS modified_3, t0.quantity AS quantity_4, t0.client_id AS client_id_5, t0.cart_id AS cart_id_6, t0.course_occurrence_id AS course_occurrence_id_7, t0.course_occurrence_time_id AS course_occurrence_time_id_8, t0.course_item_id AS course_item_id_9 FROM cart_item t0 WHERE t0.cart_id = ?
Parameters:
[
  24
]
0.25 ms
(4.08%)
1
SELECT t0.id AS id_1, t0.variableKey AS variableKey_2, t0.variableValue AS variableValue_3, t0.variableType AS variableType_4, t0.description AS description_5, t0.created AS created_6, t0.modified AS modified_7, t0.client_id AS client_id_8 FROM client_config_variable t0 WHERE t0.client_id = ? AND t0.variableKey = ? LIMIT 1
Parameters:
[
  7
  "THEME_NAME"
]

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.

Managed Entities

default entity manager

Class Amount of managed objects
App\User\Entity\Client 1
App\Entity\ClientConfigVariable 1
App\User\Entity\User 1
App\Entity\Cart 1