From: | Jan Kesten <jan(at)dafuer(dot)de> |
---|---|
To: | Dmytrii Nagirniak <dnagir(at)gmail(dot)com> |
Cc: | "pgsql-general(at)postgresql(dot)org" <pgsql-general(at)postgresql(dot)org> |
Subject: | Re: Optimise PostgreSQL for fast testing |
Date: | 2012-02-23 05:38:04 |
Message-ID: | C890871B-7744-409B-B1D3-4E56EA53CD63@dafuer.de |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Thread: | |
Lists: | pgsql-general |
Hi Dmytrii,
just as short idea, put "fsync = off" in your postgres.conf. That turns off that after a commit data is forcilby written to disk - if the database crashes there might be dataloss.
Von meinem iPhone gesendet
Am 23.02.2012 um 06:13 schrieb Dmytrii Nagirniak <dnagir(at)gmail(dot)com>:
> Hi guys,
>
> I wonder if you can suggest me how to speed-up PG when running specs.
> I asked it at SO here:
>
> http://stackoverflow.com/questions/9407442/optimise-postgresql-for-fast-testing
>
> But briefly. PG specs are >2x slower than SQLite.
> I want it to be on par (don't care about reliability or anything, just need fast specs).
>
> Would appreciate some suggestions.
>
> Cheers,
> Dmytrii Nagirniak
> http://ApproachE.com
From | Date | Subject | |
---|---|---|---|
Next Message | Dmytrii Nagirniak | 2012-02-23 06:02:38 | Re: Optimise PostgreSQL for fast testing |
Previous Message | Dmytrii Nagirniak | 2012-02-23 05:13:06 | Optimise PostgreSQL for fast testing |