GET https://tkgstage.com/index.php/profile/84/opened-crates

Query Metrics

30 Database Queries
12 Different statements
13.58 ms Query time
0 Invalid entities

Grouped Statements

Show all queries

Time Count Info
2.92 ms
(21.52%)
7
SELECT t0.id AS id_1, t0.ipfs_url AS ipfs_url_2, t0.price AS price_3, t0.is_minted AS is_minted_4, t0.signature AS signature_5, t0.is_confirmed AS is_confirmed_6, t0.script_mint AS script_mint_7, t0.nft_contract_id AS nft_contract_id_8, t0.nft_metadata_id AS nft_metadata_id_9, t0.theta_wallet_id AS theta_wallet_id_10, t0.crate_action_log_id AS crate_action_log_id_11, t0.parent_id AS parent_id_12 FROM nft_hub t0 WHERE t0.nft_metadata_id = ?
Parameters:
[
  46
]
2.62 ms
(19.28%)
7
SELECT t0.id AS id_1, t0.is_catchable AS is_catchable_2, t0.name AS name_3, t0.description AS description_4, t0.image_url AS image_url_5, t0.tier AS tier_6, t0.min_stat AS min_stat_7, t0.max_stat AS max_stat_8, t0.min_weight AS min_weight_9, t0.max_weight AS max_weight_10, t0.aux_data AS aux_data_11, t0.buy_price AS buy_price_12, t0.shop_inventory AS shop_inventory_13, t0.release_at AS release_at_14, t0.max_editions AS max_editions_15, t0.lootable AS lootable_16, t0.genus_id AS genus_id_17, t0.category_id AS category_id_18, t0.recipe_id AS recipe_id_19, t0.nft_game_id AS nft_game_id_20, t0.non_nft_game_id AS non_nft_game_id_21 FROM template t0 WHERE t0.id IN (?)
Parameters:
[
  1
]
2.15 ms
(15.82%)
7
SELECT t0.id AS id_1, t0.progress AS progress_2, t0.goal AS goal_3, t0.stat_square_mod AS stat_square_mod_4, t0.stat_circle_mod AS stat_circle_mod_5, t0.stat_diamond_mod AS stat_diamond_mod_6, t0.stat_triangle_mod AS stat_triangle_mod_7, t0.stat_rectangle_mod AS stat_rectangle_mod_8, t0.stat_star_mod AS stat_star_mod_9, t0.stat_heart_mod AS stat_heart_mod_10, t0.stat_octagon_mod AS stat_octagon_mod_11, t0.quest_id AS quest_id_12 FROM nft_metadata_quest t0 WHERE t0.id IN (?)
Parameters:
[
  46
]
0.85 ms
(6.29%)
1
SELECT t0.user_id AS user_id_1, t0.template_category_id AS template_category_id_2, t0.inventory_equipment_id AS inventory_equipment_id_3, t0.nft_metadata_id AS nft_metadata_id_4, t5.id AS id_6, t5.created_at AS created_at_7, t5.creator AS creator_8, t5.name AS name_9, t5.description AS description_10, t5.image_url AS image_url_11, t5.wear AS wear_12, t5.score AS score_13, t5.grade AS grade_14, t5.mint AS mint_15, t5.stat_square AS stat_square_16, t5.stat_circle AS stat_circle_17, t5.stat_diamond AS stat_diamond_18, t5.stat_triangle AS stat_triangle_19, t5.stat_rectangle AS stat_rectangle_20, t5.stat_star AS stat_star_21, t5.stat_heart AS stat_heart_22, t5.stat_octagon AS stat_octagon_23, t5.weight AS weight_24, t5.nft_collection_id AS nft_collection_id_25, t5.template_id AS template_id_26, t5.nft_metadata_quest_id AS nft_metadata_quest_id_27, t5.school_of_magic_id AS school_of_magic_id_28 FROM user_gear t0 LEFT JOIN nft_metadata t5 ON t0.nft_metadata_id = t5.id WHERE t0.user_id = ?
Parameters:
[
  84
]
0.76 ms
(5.57%)
1
SELECT t0.id AS id_1, t0.email AS email_2, t0.roles AS roles_3, t0.password AS password_4, t0.game_token AS game_token_5, t0.wallet AS wallet_6, t0.google_id AS google_id_7, t0.username AS username_8, t0.wallet_extension AS wallet_extension_9, t0.config AS config_10, t0.last_recipe_hint AS last_recipe_hint_11, t0.experience AS experience_12, t0.shadow_ban_until AS shadow_ban_until_13, t0.shinies AS shinies_14, t0.game_token2 AS game_token2_15, t0.active_wallet_id AS active_wallet_id_16, t0.catchable_queue_id AS catchable_queue_id_17, t0.act_progression_id AS act_progression_id_18, t0.theta_drop_wallet_id AS theta_drop_wallet_id_19 FROM user t0 WHERE t0.id = ? LIMIT 1
Parameters:
[
  "84"
]
0.74 ms
(5.47%)
1
SELECT m0_.id AS id_0, m0_.item_id AS item_id_1, m0_.price AS price_2, m0_.is_sold AS is_sold_3, m0_.is_canceled AS is_canceled_4, m0_.created_at AS created_at_5, m0_.updated_at AS updated_at_6, m0_.notification_read AS notification_read_7, m0_.seller_payout AS seller_payout_8, m0_.fee AS fee_9, m0_.tx AS tx_10, n1_.id AS id_11, n1_.ipfs_url AS ipfs_url_12, n1_.price AS price_13, n1_.is_minted AS is_minted_14, n1_.signature AS signature_15, n1_.is_confirmed AS is_confirmed_16, n1_.script_mint AS script_mint_17, m2_.id AS id_18, m2_.offer_id AS offer_id_19, m2_.price AS price_20, m2_.is_accepted AS is_accepted_21, m2_.is_canceled AS is_canceled_22, m2_.created_at AS created_at_23, m2_.updated_at AS updated_at_24, m2_.notification_read AS notification_read_25, m2_.seller_payout AS seller_payout_26, m2_.fee AS fee_27, m2_.tx AS tx_28, m3_.id AS id_29, m3_.item_id AS item_id_30, m3_.price AS price_31, m3_.is_sold AS is_sold_32, m3_.is_canceled AS is_canceled_33, m3_.created_at AS created_at_34, m3_.updated_at AS updated_at_35, m3_.notification_read AS notification_read_36, m3_.seller_payout AS seller_payout_37, m3_.fee AS fee_38, m3_.tx AS tx_39, m0_.nft_contract_id AS nft_contract_id_40, m0_.market_contract_id AS market_contract_id_41, m0_.buyer_id AS buyer_id_42, m0_.seller_id AS seller_id_43, m0_.nft_hub_id AS nft_hub_id_44, n1_.nft_contract_id AS nft_contract_id_45, n1_.nft_metadata_id AS nft_metadata_id_46, n1_.theta_wallet_id AS theta_wallet_id_47, n1_.crate_action_log_id AS crate_action_log_id_48, n1_.parent_id AS parent_id_49, m2_.nft_contract_id AS nft_contract_id_50, m2_.market_contract_id AS market_contract_id_51, m2_.nft_hub_id AS nft_hub_id_52, m2_.bidder_id AS bidder_id_53, m2_.seller_id AS seller_id_54, m3_.nft_contract_id AS nft_contract_id_55, m3_.market_contract_id AS market_contract_id_56, m3_.buyer_id AS buyer_id_57, m3_.seller_id AS seller_id_58, m3_.nft_hub_id AS nft_hub_id_59 FROM market_item m0_ LEFT JOIN theta_wallet t4_ ON (m0_.seller_id = t4_.id) LEFT JOIN user u5_ ON (u5_.active_wallet_id = t4_.id) LEFT JOIN nft_hub n1_ ON m0_.nft_hub_id = n1_.id LEFT JOIN market_offer m2_ ON n1_.id = m2_.nft_hub_id LEFT JOIN market_item m3_ ON n1_.id = m3_.nft_hub_id WHERE u5_.id = ? AND m0_.is_sold = 0 ORDER BY m0_.updated_at DESC
Parameters:
[
  84
]
0.72 ms
(5.31%)
1
SELECT t0.id AS id_1, t0.name AS name_2 FROM game t0 WHERE t0.id = ? LIMIT 1
Parameters:
[
  1
]
0.66 ms
(4.90%)
1
SELECT t0.id AS id_1, t0.address AS address_2, t0.is_approved_for_all_market AS is_approved_for_all_market_3, t0.is_approved_for_all_market2 AS is_approved_for_all_market2_4, t0.is_approved_for_all_market_crate AS is_approved_for_all_market_crate_5, t6.id AS id_7, t6.email AS email_8, t6.roles AS roles_9, t6.password AS password_10, t6.game_token AS game_token_11, t6.wallet AS wallet_12, t6.google_id AS google_id_13, t6.username AS username_14, t6.wallet_extension AS wallet_extension_15, t6.config AS config_16, t6.last_recipe_hint AS last_recipe_hint_17, t6.experience AS experience_18, t6.shadow_ban_until AS shadow_ban_until_19, t6.shinies AS shinies_20, t6.game_token2 AS game_token2_21, t6.active_wallet_id AS active_wallet_id_22, t6.catchable_queue_id AS catchable_queue_id_23, t6.act_progression_id AS act_progression_id_24, t6.theta_drop_wallet_id AS theta_drop_wallet_id_25 FROM theta_wallet t0 LEFT JOIN user t6 ON t6.active_wallet_id = t0.id WHERE t0.id = ?
Parameters:
[
  30
]
0.64 ms
(4.69%)
1
SELECT t0.id AS id_1, t0.name AS name_2, t0.series AS series_3, t0.image_url AS image_url_4, t0.created_date AS created_date_5, t0.background_folder AS background_folder_6, t0.border_folder AS border_folder_7 FROM nft_collection t0 WHERE t0.id IN (?)
Parameters:
[
  1
]
0.58 ms
(4.28%)
1
SELECT SUM(u0_.caught_qty) AS sclr_0, SUM(u0_.salvage_qty) AS sclr_1, SUM(u0_.convert_nft_qty) AS sclr_2, SUM(u0_.craft_qty) AS sclr_3 FROM user_record u0_ WHERE u0_.user_id = ? GROUP BY u0_.user_id
Parameters:
[
  84
]
0.47 ms
(3.49%)
1
SELECT p0_.id AS id_0, p0_.required_exp AS required_exp_1, p0_.title AS title_2, p0_.perks AS perks_3 FROM player_rank p0_ WHERE p0_.required_exp <= ? ORDER BY p0_.required_exp DESC LIMIT 1
Parameters:
[
  "265"
]
0.46 ms
(3.38%)
1
SELECT c0_.id AS id_0, c0_.received_at AS received_at_1, c0_.received_tx AS received_tx_2, c0_.initiate_open_at AS initiate_open_at_3, c0_.is_opened AS is_opened_4, c0_.opened_tx AS opened_tx_5, c0_.received_by_id AS received_by_id_6, c0_.opened_by_id AS opened_by_id_7 FROM crate_action_log c0_ INNER JOIN theta_wallet t1_ ON c0_.opened_by_id = t1_.id LEFT JOIN user u2_ ON (t1_.id = u2_.active_wallet_id) WHERE u2_.id = ?
Parameters:
[
  84
]

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\User No errors.
App\Entity\ThetaWallet No errors.
App\Entity\CatchableQueue No errors.
App\Entity\ActProgression No errors.
App\Entity\InventoryEquipment No errors.
App\Entity\InventoryCatchable No errors.
App\Entity\UserGear No errors.
App\Entity\UserRecord No errors.
App\Entity\InventoryMaterial No errors.
App\Entity\SalvageQueue No errors.
App\Entity\ShopItemPurchases No errors.
App\Entity\Recipe No errors.
App\Entity\Game No errors.
App\Entity\Template No errors.
App\Entity\Quest No errors.
App\Entity\TemplateCategory No errors.
App\Entity\NftMetadata No errors.
App\Entity\NftCollection No errors.
App\Entity\NftMetadataQuest No errors.
App\Entity\SchoolOfMagic No errors.
App\Entity\NftHub No errors.
App\Entity\NftContract No errors.
App\Entity\CrateActionLog No errors.
App\Entity\NftTransfer No errors.
App\Entity\MarketItem No errors.
App\Entity\MarketOffer No errors.
App\Entity\TemplateGenus No errors.
App\Entity\Zone No errors.
App\Entity\TemplateMaterialProbability No errors.
App\Entity\PlayerRank No errors.
App\Entity\WithdrawalLog No errors.