Topic: Term Paper Review
Topic: Term Paper Review
CSE-301
DBMS
INTRODUCTION
10 G supports grid computing ASM (Automatic storage management) and Memory
management.
Oralce 10g is higher version of 9i.
Oracle 10g is a major re-write of the Oracle kernel from Oracle 9i.
The web cache component includes Apache extension to load-balance transactions to the
least-highly-loaded Oracle HTTP server (OHS)
Staring in Oracle 10g release 2, Oracle JDBC and ODP.NET provide connection pool
load balancing facilities through integration with the new “load balancing advisory” tool.
This replaces the more-cumbersome listener-based load balancing technique.
Oracle’s Automatic Storage Management (SAM) now enables a single storage pool to be
shared by multiple databases for optimal load balancing. Shared disk storage resources
can alternatively be assigned to individual databases and easily moved from one database
to another as processing requirements change.
If advanced features such as load balancing and automatic failover are desired, there are
optional sections of the listener.ora file that must be present. Automatic Storage
Management (ASM) includes multiple disk operations and a non-ASM database
migration utility.
In 10gR2, the server has been enhanced to further leverage standard chunk allocation
sizes. This additional improvement reduces the number of problems arising from memory
fragmentation.
Mutexes –
To improve cursor execution and also hard parsing, a new memory serialization
mechanism has been created in 10gR2. For certain shared-cursor related operations,
mutexes are used as a replacement for library cache latches and librarycache pins. Using
mutexes is faster, uses less CPU and also allows significantly improved concurrency over
the existing latch mechanism. The use of mutexes for cursor pins can be enabled by
setting the init.ora parameter _use_kks_mutex to TRUE
V$SGASTAT –
V$SQLSTAT –
A new view, V$SQLSTAT has been introduced which contains SQL related statistics
(such as CPU time, elapsed time, sharable memory). This view is very cheap to query
even on high-concurrency systems, as it does not require librarycache latch use. It
contains the most frequently used SQL statistics in the V$SQL family of views.
V$OPEN_CURSOR –
This implementation of this view has also been enhanced to be latchless, making it
inexpensive to query.
V$SQLAREA –
The V$SQLAREA view has been improved in 10gR2; the view optimizes the aggregation
of the SQL statements while generating the view data.
Oracle SQL
Oracle does not support AS in FROM clauses, but you can still specify tuple variables
without AS:
from Relation1 u, Relation2 v
On the other hand, Oracle does support AS in SELECT clauses, although the use of AS is
completely optional.
In Oracle, you must always prefix an attribute reference with the table name whenever this
attribute name appears in more than one table in the FROM clause. For example, suppose that
we have tables R(A,B)and S(B,C). The following query does not work in Oracle, even
though B is unambiguous because R.B is equated to S.B in the WHERE clause:
select B from R, S where R.B = S.B; /* ILLEGAL! */
In Oracle, the negation logical operator (NOT) should go in front of the boolean expression,
not in front of the comparison operator.
For example, "NOT A = ANY (<subquery>)" is a valid WHERE condition, but "A NOT =
ANY (<subquery>)" is not.
There is one exception to this rule: You may use either "NOT A IN (<subquery>)" or "A
NOT IN (<subquery>)".
can cause the database connection to break with an error (ORA-03113: end-of-file on
communication channel), even if the two GROUP BY clauses are unrelated.