Re: Optimise PostgreSQL for fast testing

From: Pavel Stehule <pavel(dot)stehule(at)gmail(dot)com>
To: Dmytrii Nagirniak <dnagir(at)gmail(dot)com>
Cc: Jan Kesten <jan(at)dafuer(dot)de>, "pgsql-general(at)postgresql(dot)org" <pgsql-general(at)postgresql(dot)org>
Subject: Re: Optimise PostgreSQL for fast testing
Date: 2012-02-23 06:35:26
Message-ID: CAFj8pRA_wqjdAdPUm9WBVB8jk2bOYYvKzXuNiXkj7n+3p7+t6g@mail.gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

2012/2/23 Dmytrii Nagirniak <dnagir(at)gmail(dot)com>:
> On 23/02/2012, at 5:05 PM, Pavel Stehule wrote:
>
>> SQLite should be faster in single user test - it is optimized for this
>> purpose. So you cannot to get same speed from PostgreSQL
>
> That's unfortunate to hear.
> But hoped with a bit of tuning to get PG close to SQLite by the fact that I can change the settings in such a way so it runs more like a single user DB.

It depends on test queries and data set size - but with simple
queries and small dataset SQLite should be 2x - 10x faster than
PostgreSQL.

PostgreSQL is optimized for complex queries and multi user environment

Pavel

>
>

In response to

Browse pgsql-general by date

  From Date Subject
Next Message Marti Raudsepp 2012-02-23 08:35:28 Re: Optimise PostgreSQL for fast testing
Previous Message Dmytrii Nagirniak 2012-02-23 06:25:30 Re: Optimise PostgreSQL for fast testing