Updated March 6, 2023
Introduction to Oracle utilities
Oracle provides the different utilities to the users, in which we can manage the data such as we can handle high speed movement of data and metadata from one database to another database using the data pump export and import functionality. Basically Oracle utilities provide the group of extractors and schema that means we can extract and manipulate the whole representation of metadata using the different API of metadata. It provides the moving facility to the user, in which we are able to move data and metadata from one site to another site using a different API of data Pump. It also provides the load data functionality that is we can load data into the oracle table from a different operating system by using SQL Loader.
All Oracle Utilities
Now let’s see different Oracle utilities as follows.
1. Oracle Database Utilities
Oracle database 11g is one type of utilities on oracle and it has some features such as handling the large amount of data, we can manipulate the data, we can extract the data and we can move from one site to another site etc. basically it includes some functionality as follows.
2. Data Pump Export and Import Utilities
Data Pump is used to handle high-speed data or metadata from one database to another database, this function is based on oracle database movement utilities. By using data Pump functionality we verify the data movement and this can be implemented by using the Export and Import parameters.
It has two types as follows.
- Data Pump Export Utilities
Data Pump Export (It is referred to as Export for simplicity of reading) is a utility for dumping data and metadata into a group of operating files that files we called as dump file set. The dump file set we can easily move from one system to another and loaded by using Data Pump Import utilities. The set of dump files means it contains the table data, database metadata as well as control information and all files written in binary format which can be read only by using the Data Pump Import.
- Data Pump Import Utilities
Data Pump Import utility is used to load metadata and export the dump file set into the target system. It also contains table data, database object metadata as well as control information like export utilities. Here also all files are written in binary format.
3. Data Pump API Utilities
Data Pump API gives a high-velocity system to move all or part of the information and metadata for a site starting with one data set then onto the next. For utilization of the Data Pump API, Oracle provides DBMS_DATAPUMP PL/SQL bundle. The Data Pump Export and Data Pump Import utilities depend on the Data Pump API.
4. Metadata API Utilities
It helps us to retrieve metadata s XML format including SQL DDL commands. To use Metadata API we need to use a procedure that is PL/SQL packages. For Metadata API every real-time entity is as object of that database.
5. SQL*Loader Utilities
It is used to load data from the external files into the SQL table of Oracle database. It has a different feature as follows.
- It loads data from different data files during the same
- Similarly we can load different tables during the same
- Manipulate the data before loading.
- It uses the operating system file to access the different data files.
- It is capable to load complex relational data.
- It uses secondary data files for loading purposes.
Normally the SQL* Loader uses input as a control file to control the behavior of the SQL* Loader and output of SQL* Loader is a database that is log files.
6. DBVerify Utility
DBVERIFY is an outer command-line utility that provides integrity check constraint that is we can check physical data structure. It tends to be utilized on offline or online information bases, too on reinforcement documents. We can use DBVERIFY basically when you should guarantee that a reinforcement data set (or data file) is legitimate before it is reestablished or as an indicative guide when you have experienced information debasement issues. Since DBVERIFY can be run against a disconnected data set, uprightness checks are altogether quicker. DBVERIFY checks are restricted to reserve oversaw blocks (that is, information blocks). Since DBVERIFY is just for use with data files, it won’t neutralize control documents or re-try logs. There are two order line interfaces to DBVERIFY. With the primary interface, you indicate circle squares of a solitary data file for checking. With the subsequent interface, you indicate a fragment for checking.
7. DBNEWID Utility
DBNEWID Utility is used to modify the internal and unique database identifiers as well as database name; by using DBNEWID we can modify any one of them as follows.
- We can modify only the DBID of a database.
- We can modify only the DBNAME of a database.
- In the third case we can modify both that is DBID and DBNAME.
8. External Table Utilities
External table utility present in the SQL* Loader allows us to access the data from external sources. The external tables can be created by using the ORACLE_DATAPUMP access driver, data manipulation command we cannot execute or we cannot create indexes on an external table. So that reason SQL* Loader is the best option for loading the data but it requires additional indexing. If we need to use an external file so we must have some basic knowledge about the file format and record format of the data files on your current executed platform as well as we also need to know what SQL is and how we can execute the query on SQL.
9. LogMiner
It is used to redo the log file with the help of the query interface.
Conclusion
We hope from this article you have understood about Oracle Utilities. From this article, we have learned the different Utilities of Oracle. We also see what are the advantages and disadvantages of Oracle Utilities. From this article, we learned how and when we use Oracle Utilities.
Recommended Articles
This is a guide to Oracle utilities. Here we discuss the different Utilities of Oracle along with the advantages and disadvantages and also learned how and when to use these utilities. You may also have a look at the following articles to learn more –