Re: constant crashing

From: Adrian Klaver <adrian(dot)klaver(at)aklaver(dot)com>
To: jack <jack4pg(at)a7q(dot)com>, "pgsql-general(at)lists(dot)postgresql(dot)org" <pgsql-general(at)lists(dot)postgresql(dot)org>
Subject: Re: constant crashing
Date: 2024-04-14 14:58:18
Message-ID: 6f56cb2b-cda0-47b1-a412-719265fd75b9@aklaver.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

On 4/14/24 07:24, jack wrote:
> Hello,
> I am trying to load about 1.4 billion records into a postgresql table.
> The data is in about 100 individual CSV files which I load individually
> into the table using the COPY command.
> After the data is loaded I perform updates to the data, and this is when
> I get errors. Some updates work, some crash.
> I am using psql and an SQL script file (update.sql) to perform the
> updating (UPDATE table SET field=UPPER(field), etc.).
>
> The errors are all "Server closed the connection unexpectedly"
>

> I have been working on this for just over 1 year now, documenting every
> step, and I am still unable to get this to work without it crashing
> somewhere along the way.
> I am beginning to wonder if postgreSQL is bi-polar.

More information needed, to start:

1) Complete example of the code in the script.

2) Table definition(s) of those being copied into.

3) Sample of the data being copied.

4) The error message(s) generated.

5) Database locale

>
> Any help would be greatly appreciated.
> Thank you

--
Adrian Klaver
adrian(dot)klaver(at)aklaver(dot)com

In response to

Browse pgsql-general by date

  From Date Subject
Next Message Tom Lane 2024-04-14 15:05:57 Re: constant crashing
Previous Message jack 2024-04-14 14:24:44 constant crashing