Questions tagged [seqscan]
2 questions
1
vote
1 answer
Greenplum/Postgres - Why not backward index scan?
I have this query running on Greenplum 6(Postgres 9.4) too slow as it performing a sequential scan. But I am thinking why it's not performing an index backward scan to fetch the records since there is an index on the same column.
explain analyse…
goodfella
- 589
- 4
- 14
0
votes
0 answers
Why does Postgresql use a Seq Scan on the first column of the PK?
This is my table:
CREATE TABLE IF NOT EXISTS public.ob_samples_sc5555 (
stamp timestamp(6) with time zone NOT NULL,
oblvl smallint NOT NULL,
olots integer NOT NULL,
CONSTRAINT prk_ob_samples_sc5555 PRIMARY KEY (stamp, oblvl)
);
This…
Leon
- 411
- 6
- 15