Re: Query Tuning for NOT EQUAL TO <> operator
Posted by:
Vlad Pilly
Date: January 19, 2011 11:33AM
you must add index for column ip
ALTER TABLE log_count
ADD INDEX IX_log_count_ip (ip);
ALTER TABLE log_count_arch
ADD INDEX IX_log_count_arch_ip (ip)
After that, look at the result of EXPLAIN.
__
MySQL forever!
Edited 1 time(s). Last edit at 01/19/2011 11:47AM by Vlad Pilly.
Subject
Views
Written By
Posted
10770
October 22, 2010 07:42AM
2504
October 26, 2010 10:40PM
2172
October 31, 2010 01:50PM
3637
November 02, 2010 02:21PM
Re: Query Tuning for NOT EQUAL TO <> operator
2584
January 19, 2011 11:33AM
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.