MySQL Forums
Forum List  »  Performance

Re: query hangs after migration from mysql 5.5 to mysql 5.6
Posted by: walter verdelocco
Date: December 19, 2015 01:21PM

explain on 5.6 in json format
"query_block": {
"select_id": 1,
"ordering_operation": {
"using_temporary_table": true,
"using_filesort": true,
"nested_loop": [
{
"table": {
"table_name": "GES_L_PRODOTTO",
"access_type": "ALL",
"possible_keys": [
"id_prodotto"
],
"rows": 1182,
"filtered": 96.701,
"attached_condition": "(((`db_jdatamart`.`GES_L_PRODOTTO`.`id_prodotto` not in ('EI_ADIG_ENI1W','EI_CALP_ENI1W','EI_CENT_ENI1W','EI_CSAL_ENI1W','EI_ESP_ENI1W','EI_GMAN_ENI1W','EI_GMON_ENI1W','EI_GREG_ENI1W','EI_MPAD_ENI1W','EI_NFER_ENI1W','EI_NSAR_ENI1W','EI_NVEN_ENI1W','EI_PIC_ENI1W','EI_PPAV_ENI1W','EI_REP_ENI1W','EI_SCAN_ENI1W','EI_TIRR_ENI1W','EI_TREN_ENI1W','EI_TTRE_ENI1W')) and (`db_jdatamart`.`GES_L_PRODOTTO`.`prodotto_liv_2` in ('BUNDLE','ESPRESSO','LIMES WEB','MANCANTE','REPUBBLICA+','REPUBBLICAMOBILE'))) and (`db_jdatamart`.`GES_L_PRODOTTO`.`id_prodotto` is not null))"
}
},
{
"table": {
"table_name": "LTV_AGGREGATE",
"access_type": "ref",
"possible_keys": [
"product_id",
"DATA_INIZIO"
],
"key": "product_id",
"used_key_parts": [
"product_id"
],
"key_length": "52",
"ref": [
"db_jdatamart.GES_L_PRODOTTO.id_prodotto"
],
"rows": 1413,
"filtered": 100,
"attached_condition": "((`db_jdatamart`.`LTV_AGGREGATE`.`DATA_INIZIO` >= '2015-12-09') and (`db_jdatamart`.`LTV_AGGREGATE`.`DATA_INIZIO` <= '2015-12-16'))"
}
}
]
}
}
} |
+-----

Options: ReplyQuote




Sorry, you can't reply to this topic. It has been closed.

Content reproduced on this site is the property of the respective copyright holders. It is not reviewed in advance by Oracle and does not necessarily represent the opinion of Oracle or any other party.