Posted on January 31, 2022 by mudhalvan
Read More »
Posted on October 7, 2021 by mudhalvan
Step 1:Non-CDB Instance1.1 Open Non-CDB in Read-Only Mode1.2 execute dbms_pdb.describe and generate the PDB Description XML File1.3 Shutdown Non-CDB Instance Step 2: Target CDB2.1. Check the PDB description compatibiliydbms_pdb.check_plug_compatibility2.2. Confirm if any voilations are there pdb_plug_in_violation view for this PDBAll Voilations should be fixed except execute non-cdb_to_pdb.sql2.3. Create pluggable database using PDB Description XML FileOptions:COPY – This will copy all
Read More »
Posted on April 29, 2020 by mudhalvan
What is Access Control Lists(ACL) in Oracle? Oracle allows access to external network services using several PL/SQL APIs (UTL_TCP, UTL_SMTP, UTL_MAIL, UTL_HTTP and UTL_INADDR), all of which are implemented using the TCP protocol. In previous versions of the database, access to external services was effectively an on/off switch based on whether a user was granted execute permissions on a specific
Read More »
Posted on February 20, 2019 by mudhalvan
How to rotate listener log online In oracle listener log file contains a lot of useful information, like the program which was used for the connection, the IP address where the connection is coming from, the OS user which was used on the client and we can add many more to be recorded. Since it records more information the log
Read More »
Posted on October 17, 2018 by mudhalvan
We can get the DDL of an object using GET_DDL() It is a function of metadata package DBMS_METADATA. Syntax: select DBMS_METADATA.GET_DDL(‘TABLE’,'<table_name>’) from DUAL; Example: MUDHALVAN@UPGR:SQL> set long 1000 MUDHALVAN@UPGR:SQL> set pagesize 0 MUDHALVAN@UPGR:SQL> select DBMS_METADATA.GET_DDL(‘TABLE’,’EMP’) from DUAL; Output: CREATE TABLE “MUDHALVAN”.”EMP” ( “ENO” NUMBER(10,0) NOT NULL ENABLE, “ENAME” VARCHAR2(20), “DOB” DATE, CONSTRAINT “EMP_PK” PRIMARY KEY (“ENO”) USING INDEX PCTFREE 10
Read More »
Older Entries »