Query Metrics
9
Database Queries
9
Different statements
19.71 ms
Query time
2
Invalid entities
Grouped Statements
Time▼ | Count | Info |
---|---|---|
8.76 ms (44.46%) |
1 |
SELECT COUNT(c0_.id) AS sclr_0, c0_.device_os AS device_os_1 FROM campaign_log c0_ WHERE c0_.campaign_id = ? AND c0_.device_os IS NOT NULL GROUP BY c0_.device_os ORDER BY sclr_0 DESC LIMIT 1
Parameters:
[
966
]
|
2.57 ms (13.06%) |
1 |
SELECT t0.id AS id_1, t0.type AS type_2, t0.title AS title_3, t0.content AS content_4, t0.created_at AS created_at_5, t0.updated_at AS updated_at_6, t0.priority AS priority_7, t0.clicks AS clicks_8, t0.icon AS icon_9, t0.icon_color AS icon_color_10, t0.format AS format_11, t0.campaign_id AS campaign_id_12, t0.user_id AS user_id_13 FROM campaign_element t0 WHERE t0.campaign_id = ? ORDER BY t0.priority DESC
Parameters:
[
966
]
|
2.29 ms (11.63%) |
1 |
SELECT COUNT(c0_.id) AS sclr_0, c0_.region AS region_1 FROM campaign_log c0_ WHERE c0_.campaign_id = ? AND c0_.region IS NOT NULL GROUP BY c0_.region ORDER BY sclr_0 DESC LIMIT 1
Parameters:
[
966
]
|
1.88 ms (9.55%) |
1 |
INSERT INTO campaign_log (created_at, updated_at, attribute, is_processed, cookie_id, is_unique, language, device_os, device_platform, country, city, region, zip, country_code, source_media, channel, is_bot, campaign_id, organization_id, affiliate_id) VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?)
Parameters:
[ "2025-03-17 05:51:52" "2025-03-17 05:51:52" "{"geoip":{"status":"success","country":"United States","countryCode":"US","region":"VA","regionName":"Virginia","city":"Ashburn","zip":"20149","lat":39.0438,"lon":-77.4874,"timezone":"America\/New_York","isp":"Amazon.com","org":"AWS EC2 (us-east-1)","as":"AS14618 Amazon.com, Inc.","query":"50.19.167.206"},"attr":{"uuid":"17PBOV","affiliate":null,"ip":"50.19.167.206","user_agent":"Mozilla\/5.0 (X11; Ubuntu; Linux i686; rv:24.0) Gecko\/20100101 Firefox\/24.0","http_referrer":null,"accept_language":null},"device":{"client":{"type":"browser","name":"Firefox","short_name":"FF","version":"24.0","engine":"Gecko","engine_version":"24.0","family":"Firefox"},"os":{"name":"Ubuntu","short_name":"UBT","version":"","platform":"x86","family":"GNU\/Linux"},"device":"desktop","brand":"","model":"","bot":null}}" 0 "3e65d1e2-9859-47cf-8a2d-3a5b6bd9d2d3" 1 null "Ubuntu" "desktop" "United States" "Ashburn" "Virginia" "20149" "US" "qr" null 0 966 273 null ] |
1.26 ms (6.38%) |
1 |
"COMMIT"
Parameters:
[] |
0.82 ms (4.18%) |
1 |
SELECT t0.id AS id_1, t0.email AS email_2, t0.roles AS roles_3, t0.password AS password_4, t0.name AS name_5, t0.company AS company_6, t0.created_at AS created_at_7, t0.updated_at AS updated_at_8, t0.affiliate_code AS affiliate_code_9, t0.signup_code AS signup_code_10, t0.type AS type_11, t0.stripe_session AS stripe_session_12, t0.stripe_customer AS stripe_customer_13, t0.stripe_subscription AS stripe_subscription_14, t0.is_paying AS is_paying_15, t0.request_cancelled AS request_cancelled_16, t0.cancelled_at AS cancelled_at_17, t0.next_payment_at AS next_payment_at_18, t0.is_verified_at AS is_verified_at_19, t0.locale AS locale_20, t0.is_super_admin AS is_super_admin_21, t0.deleted_at AS deleted_at_22, t0.activated_at AS activated_at_23, t0.is_first_visit AS is_first_visit_24, t0.organization_id AS organization_id_25, t0.referee_id AS referee_id_26 FROM `user` t0 WHERE t0.id = ?
Parameters:
[
272
]
|
0.79 ms (4.03%) |
1 |
SELECT t0.id AS id_1, t0.name AS name_2, t0.created_at AS created_at_3, t0.updated_at AS updated_at_4, t0.affiliate_bonus AS affiliate_bonus_5, t0.bonus_type AS bonus_type_6, t0.discount AS discount_7, t0.discount_type AS discount_type_8, t0.content AS content_9, t0.redirect_url AS redirect_url_10, t0.uuid AS uuid_11, t0.top_region AS top_region_12, t0.top_device AS top_device_13, t0.scans AS scans_14, t0.type AS type_15, t0.cookie_lifetime AS cookie_lifetime_16, t0.unique_scans AS unique_scans_17, t0.qrcode_attribute AS qrcode_attribute_18, t0.locale AS locale_19, t0.deleted_at AS deleted_at_20, t0.last_scan_at AS last_scan_at_21, t0.alias AS alias_22, t0.enable_tracking AS enable_tracking_23, t0.is_default AS is_default_24, t0.user_id AS user_id_25, t0.organization_id AS organization_id_26 FROM campaign t0 WHERE t0.uuid = ? AND t0.deleted_at IS NULL LIMIT 1
Parameters:
[
"17PBOV"
]
|
0.79 ms (4.03%) |
1 |
UPDATE campaign SET scans = ?, unique_scans = ?, last_scan_at = ?, updated_at = ? WHERE id = ?
Parameters:
[ 317 304 "2025-03-17 05:51:51" "2025-03-17 05:51:52" 966 ] |
0.53 ms (2.69%) |
1 |
"START TRANSACTION"
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.
Entities Mapping
Class | Mapping errors |
---|---|
App\Entity\Campaign |
|
App\Entity\User | No errors. |
App\Entity\Organization | No errors. |
App\Entity\Affiliate |
|
App\Entity\Conversion | No errors. |
App\Entity\Ledger | No errors. |
App\Entity\CampaignLog | No errors. |
App\Entity\Media | No errors. |
App\Entity\Feedback | No errors. |
App\Entity\Tag | No errors. |
App\Entity\CampaignElement | No errors. |
App\Entity\Device | No errors. |
App\Entity\DomainRecord | No errors. |
App\Entity\CampaignChangeLog | No errors. |
App\Entity\CampaignLead | No errors. |
App\Entity\CampaignPayment | No errors. |
App\Entity\TrackingSession | No errors. |
App\Entity\Referral | No errors. |
App\Entity\PartnerOffer | No errors. |
App\Entity\PartnerOfferRedeem | No errors. |
App\Entity\Webpush | No errors. |