Re: [GENERAL] Would like to below scenario is possible for getting page/block corruption

2016-12-08 Thread Sreekanth Palluru
Correcting typos Michael, Thanks for your prompt reply In my environment those two parameters are enabled . Just give you brief of PG database envornment Version 9.2.4.1 Windows 7 Professional SP1 fsync=on full_page_writes=on wal_sync_method=open_datasync My Customer is into building Cancer relat

Re: [GENERAL] Would like to below scenario is possible for getting page/block corruption

2016-12-08 Thread Sreekanth Palluru
Michael, Thanks for your prompt reply In my environment those two parameters are enabled . Just give you brief of PG database envornment Version 9.2.4.1 Windows 7 Professional SP1 fsync=on full_page_writes=on wal_sync_method=open_datasync My Customer is into building Cancer related systems and we

Re: [GENERAL] Would like to below scenario is possible for getting page/block corruption

2016-12-08 Thread Michael Paquier
(Please top-post that's annoying) On Fri, Dec 9, 2016 at 10:28 AM, Sreekanth Palluru wrote: > Can I generalize that, if after step 4) page ( new page or old page) got > written disk from buffer and crash happens between step 4) and 5) we > always get > block corruption issues with Postgres wh

Re: [GENERAL] Would like to below scenario is possible for getting page/block corruption

2016-12-08 Thread Sreekanth Palluru
Michael, Can I generalize that, if after step 4) page ( new page or old page) got written disk from buffer and crash happens between step 4) and 5) we always get block corruption issues with Postgres which can only be recovered by setting zero_damaged_pages if we just have pg_dump backups and w

Re: [GENERAL] Would like to below scenario is possible for getting page/block corruption

2016-12-08 Thread Michael Paquier
On Fri, Dec 9, 2016 at 9:46 AM, Sreekanth Palluru wrote: > Hi , > I am working on page corruption issue want to know if below scenario is > possible > > 1) Insert command from client , I understand heap_insert is called from > heampam.c > 2) Let us say table is full and relation is extended and a

[GENERAL] Would like to below scenario is possible for getting page/block corruption

2016-12-08 Thread Sreekanth Palluru
Hi , I am working on page corruption issue want to know if below scenario is possible 1) Insert command from client , I understand heap_insert is called from heampam.c 2) Let us say table is full and relation is extended and added a new block 3) Tuple is inserted into new page for the block Relat