11gR2
- DATABASE NAME MAX SIZE in ORACLE
23AI
- Unlocking Oracle 23c AI's JSON Relational Duality: Simplifying Data Handling for Modern Applications - New!
ADR
- TNS-01251: Cannot set trace/log directory under ADR
ASCII values
- chr function and its values - CHR and ASCII values
ASM
- Adding disk group to ASM instance using ASMCA
- Adding disks to ASM library
- create shared disks (vdi) on Virtualbox for ASM - vboxmanage command line
ASMCA
- Adding disk group to ASM instance using ASMCA
Auditing
- AUDIT DDLS in database with trigger
- Audit failed logon attempts - Oracle
- Auditing DDL changes in Oracle Database
- Automate Kill SNIPED SESSION Oracle Database
- DELETE OS AUDIT FILES IN ORACLE
- Enable Database Auditing in oracle
- How To Shrink Table AUD$
- Inserting Data into table with DML Error Logging (catching errors whiles inserting data into table)
- LAST DDL change time on a table in ORACLE
- Oracle Table Monitoring - DML ACTIVITY
- Oracle audting explained
- PLSQL code to audit all (similar) tables in schema - oracle
- Trigger to backup the data before delete or update on a table - Oracle
- Trigger to disable create objects in database starting with TMP or BAK
- find the LAST_DDL_TIME change time of an Oracle object
CHR
- chr function and its values - CHR and ASCII values
CPU patching
- Applying CPU Patch On Primary Database Server Environment
- Applying CPU Patch in a dataguard (Physical Standby) environment
Constraints
- Create a PrimaryKey on existing table without unique values
Control File
- Create Control file manually - Oracle
DBMS_JOBS
- Configure email server to send job notifcations- Oracle
Database Load capture
- Oracle Database Load Capture
EXPDP/IMPDP
- Generate sql file from datapump export
- IMPDP TABLE_EXISTS_ACTION = APPEND, REPLACE, [SKIP] and TRUNCATE
- ORA-39021: Database compatibility version 11.2.0.4.4.4.4 is not supported.
- Restore a schema from full expdp backup
- expdp content=data_only
- import a single table from a full export backup in oracle - New!
- restore single table from expdp full backup
Education
- Connecting to CDB and PDB - Oracle 12c
- Dropping large columns in database - ORACLE
- OCA 1Z0-051 dumps
Feature
- CREATE INVISIBLE INDEX ON A TABLE
- Create Temporary Tables in Oracle
- Dropping large columns in database - ORACLE
- Online table redefination
- Unlocking Oracle 23c AI's JSON Relational Duality: Simplifying Data Handling for Modern Applications - New!
- chr function and its values - CHR and ASCII values
- select from table with no direct relation or foriegn keys
Flash_recovery_area
- Flashback Database setup in Oracle
Generate DDL
- Generate sql file from datapump export
Grid Infrastructure
- Adding disk group to ASM instance using ASMCA
High Availabilty
- CHANGE STANDBY DATABASE PROTECTION MODE
- CREATE ORACLE DATABASE SERVICE
- ENABLE REAL TIME APPLY ON STANDBY DATABASE
Invisible Index
- CREATE INVISIBLE INDEX ON A TABLE
Kill Sessions
- ALTER SYSTEM KILL SESSION
- Automate Kill SNIPED SESSION Oracle Database
LISTAGG
- Retrieve data from column as a row - Using LISTAGG function - Oracle
Linux
- java.lang.SecurityException: The jurisdiction policy files are not signed by a trusted signer
- Linux commands
- UNIX Permissions - table
- create shared disks (vdi) on Virtualbox for ASM - vboxmanage command line
- uninstall java on linux
ORA-00020
- ORA-00020: maximum number of processes exceeded
ORA-14074
- ORA-14074: partition bound must collate higher than that of the last partition
- ORA-14074: partition bound must collate higher than that of the last partition
ORA-17629
- RMAN-06820: WARNING: failed to archive current log at primary database
ORA-39021
- ORA-39021: Database compatibility version 11.2.0.4.4.4.4 is not supported.
Opatch
- set up the OPatch environment variable for Oracle Patching - New!
Oracle 12c
- Connecting to CDB and PDB - Oracle 12c
- Step by Step installation oracle 12c database on Linux 6 (centos)
Oracle Maintenance
- Is it safe to move/recreate alertlog while the database is up and running
- ORA-00020: maximum number of processes exceeded
- Oracle Resource Manager: Granular Control for Managing Idle Sessions - New!
- Plsql Package to receive an Oracle Database AWR Report sent to EMAIL
Oracle Patching
- Applying CPU Patch On Primary Database Server Environment
- Applying CPU Patch in a dataguard (Physical Standby) environment
- BACKUP ORACLE HOME AND INVENTORY
- Oracle Which Patch has been applied?
- set up the OPatch environment variable for Oracle Patching - New!
Oracle Security
- TNS-00583: Valid node checking: unable to parse configuration parameters
- Enable Database Auditing in oracle
- Find accounts unused for days
- How Secure Can We Make Our Oracle Databases?
- ORA-24247: network access denied by access control list
- Oracle Database files to be excluded in Anti-virus or any third party tools scan
- Oracle user profile setup guide
- Restricting database access to IP addeess using sqlnet.ora
- Simple Oracle Plsql Package for password encryption and decryption - New!
- Trigger to backup the data before delete or update on a table - Oracle
- Using special characters in ORACLE DB passwords
- configure complex password (password verify function) in oracle database
- select grants on tables to users or roles
PRCF-2010
- [PRCF-2010 : All connections to the remote nodes got refused. Cannot proceed with the file transfer. There has to be at least one remote node to send the installer files!
Performance
- Automating Oracle ADDM Reports with PL/SQL: A Guide to Sending Performance Reports via Email
- CREATE INVISIBLE INDEX ON A TABLE
- Create Temporary Tables in Oracle
- ORA-00837: Specified value of MEMORY_TARGET greater than MEMORY_MAX_TARGET
- Online table redefination
- Oracle Shrink Table - regain your space back
- Plsql Package to receive an Oracle Database AWR Report sent to EMAIL
- Using Index Hints in oracle
PrimaryKey
- Create a PrimaryKey on existing table without unique values
- select from table with no direct relation or foriegn keys
RAC
- Adding disk group to ASM instance using ASMCA
- PRVF-7532 : Package "libaio-0.3.105 (i386)" is missing - Oracle installation requires old rpm versions, what to do?
- RAC - Missing Cvuqdisk package
- [PRCF-2010 : All connections to the remote nodes got refused. Cannot proceed with the file transfer. There has to be at least one remote node to send the installer files!
- create shared disks (vdi) on Virtualbox for ASM - vboxmanage command line
RMAN
- RMAN FULL database recovery scenerio
- RMAN-06820: WARNING: failed to archive current log at primary database
- Restore and recover database from RMAN backup - DB in No archive log mode
- Restoring archive logs from an RMAN backup - New!
- Rman Recovery comands....
- Rman System datafile recovery scenerio
- delete noprompt obsolete archive log - RMAN
- restore archive logs from backup
Real time apply
- Real Time Log Apply on Standby Database
Resource Manager
- Oracle Resource Manager: Granular Control for Managing Idle Sessions - New!
SQLSERVER
- SQLSERVER QUERIES - SQLSERVER2015
STANDBY DATABASE
- ARCHIVE LOG Switch - shell script (for Oracle)
- CHANGE STANDBY DATABASE PROTECTION MODE
- Configure second physical standby database - Oracle
- ENABLE REAL TIME APPLY ON STANDBY DATABASE
- FIND ARCHIVE GAP BETWEEN PRIMARY AND STANDBY
- OPEN STANDBY DATABASE IN READ ONLY
- ORACLE FAL_CLIENT and FAL_SERVER explained
- RMAN-06820: WARNING: failed to archive current log at primary database
- Real Time Log Apply on Standby Database
- database switch over using dgmgrl
- restore archive logs from backup
Shrink table
- Oracle Shrink Table - regain your space back
TNS-00583
- TNS-00583: Valid node checking: unable to parse configuration parameters
Temp Tables
- Create Temporary Tables in Oracle
Terminate Session
- Identify and Terminate Sessions in oracle - New!
UniqueKey
- Create a PrimaryKey on existing table without unique values
Views
- Create Materialized Views
administration
- ALTER SYSTEM KILL SESSION
- Optimizing Storage and Performance with Oracle Database Advanced Compression - New!
- java.lang.SecurityException: The jurisdiction policy files are not signed by a trusted signer
- Automate Kill SNIPED SESSION Oracle Database
- CHANGE STANDBY DATABASE PROTECTION MODE
- CREATE ORACLE DATABASE SERVICE
- Count rows in all tables in a schema
- Create Control file manually - Oracle
- Create Temporary Tables in Oracle
- Drop all tables in a schema
- Enable Database Auditing in oracle
- IMPDP TABLE_EXISTS_ACTION = APPEND, REPLACE, [SKIP] and TRUNCATE
- Identify and Terminate Sessions in oracle - New!
- Inserting Data into table with DML Error Logging (catching errors whiles inserting data into table)
- Is it safe to move/recreate alertlog while the database is up and running
- LAST DDL change time on a table in ORACLE
- OPEN STANDBY DATABASE IN READ ONLY
- ORA-00020: maximum number of processes exceeded
- ORA-00837: Specified value of MEMORY_TARGET greater than MEMORY_MAX_TARGET
- ORA-39021: Database compatibility version 11.2.0.4.4.4.4 is not supported.
- ORACLE_HOME_LISTNER is not SET, unable to auto-stop Oracle Net Listener
- Online table redefination
- Oracle Database files to be excluded in Anti-virus or any third party tools scan
- PLSQL code to audit all (similar) tables in schema - oracle
- Using special characters in ORACLE DB passwords
- chr function and its values - CHR and ASCII values
- configure complex password (password verify function) in oracle database
- expdp content=data_only
- select from table with no direct relation or foriegn keys
- select grants on tables to users or roles
alertlog
- Is it safe to move/recreate alertlog while the database is up and running
alter table set column unused
- Dropping large columns in database - ORACLE
archive logs
- ARCHIVE LOG Switch - shell script (for Oracle)
- Restoring archive logs from an RMAN backup - New!
cmdline
- run sql from windows cmd prompt CLI
compression
- Optimizing Storage and Performance with Oracle Database Advanced Compression - New!
database-restore
- Restore and recover database from RMAN backup - DB in No archive log mode
- restore single table from expdp full backup
datagaurd
- CHANGE STANDBY DATABASE PROTECTION MODE
- ENABLE REAL TIME APPLY ON STANDBY DATABASE
- FIND ARCHIVE GAP BETWEEN PRIMARY AND STANDBY
- OPEN STANDBY DATABASE IN READ ONLY
- Real Time Log Apply on Standby Database
- database switch over using dgmgrl
dgmgrl
- CHANGE STANDBY DATABASE PROTECTION MODE
- database switch over using dgmgrl
drop tables
- Drop all tables in a schema
error
- TNS-00583: Valid node checking: unable to parse configuration parameters
- Failed to auto-stop Oracle Net Listener using ORACLE_HOME/bin/tnslsnr
- Inserting Data into table with DML Error Logging (catching errors whiles inserting data into table)
- ORA-00020: maximum number of processes exceeded
- ORA-00837: Specified value of MEMORY_TARGET greater than MEMORY_MAX_TARGET
- ORA-14074: partition bound must collate higher than that of the last partition
- bash: /bin/install/.oui: No such file or directory
- dbstart: line 275: ORACLE_HOME_LISTNER: command not found
exclude=table
- Exclude some tables from schema export
expd
- Exclude some tables from schema export
export/import
- Export table data with filtered clause - Query based export (oracle expdp)
- Exporting partitions from a Partitioned tables
- IMPDP TABLE_EXISTS_ACTION = APPEND, REPLACE, [SKIP] and TRUNCATE
- ORA-31633: unable to create master table ".SYS_IMPORT_FULL_05"
- Restore a schema from full expdp backup
- restore single table from expdp full backup
index
- CREATE INVISIBLE INDEX ON A TABLE
indexes
- CREATE INVISIBLE INDEX ON A TABLE
- Using Index Hints in oracle
installation
- Step by Step installation oracle 12c database on Linux 6 (centos)
- bash: /bin/install/.oui: No such file or directory
- prvf-0002 : could not retrieve local node name
java
- java.lang.SecurityException: The jurisdiction policy files are not signed by a trusted signer
- uninstall java on linux
listener
- TNS-00583: Valid node checking: unable to parse configuration parameters
- CREATE ORACLE DATABASE SERVICE
- How To Change the Listener Log Filename Without Stopping the Listener
- ORACLE_HOME_LISTNER is not SET, unable to auto-stop Oracle Net Listener
- TNS-01251: Cannot set trace/log directory under ADR
- information provided for listener is currently in use by another software - Virtualbox
materialized view
- Create Materialized Views
memory issue
- ORA-00837: Specified value of MEMORY_TARGET greater than MEMORY_MAX_TARGET
missing package
- PRVF-7532 : Package "libaio-0.3.105 (i386)" is missing - Oracle installation requires old rpm versions, what to do?
online table re-def
- Online table redefination
oracle
- Identify and Terminate Sessions in oracle - New!
- Is it safe to move/recreate alertlog while the database is up and running
- Oracle Resource Manager: Granular Control for Managing Idle Sessions - New!
- USING SELECT 'X' in query/subqueries.
- Unlocking Oracle 23c AI's JSON Relational Duality: Simplifying Data Handling for Modern Applications - New!
- bash: /bin/install/.oui: No such file or directory
- expdp content=data_only
- import a single table from a full export backup in oracle - New!
- passing variables in sqlplus scripts
- sql for first day of month and last day of month
password verify function
- Using special characters in ORACLE DB passwords
- configure complex password (password verify function) in oracle database
plsql
- COUNT ROWS FROM ALL TABLES AND PRINT THEM - plsql - oracle
- Column level triggers - Oracle
- Count rows in all tables in a schema
- Drop all tables in a schema
- Learn Plsql - Loops
- Sample plsql code- for practice
- grant permissions on all tables to a user
- passing variables in sqlplus scripts
- plsql - CASE STATEMENT
- plsql - IF-THEN, IF-THEN-ELSE,IF-THEN-ELSIF STATEMENT
putty
- Configure Putty tunnel
recovery
- Real Time Log Apply on Standby Database
- Restore a schema from full expdp backup
- delete noprompt obsolete archive log - RMAN
rpm
- uninstall java on linux
shell script
- ARCHIVE LOG Switch - shell script (for Oracle)
sql
- Directory permissions granted to a user in Oracle database
- Drop all tables in a schema
- passing variables in sqlplus scripts
- run sql from windows cmd prompt CLI
- select grants on tables to users or roles
- update rows from multiple tables (correlated update)
sql-query
- Check duplicates for combination of multiple columns
- Directory permissions granted to a user in Oracle database
- Inserting Data into table with DML Error Logging (catching errors whiles inserting data into table)
- Retrieve data from column as a row - Using LISTAGG function - Oracle
- SQLSERVER QUERIES - SQLSERVER2015
- Split Fullname into firstname and last name thru sql - Oracle
- USING SELECT 'X' in query/subqueries.
- chr function and its values - CHR and ASCII values
- find the LAST_DDL_TIME change time of an Oracle object
- select from table with no direct relation or foriegn keys
- sql for first day of month and last day of month
table partitioning
- ORA-14074: partition bound must collate higher than that of the last partition
timestamp
- sql for first day of month and last day of month
triggers
- AUDIT DDLS in database with trigger
- Column level triggers - Oracle
- Trigger to backup the data before delete or update on a table - Oracle
- Trigger to disable create objects in database starting with TMP or BAK
- create shared disks (vdi) on Virtualbox for ASM - vboxmanage command line
trouble-shootting
- ORA-00020: maximum number of processes exceeded
- ORA-01113: file string needs media recovery
tuning
- CREATE INVISIBLE INDEX ON A TABLE
- Inserting Data into table with DML Error Logging (catching errors whiles inserting data into table)
- Using Index Hints in oracle
uninstall
- uninstall java on linux
unix
- Configure Putty tunnel
- UNIX Permissions - table
virtual columns
- Virtual Columns in oracle 11g
windows
- run sql from windows cmd prompt CLI