Re: Data Warehouse Reevaluation - MySQL vs Postgres -- - Mailing list pgsql-performance

From Christopher Kings-Lynne
Subject Re: Data Warehouse Reevaluation - MySQL vs Postgres --
Date
Msg-id 41491690.6030901@familyhealth.com.au
Whole thread Raw
In response to Re: Data Warehouse Reevaluation - MySQL vs Postgres --  (Mischa Sandberg <ischamay.andbergsay@activestateway.com>)
List pgsql-performance
>> insert into X
>>   select a.keyA,
>>          a.keyB,
>>      a.colA,
>>      a.colB
>>   from Y a left join X b
>>        using (keyA, keyB)
>>   where b.keyA is NULL and
>>         b.keyB is NULL;
>>
>> With the appropriate indexes, this is pretty fast but I think a merge
>> would be much faster.

Problem is it's subject to race conditions if another process is
inserting stuff at the same time...

Chris

pgsql-performance by date:

Previous
From: Mischa Sandberg
Date:
Subject: Re: Data Warehouse Reevaluation - MySQL vs Postgres --
Next
From: "Iain"
Date:
Subject: Re: Data Warehouse Reevaluation - MySQL vs Postgres --