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

Re: mirroring data on different drives?

From: Justin Clift <jc(at)telstra(dot)net>
To: Steve <steve(at)nospam(dot)postgresql(dot)org>
Cc: pgsql-general(at)postgresql(dot)org
Subject: Re: mirroring data on different drives?
Date: 2004-07-29 23:43:36
Message-ID: 41098BA8.1060405@telstra.net (view raw or flat)
Thread:
Lists: pgsql-general
Steve wrote:
> Someone please please help me!!!! :-(

Hi Steve,

How much leverage over the design of the application do you have?

Depending on the data that's being accessed, it may be worth looking 
into materialised views for some of the data.  Very application 
dependent on course:

http://www.varlena.com/varlena/GeneralBits/Tidbits/matviews.html

Hope that helps.

Regards and best wishes,

Justin Clift


> Steve
> 
> Steve wrote:
> 
>> Hi,
>>
>> I've been running postgres on my server for over a year now and the 
>> tables have become huge. I have 3 tables that have data over 10GB each 
>> and these tables are read very very frequently. In fact, heavy 
>> searches on these tables are expected every 2 to 3 minutes. This 
>> unfortunately gives a very poor response time to the end user and so 
>> I'm looking at other alternatives now.
>>
>> Currently, the postgresql installation is on a single disk and so all 
>> the tables have their data read from a single disk. Searching on 
>> different tables by multiple users at the same time results in very 
>> slow searches, as it's mainly dependant on the spindle speed. I 
>> recently gained access to another server which has 3 SCSI disks. I 
>> know there is a way to mirror the tables across the three different 
>> disks but I'm not sure if it's as easy as symlinking the files (WAL 
>> files only?) across. Can anyone please tell me what to do here and how 
>> to harness the power of the three SCSI drives that I have. Which files 
>> in the data directory need to be moved? Is this safe? Can backups etc 
>> be easily done? Any information will be greatly appreciated. Thank you,
>>
>> Steve


In response to

pgsql-general by date

Next:From: Bruce MomjianDate: 2004-07-30 00:56:20
Subject: Re: Wal logs
Previous:From: George EssigDate: 2004-07-29 22:41:01
Subject:

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