Optimization of select statements for non-indexed fields in oracle data

SELECT FROM order table WHERE order date | | order time < = "20180725180000"AND type =" "AND status =" "AND ROWNUM < *;
how to optimize the sql to speed up the query efficiency.

Mar.30,2021

create an index on the order date

The

sql statement is modified slightly:

select *
from (
    SELECT * FROM  WHERE  < '20180726' AND = '' AND  = ''
)
where  < '20180725' or ( = '20180725' and  <= '180000')
and rownum < 10

other aspects can only be considered from the hardware point of view, put the data files corresponding to the order table on the SSD hard drive.

Menu