Documente Academic
Documente Profesional
Documente Cultură
The archiving of the redo log is enabled by running database in ARCHIVELOG mode. A group of filled redo log files cannot be reused by LGWR until the group is archived and become available for archiving immediately after a redo log switch occurs. Advantages of archiving the filled groups:
A database backup, together with online and archived redo log files, guarantees recovery of all committed transactions in the event of an operating system or disk failure. In an archived log, the backup is taken while the database is open and in normal system use. The standby database can be kept current with its original database by continuously applying the original archived redo logs to the standby.
Also read Oracle DBA How do you increase the performance of %LIKE operator?, What is a standby database? Difference between Physical and logical standby databases, What is Cache Fusion Technology?, What is simple replication and advance replication?............. Difference between hot backup & cold backup A cold backup is done when there is no user activity going on with the system. Also called as offline backup, is taken when the database is not running and no users are logged in........ Oracle Index
What is an Index?, What are the objects in oracle?, What is INDEX_BY_BINARY_INTEGER?, What is index and explain its purpose........... Explain how to prevent tablespace fragmentation in oracle. Tablespace fragmentation can be prevented by using PCTINCREASE command. PCTINCREASE is the percentage a new subsequent extent will grow............... <<Previous Next>> Oracle database tuning - March 02, 2009 at 22:00 PM by Amit Satpute
Automatic Performance Diagnostic and Tuning Features Automatic Shared Memory Management - Automatic Shared Memory Management puts Oracle in control of allocating memory within the SGA Wait Model Improvements - A number of views have been updated and added to improve the wait model. Automatic Optimizer Statistics Collection - gathers optimizer statistics using a scheduled job called GATHER_STATS_JOB Dynamic Sampling - enables the server to improve performance CPU Costing - default cost model for the optimizer (CPU+I/O), with the cost unit as time Optimizer Hints Rule Based Optimizer Obsolescence - No more used Tracing Enhancements - End to End Application Tracing which allows a client process to be identified via the client identifier rather than the typical session id SAMPLE Clause Enhancements Hash Partitioned Global Indexes
Describe the level of tuning in oracle., i.e. operating system-level tuning, oracle RDBMSlevel tuning, Database design-level tuning, SQL-level tuning. Operating system level tuning
System-level tuning involves the following steps:
Monitoring the operating system counters using a tool such as top, gtop, and GKrellM or the VTune analyzers counter monitor data collector for applications running on Windows. Interpreting the counter data to locate system-level performance bottlenecks and opportunities for improving the way your application interacts with the system.
SQL-level tuning
Tuning disk and network I/O subsystem to optimize the I/O time, network packet size and dispatching frequency is called the server kernel optimization. Distribution of data can be studied by the optimizer by collecting and storing optimizer statistics. This enables intelligent execution plans. Choice of db_block_size, db_cache_size, and OS parameters (db_file_multiblock_read_count, cpu_count, &c), can influence SQL performance. Tuning SQL Access workload with physical indexes and materialized views.
Determination of the data needed by an application (what relations are important, their attributes and structuring the data to best meet the performance goals) Analysis of data followed by normalization to eliminate data redundancy. Avoiding data contention. Localizing access to the data to the partition, process and instance levels. Using synchronization points in Oracle Parallel Server. Implementation of 8i enhancements that can help avoid contention are: Consideration on partitioning the data Consideration over using local or global indexes.
Oracle database objects Oracle stores information in the form of tables. For eg you can have a table named as climate in which you can store information about the climate of a place in the form of columns........... Oracle correlated sub-queries
A query which uses values from the outer query is called as a correlated sub query. The subquery is executed once and uses the results for all the evaluations in the outer query............. Oracle data types Explain the differences between char and varchar2 data types, Explain BLOB, CLOB, NCLOB and BFILE, Explain ROWID in oracle, What is a LOB data type?........... What is the difference between REF Cursor & Normal Cursor in oracle? Normal cursors fall under the category of static cursors while REF cursors are dynamic......... What is the difference between the SQL*Loader and IMPORT utilities? SQL*Loader can be used to load data from Delimiter separated files and fixed............ How are extents allocated to a segment? An extent is stored some specific information. This information is stored using specific number of adjoining data blocks. A collection of extent is called as a segment stored in the same tablespace............ What is a dynamic performance view in Oracle? The dynamic performance views are the views that get continuously updated even while the database is open or in use........... <<Previous Next>>
What is trigger in oracle?, What are the types of triggers?, How the triggers are attached to the table?, What are triggering attributes?.............. Oracle union, intersect and minus UNION: The UNION operator is used to combine the result-set of two or more SELECT statements Tables of both the select statement must have the same number of columns with similar data types. It eliminates duplicates.......... <<Previous Next>>