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
2688
May 26, 2016 02:29PM
1209
May 26, 2016 03:53PM
1061
May 27, 2016 12:45AM
Re: Index Not being used.
1079
May 31, 2016 07:04AM
976
June 01, 2016 05:40AM
779
June 01, 2016 11:29AM
1003
June 01, 2016 11:41AM
935
June 04, 2016 05:14PM
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.