New Features of Oracle
Oracle Day 6
2
Copyright © 2005, Infosys
Technologies Ltd
ER/CORP/CRS/DB25/003
Version No. 2.0
Objectives
New features of Oracle 9i
New features of Oracle 10g
3
Copyright © 2005, Infosys
Technologies Ltd
ER/CORP/CRS/DB25/003
Version No. 2.0
The version of Oracle database server
•
SELECT banner FROM v$version;
–
This statement will generate the following output:
BANNER
Oracle9i Enterprise Edition Release 9.0.1.1.1 - Production
PL/SQL Release 9.0.1.1.1 - Production
CORE 9.0.1.1.1 Production
TNS for 32-bit Windows: Version 9.0.1.1.0 - Production
NLSRTL Version 9.0.1.1.1 - Production
•
In the following slides we are going to have a brief overview of the myriad
new features and enhancements to performance, scalability, ease of use and
management that have been made in Oracle9i and Oracle 10g.
4
Copyright © 2005, Infosys
Technologies Ltd
ER/CORP/CRS/DB25/003
Version No. 2.0
New features of Oracle 9i – 1/4
•
Renaming Columns
–
Oracle allows to rename existing columns in a table. Use the RENAME COLUMN clause
of the ALTER TABLE statement to rename a column.
–
The following statement renames the q1 column of the scott.marks table.
SQL>ALTER TABLE scott.marks RENAME COLUMN q1 TO quiz1;
•
Renaming Constraints
–
The ALTER TABLE RENAME CONSTRAINT statement enables to rename any currently
existing constraint for a table.
–
The new constraint name must not conflict with any existing constraint names for a user.
–
The following statement renames the dname_ukey constraint for table dept:
SQL>ALTER TABLE dept RENAME CONSTRAINT dname_ukey TO dname_unikey;
5
Copyright © 2005, Infosys
Technologies Ltd
ER/CORP/CRS/DB25/003
Version No. 2.0
New features of Oracle 9i – 2/4
•
Constraint enhancements
–
Enhancements to the USING INDEX clause of CREATE TABLE or ALTER TABLE allow to
specify the creation or use of a specific index when a unique or primary key constraint is
created or enabled.
–
Additionally, one can prevent the dropping of the index enforcing a unique or primary
key constraint when the constraint is dropped or disabled.
SQL>CREATE TABLE a ( a1 INT PRIMARY KEY USING INDEX
(create index ai on a (a1)));
•
iSQL* Plus
–
Oracle9i delivers a new, easy to use SQL*Plus tool called iSQL*Plus that is delivered
through a web browser.
–
It generates output in nicely presented HTML tables.
–
To access it, type following URL in Web browser:
/>where itl-lt-10027 is the Oracle server machine name and ad.infosys.com is
the domain name.
6
Copyright © 2005, Infosys
Technologies Ltd
ER/CORP/CRS/DB25/003
Version No. 2.0
New features of Oracle 9i – 3/4
•
Optimized PL/SQL
–
Oracle9i has greatly improved the speed of PL/SQL execution, and most PL/SQL
applications will run faster.
•
New Dictionary Views
–
The data dictionary has been enhanced to allow the DBA to see the execution plan for
SQL in the library cache with the new v$sql_plan view.
•
Automatic Undo Management
–
Rather than having to define and manage rollback segments, one can simply define an
Undo tablespace and let Oracle9i take care of the rest.
7
Copyright © 2005, Infosys
Technologies Ltd
ER/CORP/CRS/DB25/003
Version No. 2.0
New features of Oracle 9i - 4/4
•
Dynamic Memory Pools
–
With Oracle9i, one can adjust the size of the memory pools (buffer pool, shared pool, and
large pool) without having to stop and restart the server.
•
XMLType
–
This is a new datatype that lets you store native XML documents directly in the database.
–
XMLType eliminates the need to parse the documents coming into and out of the
database.
8
Copyright © 2005, Infosys
Technologies Ltd
ER/CORP/CRS/DB25/003
Version No. 2.0
New features of Oracle 10g – 1/2
•
Grid computing (g in Oracle 10g)
–
The basic idea of grid computing is the notion of computing as a utility. Its just like any
electricity grid or a telephone network.
–
As a client of the grid one should not worry about the data or the place where
computation happen. What one need is the right information at the right time.
–
From the server side of grid, its all about virtualization and provisioning. One have to
pool his resources and provide them as and when business demands for them.
–
Oracle 10g is the first integrated software infrastructure to power grid computing.
9
Copyright © 2005, Infosys
Technologies Ltd
ER/CORP/CRS/DB25/003
Version No. 2.0
New features of Oracle 10g – 2/2
•
Usage of regular expression in SQL
–
Improves one’s ability to search and manipulate character data. This feature is a notation
for describing textual patterns.
–
It has long been available in many programming languages and a number of UNIX
utilities.
•
Data Pump utility
–
Data pump utility is a replacement for the EXP and IMP utilities.
•
Flashback queries
–
used to view old data, track data changes and recover from accidental data loss.
10
Copyright © 2005, Infosys
Technologies Ltd
ER/CORP/CRS/DB25/003
Version No. 2.0
Summary
•
New features of Oracle 9i
•
New features of Oracle 10g
11
Copyright © 2005, Infosys
Technologies Ltd
ER/CORP/CRS/DB25/003
Version No. 2.0
Thank You!