Re: how to optimise query for 10+ millions records
Hi Azhar,
Questions are:
- are tables out_route and in_route indexed by 'value' column ?
- is there a constraint "NOT NULL" on the 'value' column in these tables ?
If no, then change the structure of these tables:
alter IGNORE table out_route add constraint PRIMARY KEY ( value ) ;
alter IGNORE table in_route add constraint PRIMARY KEY ( value ) ;
Subject
Views
Written By
Posted
3364
February 09, 2012 03:30AM
1866
February 09, 2012 05:31AM
1558
February 09, 2012 05:38AM
1440
February 09, 2012 05:58PM
1410
February 11, 2012 11:26PM
1679
February 12, 2012 10:12PM
Re: how to optimise query for 10+ millions records
1536
February 13, 2012 02:18PM
1736
February 14, 2012 02:33AM
1554
February 14, 2012 07:24AM
1554
February 15, 2012 07:30AM
2049
February 16, 2012 03:54AM
1441
February 17, 2012 01:20AM
1413
February 17, 2012 03:57PM
1695
February 17, 2012 05:12PM
1518
February 18, 2012 07:18AM
1530
February 21, 2012 03:25AM
1569
February 24, 2012 10:45AM
1506
February 20, 2012 02:21AM
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.