Get in touch: [email protected]

  • Create a Directory Object and Granting Access – External Tables

    First, create a directory object that points to the location of the file on disk: SQL> create directory example_dir as ‘/oradata/sales’; Grant READ and WRITE on the directory object to the user (your account or application account) that is accessing the directory object. SQL> grant read, write on directory example_dir to app_user; Create Table Then,…

    Read more...

  • External Table Types – External Tables

    We just discussed the SQL*Loader type of external tables, and that is what is used by default. However, there are other types of external tables that each has its own access drivers and helps you work with the different data types you might be using. The types of external tables are as follows: •     ORACLE_LOADER…

    Read more...

  • SQL*Loader vs. External Tables – External Tables

    One general use of an external table is to employ SQL to load data from an OS file into a regular database table. This facilitates the loading of large amounts of data from files into the database. Almost anything you can do with SQL*Loader, you can achieve with external tables. An important difference is that…

    Read more...

  • Restoring and Recovering to a Different Server – RMAN Backups and Reporting

    When you think about architecting your backup strategy, as part of the process, you must also consider how you are going to restore and recover. Your backups are only as good as the last time you tested a restore and recovery. A backup strategy can be rendered worthless without a good restore-and-recovery strategy. The last…

    Read more...

  • FLASHBACK DATABASE – RMAN Backups and Reporting

    The Flashback Database brings the database back to a point in time in the past. Flashback Database uses information stored in flashback logs; it does not rely on restoring database files (as do cold backup, hot backup, and RMAN). Flashback Database is not a substitute for a backup of your database. If you experience a…

    Read more...

  • Flashing Back a Table to a Previous Point in Time – RMAN Backups and Reporting

    If a table was erroneously deleted from, you have the option of flashing back the table to a previous point in time. The Flashback Table feature uses information in the undo tablespace to restore the table. The point in time in the past depends on your undo tablespace retention period, which specifies the minimum time…

    Read more...

  • Flashback – RMAN Backups and Reporting

    Although the RECOVER TABLE command is a nice enhancement, I recommend that if you have an accidentally dropped table, you first explore using the recycle bin or Flashback Table to Before Drop feature to restore the table. Or, if the table was erroneously deleted from, then use the Flashback Table feature to restore the table…

    Read more...

  • Restoring to a Restore Point – RMAN Backups and Reporting

    There are two types of restore points: normal and guaranteed. The main difference between a guaranteed restore point and a normal restore point is that a guaranteed restore point is not eventually aged out of the control file; a guaranteed restore point will persist until you drop it. Guaranteed restore points do require an FRA.…

    Read more...

  • Performing Log Sequence–Based Recovery – RMAN Backups and Reporting

    Usually this type of incomplete database recovery is initiated because you have a missing or damaged archivelog file. If that is the case, you can recover only up to your last good archivelog file, because you cannot skip a missing archivelog. How you determine which archivelog file to restore up to (but not including) will…

    Read more...

  • Determining the Type of Incomplete Recovery – RMAN Backups and Reporting

    Time-based restore and recovery are commonly used when you know the approximate date and time to which you want to recover your database. For instance, you may know approximately the time you want to stop the recovery process, but not a particular SCN. Log sequence-based and cancel-based recovery work well in situations in which you…

    Read more...