Re: [PERFORM] Can't get Dell PE T420 (Perc H710) perform better than a MacMini with PostgreSQL

2015-04-02 Thread Aidan Van Dyk
On Thu, Apr 2, 2015 at 6:33 AM, Pietro Pugni pietro.pu...@gmail.com wrote: *T420* work_mem = 512MB *MacMini* work_mem = 32MB So that is why the T420 does memory sorts and the mini does disk sorts. I'd start looking at why memory sorts on the T420 is so slow. Check your numa settings,

Re: [PERFORM] Can't get Dell PE T420 (Perc H710) perform better than a MacMini with PostgreSQL

2015-04-02 Thread Aidan Van Dyk
On Thu, Apr 2, 2015 at 9:23 AM, Pietro Pugni pietro.pu...@gmail.com wrote: the command dmesg | grep -i numa doesn’t display me anything. I think T420 hasn’t NUMA on it. Is there a way to enable it from Ubuntu? I don’t have immediate access to BIOS (server is in another location). NUMA

Re: [PERFORM] Can't get Dell PE T420 (Perc H710) perform better than a MacMini with PostgreSQL

2015-04-01 Thread Aidan Van Dyk
On Wed, Apr 1, 2015 at 9:56 AM, Pietro Pugni pietro.pu...@gmail.com wrote: *Now let’s propose some query profiling times.* B type set are transactions, so it's impossible for me to post EXPLAIN ANALYZE results. I've extracted two querys from a single transactions and executed the twos on

Re: [PERFORM] Tablespaces on a raid configuration

2012-03-31 Thread Aidan Van Dyk
record, seeks somewhere else to read something, etc. Or, if you put WAL on a journalled FS, even if it's on dedicated spindles ;-) a. -- Aidan Van Dyk                                             Create like a god, ai...@highrise.ca                                       command like a king, http

Re: [PERFORM] Response time increases over time

2011-12-07 Thread Aidan Van Dyk
... a. -- Aidan Van Dyk                                             Create like a god, ai...@highrise.ca                                       command like a king, http://www.highrise.ca/                                   work like a slave. -- Sent via pgsql-performance mailing list (pgsql

Re: [PERFORM] query uses index but takes too much time?

2011-11-24 Thread Aidan Van Dyk
wasn't 100% utilized? a. -- Aidan Van Dyk                                             Create like a god, ai...@highrise.ca                                       command like a king, http://www.highrise.ca/                                   work like a slave. -- Sent via pgsql-performance mailing

Re: [PERFORM] Performance question 83 GB Table 150 million rows, distinct select

2011-11-17 Thread Aidan Van Dyk
(depending on insert/update/delete patterns coupled with query types) a. -- Aidan Van Dyk                                             Create like a god, ai...@highrise.ca                                       command like a king, http://www.highrise.ca/                                   work like a slave

Re: [PERFORM] What's the state of postgresql on ext4 now?

2011-11-15 Thread Aidan Van Dyk
, are you getting to the point of migrating large XFS filesystems to ext4 for production databases yet? Or at least using ext4 in new large-scale filesystems for PG? a. -- Aidan Van Dyk                                             Create like a god, ai...@highrise.ca

Re: [PERFORM] Raid 5 vs Raid 10 Benchmarks Using bonnie++

2011-09-12 Thread Aidan Van Dyk
the battery is failing... of course, it's going to start screaming and send all your monitoring alarms off (you're monitoring that, right?), but have you thought to make sure that your FS is remounted with barriers at the first sign of battery trouble? a. -- Aidan Van Dyk

Re: [PERFORM] Raid 5 vs Raid 10 Benchmarks Using bonnie++

2011-09-12 Thread Aidan Van Dyk
details in the future, so keep up on the filesystem details of whatever you're using... So keep doing burn-ins, with real pull-the-cord tests... They can't prove it's 100% safe, but they can quickly prove when it's not ;-) a. -- Aidan Van Dyk                                             Create like

Re: [PERFORM] Raid 5 vs Raid 10 Benchmarks Using bonnie++

2011-08-18 Thread Aidan Van Dyk
that correctly for you automatically. a. -- Aidan Van Dyk                                             Create like a god, ai...@highrise.ca                                       command like a king, http://www.highrise.ca/                                   work like a slave. -- Sent via pgsql

Re: [PERFORM] DBT-5 Postgres 9.0.3

2011-08-17 Thread Aidan Van Dyk
postgres (server and psql) using the source default of /tmp? a. -- Aidan Van Dyk                                             Create like a god, ai...@highrise.ca                                       command like a king, http://www.highrise.ca/                                   work like a slave

Re: [PERFORM] BBU Cache vs. spindles

2010-10-29 Thread Aidan Van Dyk
for the kernel to setup the mappings is less than the repeated syscalls of a simple write(). All those things seem like something that somebody could synthetically benchmark to prove value before even trying to bolt into PostgreSQL. a. -- Aidan Van Dyk

Re: [PERFORM] SSD + RAID

2010-02-23 Thread Aidan Van Dyk
responses since the fsync/barreir hasn't completed. Or have I missed another subtle interaction? a. -- Aidan Van Dyk Create like a god, ai...@highrise.ca command like a king, http://www.highrise.ca

Re: [PERFORM] moving pg_xlog -- yeah, it's worth it!

2010-02-11 Thread Aidan Van Dyk
as data, on a RAID5, even with BBU is worse than WAL on a dedicated set of RAID1 spindles with it's own BBU. Wow! ;-) -- Aidan Van Dyk Create like a god, ai...@highrise.ca command like a king, http

Re: [PERFORM] ext4 finally doing the right thing

2010-01-21 Thread Aidan Van Dyk
of not having to wait for all the dirty ext3 pages from your whole database FS to be flushed before the WAL write can complete on it's own FS. a. -- Aidan Van Dyk Create like a god, ai...@highrise.ca command like a king

Re: [PERFORM] ext4 finally doing the right thing

2010-01-21 Thread Aidan Van Dyk
* Greg Smith g...@2ndquadrant.com [100121 09:49]: Aidan Van Dyk wrote: Sure, if your WAL is on the same FS as your data, you're going to get hit, and *especially* on ext3... But, I think that's one of the reasons people usually recommend putting WAL separate. Separate disks can actually

Re: [PERFORM] Inserting 8MB bytea: just 25% of disk perf used?

2010-01-14 Thread Aidan Van Dyk
to completely chop your 43MB/s rate... a. -- Aidan Van Dyk Create like a god, ai...@highrise.ca command like a king, http://www.highrise.ca/ work like a slave. signature.asc

Re: [PERFORM] Best suiting OS - now off topic

2009-10-02 Thread Aidan Van Dyk
on this again -- Aidan Van Dyk Create like a god, ai...@highrise.ca command like a king, http://www.highrise.ca/ work like a slave. signature.asc Description: Digital

Re: [PERFORM] PG 8.3 and large shared buffer settings

2009-09-25 Thread Aidan Van Dyk
it as a dedicated DB-only machine. Go figure :) doing other stuff the cache tends to turn over pretty quickly. All the more reason to find a way to use it all as shared buffers and lock it into ram... Oh, sorry, you expect the DB to play nice with everything else? ;-) a. -- Aidan Van Dyk

Re: [PERFORM] PG 8.3 and large shared buffer settings

2009-09-25 Thread Aidan Van Dyk
on the OS and the disks. If you access a table via index scan though, all its pages will go through shared_buffers. In older version too, or only since synchronized scans got in? a. -- Aidan Van Dyk Create like a god, ai...@highrise.ca

Re: [PERFORM] session servers in ram

2009-09-22 Thread Aidan Van Dyk
it ;-) a. -- Aidan Van Dyk Create like a god, ai...@highrise.ca command like a king, http://www.highrise.ca/ work like a slave. signature.asc Description: Digital signature

Re: [PERFORM] What exactly is postgres doing during INSERT/UPDATE ?

2009-08-31 Thread Aidan Van Dyk
that scares me about raid-5 is the write-hole, and the possible delayed inconsistency that brings... Again, hopefully mitigated by a dependable controller w/ BBU... -- Aidan Van Dyk Create like a god, ai...@highrise.ca

Re: [PERFORM] Any better plan for this query?..

2009-05-12 Thread Aidan Van Dyk
% improvement? The forking isn't the expensive part, the per-database setup that happens is the expensive setup... All pre-forking would save us is a tiny part of the initial setup, and in turn make our robust postmaster controller no longer have control. a. -- Aidan Van Dyk

Re: [PERFORM] Any better plan for this query?..

2009-05-11 Thread Aidan Van Dyk
for small simple queries where all the data is in shared buffers or the cache. a. -- Aidan Van Dyk Create like a god, ai...@highrise.ca command like a king, http://www.highrise.ca/ work

Re: [PERFORM] Experience with HP Smart Array P400 and SATA drives?

2008-12-10 Thread Aidan Van Dyk
... ... as long as you don't ever have a disk or system crash ... ... or can afford to rebuild if you do ... ... etc ... -- Aidan Van Dyk Create like a god, [EMAIL PROTECTED] command like a king, http

Re: [PERFORM] Experience with HP Smart Array P400 and SATA drives?

2008-12-09 Thread Aidan Van Dyk
* Joshua D. Drake [EMAIL PROTECTED] [081209 11:01]: Yes the SmartArray series is quite common and actually know to perform reasonably well, in RAID 10. You still appear to be trying RAID 5. *boggle* Are people *still* using raid5? /me gives up! -- Aidan Van Dyk

Re: [PERFORM] Experience with HP Smart Array P400 and SATA drives?

2008-12-09 Thread Aidan Van Dyk
it's poor performance is... a. -- Aidan Van Dyk Create like a god, [EMAIL PROTECTED] command like a king, http://www.highrise.ca/ work like a slave. signature.asc Description

Re: [PERFORM] Create and drop temp table in 8.3.4

2008-11-11 Thread Aidan Van Dyk
Seems like this didn't make it through to the list the first time... * Aidan Van Dyk [EMAIL PROTECTED] [081106 22:19]: * David Rees [EMAIL PROTECTED] [081106 21:22]: 2. A write barrier instructs the lower level hardware that commands issued before the barrier must be written to disk

Re: [PERFORM] PostgreSQL 8.2.3 VACUUM Timings/Performance

2007-03-05 Thread Aidan Van Dyk
But the documents don't mention anything about cluster being unsafe. AFAIK, Vacuum full doesn't suffer the same MVCC issues that cluster does. Is this correct? a. -- Aidan Van Dyk Create like a god, [EMAIL PROTECTED