If this is your first visit, be sure to check out the FAQ by clicking the link above. You may have to register before you can post: click the register link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below.

 
Go Back  dBforums > Database Server Software > PostgreSQL > Best disk setup, help needed

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1 (permalink)  
Old 05-20-11, 10:50
eminem eminem is offline
Registered User
 
Join Date: May 2011
Posts: 2
Best disk setup, help needed

Hi,

I will be running postgres with about 100gb of data. Their will be few quite big insert transactions (e.g 1000 updates every 30 sec or so) from max. 10 processes. This will be running in snapshot isolation mode.

Then their will be alot of read only transactions from a various number of processes.

I want to secure the data against loss of power or disk errors, I don't care about fire, crashing planes or leaking nuclear plants. I will only need the WAL until the db flushes changed pages to disk.

I have 6 sas disks and 12g memory. How should I split the disks?

I was thinking of putting ths os and the data on 4 disks (RAID10) and the log on 2 disk (RAID1).

Is this a good idea or stupid? WAL shall never be slowed down, but it will be only using about 1 gig of the disk. I've got the feeling of wasting 2 disks. Would it have an negative effect if I keep all 6 disks as one RAID 10?

I've got a battery backed controller, but would the write cache be clever enough to always cache the WAL? I don't think so... :-(

What shall I do?
Reply With Quote
Reply

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On