Re: Postgres vr.s MySQL- style differences? - Mailing list pgsql-advocacy

From Lukas Kahwe Smith
Subject Re: Postgres vr.s MySQL- style differences?
Date
Msg-id 465B2E2F.3030605@pooteeweet.org
Whole thread Raw
In response to Postgres vr.s MySQL- style differences?  (Brian Hurt <bhurt@janestcapital.com>)
List pgsql-advocacy
Brian Hurt wrote:

>
> Take, for example, inserting large numbers of records into a table.  As
> someone who was raised on Postgres (so to speak), when loading large
> numbers (more than 10 or so) records into a table I immediate start
> reaching for a copy command.  And our code base is littered with copies-
> from simple programs that given a CSV file and a table name burst-load a
> table, to complicated libraries that use multithreaded queues and switch
> between copies and transactional inserts depending upon how much data
> needs to be copied.  But someone used to MySQL would just start firing
> off lone, non-transactional insert statements, and their code base
> wouldn't contain such programs or libraries.

Just to make sure that nobody gets confused here. MySQL has LODA DATA
INFILE as their COPY alternative, which performs marvelously.

regards,
Lukas

pgsql-advocacy by date:

Previous
From: Andrew Sullivan
Date:
Subject: Re: Postgres vr.s MySQL- style differences?
Next
From: Lukas Kahwe Smith
Date:
Subject: Re: Postgres vr.s MySQL- style differences?