Re: Curious question about physical files to store database

From: Edson Richter <edsonrichter(at)hotmail(dot)com>
To: pgsql-general(at)postgresql(dot)org
Subject: Re: Curious question about physical files to store database
Date: 2013-11-05 15:26:37
Message-ID: BLU0-SMTP38080C09615E8FA501BD2E8CFF10@phx.gbl
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

Em 05/11/2013 12:51, Albe Laurenz escreveu:
> Patrick Dung wrote:
>> I have seen some databases product that allocate small number of large files.
>>
>> Please correct me if I am wrong:
>>
>> MSSQL (one file is the data and another file for the transaction log)
>> MySQL with InnoDB
>> Oracle
>> DB2
> I don't know enough about DB2 and MSSQL, but you are correct
> with regard to InnoDB and Oracle.
>
> Yours,
> Laurenz Albe
>
MSSQL can use several data files, but in general, you will have one for
database data, and one for database log.
Advanced administrator would choose to split database among several
files (specially in sparse disks). For instance, you would have one data
file in one SCSI disk for data, and one data file in another SCSI disk
for indexes, and a third SCSI disk for log. You can have several
(hundreds? thousands? I can't remember) data files.

regards,

Edson Richter

In response to

Browse pgsql-general by date

  From Date Subject
Next Message Albe Laurenz 2013-11-05 15:28:59 Re: WITH RECURSIVE doesn't work properly for me
Previous Message Michael Nolan 2013-11-05 15:25:50 Re: Junk date getting uploaded into date field