Created
June 12, 2017 12:22
-
-
Save luaybs/5141e0f86263dcdd67985bd3634f1ff4 to your computer and use it in GitHub Desktop.
NO WHERE
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
+----+--------------------+--------------------------+--------+-----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+--------------------------------------------------------+---------+--------------------------------------------------------------+------+----------------------------------------------+ | |
| id | select_type | table | type | possible_keys | key | key_len | ref | rows | Extra | | |
+----+--------------------+--------------------------+--------+-----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+--------------------------------------------------------+---------+--------------------------------------------------------------+------+----------------------------------------------+ | |
| 1 | PRIMARY | sites | const | PRIMARY | PRIMARY | 4 | const | 1 | Using index; Using temporary; Using filesort | | |
| 1 | PRIMARY | registration_items | ref | index_registration_items_on_activity_id,index_registration_items_on_cancelled_at,registration_type_cancelled | index_registration_items_on_cancelled_at | 6 | const | 42 | Using index condition; Using where | | |
| 1 | PRIMARY | registrations | eq_ref | PRIMARY,index_registrations_on_session_key,index_registrations_on_user_id,index_registrations_on_type,index_registrations_on_site_id,index_registrations_on_background_check_order_status,index_registrations_on_background_check_result,index_registrations_on_updated_at,index_registrations_on_created_at,index_registrations_on_import_id | PRIMARY | 4 | nextgen_development.registration_items.registration_id | 1 | Using where | | |
| 1 | PRIMARY | activities | eq_ref | PRIMARY | PRIMARY | 4 | nextgen_development.registration_items.activity_id | 1 | NULL | | |
| 1 | PRIMARY | users | eq_ref | PRIMARY | PRIMARY | 4 | nextgen_development.registrations.user_id | 1 | NULL | | |
| 1 | PRIMARY | user_statuses | eq_ref | PRIMARY | PRIMARY | 4 | nextgen_development.users.user_status_id | 1 | NULL | | |
| 1 | PRIMARY | addresses | ref | index_addresses_on_addressable_id_and_addressable_type | index_addresses_on_addressable_id_and_addressable_type | 773 | nextgen_development.users.id,const | 1 | Using where | | |
| 1 | PRIMARY | companies | eq_ref | PRIMARY | PRIMARY | 4 | nextgen_development.addresses.company_id | 1 | Using index | | |
| 1 | PRIMARY | registrant_types | eq_ref | PRIMARY | PRIMARY | 4 | nextgen_development.registrations.registrant_type_id | 1 | NULL | | |
| 1 | PRIMARY | group_leaders | eq_ref | PRIMARY | PRIMARY | 4 | nextgen_development.registrations.group_leader_id | 1 | NULL | | |
| 1 | PRIMARY | time_slots | eq_ref | PRIMARY | PRIMARY | 4 | nextgen_development.registration_items.registerable_id | 1 | Using where; Using index | | |
| 1 | PRIMARY | activity_groups | eq_ref | PRIMARY | PRIMARY | 4 | nextgen_development.activities.activity_group_id | 1 | Using index | | |
| 1 | PRIMARY | mf_cfvs | ref | cfv_by_customized | cfv_by_customized | 773 | nextgen_development.registration_items.registration_id,const | 4 | Using where | | |
| 22 | DEPENDENT SUBQUERY | NULL | NULL | NULL | NULL | NULL | NULL | NULL | No tables used | | |
| 21 | DEPENDENT SUBQUERY | NULL | NULL | NULL | NULL | NULL | NULL | NULL | No tables used | | |
| 20 | DEPENDENT SUBQUERY | NULL | NULL | NULL | NULL | NULL | NULL | NULL | No tables used | | |
| 19 | DEPENDENT SUBQUERY | NULL | NULL | NULL | NULL | NULL | NULL | NULL | No tables used | | |
| 18 | DEPENDENT SUBQUERY | NULL | NULL | NULL | NULL | NULL | NULL | NULL | No tables used | | |
| 17 | DEPENDENT SUBQUERY | NULL | NULL | NULL | NULL | NULL | NULL | NULL | No tables used | | |
| 16 | DEPENDENT SUBQUERY | NULL | NULL | NULL | NULL | NULL | NULL | NULL | No tables used | | |
| 15 | DEPENDENT SUBQUERY | NULL | NULL | NULL | NULL | NULL | NULL | NULL | No tables used | | |
| 14 | DEPENDENT SUBQUERY | NULL | NULL | NULL | NULL | NULL | NULL | NULL | No tables used | | |
| 13 | DEPENDENT SUBQUERY | NULL | NULL | NULL | NULL | NULL | NULL | NULL | No tables used | | |
| 12 | DEPENDENT SUBQUERY | orders | ref | index_orders_on_registration_id | index_orders_on_registration_id | 5 | func | 1 | NULL | | |
| 12 | DEPENDENT SUBQUERY | ot_regs | eq_ref | PRIMARY | PRIMARY | 4 | func | 1 | Using where; Using index | | |
| 11 | DEPENDENT SUBQUERY | check_refund_orders | ref | PRIMARY,index_orders_on_registration_id | index_orders_on_registration_id | 5 | func | 1 | Using where | | |
| 11 | DEPENDENT SUBQUERY | transactions | ref | index_transactions_on_order_id,index_transactions_on_type | index_transactions_on_order_id | 5 | nextgen_development.check_refund_orders.id | 1 | Using where | | |
| 11 | DEPENDENT SUBQUERY | check_refund_regs | eq_ref | PRIMARY | PRIMARY | 4 | func | 1 | Using where; Using index | | |
| 10 | DEPENDENT SUBQUERY | card_refund_orders | ref | PRIMARY,index_orders_on_registration_id | index_orders_on_registration_id | 5 | func | 1 | Using where | | |
| 10 | DEPENDENT SUBQUERY | transactions | ref | index_transactions_on_order_id,index_transactions_on_type | index_transactions_on_order_id | 5 | nextgen_development.card_refund_orders.id | 1 | Using where | | |
| 10 | DEPENDENT SUBQUERY | card_refund_regs | eq_ref | PRIMARY | PRIMARY | 4 | func | 1 | Using where; Using index | | |
| 9 | DEPENDENT SUBQUERY | transactions | ref | index_transactions_on_order_id,index_transactions_on_type | index_transactions_on_type | 99 | const | 1 | Using index condition; Using where | | |
| 9 | DEPENDENT SUBQUERY | comp_payment_orders | eq_ref | PRIMARY,index_orders_on_registration_id | PRIMARY | 4 | nextgen_development.transactions.order_id | 1 | Using where | | |
| 9 | DEPENDENT SUBQUERY | comp_payment_regs | eq_ref | PRIMARY | PRIMARY | 4 | func | 1 | Using where; Using index | | |
| 8 | DEPENDENT SUBQUERY | cash_payment_orders | ref | PRIMARY,index_orders_on_registration_id | index_orders_on_registration_id | 5 | func | 1 | Using where | | |
| 8 | DEPENDENT SUBQUERY | transactions | ref | index_transactions_on_order_id,index_transactions_on_type | index_transactions_on_order_id | 5 | nextgen_development.cash_payment_orders.id | 1 | Using where | | |
| 8 | DEPENDENT SUBQUERY | cash_payment_regs | eq_ref | PRIMARY | PRIMARY | 4 | func | 1 | Using where; Using index | | |
| 7 | DEPENDENT SUBQUERY | check_payment_orders | ref | PRIMARY,index_orders_on_registration_id | index_orders_on_registration_id | 5 | func | 1 | Using where | | |
| 7 | DEPENDENT SUBQUERY | transactions | ref | index_transactions_on_order_id,index_transactions_on_type | index_transactions_on_order_id | 5 | nextgen_development.check_payment_orders.id | 1 | Using where | | |
| 7 | DEPENDENT SUBQUERY | check_payment_regs | eq_ref | PRIMARY | PRIMARY | 4 | func | 1 | Using where; Using index | | |
| 6 | DEPENDENT SUBQUERY | card_payment_orders | ref | PRIMARY,index_orders_on_registration_id | index_orders_on_registration_id | 5 | func | 1 | Using where | | |
| 6 | DEPENDENT SUBQUERY | transactions | ref | index_transactions_on_order_id,index_transactions_on_type | index_transactions_on_order_id | 5 | nextgen_development.card_payment_orders.id | 1 | Using where | | |
| 6 | DEPENDENT SUBQUERY | card_payment_regs | eq_ref | PRIMARY | PRIMARY | 4 | func | 1 | Using where; Using index | | |
| 5 | DEPENDENT SUBQUERY | hasum_reg_items | ref | index_registration_items_on_checked_out,index_registration_items_on_cancelled_at,registration_type_cancelled,assignment_aggregate | assignment_aggregate | 13 | const,const,func | 1 | Using index condition | | |
| 4 | DEPENDENT SUBQUERY | hrsum_reg_items | ref | index_registration_items_on_checked_out,index_registration_items_on_cancelled_at,registration_type_cancelled,reg_item_joint_index,assignment_aggregate | registration_type_cancelled | 779 | func,const,const | 1 | Using index condition; Using where | | |
| 4 | DEPENDENT SUBQUERY | hrsum_time_slots | eq_ref | PRIMARY | PRIMARY | 4 | nextgen_development.hrsum_reg_items.registerable_id | 1 | NULL | | |
| 3 | DEPENDENT SUBQUERY | arc_reg_items | ref | index_registration_items_on_checked_out,index_registration_items_on_activity_id,index_registration_items_on_cancelled_at,registration_type_cancelled,assignment_aggregate | assignment_aggregate | 13 | const,const,func | 1 | Using index condition | | |
| 3 | DEPENDENT SUBQUERY | arc_activities | eq_ref | PRIMARY | PRIMARY | 4 | nextgen_development.arc_reg_items.activity_id | 1 | Using index | | |
| 2 | DEPENDENT SUBQUERY | registration_transitions | ref | index_registration_transitions_on_registration_id | index_registration_transitions_on_registration_id | 5 | func | 1 | Using where; Using filesort | | |
+----+--------------------+--------------------------+--------+-----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+--------------------------------------------------------+---------+--------------------------------------------------------------+------+----------------------------------------------+ |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment