Re: Yet one more stupid question

From: Ron Johnson <ron(dot)l(dot)johnson(at)cox(dot)net>
To: Dmitri Touretsky <dmitri(at)listsoft(dot)ru>
Cc: PgSQL Novice ML <pgsql-novice(at)postgresql(dot)org>
Subject: Re: Yet one more stupid question
Date: 2002-12-05 05:33:56
Message-ID: 1039066435.11433.9.camel@haggis
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-novice

On Wed, 2002-12-04 at 18:29, Dmitri Touretsky wrote:
> Good time of the day!
>
> >> But I have an extended question: is there a cost-effective (in terms
> >> of performance) way to add record to a large table? I don't need
> >> indexing or such - just to add some data, e.g., a log record. Currently
> >> I insert records into small table, than at night run a batch which is
> >> moving added records from small table to the large one. Trying to add
> >> records to large table "on the fly" causes noticable performance
> >> degradation, but would be desirable if it's possible...
>
> RJ> Slowdown when inserting into a high-tuple table vs. a low-tuple
> RJ> table?
>
> Yes. And the difference is pretty big... Or I misunderstood your
> question?

When the table had 1,000 rows in it, inserting was faster than now
that it has 20M records? Sounds like you understood me...

I've done the same thing and didn't notice all that much of a drop-
off in speed. (IDE drive using the EXT3 filesystem.)

--
+------------------------------------------------------------+
| Ron Johnson, Jr. mailto:ron(dot)l(dot)johnson(at)cox(dot)net |
| Jefferson, LA USA http://members.cox.net/ron.l.johnson |
| |
| "they love our milk and honey, but preach about another |
| way of living" |
| Merle Haggard, "The Fighting Side Of Me" |
+------------------------------------------------------------+

In response to

Responses

Browse pgsql-novice by date

  From Date Subject
Next Message Dmitri Touretsky 2002-12-05 06:13:46 Re: Yet one more stupid question
Previous Message hodges 2002-12-05 03:29:07 pg_hba.conf file