create table T (
x integer,
y integer,
);
create index Ti on T(x,y);
insert into t
select i/1000 as x, mod(i,1000) as y
from Integers where i < 1000000
select * from T
where x = 1 and y = x+1
What is the best access path? How do you influence it if optimizerd
didn't find it by default?
x integer,
y integer,
);
create index Ti on T(x,y);
insert into t
select i/1000 as x, mod(i,1000) as y
from Integers where i < 1000000
select * from T
where x = 1 and y = x+1
What is the best access path? How do you influence it if optimizerd
didn't find it by default?
Comment