MySQL Forums
Forum List  »  Performance

Re: "Sending Data" is taking time post migration from 5.1 to 5.6
Posted by: SAIKIRAN CHEVITI
Date: March 16, 2017 02:32AM

Hi Peter

Thanks for your suggestions.

Actually, we have only 4.5 GB database size so we have added the buffer pool size is 5GB. We hope this is enough for the buffer.

We have enabled the profiling only for gathering the queries stats after that we disabled.

We have already created indexes dynamically from the application end on Temp table and have added indexes at DB level by which we got some improvement than earlier.

Please find the below indexes from DB side


mysql> SELECT TABLE_SCHEMA,TABLE_NAME,COLUMN_NAME,INDEX_NAME FROM INFORMATION_SCHEMA.STATISTICS WHERE TABLE_SCHEMA = 'cst_db' and TABLE_NAME='BCT_PROD';
+--------------+------------+---------------+-------------------+
| TABLE_SCHEMA | TABLE_NAME | COLUMN_NAME | INDEX_NAME |
+--------------+------------+---------------+-------------------+
| cst_db | BCT_PROD | PRODREV_ID | PRIMARY |
| cst_db | BCT_PROD | ProductNo_Rst | PROD_idx |
| cst_db | BCT_PROD | BCT_PRODREV | BCT_PRODREV_idx |
| cst_db | BCT_PROD | PRODNO | PRODNO_RSTATE_idx |
| cst_db | BCT_PROD | RSTATE | PRODNO_RSTATE_idx |
| cst_db | BCT_PROD | DESCRIPTION | DESCRIPTION_index |
| cst_db | BCT_PROD | RSTATE | RSTATE_index |
| cst_db | BCT_PROD | PRODNO | idx4 |
+--------------+------------+---------------+-------------------+

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.