Disable single index instead of all indexes
Posted by:
Ra Nala
Date: February 12, 2016 01:26AM
Hi,
I am loading millions of records using one of the ETL tool as KETTLE. here is there any possibility to disable single index instead on all indexes in one table.
I am aware of below syntax to disable indexes but want to disable only one index. why because if i disable all indexes my ETL will die at comparisons on another column indexing.
1. SET unique_checks = 0;
2. ALTER TABLE `table_name` DISABLE KEYS;
Example : select e1.empname,e2.price from employee e1, employee_sal e2 where e1.id=e2.id
let us assume i have index on empname as well then if i apply above syntax then i will be in trouble am i correct ? why because i am retrieving millions of records using on id column as well
Thanks,
Ra na la
Subject
Views
Written By
Posted
Disable single index instead of all indexes
4415
February 12, 2016 01:26AM
1487
February 12, 2016 09:48AM
1468
February 15, 2016 06:24AM
1380
February 15, 2016 10:47AM
1393
February 15, 2016 11:17AM
1216
February 16, 2016 05:51PM
1167
February 16, 2016 11:39PM
1372
February 18, 2016 05:34AM
1085
February 20, 2016 12:00AM
987
March 15, 2016 09:40AM
1047
March 15, 2016 08:16PM
959
March 16, 2016 12:33AM
1052
March 16, 2016 05:04PM
1089
March 28, 2016 03:15AM
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.