Re: The diference about raw devices and disk partitions

2003-01-13 Thread Joseph Bueno
Hi,

Since you don't specify your OS, I assume you are using Linux;
if you are using another UNIX like system (BSD, Solaris,...),
my explanations below may be useless :(

A disk partition (as /dev/sda1) is a "bloc device",this is not the
same as a "raw device". You can get more info in Linux HOWTO:
http://www.linux.org/docs/ldp/howto/SCSI-2.4-HOWTO/rawdev.html

The main difference is that a "bloc device" is accessed through
the filesystem cache while accesses to a "raw device" bypass
the cache.

However, I have not yet tried raw devices with MySQL/InnoDB, so
I can't give you more MySQL specific advice.

Hope this helps,
Joseph Bueno
NetClub

Dyego Souza do Carmo wrote:
> 
> I'm confused , what is the difference and raw device and a disk
> partition ?
> 
> ex: on innodb I'm using /dev/sda1 for raw device, is it correct ?
> 
> 
> tnks.
> 
> 
> 
> sql,query
> 
> 


-
Before posting, please check:
   http://www.mysql.com/manual.php   (the manual)
   http://lists.mysql.com/   (the list archive)

To request this thread, e-mail <[EMAIL PROTECTED]>
To unsubscribe, e-mail <[EMAIL PROTECTED]>
Trouble unsubscribing? Try: http://lists.mysql.com/php/unsubscribe.php




The diference about raw devices and disk partitions

2003-01-13 Thread Dyego Souza do Carmo


I'm confused , what is the difference and raw device and a disk
partition ?

ex: on innodb I'm using /dev/sda1 for raw device, is it correct ?


tnks.



sql,query


-
  ++  Dyego Souza do Carmo   ++   Dep. Desenvolvimento   
-
 E S C R I B A   I N F O R M A T I C A
-
The only stupid question is the unasked one (somewhere in Linux's HowTo)
Linux registred user : #230601
-- 
$ look into "my eyes" Phone : +55 041 296-2311  r.112
look: cannot open my eyes Fax   : +55 041 296-6640
-
   Reply: [EMAIL PROTECTED]



-
Before posting, please check:
   http://www.mysql.com/manual.php   (the manual)
   http://lists.mysql.com/   (the list archive)

To request this thread, e-mail <[EMAIL PROTECTED]>
To unsubscribe, e-mail <[EMAIL PROTECTED]>
Trouble unsubscribing? Try: http://lists.mysql.com/php/unsubscribe.php