Raw vs. Filesystem?


 
Thread Tools Search this Thread
Top Forums UNIX for Advanced & Expert Users Raw vs. Filesystem?
# 1  
Old 06-06-2002
Question Raw vs. Filesystem?

Maybe this is the wrong forum to start this debate and I apologize if it is, but I have been wondering for some time which is better to use for a database, raw or filesystem? By better I mean don't just mean better performance but also ease of maintenance, etc.

I know that several years ago it was a no-brainer and everyone said that it was much more effecient to let the database handle the I/O. But lately I have heard that filesystems are so effecient these days that it really doesn't matter.

Does anyone out there have any comments about the pros/cons of using raw or filesystem?
# 2  
Old 06-06-2002
Every database vendor will tell you that raw is far better. Performance in databases has been optimized for the raw i/o model. But the other issue is data integrity. The database needs to know exacyly when the data has been physically written to disk. With the async i/o capabilities of today's kerne; this is possible via the filesystem, but I have never seen any database vendor that claims data integrity when used via filesystem i/o.

The only time I can see using databases in the filesystem is during a training class where 100 students needs their own database to fiddle with. Or maybe for experimentation. Or maybe to give each developer his own database. But never for data that you care about.

May I ask where you have heard that it no longer matters?
# 3  
Old 06-06-2002
Several DBA's I have worked with in the past have made the claim that filesystems are better because of ease of maintenance. But when I bring up the point of performance, the answer has always been that the difference today is so minimal that ease of administration is more important.

I'm guessing that perhaps I've worked with some lazy DBA's that would rather have me manage their data than to do it themselves.
# 4  
Old 06-06-2002
Maintenance is easier, but at what cost? I would ask those dba's for some documentation from the database vendor that approves of this. It could be that my info is dated, but I would need to see a cite.

We have several terrabytes of oracle and sybase databases here and no dba has ever asked for filesystem space. Which datbase did those dba's use?
# 5  
Old 06-06-2002
Currently we are using Oracle. In the past I have supported systems with Sybase and those DBAs said the same thing.

I would be interested to know just how much performance difference there is. Perhaps someone else out there has done some benchmarking on their own database. I'd really like to know.

The next problem, once I prove how much faster it is, is trying to get a DBA to convert the database to raw. It may actually be impossible at this point given the size.
# 6  
Old 06-10-2002
In my environment we are going from raw to mounted filesystems for ORACLE databases as we speak.

We are upgrading to 11.i and new hardware. from K-class & V-class to Superdome and Keystone systems. In addition, we are enabling largefiles that allow for larger than 2GB files. This will decrease the amount of table spaces needed for the large Databases that we will be creating, upto 10GB, and allow for more efficient storage of databases. Also, we are going to the new 170+GB disks for our EMC SAN which are more reliable than the current 80+ GB disks.

So the decrease in performance will be offset somewhat by the OS and hardware upgrades.

And the big PRO is that we can manage the filesystems with our backup utility, NetBackup, more effciently and with greater accuracy, instead of relying on my DBAs to remember to backup their databases.

Smilie
Login or Register to Ask a Question

Previous Thread | Next Thread

8 More Discussions You Might Find Interesting

1. HP-UX

Converting RAW Disks to Filesystem

Hi, We have a new server which has 2.7 TB RAW Disk.Outof this we want to convery 1.2 TB to filesystem and nfs mount it on one of the servers. After our activity we need to convert this back to RAW Disks. Please let me know if this is possible and the complexity involved. Regards, VN (1 Reply)
Discussion started by: narayanv
1 Replies

2. AIX

Mount Filesystem in AIX Unable to read /etc/filesystem

Dear all, We are facing prolem when we are going to mount AIX filesystem, the system returned the following error 0506-307The AFopen call failed : A file or directory in the path name does not exist. But when we ls filesystems in the /etc/ directory it show -rw-r--r-- 0 root ... (2 Replies)
Discussion started by: m_raheelahmed
2 Replies

3. Solaris

Solaris Filesystem vs. Windows FileSystem

Hi guys! Could you tell me what's the difference of filesystem of Solaris to filesystem of Windows? I need to compare both. I have read some over the net but it's so much technical. Could you explain it in a more simpler term? I am new to Solaris. Hope you help me guys. Thanks! (4 Replies)
Discussion started by: arah
4 Replies

4. UNIX for Dummies Questions & Answers

hwo to find shared filesystem and local filesystem in AIX

Hi, I wanted to find out that in my database server which filesystems are shared storage and which filesystems are local. Like when I use df -k, it shows "filesystem" and "mounted on" but I want to know which one is shared and which one is local. Please tell me the commands which I can run... (2 Replies)
Discussion started by: kamranjalal
2 Replies

5. Solaris

Filesystem - error when extend the filesystem

Hi all, currently , my root filesystem already reach 90 ++% I already add more cylinder in the root partition as below Part Tag Flag Cylinders Size Blocks 0 root wm 67 - 5086 38.46GB (5020/0/0) 80646300 1 swap wu 1 - ... (11 Replies)
Discussion started by: SmartAntz
11 Replies

6. UNIX for Dummies Questions & Answers

How can I check if I have raw filesystem on unix/linux

Hello again. Please can someone tell me how can i check if my filesystem is raw on unix/linux ? Is there some file to check or something like that to be sure ? also , when i do : $ ls -l /dev/rdisk i get among other things , this also(there resides are oracle related files) : ... (2 Replies)
Discussion started by: tonijel
2 Replies

7. AIX

Raw I/o

Is there any system call available in AIX to read the size of raw disk? If I use the command "lspv -L",it only gives size of PVs on which file system is there. I need to extract the size raw disk i.e. file system is not there on the disk. Thanks, Megha (6 Replies)
Discussion started by: MeghaV
6 Replies

8. Solaris

About raw partition

Hi I have solaris 8 installed on Intel machine. the disk I have is IDE. I would like to know how can I create a raw partition on an IDE disk. Regards, Raja (2 Replies)
Discussion started by: RajaRC
2 Replies
Login or Register to Ask a Question