Re: How to estimate size of a row and therefore how much progress this query has made - Mailing list pgsql-general

From Greg Stark
Subject Re: How to estimate size of a row and therefore how much progress this query has made
Date
Msg-id 87wukjqm82.fsf@stark.dyndns.tv
Whole thread Raw
In response to Re: How to estimate size of a row and therefore how much progress this query has made  (Tom Lane <tgl@sss.pgh.pa.us>)
List pgsql-general
Tom Lane <tgl@sss.pgh.pa.us> writes:

> > So far it's inserted quite a bit of data: [8.5 Gig]
>
> > I think it'll insert a total of 107,535,604 records.

Sorry, I found the problem. I was overflowing Emacs's integer datatype doing
my calculations for how many rows to expect. Postgres's analyze had the
correct answer. It's actually going to insert more than that, 375,971,060
records.

So that makes it 24G of data which won't fit on the partition.

I'll have to look for another way to do this.

Thanks again for your help.


--
greg

pgsql-general by date:

Previous
From: Tom Lane
Date:
Subject: Re: How to estimate size of a row and therefore how much progress this query has made
Next
From: Tom Lane
Date:
Subject: Re: gp_dump: error in finding the last system oid: ERROR: get_relation_info: Relation 1262 not found