Thanks dieter & Raj,
Just to elaborate more ,mentioning below the example-->
Create table Orders
(orderid number NOT NULL,
order_yr_mon integer ,
order name varchar(100),
city varchar(100)
)
primary index (orderid)
PARTITION BY RANGE_N(Order_year_mon BETWEEN DATE '2009-12-06' AND DATE '2020-12-31' EACH INTERVAL '1' month);
Now if users query like this
Select * from Order where order_year_mon ='201207' (with out order id)
so my question is would this query would give the partiton elimination or as efficient if in case users query with orderid and order_year_mon both?
As users are insisting that they will query with order_year_mon only. .
Your comments on above pls.
thanks!
cheers!
Thanks dieter & Raj,
Just to elaborate more ,mentioning below the example-->
Create table Orders
(orderid number NOT NULL,
order_yr_mon integer ,
order name varchar(100),
city varchar(100)
)
primary index (orderid)
PARTITION BY RANGE_N(Order_year_mon BETWEEN DATE '2009-12-06' AND DATE '2020-12-31' EACH INTERVAL '1' month);
Now if users query like this
Select * from Order where order_year_mon ='201207' (with out order id)
so my question is would this query would give the partiton elimination or as efficient if in case users query with orderid and order_year_mon both?
As users are insisting that they will query with order_year_mon only. .
Your comments on above pls.
thanks!
cheers!