There is not, after further investigation. There are these
4 indexes that involve id1, id2, and id3. Should I try creating an index on all three of the columns?
CREATE
INDEX IF NOT EXISTS idx_large_table_id1
ON public.large_table
USING btree
(id1 ASC NULLS LAST)
TABLESPACE pg_default;
CREATE
INDEX IF NOT EXISTS idx_large_table_id2
ON public.large_table USING btree
(id2 ASC NULLS LAST)
TABLESPACE pg_default;
CREATE
INDEX IF NOT EXISTS idx_large_table_id3
ON public.large_table USING btree
(id3 ASC NULLS LAST)
TABLESPACE pg_default;
CREATE
INDEX IF NOT EXISTS idx_large_table_id2_id3
ON public.large_table USING btree
(id2 ASC NULLS LAST, id3 ASC NULLS LAST)
TABLESPACE pg_default;
So an unlogged table would also be an appropriate solution?
--
Jeremiah |