DBACLASSDBACLASS

  • ORACLE DBA
    • DATABASE
      • ADMINISTRATION
      • PERFORMANCE TUNING
      • DATAGUARD
      • ORACLE SECURITY
      • Backup & Recovery
      • TROUBLESHOOT
      • QUIZ
    • ORACLE RAC
    • ORACLE 12c-20c
    • ORACLE MULTITENANT
    • OEM 12C/13C
    • GOLDENGATE
    • INTERVIEW QA
    • DBA CHEATSHEET
  • DBA SCRIPTS
  • POSTGRES
  • POSTGRES SCRIPTS
  • MYSQL
  • DEVOPS

DATABASE

How to drop a private database link From sys

16796 views Less than a minute 3

As we know, the private db_links can be dropped only by the owner of the database_link.  But you don’t have the password that db_link owner, then there is a workaround for that. SQL>select * from dba_db_links where OWNER=’SCOTT’; OWNER DB_LINK USERNAME HOST CREATED —————————— ——————– —————————— ——————– ——— SCOTT LINK1 SCOTT testdb 04-NOV-11 SQL>drop database […]

How to create database link without modifying the tnsnames.ora

6193 views Less than a minute 1

            Suppose you want to create a database_link, but you don’t have the privilege to modify the tnsname entry. In that case you can create the database_link directly using tns description. sql>create public database link IMFP connect to iwf identified by thr3iwf USING ‘(DESCRIPTION=(ADDRESS_LIST=( ADDRESS=(PROTOCOL=TCP)(HOST=testoracle.com)(PORT=1522))) (CONNECT_DATA=(SERVICE_NAME=IMFP)))’ / database link created. […]

How to create a database manually

17552 views 3 min , 5 sec read 2

An oracle database can be created either using Manually or using DBCA( GUI Method).  But few organizations recommend to use manual method for creating database. Here I have provided steps for creating database Manually with installation of differnt optional components. Before creating an oracle database, Make sure oracle database software is installed. REFER –  Steps […]

create database link from oracle to sql server

42341 views 1 min , 23 sec read 6

Creating a database link from oracle to oracle database is easy. But setting up db_link from oracle to mssql server isn’t straight forward. We need to do odbc setup. Its knows as heterogeneous db_link.  We can achive this either by using third party odbc drivers or using oracle provided gateways utility. Here in this article […]

How to connect to another user without knowing the password in oracle

13832 views Less than a minute 3

Suppose  you want to do some activity under another user, But you don’t know the password of that user. Then how you will do it? There is a way you can do it.  See the below demo. Suppose a user TEST1 wants to connect to TEST2 user and create a table and we don’t know […]

How to deinstall and install XDB component

10326 views Less than a minute 1

Follow below steps for deinstalling XDB component:   — The catnoqm.sql script drops XDB. >SQL> spool xdb_removal.log SQL> set echo on; SQL> connect / as sysdba SQL> shutdown immediate; SQL> startup SQL> @?/rdbms/admin/catnoqm.sql SQL> spool off; FOR INSTALLING XDB COMPONENT:   —-The catqm.sql script requires few parameters be passed to it when run: SQL> spool […]

How to create synonym for a schema

10851 views Less than a minute 0

 Usually we create synonym for table. But can we really create synonym for a schema?   Yes, there is an undocumented parameter  _enable_schema_synonyms oracle which enables this feature. Check the parameter status and make it true.   SQL>select ksppinm, ksppstvl from x$ksppi a, x$ksppsv b where a.indx=b.indx and ksppinm like ‘%schema%synonym%’ KSPPINM KSPPSTVL —————————- ———— […]

How to enable/disable archive log mode in oracle database

23281 views 1 min , 10 sec read 1

   There are 2 types of logging mode in oracle database.   1. Archivelog mode In this mode, after the online redo logs are filled , it will move to archive location 2. Noarchivelog mode In this mode, filled online redo logs wont be archives, instead they will be overwritten.   Enable archive log mode: […]

Partition an existing table oracle using exchange method

11574 views 2 min , 8 sec read 1

There are different methods to partition an existing table. Here we will create a non partitioned table(PRODUCT) and convert it to a partitioned table using EXCHANGE option. EXAMPLE: Create a normal table with index and constraints and insert some data:   conn oranet/oranet Connected. CREATE TABLE PRODUCT ( id NUMBER, code VARCHAR2(10), description VARCHAR2(50), created_date […]

Page 6 of 6« First«...23456
Google
Custom Search
  • 5ansible
  • 48BACKUP & RECOVERY
  • 6BLOG
  • 16CLOUD
  • 59DATABASE
  • 40DATABASE SCRIPTS
  • 10Database-Wiki
  • 28DATAGUARD
  • 9DB TOOLS
  • 18GOLDENGATE
  • 3HADOOP
  • 47HOW TO
  • 11INTERVIEW QA
  • 61ORACLE 12C
  • 5ORACLE 18C
  • 12ORACLE 19C
  • 59ORACLE RAC
  • 13ORACLE SECURITY
  • 30PERFORMANCE TUNING
  • 29POSTGRES
  • 4R-STUDIO
  • 13SHELL SCRIPT
  • 152TROUBLESHOOTING
  • 3WEBLOGIC
  • Upgrade database from 11g to 12c manually 111024 16
  • Upgrade database from 12.1.0.2 to 12.2.0.1 83255 9
  • ORA-04036: PGA memory used by the instance exceeds PGA_AGGREGATE_LIMIT 82106 3
  • Prerequisite check “CheckActiveFilesAndExecutables” failed 71179 3
  • install oracle goldengate 12c on linux 7 67339 0
  • How to run SQL tuning advisor for a sql_id 65269 9
  • Transparent Data Encryption (TDE) in oracle 12c 55374 2
  • How to drop and recreate temp tablespace in oracle 55257 8
  • ORA-01624: log 1 needed for crash recovery of instance 52206 2
  • ORA-24247: network access denied by access control list (ACL) 50402 0

Tags

12c 19C archive archivelog ASM Audit AWR backup cloning cloud cluster database dataguard dgmgrl DISKGROUP EDB EXPDP failover flashback goldengate grid impdp multitenant OPATCH ORA- oracle oracle 12.2. oracle 12c partition patch patching PDB pluggable postgres RAC replication rman SCRIPT security SHELL script standby tablespace temp undo upgrade

About DBACLASS

DBACLASS.COM is a knowledgebase for Oracle Database administrators
  • @TwitterDBA https://t.co/iMfhff4h6d
    Friday Oct 28 - 8:28am
  • @TwitterDBA https://t.co/xBWFtD3lga
    Friday Oct 28 - 8:27am

Follow @supportdbaclass on Twitter

  • Privacy policy
  • Terms & Conditions
  • Contact us
  • About Us
  • Write for us
  • Q&A Forum