From: Ron <ronljohnsonjr@gmail.com>
To: pgsql-general@lists.postgresql.org
Subject: Re: Help with insert query
Date: Mon, 1 Apr 2019 14:22:17 -0500
Message-ID: <f04318d9-4c68-92ca-437e-b3c654a18b5d@gmail.com> (raw)
In-Reply-To: <CAE-4=KHPQeJJDADn9SFjVC_AdayA+t_zc9ENTaxbPn36v2r-aQ@mail.gmail.com>
References: <CAE-4=KHPQeJJDADn9SFjVC_AdayA+t_zc9ENTaxbPn36v2r-aQ@mail.gmail.com>
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.
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 from your mail client; the link fills in
the headers below: reply via email
Some clients, webmail especially, drop In-Reply-To and References from
a link, and the reply then starts a new thread: use the mbox below.
To: pgsql-general@postgresql.org
Cc: ronljohnsonjr@gmail.com
Subject: Re: Help with insert query
In-Reply-To: <f04318d9-4c68-92ca-437e-b3c654a18b5d@gmail.com>
References: <CAE-4=KHPQeJJDADn9SFjVC_AdayA+t_zc9ENTaxbPn36v2r-aQ@mail.gmail.com> <f04318d9-4c68-92ca-437e-b3c654a18b5d@gmail.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