Re: [PING] fallocate() causes btrfs to never compress postgresql files

Поиск
Список
Период
Сортировка
От Thomas Munro
Тема Re: [PING] fallocate() causes btrfs to never compress postgresql files
Дата
Msg-id CA+hUKGL6V2Xsp7D1=sqwAesyPfB-Mt+aF1qDqXUPPfrFf72Lng@mail.gmail.com
обсуждение исходный текст
Ответ на [PING] fallocate() causes btrfs to never compress postgresql files  (Dimitrios Apostolou <jimis@gmx.net>)
Список pgsql-hackers
Or for a completely different approach: I wonder if ftruncate() would
be more efficient on COW systems anyway.  The minimum thing we need is
for the file system to remember the new size, 'cause, erm, we don't.
All the rest is probably a waste of cycles, since they reserve real
space (or fail to) later in the checkpointer or whatever process
eventually writes the data out.



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