Veritas InfoScale™ 8.0.2 Storage and Availability Management for Oracle Databases - AIX, Linux, Solaris
- Section I. Storage Foundation High Availability (SFHA) management solutions for Oracle databases
- Overview of Storage Foundation for Databases
- About Veritas File System
- Overview of Storage Foundation for Databases
- Section II. Deploying Oracle with Veritas InfoScale products
- Deployment options for Oracle in a Storage Foundation environment
- Deploying Oracle with Storage Foundation
- Setting up disk group for deploying Oracle
- Creating volumes for deploying Oracle
- Creating VxFS file system for deploying Oracle
- Deploying Oracle in an off-host configuration with Storage Foundation
- Deploying Oracle with High Availability
- Deploying Oracle with Volume Replicator (VVR) for disaster recovery
- Deployment options for Oracle in a Storage Foundation environment
- Section III. Configuring Storage Foundation for Database (SFDB) tools
- Configuring and managing the Storage Foundation for Databases repository database
- Configuring the Storage Foundation for Databases (SFDB) tools repository
- Configuring authentication for Storage Foundation for Databases (SFDB) tools
- Configuring and managing the Storage Foundation for Databases repository database
- Section IV. Improving Oracle database performance
- About database accelerators
- Improving database performance with Veritas Extension for Oracle Disk Manager
- About Oracle Disk Manager in the Veritas InfoScale products environment
- Improving database performance with Veritas Cached Oracle Disk Manager
- About Cached ODM in SFHA environment
- Configuring Cached ODM in SFHA environment
- Administering Cached ODM settings with Cached ODM Advisor in SFHA environment
- Generating reports of candidate datafiles by using Cached ODM Advisor in SFHA environment
- Generating summary reports of historical activity by using Cached ODM Advisor in SFHA environment
- Generating reports of candidate datafiles by using Cached ODM Advisor in SFHA environment
- Improving database performance with Quick I/O
- About Quick I/O
- Improving database performance with Cached Quick I/O
- Section V. Using point-in-time copies
- Understanding point-in-time copy methods
- Volume-level snapshots
- About Reverse Resynchronization in volume-level snapshots (FlashSnap)
- Storage Checkpoints
- About FileSnaps
- Considerations for Oracle point-in-time copies
- Administering third-mirror break-off snapshots
- Administering space-optimized snapshots
- Creating a clone of an Oracle database by using space-optimized snapshots
- Administering Storage Checkpoints
- Database Storage Checkpoints for recovery
- Administering FileSnap snapshots
- Backing up and restoring with Netbackup in an SFHA environment
- Understanding point-in-time copy methods
- Section VI. Optimizing storage costs for Oracle
- Understanding storage tiering with SmartTier
- Configuring and administering SmartTier
- Configuring SmartTier for Oracle
- Optimizing database storage using SmartTier for Oracle
- Extent balancing in a database environment using SmartTier for Oracle
- Configuring SmartTier for Oracle
- SmartTier use cases for Oracle
- Compressing files and databases to optimize storage costs
- Using the Compression Advisor tool
- Section VII. Managing Oracle disaster recovery
- Section VIII. Storage Foundation for Databases administrative reference
- Storage Foundation for Databases command reference
- Tuning for Storage Foundation for Databases
- About tuning Veritas Volume Manager (VxVM)
- About tuning VxFS
- About tuning Oracle databases
- About tuning Solaris for Oracle
- Troubleshooting SFDB tools
- About troubleshooting Storage Foundation for Databases (SFDB) tools
- About the vxdbd daemon
- Resources for troubleshooting SFDB tools
- Manual recovery of Oracle database
- Storage Foundation for Databases command reference for the releases prior to 6.0
- Preparing storage for Database FlashSnap
- About creating database snapshots
- FlashSnap commands
- Creating a snapplan (dbed_vmchecksnap)
- Validating a snapplan (dbed_vmchecksnap)
- Displaying, copying, and removing a snapplan (dbed_vmchecksnap)
- Creating a snapshot (dbed_vmsnap)
- Backing up the database from snapshot volumes (dbed_vmclonedb)
- Cloning a database (dbed_vmclonedb)
- Guidelines for Oracle recovery
- Database Storage Checkpoint Commands
- Section IX. Reference
- Appendix A. VCS Oracle agents
- Appendix B. Sample configuration files for clustered deployments
- Appendix C. Database FlashSnap status information
- Appendix D. Using third party software to back up files
Converting Oracle files to Quick I/O files
Special commands, available in the /opt/VRTSdbed/bin directory, are provided to assist you in converting an existing database to use Quick I/O. You can use the qio_getdbfiles command to extract a list of file names from the database system tables and the qio_convertdbfiles command to convert this list of database files to use Quick I/O.
Note:
It is recommended that you create a Storage Checkpoint before converting to or from Quick I/O.
Before converting database files to Ouick I/O files, the following conditions must be met:
Prerequisites |
|
Usage notes |
|
Command usage for qio_getdbfiles is as follows:
qio_getdbfiles SFUA qio_getdbfiles ERROR V-81-4265
The following options are available for the qio_getdbfiles command:
-a | Lets you include all datafiles, including those that are potentially sparse. (Use this option only for debugging purposes, as sparse files are not candidates for use with Quick I/O.) |
-T |
Command usage for qio_getdbfiles is as follows:
qio_getdbfiles [ -T database_type ] [ options ]
The following options are available for the qio_convertdbfiles command:
To extract a list of Oracle files to convert
- With the database instance up and running, run the qio_getdbfiles command from a directory for which you have write permission:
$ cd /extract_directory
$ /opt/VRTSdbed/bin/qio_getdbfiles -T ora
The qio_getdbfiles command extracts the list file names from the database system tables and stores the file names and their size in bytes in a file called mkqio.dat under the current directory.
Note:
Alternatively, you can manually create the mkqio.dat file containing the Oracle database file names that you want to convert to use Quick I/O. You can also manually edit the mkqio.dat file generated by qio_getdbfiles, and remove files that you do not want to convert to Quick I/O files.
Note:
To run the qio_getdbfiles command, you must have permission to access the database and permission to write to the /extract_directory.
The mkqio.dat list file should look similar to the following:
/data11r1/VRTS11r1/redo01.log 52428800 /data11r1/VRTS11r1/redo02.log 52428800 /data11r1/VRTS11r1/redo03.log 52428800 /data11r1/VRTS11r1/sysaux01.dbf 632553472 /data11r1/VRTS11r1/system01.dbf 754974720 /data11r1/VRTS11r1/undotbs01.dbf 47185920 /data11r1/VRTS11r1/users01.dbf 5242880 /data11r1/nqio1.dbf 104857600
To convert the Oracle database files to Quick I/O files
- Shut down the database.
- Run the qio_convertdbfiles command from the directory containing the mkqio.dat file:
$ cd /extract_directory
$ /opt/VRTSdbed/bin/qio_convertdbfiles
The list of files in the mkqio.dat file is displayed. For example:
file1 --> .file1::cdev:vxfs: file2 --> .file2::cdev:vxfs: file3 --> .file3::cdev:vxfs: file4 --> .file4::cdev:vxfs: file5 --> .file5::cdev:vxfs:
Run the qio_convertdbfiles command (with no options specified) to rename the file filename to .filename and creates a symbolic link to .filename with the Quick I/O extension. By default, the symbolic link uses a relative path name.
The qio_convertdbfiles script exits and prints an error message if any of the database files are not on a VxFS file system. If this happens, you must remove any non-VxFS files from the mkqio.dat file before running the qio_convertdbfiles command again.
- Start up the database.
- You can now access these database files using the Quick I/O interface.
To undo the previous run of qio_convertdbfiles and change Quick I/O files back to regular VxFS files
- If the database is running, shut it down.
- Run the following command from the directory containing the mkqio.dat file:
$ cd /extract_directory
$ /opt/VRTSdbed/bin/qio_convertdbfiles -u
The list of Quick I/O files in the mkqio.dat file is displayed. For example:
.file1::cdev:vxfs: --> file1 .file2::cdev:vxfs: --> file2 .file3::cdev:vxfs: --> file3 .file4::cdev:vxfs: --> file4 .file5::cdev:vxfs: --> file5
The qio_convertdbfiles command with the undo option (-u) specified renames the files from <.filename> to <filename> and undoes the symbolic link to .filename that was created along with the Quick I/O files.