The document discusses new features of Oracle 9i and Oracle 10g databases. Some key features of Oracle 9i include renaming columns and constraints, constraint enhancements, iSQL*Plus, optimized PL/SQL, new dictionary views, and automatic undo management. Features of Oracle 10g discussed include grid computing, usage of regular expressions in SQL, and the Data Pump utility.
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 v$version is a special view to find out what version one actually is working on
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. 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: ALTER TABLE dept RENAME CONSTRAINT dname_ukey TO dname_unikey; When one renames a constraint, all dependencies on the base table remain valid. The RENAME CONSTRAINT clause provides a means of renaming system generated constraint names.
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. 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: http://itl-lt-10027.ad.infosys.com/isqlplus Where itl-lt-10027 is the Oracle server machine name and ad.infosys.com is the domain name.
Optimized PL/SQL: Oracle9 i 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 Oracle9 i take care of the rest.
Dynamic Memory Pools: With Oracle9 i , you 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.
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.
Usage of regular expression: A new feature of Oracle Database 10g vastly improves one’s ability to search and manipulate character data. This feature, regular expressions , 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.