pg.ddx.io  pgsql-admin@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Rohit Rajput <rht.rajput@yahoo.com>
To: pgsql-admin@lists.postgresql.org <pgsql-admin@lists.postgresql.org>
To: Sreejith P <sreejith@lifetrenz.com>
Subject: Re: Insert 1 million data
Date: Tue, 29 Dec 2020 07:36:16 +0000 (UTC)
Message-ID: <744185788.4252348.1609227376678@mail.yahoo.com> (raw)
In-Reply-To: <PS2PR02MB2837737F7152598B996A0CA0F3D80@PS2PR02MB2837.apcprd02.prod.outlook.com>
References: <PS2PR02MB2837737F7152598B996A0CA0F3D80@PS2PR02MB2837.apcprd02.prod.outlook.com>

 If you look at error, it clearly says that your WAL directory is full when you are loading your data. You should get more space added to your disk where you have placed your WAL files.
    On Tuesday, 29 December, 2020, 12:55:01 pm IST, Sreejith P <sreejith@lifetrenz.com> wrote:  
 
  <!--#yiv1428810664 _filtered {} _filtered {} _filtered {}#yiv1428810664 #yiv1428810664 p.yiv1428810664MsoNormal, #yiv1428810664 li.yiv1428810664MsoNormal, #yiv1428810664 div.yiv1428810664MsoNormal {margin:0cm;font-size:12.0pt;font-family:"Calibri", sans-serif;}#yiv1428810664 span.yiv1428810664EmailStyle17 {font-family:"Calibri", sans-serif;color:windowtext;}#yiv1428810664 .yiv1428810664MsoChpDefault {font-size:12.0pt;font-family:"Calibri", sans-serif;} _filtered {}#yiv1428810664 div.yiv1428810664WordSection1 {}-->
Getting below error while running a background job for inserting 1 Million records.
 
  
 
Can I get some help ?
 
  
 
cp: error writing '/BackupVolume/hisDbBackup/WALs/0000000200000AE6000000B9': No space left on device
 
2020-12-17 21:55:26 +04 [55822]: user=,db=,app=,client= LOG:  archive command failed with exit code 1
 
2020-12-17 21:55:26 +04 [55822]: user=,db=,app=,client= DETAIL:  The failed archive command was: test ! -f /BackupVolume/dbWALBack/WALs/0000000200000AE6000000B9 && cp pg_wal/0000000200000AE6000000B9 /BackupVolume/hisDbBackup/WALs/0000000200000AE6000000B9
 
  
 
2020-12-17 21:53:56 +04 [84225]: user=AstDBA,db=AST-PROD,app=[unknown],client=172.18.200.100 HINT:  In a moment you should be able to reconnect to the database and repeat your command.
 
2020-12-17 21:53:56 +04 [51102]: user=AstDBA,db=AST-PROD,app=[unknown],client=172.18.200.100 WARNING:  terminating connection because of crash of another server process
 
2020-12-17 21:53:56 +04 [51102]: user=AstDBA,db=AST-PROD,app=[unknown],client=172.18.200.100 DETAIL:  The postmaster has commanded this server process to roll back the current transaction and exit, because another server process exited abnormally and possibly corrupted shared memory.
 
  
 
  
 
2020-12-17 21:55:20 +04 [55808]: user=replicator,db=[unknown],app=[unknown],client=172.18.200.144 FATAL:  the database system is in recovery mode
 
  
 
  
 
2020-12-17 21:55:25 +04 [55828]: user=replicator,db=[unknown],app=walreceiver,client=172.18.200.148 ERROR:  requested starting point AEA/A2000000 is ahead of the WAL flush position of this server AEA/A1FFFA50
 
2020-12-17 21:55:25 +04 [55827]: user=replicator,db=[unknown],app=walreceiver,client=172.18.200.147 ERROR:  requested starting point AEA/A2000000 is ahead of the WAL flush position of this server AEA/A1FFFA50
 
2020-12-17 21:55:25 +04 [55829]: user=replicator,db=[unknown],app=walreceiver,client=172.18.200.145 ERROR:  requested starting point AEA/A2000000 is ahead of the WAL flush position of this server AEA/A1FFFA50
 
2020-12-17 21:55:25 +04 [55830]: user=replicator,db=[unknown],app=walreceiver,client=172.18.200.146 ERROR:  requested starting point AEA/A2000000 is ahead of the WAL flush position of this server AEA/A1FFFA50
 
2020-12-17 21:55:25 +04 [55831]: user=replicator,db=[unknown],app=walreceiver,client=172.18.200.144 ERROR:  requested starting point AEA/A2000000 is ahead of the WAL flush position of this server AEA/A1FFFA50
 
  
 
Thanks
 
Sreejith
 
  
 
  
 



 

Solutions for Care Anywhere
dWise HealthCare IT Solutions Pvt. Ltd. | www.lifetrenz.com
Disclaimer: The information and attachments contained in this email are intended for exclusive use of the addressee(s) and may contain confidential or privileged information. If you are not the intended recipient, please notify the sender immediately and destroy all copies of this message and any attachments. The views expressed in this email are, unless otherwise stated, those of the author and not those of dWise HealthCare IT Solutions or its management.  

view thread (4+ messages)  latest in thread

Message-ID: <744185788.4252348.1609227376678@mail.yahoo.com>
Permalink:  ../744185788.4252348.1609227376678@mail.yahoo.com/
Also on:    postgresql.org/message-id/744185788.4252348.1609227376678@mail.yahoo.com

 · 

reply

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Reply to all the recipients using the --to and --cc options:
  reply via email

  To: pgsql-admin@postgresql.org
  Cc: rht.rajput@yahoo.com, pgsql-admin@lists.postgresql.org, sreejith@lifetrenz.com
  Subject: Re: Insert 1 million data
  In-Reply-To: <744185788.4252348.1609227376678@mail.yahoo.com>

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

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