pg.ddx.io  pgsql-jdbc@postgresql.org mailing list archive  
help / color / mirror / Atom feed
Re: Query about postgresql.conf property file
2+ messages / 2 participants
[nested] [flat]

* Re: Query about postgresql.conf property file
@ 2017-01-16 18:18 TANWEER ALAM <tanweer76.alam@gmail.com>
  2017-01-16 18:34 ` Re: Query about postgresql.conf property file Tom Lane <tgl@sss.pgh.pa.us>
  0 siblings, 1 reply; 2+ messages in thread

From: TANWEER ALAM @ 2017-01-16 18:18 UTC (permalink / raw)
  To: pgsql-jdbc

Hi,

I would really appreciate if you can respond about my below query:-

1. Currently I am upgrading postgres version from 9.3 to 9.5 and it seems
we can upgrade to 9.5        without much issue. After some workaround,
everything came up  which contains                           postgresql 9.5

2. The DB install and configuration went ok, but it couldn’t start properly
as there is one line in      /opt/postgres/9.5/data which is not accepted
somehow. It said “unrecognized
 configuration”. After commenting out this line all services got started
and UI came up.
     checkpoint_segments = 9   # in logfile segments, min 1, 16MB each

3. After some preliminary analysis and it seems this configurations is
deprecated in 9.5 and              should be replaced with something else --
https://github.com/gregs1104/pgtune/issues/21

4. After some more findings. it seems that the parameter
checkpoint_segments is gone, and          has been replaced by min_wal_size
and max_wal_size.

So if the above configuration is deprecated in 9.5 then why this property
comes as enabled with 9.5 is it a bug?
Secondly if we go ahead by commenting this property then any major impact
from DB perspective?

Need your suggestions if any.

Response appreciated !

Regards,
Tanweer

^ permalink  raw  reply  [nested|flat] 2+ messages in thread

* Re: Query about postgresql.conf property file
  2017-01-16 18:18 Re: Query about postgresql.conf property file TANWEER ALAM <tanweer76.alam@gmail.com>
@ 2017-01-16 18:34 ` Tom Lane <tgl@sss.pgh.pa.us>
  0 siblings, 0 replies; 2+ messages in thread

From: Tom Lane @ 2017-01-16 18:34 UTC (permalink / raw)
  To: TANWEER ALAM <tanweer76.alam@gmail.com>; +Cc: pgsql-jdbc

[ this doesn't seem especially on-topic for pgsql-jdbc, but whatever ... ]

TANWEER ALAM <tanweer76.alam@gmail.com> writes:
> 4. After some more findings. it seems that the parameter
> checkpoint_segments is gone, and          has been replaced by min_wal_size
> and max_wal_size.

Indeed, it's gone in 9.5.

> So if the above configuration is deprecated in 9.5 then why this property
> comes as enabled with 9.5 is it a bug?

There is no reference to checkpoint_segments in the postgresql.conf that
9.5 initdb installs.  You must have overwritten that with your
configuration file from your older installation, or modified it with some
tuning tool that hasn't been updated for 9.5.

			regards, tom lane


-- 
Sent via pgsql-jdbc mailing list (pgsql-jdbc@postgresql.org)
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgsql-jdbc



^ permalink  raw  reply  [nested|flat] 2+ messages in thread


end of thread, other threads:[~2017-01-16 18:34 UTC | newest]

Thread overview: 2+ messages (download: mbox mbox.gz follow: Atom feed)
-- links below jump to the message on this page --
2017-01-16 18:18 Re: Query about postgresql.conf property file TANWEER ALAM <tanweer76.alam@gmail.com>
2017-01-16 18:34 ` Tom Lane <tgl@sss.pgh.pa.us>

This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox