Re: Table not using tsvector gin index and performance much worse than when it uses it.

From: rverghese <riyav(at)hotmail(dot)com>
To: pgsql-performance(at)postgresql(dot)org
Subject: Re: Table not using tsvector gin index and performance much worse than when it uses it.
Date: 2017-04-05 23:54:00
Message-ID: 1491436440096-5954503.post@n3.nabble.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-performance

Thanks for the response!

* We are on version 9.5.6

* Less than 10% of the table was updated today (between the time of the last
reindex to when performance deteriorated)

* autovacuum is on. I don't see an autoanalyze property in config but these
are the settings for analyze
/autovacuum_analyze_threshold = 3000 # min number of row updates before
analyze
#autovacuum_vacuum_scale_factor = 0.2 # fraction of table size before
vacuum
#autovacuum_analyze_scale_factor = 0.1 # fraction of table size before
analyze
#autovacuum_freeze_max_age = 200000000 # maximum XID age before forced
vacuum
# (change requires restart)/

* And this #gin_pending_list_limit = 4MB

* gin_clean_pending_list() is not available.

Will play with gin_pending_list_limit and see what that does.

Thanks!
RV

--
View this message in context: http://www.postgresql-archive.org/Table-not-using-tsvector-gin-index-and-performance-much-worse-than-when-it-uses-it-tp5954485p5954503.html
Sent from the PostgreSQL - performance mailing list archive at Nabble.com.

In response to

Responses

Browse pgsql-performance by date

  From Date Subject
Next Message Sfiligoi, Igor 2017-04-06 00:09:28 Re: -EXT-Re: Table not using tsvector gin index and performance much worse than when it uses it.
Previous Message Tom Lane 2017-04-05 23:19:57 Re: Table not using tsvector gin index and performance much worse than when it uses it.