Entradas

Examples Oracle Online Table Redefinition

  Examples Oracle Online Table Redefinition Online Table Redefinition Examples For the following examples, see Oracle Database PL/SQL Packages and Types Reference for descriptions of all DBMS_REDEFINITION subprograms. Example Description Example 1 Redefines a table by adding new columns and adding partitioning. Example 2 Demonstrates redefinition with object datatypes. Example 3 Demonstrates redefinition with manually registered dependent objects. Example 4 Redefines a single table partition, moving it to a different tablespace. Example 1 This example illustrates online redefinition of the previously created table hr.admin_emp, which at this point only contains columns: empno, ename, job, deptno. The table is redefined as follows: •New columns mgr, hiredate, sal, and bonus are added. (These existed in the original table but were dropped in previous examples.) •The new column bonus is initialized to 0 •The column deptno has its value increased by 10. •The redefined table is partitioned

ORACLE LINUX REPOSITORIO

  ORACLE LINUX REPOSITORIO 3.6 Installing Oracle Linux with Oracle Linux Yum Server Support Use the following procedure to install Oracle Linux and configure your Linux installation for security errata or bug fix updates using the Oracle Linux yum server: Obtain Oracle Linux DVDs from Oracle Store, or download Oracle Linux from the Oracle Software Delivery Cloud: Oracle Store: https://shop.oracle.com Oracle Software Delivery Cloud website: https://edelivery.oracle.com/linux Install Oracle Linux from the ISO or DVD image. Log in as root Download the yum repository file for your Linux distribution from http://yum.oracle.com/, using the instructions you can find on the Oracle Linux yum server website. For example: # cd /etc/yum.repos.d/ # wget http://yum.oracle.com/public-yum-ol6.repo Ensure that the olrelease_latest file (for example, ol6_latest for Oracle Linux 6) is enabled, as this is the repository that contains the Oracle Preinstallation RPM. (Optional) Edit the repo file to enable