Re: Pre-Allocate tablespace on disk

Поиск
Список
Период
Сортировка
От Steve Francis
Тема Re: Pre-Allocate tablespace on disk
Дата
Msg-id 4CE6D334.6080005@logicmonitor.com
обсуждение исходный текст
Ответ на Re: Pre-Allocate tablespace on disk  (Florian Weimer <fweimer@bfk.de>)
Список pgsql-admin
Not only that, but if your "disk" is really a bunch of disks behind a hardware RAID controller, or SAN, or iSCSI or NFS server - what is contiguous for the OS may not be contiguous on the physical drives (and vice versa).
Which is why performance can (but may not) improve if you disable linux kernel IO schedulers that attempt to optimize blocks to be sequential.



On 11/19/2010 5:01 AM, Florian Weimer wrote:
* Chris Ruprecht:

Other database that I have worked with before and that I'm still
working with, allow you to pre-allocate disk space so you get huge
chunks of contiguous space at one, which has major impacts on
database performance.
PostgreSQL's write patterns do not trigger significant fragmentation
with most file systems, even when other database systems (Oracle
Berkeley DB comes to my mind) would create heavily fragmented files.



--
.sig, .sig a, .sig td { font: 12px Arial; color: DarkBlue; white-space: nowrap; vertical-align: top; text-align: left; } .sig img { border: 0; } .sig a { font: 11px Arial; } .sig .back { color: #ffffff; background-color: DarkBlue; text-decoration: none; } .sig .right { text-align: right; } .sig .border { border: 1px solid DarkBlue; margin:5px; border-collapse: collapse; } .sig .bottom { vertical-align:bottom } .sig p { clear:both; margin:2px; }
 Steve Francis
LogicMonitor LLC



sfrancis@logicmonitor.com
www.logicmonitor.com

Ph: 1 888 41 LOGIC x500
Ph: 1 805 698 0770

 

В списке pgsql-admin по дате отправления: