Is database using File system, RAW devices or ASM?

Hi there
Is is possible to find out if the database is using File system, RAW devices or ASM for storage?
I think for ASM, we can tell by querying the V$DATAFILE view if it has ' DATA ' or something like that (a name that has ' ' prefixed to it). Is this the only way? How about other sotrage types (RAW and Filesystem)?
Thanks in advance!

user12033597 wrote:
I think for ASM, we can tell by querying the V$DATAFILE view if it has ' DATA ' or something like that (a name that has ' ' prefixed to it). Is this the only way? How about other sotrage types (RAW and Filesystem)?V$DATAFILE or DBA_DATA_FILE
Raw depends on your OS - in *nix, likely something like /dev/sdc1
ASM depends on ASM and will include + and will follow an ASM pattern, such as described http://docs.oracle.com/cd/B19306_01/server.102/b14200/clauses004.htm
File depends on OS - in *nix, likely start with a '/' and NOT be in /dev or /proc.  In Winders start with C:\ or some other disk path.
Nicely discussed in the docs in the Administrators Guide found at http://tahiti.oracle.com

Similar Messages

  • Database Data files on RAW Devices

    Hi,
    I'm creating a database and wish to locate the tablespaces on a raw device.
    How do I specify the datafiles for the tablespaces on the raw device.

    > Any reason for moving to raw device?
    I actually prefer raw devices and ASM over using cooked file systems.
    By default RAW devices eliminate the "interference" of the kernel. It does not manage a file system on the device. There are no other foreign processes that can use that raw device (as is often the case with cooked devices). There is no o/s file system cache for that device. A physical I/O on the Oracle side means a dinkum physical I/O and not a maybe-logical-I/O-from-the-file-system-o/s-cache.
    There is no need for me as DBA to manage that file system according to OFA standards (ASM does it for me). There is no need for me to go through the learning curve of using a 3rd party volume manager. I have features like automated load balancing while the instance is up and running.
    Yes, there is an argument to be made for just how much of a performance improvement in I/O one can get from a raw device versus a cooked file system. But I/O performance is not the only consideration.

  • How to converrt files on RAW devices in ASM to non ASM file system.

    Hi all,
    I have on  problem .
    Is that possible to migrate ASM  raw files system to non ASM file .
    If possible plzz describe them.
    If not also please tell y not?
    Thanks in addvance
    Regards
    Krishna

    Hi,
    I totally agree with Mahir. And I just want to share one thing:
    Use %U to generate guaranteed unique names :
    For backupsets, %U means: %u_%p_%c
    For an image copy of a datafile, %U means: data-D-%d_id-%I_TS-%N_FNO-%f_%u
    For an image copy of an archived redolog, %U means: arch-D_%d-id-%I_S-%e_T-%h_A-%a_%u
    For an image copy of a control file, %U means: cf-D_%d-id-%I_%u
    Thank you

  • Why don't we keep Oracle Database ARCH logs in RAW devices

    Hi All,
    Why don't we keep Oracle Database ARCH logs in RAW devices?
    How ARCH process is related to Block Device and Character Device ?
    Thanks,
    Tusar
    Edited by: user11987718 on 26-Jun-2012 09:59

    Why don't we keep Oracle Database ARCH logs in RAW devices? 1.This is because raw devices do not enable sequential writing of consecutive archive log files.
    http://docs.oracle.com/cd/E11882_01/rac.112/e16795/rman.htm#RACAD320
    2.with raw you have to specify the exact size of the file at creation time, in contrast with file system, where you can create file without specifying its size, start writing to it, apending new blocks to it until you are done, and thus creating a file of whatever size it needs to be to hold all information.
    http://www.dbasupport.com/forums/archive/index.php/t-16429.html
    3.raw file systems are difficult to manage because you cannot run normal os commands on them.(as there is no file systems)
    How ARCH process is related to Block Device and Character Device ?A block device would read/write bytes in fixed size blocks, as in disk sectors. Character devices read/write 0 or more bytes, in a stream, such as a TTY or a keyboard.
    For more details about what is block and character device type :
    http://en.wikipedia.org/wiki/Device_file
    And now think, how arch process is related to block and character devices.
    Regards
    Girish Sharma

  • Migration using File System Utility

    Dear Hyperion Experts
    We have EPM foundation services installed on a stand alone Development Enviroment.
    We have to migrate the application to another instance. I am looking for suggestions on suitable strategy to achieve this objective essentially using file system deployment.
    What all components would we require to move to the new instance.

    Hi,
    You didn't need to try and reconfigure, it is possible to try and recover the ldap database, though it had to work in the first place to recover it.
    I am not sure of the state of your environment so it may be that you have to drop the database and start again, it is not easy to diagnose the problem from the information given.
    Cheers
    John
    http://john-goodwin.blogspot.con/

  • Error: unable to connect to database using user system. please check privil

    Hi All,
    i have 2 oracle databases in my system (ORCL,RR). i am able to connect both databases i sql prompt. but in ggsci prompt not able to connect rr database due to below error
    dblogin userid system, password tiger.
    Error: unable to connect to database using user system. please check privil
    Can you please help me to connect RR database also in GGSCI promt.
    Thanks
    Raja

    Did you try with RR database tns name or sid while connecting ?
    If No then try this ,
    GGSCI (ATP) 6> DBLOGIN USERID SYSTEM@<tns alias name>
    Password:
    Successfully logged into database.
    HTP
    Annamalai.

  • ASM cannot find the raw devices nor ASM drives

    Hi,
    We are trying to use ASM on linux. The kernel version is
    2.6.9-42.0.10.0.1.ELsmp x86_64.
    We tried both raw devices and ASM drives. But after all the tries, the installer simply will not list the disks.
    Anybody can help? Thanks.

    "I had installed ASM initially on the same CRS, but due to some error during the installation"
    This statement means: I had installed ASM on the clusterware, but due to time synchronization error, it didn't got copied on to the 2nd node, and hence I had to uninstall the ASM software.
    But the clusterware is still up and running.
    Amit.

  • Raw device to ASM

    Hi,
    How can i move the "RAW device" Migrating to ASM
    what are the steps to be followed
    Oracle Version : 11.1.0.7.0
    Platform: AIX 6.1
    Thanks,
    Ramesh

    Aman.... wrote:
    ASMLIB is not mandatory to use the raw device with ASM. Its an "add-on" to improve the performance, that's all!Not really a performance improvement as it cannot make ASM I/O go any faster - it is a more a management driver that enables you to manage ASM disks/LUNs via an ASM command line interface. But as you said, it is not mandatory. I personally prefer using udev and multipath directly on Linux for configuring and maintaining device names and permissions for all disks and LUNs and not treat ASM ones differently via another interface.
    Also, as ASMlib is a kernel module, it is another moving part at boot time. It needs to match the kernel version used. It and other similar kernel drives need to "+play nice+" with one another. And this is the primary reason we've stopped using ASMlib after we first tried it with 10.1 RAC. There were incompatibilities between it and a vendor kernel driver, resulting in adhoc ASM I/O errors. And the Metalink Note at the time stated that there are no incompatibilities between ASMlib and such vendors drivers... (and I did request Support to amend that note after the incompatibility was identified via a SR, but it never was).

  • Raw device in ASM

    Hi,
    I am assigning raw devices to ASM on IBM-AIX 5.2. But the devices are not visible in ASM. Please somebody help me how to identify the disks in ASM or from AIX to check whether the disks are accessiable. I am able to ls -lrt and find the disk. but not able to identify the raw disk size
    Thanks for your help

    In some OSs raw devices are only visible to root unless the permissions are explicitly reset.
    Have you read the appropriate section in the RAC install guide for AIX? (http://download.oracle.com/docs/cd/B19306_01/install.102/b14201/storage.htm#BABHCGIJ)

  • ECC6 EHP2 (ABAP+Java)  system copy using file system copy

    Hello Experts,
    I have a question around system copy method for a dual stack ECC6 EHP2 system.
    We are planning to take full file system backup of this entire ECC6 EHP2 dual stack system and throw it on a completely new hardware with new host name but same SID.  We are also planning to do a host renaming in instance profiles and re-building the control files in target system after we finish the file system restore.
    Is this method supported in SAP ? Or we strictly have to use  SAPinst to do export and import method.  In any case our source and target platform is not going to chance as per our scenario.
    Any suggestions will be greatly appreciated.
    Thanks,
    Harshal

    > Thanks for the quick response. Is their any document that says it is not supported ?  Because of no proper document that says no to do it, client want's to try it out.
    For the ABAP part this is certainly feasible.
    The Java part has not only issues with the secure store but also with SID and hostname. The old values are stored in many places in the database and in, depending on the applications installed, many .properties files in the filesystem. So it would be not enough to somehow regenerate the secure store but also change hostname and SID in different places that are not really all documented.
    What you are basically looking for is
    Note 757692 - Changing the hostname for J2EE Engine 6.40/7.0 installation
    with the significant sentence
    This note should be applied only when the hostname of a machine
    where the j2ee engine was already installed has changed.
    It does not replace the SAP official system copy procedure and
    MUST NOT be used for copying of an instance to another host and/or with different SID.
    Markus

  • CR 2010 Report using "File System Data" as source fails in production

    Hello, I've recently upgraded my website from VS 2008 with full CR 2008 to VS 2010 using CR 2010 SP1 runtime (x32).  Everything went fine except for one report that uses as a source the "file system data".  It points to a share on a samba drive and it worked great before the upgrade.  After upgrading my development box the report runs fine, but when I deployed it, it fails with the message:
    Failed to load database information. Error in File {report name} {D5D84E7F-54DB-4BCA-B3C3-0A169CDC36D7}.rpt: Failed to load database information.
    I made sure the websiteu2019s Application Pool identity was set to use credentials of a user who has access to the share. 
    The data source has the following properties:
    Database DLL:   crbd_filesystem.dll
    File Mask: .
    Include Empty Directories: False
    Max Number of Subdirectory Levels: -1
    Starting Directory:
    {FreeBSD server name}\{share name}
    This report uses a sub-report which has the same source.  This report works fine from (full) CR 2008 and from the designer inside of VS 2010 works too.  I can run it on my development box (in release and debug modes) which is Windows 7 (x64) using IIS 7. 
    In production, we donu2019t include the runtime in our application deployment, since we run multiple sites and do updates frequently, so we pre-install (one time) the runtime separately on the server.  We installed the CR 2010 SP1 x32 runtime on our test and development boxes which both are Windows 2003 with IIS6 and made sure they are setup to use .Net 4 and have the Application Pool identity setup to have access to the share.  All my other reports which use ODBC work fine.  Just this one report doesnu2019t and Iu2019m at a loss on how to even begin troubleshooting this.
    Is CR 2010 still capable of using u201Cfile system datau201D as a source?  I couldnu2019t find anything on u201Cfile system datau201D with CR 2010.  Though I have seen under Other Sources, it still exist when I created a new report, just to try it out.

    Looks like you've found a bug with the CRVS2010 runtime. I looked for the crbd_filesystem.dll in the CRVS2010 install directory (C:\Program Files (x86)\SAP BusinessObjects\Crystal Reports for .NET Framework 4.0\Common\SAP BusinessObjects Enterprise XI 4.0\win32_x86) and it is there. I then opened up the 32 bit MSI and MSM with the MS Orca utility to see if the file is included and it is not.
    Two things we can do:
    1) Add the crdb_filesystem.dll to your install and make sure it installs to the above directory on the runtime computer
    2) I will created a fix request for the issue, however next fix will be Service Pack 2 (ETA, sometime after October) and I doubt this will make it there. So we'd be looking at SP 3 - if there will be one (ETA would be in 2012).
    Ludek
    Follow us on Twitter http://twitter.com/SAPCRNetSup
    Got Enhancement ideas? Try the [SAP Idea Place|https://ideas.sap.com/community/products_and_solutions/crystalreports]

  • Database Control: File System Alert -

    I am using 10.2 on HP UNIX 11. My development database is installed on a server, which is hared by many other applications/database. DB Control sends me alerts when file system is more than 80% used or so. I do not want to receive any file system alerts because these file systems are not my file systems.
    I do not find any place to turn this alert off. Appreciate any help?

    Gee whiz. In this thread (Database Control: Not sending e-mail you were complaining about not* getting email for that same condition. You say "I do not want to receive any file system alerts because these file systems are not my file systems.
    " Some of the file systems are yours ... the ones holding $ORACLE_BASE and any fs holding any file even remotely related to your db ... .dbf files, redo logs, backup sets, archivelog files, bdump and other *dump directories.  I like to be notified if they go over 80%.

  • Write PDF files from database to file system

    Hi,
    I have a requirement of writing PDF files that are stored in Oracle 10g's BLOB column to the FILE SYSTEM using PL/SQL (Not java or any external stored Proc), since i need to write a shell script which will load the PDF files from database on a timely basis.
    Could anyone suggest me the way of executing this?
    Environment: Oracle 10G (10.2.0.1.0) with Windows 2003 server.
    Regards,
    Nagarjun.

    You could try to use the UTL_FILE package that is able to read/write text and binary data in a file located on the box hosting the database instance.

  • How to use file system replacing optical archive?

    We do not have IXOS (OT) yet.
    However I have configured everything for printlist archiving and early archiving for IXOS (on the R3 side ONLY!)
    May I modify the procedure a bit so that the archive will be stored in the file system instead of the
    optical device since we do not have IXOS yet.
    Please help. Thanks!

    hi,
    Create Queues
    In this customizing activity you create queues and specify the queue administrator. This process should become part of the installation routine of the storage system, because not activating a queue can lead to irreparable errors (and may mean having to repeat print list creation and storage).
    Example
    CARA Queue: Queue in which the spool writes the storage requests.
    Activities
    You can create queues for the following functions:
    Asynchronous storage (CARA-Queue)
    Error in asynchronous storage (CARA_E-Queue)
    Storage confirmation (CFBC-Queue)
    Error in storage confirmation (CFBC_E-Queue)
    Asynchronous retrieval (CFBA-Queue)
    Error in asynchronous retrieval (CFBA_E-Queue)
    You can also define a queue administrator.
    Also u can check in archivelinking.
    Edit Links
    In this customizing activity, you link a document type to an object type, a content repository, and a link table. This has the following effect on documents of this document type:
    The documents can only be linked to instances of the specified business object type.
    The link entry is entered in the specified link table.
    The documents are always stored in the specified content repository.
    Activities
    Enter the following data:
    Object type:
    Business object type that exists in the business object repository (transaction SWO3).
    One object type can be used with more than one document type.
    Document type
    Name of a document type specified in the customizing activity Document types .
    Status
    X: The storage system is active.
    Empty: The storage system is not active.
    Content repository ID
    Two-digit identification number that you have entered in the customizing activity Maintain Content Repositories .
    Link table
    Name of the table, in which ArchiveLink enters the link entries between stored documents and the corresponding application documents.
    SAP supplies the following link tables:
    TOA01, TOA02, TOA03 (general link tables),
    TOAHR (only for documents from the SAP HR application component),
    and
    TOADL (only for print lists).
    Alternatively, you can define your own link tables. To do this, enter the customizing activity Maintain available link tables. Here you can also find a description of the link tables supplied by SAP.
    Retention period
    Number of months the entry for the stored document remains in the link table before it is deleted.
    Benakaraja

  • How to migrate 11gr2 standby database from file system to ASM

    Hi,
    I have 11gR2 data guard setup of 2 node RAC primary and stand alone standby database.
    Primary RAC uses ASM, and stand alone standby DB uses normal file system for data files and archive logs. I want to migrate the stand alone standby DB from file system to ASM.
    If you have any ideas or documents on it, kindly please share with me.
    Thanks in advance,
    Mahipal

    Mahi wrote:
    Hi Fran,
    Thanks a lot for the quick reply. I have another question, I want to have standby in ASM; but ASM home is grid home(CRS+ASM) in 11gr2.
    I don't want to configure CRS now for standby, only want to have ASM storage. s it possible to install the grid home only for ASM and not for CRS?
    On a stand-alone system, there are still CRS/Grid components that are a part of the ASM install. You cannot NOT install it.
    >
    Thanks,
    Mahi

Maybe you are looking for

  • How can i call a shell script from procedure

    I have a shell script.now i am i a situation to call that shell script from one of my procedures and need to get a value from that script. can u suggest me that how can a call the shell script from pl/sql?

  • Oc4j  dcmctl error while deploying

    Dear friends I receive an error while deploying a war file to oracle 9i application server stating that one or more process is running, shutdown by 9iAS or by enterprise manager or use dcmctl resynInstance to free the resource. This error happens whe

  • Hey, can i clone my Macbook Pro internal hard drive and then paste it all onto a formated external hard drive, then make the Mac use the external as the primary hard drive?

    hey, can i clone my Macbook Pro internal hard drive and then paste it all onto a formated external hard drive, then make the Mac use the external as the primary hard drive? please help for i only have around 618mb left out of 189GB!!!!!!!!!!!!!!!!

  • A slight prob

    I hope that this is in the right spot if it isn't please move it there or answer anyway. Now to my problem I am getting grey screens when I try to use anything to do with java. The main problem is that I get load:class loader not found and it ends up

  • Problems with a JCDK

    Hallo, I get following error message when I run converter: error: export file framework.exp of package javacard.framework not found. My .opt file seems like follows: -out EXP JCA CAP -exportpath $JC_HOME/api_export_files/ with -exportpath $JC_HOME/ap