[GENERAL] bloat indexes - opinion - Mailing list pgsql-general

From Patrick B
Subject [GENERAL] bloat indexes - opinion
Date
Msg-id CAJNY3iuqLjsBotLM+cGR8+WvvxLNirLaBOz-9A3ACqTrWfn-gQ@mail.gmail.com
Whole thread Raw
Responses Re: [GENERAL] bloat indexes - opinion  (Adrian Klaver <adrian.klaver@aklaver.com>)
Re: [GENERAL] bloat indexes - opinion  (Jeff Janes <jeff.janes@gmail.com>)
List pgsql-general
Hi guys,

I've got a lot of bloat indexes on my 4TB database.

Let's take this example:
Table: seg
Index: ix_filter_by_tree
Times_used: 1018082183
Table_size: 18 GB -- wrong. The table is mostly on pg_toast table. Its real size is 2TB
Index_size: 17 GB
Num_writes 16245023
Index definition: CREATE INDEX ix_filter_by_tree ON seg USING btree (full_path varchar_pattern_ops) WHERE (full_path IS NOT NULL)


What is the real impact of a bloat index? If I reindex it, queries will be faster?

Thanks
Patrick

pgsql-general by date:

Previous
From: "David G. Johnston"
Date:
Subject: Re: [GENERAL] NOTIFY command impact
Next
From: Job
Date:
Subject: R: [GENERAL] Search on very big (partitioned) table