Re: Can postgresql ignore DST ?

2017-12-16 Thread Venkata B Nagothi
On Fri, Dec 15, 2017 at 6:21 PM, Laurenz Albe wrote: > Venkata B Nagothi wrote: > > > > We have Timezone configured to Australia/Sydney, we can change that > to 11 and do we need to foresee any issues ? > > > > > > That configuration parameter defines how the client will format > > > timestamps t

Re: How to see index was rejected for seq scan?

2017-12-16 Thread Corey Taylor
> But for simple queries, you might get some insight if you set > enable_seqscan to off. Then the planner will give you an index-using > plan if it is at all possible. Then you can compare the costs. If the > planner still gives you a sequential scan, then the index was not > applicable for othe

Re: User-defined print format for extension-defined types in psql output

2017-12-16 Thread Peter Devoy
Thanks Laurenz.

Re: PgBackRest question?

2017-12-16 Thread Stephen Frost
Greetings, * chiru r (chir...@gmail.com) wrote: > Please help me on below recovery scenario, if any one is using pgBackRest. David answered your questions here: https://www.postgresql.org/message-id/e252cb30-9707-3801-f688-75dd2cde4819%40pgmasters.net I suggest you review/reply to that if you h

Re: PgBackRest question?

2017-12-16 Thread chiru r
Please help me on below recovery scenario, if any one is using pgBackRest. On Fri, Dec 15, 2017 at 4:36 PM, chiru r wrote: > Hi All, > > Thanks,I am thinking about a specific recovery case. > > Lets assume Heavy transactional system we configured. > It is generating WAL 2000/hr and recycling aut

Re: How to see index was rejected for seq scan?

2017-12-16 Thread Peter Eisentraut
On 12/16/17 04:03, Corey Taylor wrote: > Essentially, if an index was deemed not to save cost during the input > scan, the planner will schedule a seq scan.  What I'm wondering if there > is anything that indicates a valid index for the scan was found and > rejected (reason doesn't necessarily matt

RE: pgstattuple free_percent to high

2017-12-16 Thread Alessandro Aste
Stephen, Rene - Thanks! Our experience teach us that above 20% of free space performance start to seriously deteriorate. I'm not sure if this is related to index or table fragmentation. We'll do our homework and we'll try to discover more. However we have identified a process potentially caus

Re: PgBackRest question?

2017-12-16 Thread David Steele
On 12/15/17 4:36 PM, chiru r wrote: > > Thanks,I am thinking about a specific recovery case. > > Lets assume Heavy transactional system we configured. > It is generating WAL 2000/hr and recycling automatically in pg_wal > directory.  > > QA : > > Sunday -- 11 PM  -- Full backup done. > Monday -

How to see index was rejected for seq scan?

2017-12-16 Thread Corey Taylor
This isn't meant to be a question about improving a slow query or determining that the planner was wrong. It seems like a simple and obvious answer, but I would love to know if there is any documentation you can point me to read on this. Essentially, if an index was deemed not to save cost during