Skip site navigation (1) Skip section navigation (2)

Interesting numbers on a CREATE INDEX

From: "Jim C(dot) Nasby" <decibel(at)decibel(dot)org>
To: pgsql-performance(at)postgresql(dot)org
Subject: Interesting numbers on a CREATE INDEX
Date: 2005-04-23 03:09:20
Message-ID: 20050423030920.GZ58835@decibel.org (view raw or flat)
Thread:
Lists: pgsql-performance
Building a single-column index on a dual opteron with 4G of memory, data
on a 4 SATA RAID10; OS, logs and tempsace on a SATA mirror, with
sort_mem set to 2.5G, create index is actually CPU bound for large
portions of time. The postgresql process and system time are accounting
for an entire CPU, and systat (this is a FreeBSD5.2 box) is generally
showing 80% utilization on the RAID10 and 40% on the mirror.

Not a performance problem, but I thought some people might be
interested. The RAID10 is doing about 28-32MB/s, I would think this
wouldn't be enough to swamp the CPU but I guess I would be thinking
wrong.

BTW, the column I'm indexing is a bigint with a low correlation.
-- 
Jim C. Nasby, Database Consultant               decibel(at)decibel(dot)org 
Give your computer some brain candy! www.distributed.net Team #1828

Windows: "Where do you want to go today?"
Linux: "Where do you want to go tomorrow?"
FreeBSD: "Are you guys coming, or what?"

pgsql-performance by date

Next:From: Jim C. NasbyDate: 2005-04-23 03:12:38
Subject: Re: Index bloat problem?
Previous:From: Jim C. NasbyDate: 2005-04-23 03:00:02
Subject: Re: Sort and index

Privacy Policy | About PostgreSQL
Copyright © 1996-2014 The PostgreSQL Global Development Group