Re: Performance difference in accessing differrent columns in a Postgres Table

2018-09-04 Thread Dinesh Kumar
Hi All, I was wondering whether the case is solved or still continuing. As a Postgres newbie, I can't understand any of the terms (JIT, tuple deformation) as you mentioned above. Please anyone let me know , what is the current scenario. Thanks, Dineshkumar. On Wed, Aug 1, 2018 at 8:51 PM Jeff Jan

Re: Query is slow when run for first time; subsequent execution is fast

2018-09-04 Thread Jeff Janes
On Tue, Sep 4, 2018 at 3:16 AM jimmy wrote: > On windows, how to put an entry in my db startup script to run this query > (pg_prewarm) immediately after startng the server, and let the query warm > the cache itself. > Starting with PostgreSQL version 11 (to be released soon), you can use pg_pre

Re: Inconsistent query times and spiky CPU with GIN tsvector search

2018-09-04 Thread Laurenz Albe
Scott Rankin wrote: > We are running postgresql 9.4 and we have a table where we do some > full-text searching using a GIN index on a tsvector column: > > CREATE INDEX location_search_tsvector_idx > ON public.location_search USING gin > (search_field_tsvector) > TABLESPACE pg_default;

Inconsistent query times and spiky CPU with GIN tsvector search

2018-09-04 Thread Scott Rankin
Hello all, We are running postgresql 9.4 and we have a table where we do some full-text searching using a GIN index on a tsvector column: CREATE TABLE public.location_search ( id bigint NOT NULL DEFAULT nextval('location_search_id_seq'::regclass), … search_field_tsvector tsvector )

RE: Query is slow when run for first time; subsequent execution is fast

2018-09-04 Thread jimmy
On windows, how to put an entry in my db startup script to run this query (pg_prewarm) immediately after startng the server, and let the query warm the cache itself. After starting the server, I want to know what is the server, and it is the database I restarted or windows system? Thank you.