Oracle user role and privilege interview questions

 Answer Credit:- https://www.linkedin.com/in/skantali/ https://www.linkedin.com/in/hemant-shahi-59921762/ How we can execute PLSQL without any privilege to change it What are the default user created when Oracle is installed ? Can you create password less user in Oracle ? If yes how ? How we can see the procedure /package body with out having privilege to execute it How we can create password file […]

Database Architecture Interview Questions

What are base tables? When and how they will get created? Ans:-Are read-only tables(Data Dictionary Tables) that hold information about the database. Base tables are own by SYS. When and how they will get created? They get created when the database is built. https://docs.oracle.com/cd/B19306_01/server.102/b14220/datadict.htm Why to execute catproc.sql script? Ans:-Used to create and recreate database internal views/procedures/packagess. Primarily used after […]

EXPDP IMPDP Datapump interview questions

1.What are new features of datapump in 12c? https://oracle-base.com/articles/12c/data-pump-enhancements-12cr1 2.which case we need to use flashback_time or flashback_scn parameter? If you need consistent backup for example when you do initial load using datapump for golden gate. 3.During impdp with full=y caluse , do we need to create user before import? No.User will be automatically created. 4.which memory area expdp and […]

Generic DBA

Listener related questions:- Answer Credit:- https://www.linkedin.com/in/saibal-ghosh-ccsk-prince2-%C2%AE-469b0a7/ 1.Can we manually force a particular scan ip (out of the three) to relocate on a particular host (lets say – on node 5 of 5 node RAC) ? Ans:- srvctl relocate scan_LISTENER -i 1 -n node1 $ srvctl relocate scan -h Usage: srvctl relocate scan -i <ordinal_number> [-n <node_name>] -i <scan_ordinal_number> Ordinal number […]

Index in 12c by example test case

A. B-Tree Indexes I have discussed more details in the below blog. http://clouddba.co/index-internal-oracle-using-simple-test-case/ B.Invisible Indexes Deciding which columns to index is hard. The primary key is automatically indexed, the foreign keys should also be indexed, but then what? Even more difficult is deciding which index to remove that might be a bad index. Every time a record is inserted, all […]