Re: Help with insert query

From: Ron <ronljohnsonjr(at)gmail(dot)com>
To: pgsql-general(at)lists(dot)postgresql(dot)org
Subject: Re: Help with insert query
Date: 2019-04-01 19:22:17
Message-ID: f04318d9-4c68-92ca-437e-b3c654a18b5d@gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

On 4/1/19 12:37 PM, Glenn Schultz wrote:
> All,
>
> The query below is designed to insert into a table.  This works when I
> have a single loan which I insert. However, if remove the part of the
> where clause of a single loan the insert does not work.  The table fnmloan
> is a large table with 500mm + rows and the query runs for about 4 hours.
> Any idea of how to get this to work?  I am a little stumped since the
> query works with one loan.

Following up to Michael's answer... 500MM rows in 4 hours is an insert rate
of 34,722.222... records per second.

--
Angular momentum makes the world go 'round.

In response to

Browse pgsql-general by date

  From Date Subject
Next Message Foo Bar 2019-04-01 19:44:23 Re: WAL Archive Cleanup?
Previous Message preejackie 2019-04-01 19:21:51 New LLVM JIT Features