Disk access with fsync on.

Поиск
Список
Период
Сортировка
От Bhide, Rajan
Тема Disk access with fsync on.
Дата
Msg-id 069D834B7DEFB742A1781854356005E005581A@EXCHINDIA2.starentnetworks.com
обсуждение исходный текст
Ответы Re: Disk access with fsync on.  (Tom Lane <tgl@sss.pgh.pa.us>)
Список pgsql-novice
Hi,

I would like to know the disk access mechanism for writing data with
default fsync "on".
I am using libpq client library to insert data to db server.
The insert query is typically done as a transaction with fsync "on"
i.e.:

begin;
insert into <tablename> values<values>;
end;

My query is how does it translate to disk access.
Does each insert writes to disk or to memory segment and a consolidated
write to disk, based on segment full or timeout.

I am using Postgres 7.4.5 on Sun Solaris 8.

Thanks,
-Rajan




"This email message and any attachments are confidential information of Starent Networks, Corp. The information
transmittedmay not be used to create or change any contractual obligations of Starent Networks, Corp.  Any review,
retransmission,dissemination or other use of, or taking of any action in reliance upon this e-mail and its attachments
bypersons or entities other than the intended recipient is prohibited. If you are not the intended recipient, please
notifythe sender immediately -- by replying to this message or by sending an email to postmaster@starentnetworks.com --
anddestroy all copies of this message and any attachments without reading or disclosing their contents. Thank you." 

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

Предыдущее
От: john hedge
Дата:
Сообщение: phpPgAdmin on Debian Sarge
Следующее
От: Agnes Bocchino
Дата:
Сообщение: transaction ID wrap limit is 2147484146 Start Postgresql with error in Logfile