Re: please please please PLEASE help!
От | Goulet, Dick |
---|---|
Тема | Re: please please please PLEASE help! |
Дата | |
Msg-id | 4001DEAF7DF9BD498B58B45051FBEA6506D9F7@25exch1.vicorpower.vicr.com обсуждение исходный текст |
Ответ на | please please please PLEASE help! (Steve <steve@hotmail.com>) |
Список | pgsql-admin |
Steve, I'm a little short on PostgreSQL experience, but gaining fast. I'm more of an Oracle nut. But I think you've pin pointedthe problem, namely disk contention. The easiest solution I can think of would be to stripe the volume group acrossall three drives thereby spreading the pain across the drives. One other item I'd look at is creating an index thatspecifically answers the most frequent queries. Depending on your OS, you could mirror the data across two of the drivesat the OS level, which would also spread the pain. Another solution, but it has a price tag on it, is to acquire anexternal disk array. These arrays have memory that they use as additional buffers. The cache gets populated with themost frequent accesses data & then your not limited by the drives anymore. Dick Goulet Senior Oracle DBA Oracle Certified 8i DBA -----Original Message----- From: Steve [mailto:steve@hotmail.com] Sent: Friday, July 23, 2004 2:11 AM To: pgsql-admin@postgresql.org Subject: [ADMIN] please please please PLEASE help! Hi, I've asked this question a couple of times before on this forum but no one seems to be nice enough to point me to the right direction or help me out with any information, if possible. Please help me out with this because this is a very serious issue for me and I need to learn more about this. And here it is again: 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 ---------------------------(end of broadcast)--------------------------- TIP 2: you can get off all lists at once with the unregister command (send "unregister YourEmailAddressHere" to majordomo@postgresql.org)
В списке pgsql-admin по дате отправления: