What Is Difference Between Truncate & Delete?
TRUNCATE commits after deleting entire table i.e., cannot be rolled back.
Database triggers do not fire on TRUNCATE
DELETE allows the filtered deletion. Deleted records can be rolled back or committed.
Database triggers fire on DELETE.
What Is A Transaction?
Transaction is logical unit between two commits and commit and rollback.
What Are The Types Of Sql Statement?
Data Definition Language: CREATE, ALTER, DROP, TRUNCATE, REVOKE, NO AUDIT & COMMIT.
Data Manipulation Language: INSERT, UPDATE, DELETE, LOCK TABLE, EXPLAIN PLAN & SELECT.
Transactional Control: COMMIT & ROLLBACK.
Session Control: ALTERSESSION & SET ROLE.
System Control: ALTER SYSTEM.
What Is An Oracle Sequence?
A sequence generates a serial list of unique numbers for numerical columns of a database’s tables.
What Is System Tablespace And When Is It Created?
Every Oracle database contains a tablespace named SYSTEM, which is automatically created when the database is created. The SYSTEM tablespace always contains the data dictionary tables for the entire database.
What Is A Tablespace?
A database is divided into Logical Storage Unit called tablespaces. A tablespace is used to grouped related logical structures together.
What Are The Components Of Logical Database Structure Of Oracle Database?
There are tablespaces and database’s schema objects.
What Are The Components Of Physical Database Structure Of Oracle Database?
Oracle database is comprised of three types of files. One or more datafiles, two are more redo log files, and one or more control files.
What Are The Dictionary Tables Used To Monitor A Database Space?
DBA_FREE_SPACE
DBA_SEGMENTS
DBA_DATA_FILES.
SQL*Plus Statements
How Will You Enforce Security Using Stored Procedures?
Don’t grant user access directly to tables within the application.
Instead grant the ability to access the procedures that access the tables.
When procedure executed it will execute the privilege of procedures owner. Users cannot access tables except via the procedure.
What Is User Account In Oracle Database?
A user account is not a physical structure in database but it is having important relationship to the objects in the database and will be having certain privileges.
List The Factors That Can Affect The Accuracy Of The Estimations?
- The space used transaction entries and deleted records, does not become free immediately after completion due to delayed cleanout.
- Trailing nulls and length bytes are not stored.
- Inserts of, updates to and deletes of rows as well as columns larger than a single data block, can cause fragmentation a chained row pieces.
What Is A Public Synonym?
Any database user can access a public synonym.
What Is A Private Synonym?
Only its owner can access a private synonym.
What Are The Types Of Synonyms?
There are two types of synonyms private and public.
What Is A Synonym?
A synonym is an alias for a table, view, sequence or program unit.
TRUNCATE commits after deleting entire table i.e., cannot be rolled back.
Database triggers do not fire on TRUNCATE
DELETE allows the filtered deletion. Deleted records can be rolled back or committed.
Database triggers fire on DELETE.
What Is A Transaction?
Transaction is logical unit between two commits and commit and rollback.
What Are The Types Of Sql Statement?
Data Definition Language: CREATE, ALTER, DROP, TRUNCATE, REVOKE, NO AUDIT & COMMIT.
Data Manipulation Language: INSERT, UPDATE, DELETE, LOCK TABLE, EXPLAIN PLAN & SELECT.
Transactional Control: COMMIT & ROLLBACK.
Session Control: ALTERSESSION & SET ROLE.
System Control: ALTER SYSTEM.
What Is An Oracle Sequence?
A sequence generates a serial list of unique numbers for numerical columns of a database’s tables.
What Is System Tablespace And When Is It Created?
Every Oracle database contains a tablespace named SYSTEM, which is automatically created when the database is created. The SYSTEM tablespace always contains the data dictionary tables for the entire database.
Virtusa Most Frequently Asked Latest Oracle Interview Questions Answers |
What Is A Tablespace?
A database is divided into Logical Storage Unit called tablespaces. A tablespace is used to grouped related logical structures together.
What Are The Components Of Logical Database Structure Of Oracle Database?
There are tablespaces and database’s schema objects.
What Are The Components Of Physical Database Structure Of Oracle Database?
Oracle database is comprised of three types of files. One or more datafiles, two are more redo log files, and one or more control files.
What Are The Dictionary Tables Used To Monitor A Database Space?
DBA_FREE_SPACE
DBA_SEGMENTS
DBA_DATA_FILES.
SQL*Plus Statements
How Will You Enforce Security Using Stored Procedures?
Don’t grant user access directly to tables within the application.
Instead grant the ability to access the procedures that access the tables.
When procedure executed it will execute the privilege of procedures owner. Users cannot access tables except via the procedure.
What Is User Account In Oracle Database?
A user account is not a physical structure in database but it is having important relationship to the objects in the database and will be having certain privileges.
List The Factors That Can Affect The Accuracy Of The Estimations?
- The space used transaction entries and deleted records, does not become free immediately after completion due to delayed cleanout.
- Trailing nulls and length bytes are not stored.
- Inserts of, updates to and deletes of rows as well as columns larger than a single data block, can cause fragmentation a chained row pieces.
Any database user can access a public synonym.
What Is A Private Synonym?
Only its owner can access a private synonym.
What Are The Types Of Synonyms?
There are two types of synonyms private and public.
What Is A Synonym?
A synonym is an alias for a table, view, sequence or program unit.
Post a Comment