Re: Heavy contgnous load

From: "Kevin Grittner" <Kevin(dot)Grittner(at)wicourts(dot)gov>
To: "kzsolt" <kzsoltkzsolt(at)freemail(dot)hu>, <pgsql-performance(at)postgresql(dot)org>
Subject: Re: Heavy contgnous load
Date: 2011-10-18 20:40:26
Message-ID: 4E9D9DEA02000025000421E2@gw.wicourts.gov
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-performance

kzsolt <kzsoltkzsolt(at)freemail(dot)hu> wrote:

> I use pgr to store records. But the characterisitc of the record
> traffic are special. For example 50 of them arrived in one sec
> contignously trough weeks and aligned interally trough tables.
> To absorb this traffic I put the pgr database to ramdisk (fast as
> possible).

Could you just stream it to disk files on the ramdisk and COPY it in
to PostgreSQL in batches?

> But after more day work the pgr slowing down.

We'd need a lot more information to guess why.

> What is important think for this task I do not need any
> tranasction. So the COMMIT and ROLLBACK feature is useless.

Batching multiple inserts into a single transaction can *speed* data
loads.

> The question is how I minimize the rollback activity to free
> resoureces?

Rollback activity? What rollback activity? When you're doing what?
What is the exact message?

-Kevin

In response to

Responses

Browse pgsql-performance by date

  From Date Subject
Next Message Craig Ringer 2011-10-19 00:56:43 Re: Heavy contgnous load
Previous Message Kevin Grittner 2011-10-18 12:46:18 Re: Bad plan by Planner (Already resolved?)