Friday 6 February 2015

oracle pl sql interview questions and answers pdf page5

41. What view would you use to look at the size of a data file?
DBA_DATA_FILES

42. What view would you use to determine free space in a tablespace? DBA_FREE_SPACE

43. How would you determine who has added a row to a table?
Turn on fine grain auditing for the table.

44. How can you rebuild an index?
ALTER INDEX REBUILD;

45. Explain what partitioning is and what its benefit is.
Partitioning is a method of taking large tables and indexes and splitting them into smaller, more manageable pieces.

46. You have just compiled a PL/SQL package but got errors, how would you view the errors?
SHOW ERRORS

47. How can you gather statistics on a table?
The ANALYZE command.

48. How can you enable a trace for a session?
Use the DBMS_SESSION.SET_SQL_TRACE or
Use ALTER SESSION SET SQL_TRACE = TRUE;

49. What is the difference between the SQL*Loader and IMPORT utilities?
These two Oracle utilities are used for loading data into the database. The difference is that the import utility relies on the data being produced by another Oracle utility EXPORT while the SQL*Loader utility allows data to be loaded that has been produced by other utilities from different data sources just so long as it conforms to ASCII formatted or delimited files.

50. Name two files used for network connection to a database.
TNSNAMES.ORA and SQLNET.ORA
More Questions & Answers :-
Page1  Page2  Page3  Page4  Page5

No comments:

Post a Comment