Explain plan in mysql performance using Using temporary; Using filesort ; Using index condition
问题 I read various blogs and documents online but just wanted to know how i can optimize the query. I am unable to decide if we have to rewrite the query or add indexes in order to optimize. Adding create table structure also CREATE TABLE `dsr_table` ( `DSR_VIA` CHAR(3) DEFAULT NULL, `DSR_PULLDATA_FLAG` CHAR(1) DEFAULT 'O', `DSR_BILLING_FLAG` CHAR(1) DEFAULT 'O', `WH_FLAG` CHAR(1) DEFAULT 'O', `ARCHIVE_FLAG` CHAR(1) NOT NULL DEFAULT 'O', `DSR_BOOKING_TYPE` INT(2) DEFAULT NULL, `DSR_BRANCH_CODE`