From: | Merlin Moncure <mmoncure(at)gmail(dot)com> |
---|---|
To: | "Mkrtchyan, Tigran" <tigran(dot)mkrtchyan(at)desy(dot)de> |
Cc: | Mark Kirkwood <mark(dot)kirkwood(at)catalyst(dot)net(dot)nz>, postgres performance list <pgsql-performance(at)postgresql(dot)org> |
Subject: | Re: postgres 9.3 vs. 9.4 |
Date: | 2014-09-23 14:21:13 |
Message-ID: | CAHyXU0yOfJ1mj2W0mBd==-hO260g8vtC7=-ptORnR2pfymShyA@mail.gmail.com |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Thread: | |
Lists: | pgsql-performance |
On Tue, Sep 23, 2014 at 7:58 AM, Mkrtchyan, Tigran
<tigran(dot)mkrtchyan(at)desy(dot)de> wrote:
> Hi Merlin,
>
> you are right, in 9.4 the debug_assertions are on:
>
> # /etc/init.d/postgresql-9.4 start
> Starting postgresql-9.4 service: [ OK ]
> # psql -U postgres
> psql (9.4beta2)
> Type "help" for help.
>
> postgres=# select name,setting from pg_settings where name='debug_assertions';
> name | setting
> ------------------+---------
> debug_assertions | on
> (1 row)
(plz try to not top-post).
That's not not really unexpected: 9.4 is still in beta. If you're
just doing raw performance testing consider building a postgres
instance from source (but, instead of compiling into /usr/local/bin,
I'd keep it all in private user folder for easy removal).
For example, if I downloaded the source into /home/mmoncure/pgdev/src,
i'd approximately do:
cd /home/mmoncure/pgdev/src
./configure --prefix=/home/mmoncure/pgdev
# if configure gripes about missing readline, go grab the
libreadline-dev rpm etc and repeat above
make -j4 && make install
export PATH=/home/mmoncure/pgdev/bin:$PATH
export PGDATA=/home/mmoncure/pgdev/data
# use C locale. may not be appropriate in your case
initdb --no-locale --encoding=UTF8
pg_ctl start
This should suffice any beta performance testing you need to do. When
9.4 proper comes out, just stop the database and kill the pgdev folder
(taking a backup first if you need to preserve stuff).
merlin
From | Date | Subject | |
---|---|---|---|
Next Message | Emi Lu | 2014-09-23 20:37:15 | Which update action quicker? |
Previous Message | David G Johnston | 2014-09-23 13:05:16 | Re: Slow query |