From: | "Larry Rosenman" <lrosenman(at)pervasive(dot)com> |
---|---|
To: | "Javier de la Torre" <jatorre(at)gmail(dot)com>, "Leif B(dot) Kristensen" <leif(at)solumslekt(dot)org> |
Cc: | <pgsql-general(at)postgresql(dot)org> |
Subject: | Re: psql is slow and it does not take much resources |
Date: | 2006-05-03 14:46:50 |
Message-ID: | F6616E0E81AC0841B1F9DD252F7C4B55041A57@ausmaildd.aus.pervasive.com |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Thread: | |
Lists: | pgsql-general |
Javier de la Torre wrote:
> Yes,
>
> Thanks. I am doing this now...
>
> Is definetly faster, but I will also discover now if there is a limit
> in a transaction side... I am going to try to insert into one single
> transaction 60 million records in a table.
>
> In any case I still don't understand how why PostgreSQL was not taking
> resources before without the transaction. If it has to create a
> transaction per insert I understand it will have to do more things,
> but why is not taking all resources from the machine? I mean, why is
> it only taking 3% of them.
>
I'll bet your WAL disk is mostly WAIT-I/O, waiting for the WAL log
flushes at end of transaction.
LER
--
Larry Rosenman
Database Support Engineer
PERVASIVE SOFTWARE. INC.
12365B RIATA TRACE PKWY
3015
AUSTIN TX 78727-6531
Tel: 512.231.6173
Fax: 512.231.6597
Email: Larry(dot)Rosenman(at)pervasive(dot)com
Web: www.pervasive.com
From | Date | Subject | |
---|---|---|---|
Next Message | Martijn van Oosterhout | 2006-05-03 15:28:32 | Re: psql is slow and it does not take much resources |
Previous Message | Bruno Wolff III | 2006-05-03 14:45:32 | Re: database size grows (even after vacuum (full and analyze)).... |