Beruflich Dokumente
Kultur Dokumente
You can query v$datafile and v$logfile views for finding datafiles and redo log file information
.
What is the effect of DB_Name parameter and database name on each other in control file?
If during database instance startup the value of DB_Name Parameter and the database name are not same in control file,
DB_Block_Size determines the size of database buffers in the buffer cache of SGA(System Global Area).
How you can check the version of oracle and its components in your database?
To see which release of oracle and its component you are using, Query the data dictionary view
Product_Component_Version.
No, You cannot rename a database user directly. But if it is needed then you can take export of the user which has to be
changed and create a new user with new name. Import the exported objects by using FROMUSER and TOUSER .
Note: It is advisable to generate script for creating the new user from the existing user because you can have same values for
all parameters and just replace the new user name with the old one. Use any reverse engineering tool for this. You can use SQ
Can one resize the data files if experiencing problem with the tablespace size?
One can manually increase or decrease the size of a datafile from Oracle 7.2 using the ALTER DATABASE DATAFILE '
filename1' RESIZE 100M; command. Because you can change the sizes of datafiles, you can add more space to your
database without adding more datafiles.
I would like to increase the size of the archive logs which should hopefully decrease the number of logs switched per minute
The best way is to create new logs with the larger size and then drop the old ones after you switch from the old ones to the
new logs
Redo records contain information used to modify a database block (or page, depending on what your background is in) from
a previous coherent state to a new coherent state. In other words, Redo records contain the information required in order to
Undo records contain information used to reverse (or Undo) the changes made to a database block, reversing it from one
coherent state to a previous coherent state. This information is used for the purpose of rolling back transactions and,
in the case of Oracle, providing other sessions with a point-in-time snapshot of what a database block looked like before
You can use Oracle Package UTL_SMTP. Describe package for more details.
Which oracle facility can be used for scheduling jobs.
You can use Oracle Package DBMS_JOBS. Describe package for more details.
I am getting error " Error accessing PRODUCT_USER_PROFILE Warning: Product user profile information not loaded!"?
Probably you have not run PUPBLD.SQL to generate the user profile. Run this script as SYSTEM User.
How can I get the largest amount of physical reads by any query?
You can use the following statement to get the largest amount of physical reads by any query. This will search those queries
where disk reads are grater then 1,000. According to your system, you can set it to higher.
select disk_reads, sql_text from v$sqlarea where disk_reads >1000 order by disk_reads desc ;