Oracle Deferred Statistics, Dynamic Sampling & Extended Statistics:
Deferred Statistics, Dynamic Sampling & Extended Statistics:Lets explore how the deferred statistics works and what impact does the dynamic sampling has on the optimizer when the statistics are...
View Articleoracle: How to delete a database
How to delete a database in Oracle:Set the environment variables:[oracle@collabn1 ~]$ env | grep...
View ArticleDetermine and set sizing parameters for database structures
Determine and set sizing parameters for database structures:Play with all the parameters that has "SIZE" in their name, below are some of them that has the keyword size. SHAIKDB>show parameter...
View ArticleOracle Memory configuration
Memory Configuration:Specifying the DDL Lock TimeoutA data definition language (DDL) statement is either nonblocking or blocking, and both types of DDL statements require exclusive locks on internal...
View ArticleADD/DROP Redo logfile groups:
ADD/DROP Redo logfile groups:SHAIKDB>select group#,thread#,status from v$log; GROUP# THREAD# STATUS---------- ---------- ---------------- 1 1 INACTIVE 2 1 CURRENT 3...
View ArticleDuplicate controlfile to different location
Duplicate controlfile to different locationSHAIKDB>show parameter control_filesNAME TYPE VALUE------------------------------------ -----------...
View ArticleConvert from Dictionary Managed Tablespace to Locally Managed Tablespace:
Convert from Dictionary Managed Tablespace to Locally Managed Tablespace:SHAIKDB>select tablespace_name,extent_management from dba_tablespaces;TABLESPACE_NAME...
View ArticleCreate and manage temporary, permanent, and undo tablespaces
Tablespace Management:initialization parameters DB_CREATE_FILE_DEST, DB_CREATE_ONLINE_LOG_DEST_n, or DB_RECOVERY_FILE_DEST in your initialization parameter file, you instruct Oracle Database to create...
View ArticleConvert tablespace from dictionary managed to Local extent management
[oracle@collabn1 ~]$ sqlplus / as sysdbaSQL*Plus: Release 11.2.0.1.0 Production on Sat Sep 5 11:51:17 2015Copyright (c) 1982, 2009, Oracle. All rights reserved.Connected to:Oracle Database 11g...
View ArticleMove/Convert objects from BIGFILE To SMALLFILE Tablespace
Option-1:=======SHAIKDB>select tablespace_name,bigfile from dba_tablespaces ts;TABLESPACE_NAME BIG------------------------------ ---SYSTEM NOSYSAUX...
View ArticleStripe data files across multiple physical devices and locations
Stripe data files across multiple physical devices and locationsRemember -- It is “data files”, not “datafiles:ControlfilesRedologsTablespaces (create more than one datafile for...
View ArticleConfigure the database environment to support optimal data access performance:
Configure the database environment to support optimal data access performance:BEGIN DBMS_WORKLOAD_REPOSITORY.MODIFY_SNAPSHOT_SETTINGS( retention => 43200, interval => 30, topnsql => 100, dbid...
View ArticleDownload the complete Oracle 11g documentation
Before you start the journey for OCM, download the complete documentation so that you can view it offline rather than searching it ONLINE.1) go edelivery.oracle.com2) Search for the version3) Download...
View ArticleCreate and manage database configuration files
Create and manage database configuration filesDatabase configuration files that are needed are those stored under the respective $ORACLE_HOME/dbs directory:The relevant files are, for example, the...
View ArticleCreate BIGFILE tablespace
Bigfile Tablespaces A bigfile tablespace is a tablespace with a single, but very large (up to 4G blocks) datafile. Traditional smallfile tablespaces, in contrast, can contain multiple datafiles, but...
View ArticleCreate a new local NFS mount
Below I will creating a new NFS file system named /nfs[oracle@collabn1 ~]$ df -PhFilesystem Size Used Avail Use% Mounted on/dev/mapper/vg_collabn1-lv_root 31G 20G 11G 66%...
View ArticleCreate and Manage a tablespace that uses NFS mounted file system file
Below we will discuss1) How to create NFS filesystem and use it for Database files:2) Configure DNFS client filesystem and use it for Database files bypassing Kernel NFS system.1) How to create NFS...
View ArticleCreate and manage multiple network configuration files
Below we will address:How to setup listener.oraHow to setup tnsnames.oraHow to setup sqlnet.oraHow to change the listener port/Listener oracle homeHow to setup multiple listeners in...
View ArticleDeploy and Configure 11gR2 Connection Manager - CMAN
Part 7 of the series:Create and manage multiple network configuration filesHow to setup listener.oraHow to setup tnsnames.oraHow to setup sqlnet.oraHow to change the listener port/Listener oracle...
View ArticleCreate and configure a listener
[oracle@collabn1 client] netca [oracle@collabn1 client]$[oracle@collabn1 admin]$[oracle@collabn1 admin]$cat listener.oraCMAN = (DESCRIPTION_LIST = (DESCRIPTION = (ADDRESS = (PROTOCOL =...
View Article