- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- raw device and raw data
Categories
Company
Local Language
Forums
Discussions
Forums
- Data Protection and Retention
- Entry Storage Systems
- Legacy
- Midrange and Enterprise Storage
- Storage Networking
- HPE Nimble Storage
Discussions
Forums
Discussions
Discussions
Discussions
Forums
Discussions
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
- BladeSystem Infrastructure and Application Solutions
- Appliance Servers
- Alpha Servers
- BackOffice Products
- Internet Products
- HPE 9000 and HPE e3000 Servers
- Networking
- Netservers
- Secure OS Software for Linux
- Server Management (Insight Manager 7)
- Windows Server 2003
- Operating System - Tru64 Unix
- ProLiant Deployment and Provisioning
- Linux-Based Community / Regional
- Microsoft System Center Integration
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Community
Resources
Forums
Blogs
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-19-2002 05:25 PM
06-19-2002 05:25 PM
I know that usally used in database.
could you tell me what's means raw device and raw data?
thanks~
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-19-2002 05:36 PM
06-19-2002 05:36 PM
SolutionRaw data is data that is or isn't necessarily human readable. For instance a program.
live free or die
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-19-2002 05:36 PM
06-19-2002 05:36 PM
Re: raw device and raw data
The term 'raw' is used because you can't actually see the data through standard tools, like 'ls' etc. You need a front-end database to view/modify the data etc
The term 'cooked' means that the logical volume
that has been created is mounted with a filesystem.
The 'raw' partition or logical volume(s) are used traditionally by databases so that they by-pass any filesystem overhead and contention. You will see that each and every database will have a different recommendation, informix leaning toward raw and oracle toward filesystem. Also note that these same vendors change their recommendation frequently. Below is a fairly good discussion on raw v's cooked performance.
http://forums.itrc.hp.com/cm/QuestionAnswer/1,,0xb51a8ffa98a2d5118ff10090279cd0f9,00.html
HTH
~Michael~
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-19-2002 05:43 PM
06-19-2002 05:43 PM
Re: raw device and raw data
A raw device is also interpreted as a character device. I/O to the devices is performed one character at a time.
This is how I understand it
Hope this helps
Steve
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-19-2002 08:46 PM
06-19-2002 08:46 PM
Re: raw device and raw data
a) Database uses raw stuff (covered above)
b) people may have suggested a raw copy of a "cooked" filesystem. (not covered)
It may seem ironic but you can copy the raw devices of cooked filesystems to speed things up. I usually do this for upgrades.
e.g /dev/vg00/lvol4 is mounted on /home
If I want to get a copy of this I could make a new filesystem & copy one to the other OR the super quick way
lvcreate -L
dd if=/dev/vg00/rlvol4 bs=64k of=/dev/vgnew/rnewhome
mkdir /newhome
mount /dev/newhome /newhome
bs==Blocksize
Note the rlvol4 & rnewhome (Raw lvols)
obviously the two lvols will need to be the same size but it by-passes the "front-end" (to borrow an above phrase) so speeds things up considerably.
after the dd you can mount the new lvol, again bypassing newfs etc, so
Tim