Re: Index Not being used.
All fields are from the pos_ord_lines table. The ORD_Date where clause uses the pos_ord_headers table. When you think of the tables there is a header table that is order header containing ord_id, ord_date, ord_merch, ord_discount, ord_tax and then the pos_ord_lines can have multiple items on each order. The system has 4 GB of RAM. I have tried with and without the FORCE INDEX. With is returns 5,134,336 rows and without it doesn't use the index and returns 19,000,000 rows from header. Either way it times out after 600 seconds. This table is updated multiple times daily by various clients running end of day and transmitting this information. It isn't so much a data warehouse as I understand the definition.
Subject
Views
Written By
Posted
2946
May 26, 2016 02:29PM
1341
May 26, 2016 03:53PM
1172
May 27, 2016 12:45AM
1092
May 27, 2016 07:05AM
1092
May 27, 2016 11:29PM
Re: Index Not being used.
1204
May 31, 2016 07:04AM
1039
May 31, 2016 09:26PM
1103
June 01, 2016 05:40AM
907
June 01, 2016 11:29AM
1147
June 01, 2016 11:41AM
1084
June 04, 2016 05:14PM
1095
May 27, 2016 10:14AM
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.