public inbox for [email protected]
help / color / mirror / Atom feedFrom: Tom Lane <[email protected]>
To: Mariel Cherkassky <[email protected]>
Cc: [email protected]
Subject: Re: postgresql 9.6 data directory fs becomes full
Date: Mon, 11 Sep 2017 08:02:28 -0400
Message-ID: <[email protected]> (raw)
In-Reply-To: <CA+t6e1=s49eVoYVhYAS56pBo=C1eFDa6HHbpt8-tnu00HZ_gnw@mail.gmail.com>
References: <CA+t6e1=s49eVoYVhYAS56pBo=C1eFDa6HHbpt8-tnu00HZ_gnw@mail.gmail.com>
List-Unsubscribe: <mailto:[email protected]?body=unsub%20pgsql-performance>
Mariel Cherkassky <[email protected]> writes:
> My app does the next things on 20 tables in a loop :
> 1.truncate table.
> 2.drop constraints on table
> 3.drop indexes on table
> 4.insert into local_table select * from remote_oracle_table
> 4.1.Recently I'm getting an error in this part : SQLERRM = could not extend
> file "base/16400/124810.23": wrote only 4096 of 8192 bytes at block
> 3092001
> 5.create constraints on table
> 6.create indexes on table.
Hm, are you committing anywhere in this loop? If not, the old data
remains on disk till you do end the transaction.
regards, tom lane
--
Sent via pgsql-performance mailing list ([email protected])
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgsql-performance
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: [email protected]
Cc: [email protected], [email protected]
Subject: Re: postgresql 9.6 data directory fs becomes full
In-Reply-To: <[email protected]>
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
This inbox is served by agora; see mirroring instructions
for how to clone and mirror all data and code used for this inbox