Translate

ORACLE 11g Features

What are the new features added in ORACLE 11g?
Following are the features added in ORACLE 11g for SQL and PL/SQL. 

PL/SQL "CONTINUE" keyword - This will allow a "C-Like" continue in a loop, skipping an iteration to bypass any "else" Boolean conditions.  A nasty PL/SQL GOTO statement is no longer required to exit a Boolean within a loop.
New "PIVOT" SQL clause - The new "pivot" SQL clause will allow quick ROLLUP, similar to an MS-Excel pivot table, where you can display multiple rows on one column with SQL. The PIVOT operator takes data in separate rows, aggregates it and converts it into columns. The UNPIVOT operator converts column-based data into separate rows.

Using Compound Triggers: 
In Oracle 11g, the concept of compound trigger was introduced. A compound trigger is a single trigger on a table that enables you to specify actions for each of four timing points:
1.        Before the firing statement
2.       Before each row that the firing statement affects
3.       After each row that the firing statement affects
4.       After the firing statement

With the compound trigger, both the statement-level and row-level action can be put up in a single trigger. Plus, there is an added advantage: it allows sharing of common state between all the trigger-points using variable.
Two popular reasons to use compound trigger are:
1.        To accumulate rows for bulk-insertion.
2.       To avoid the infamous ORA-04091: mutating-table error.

Change Trigger Execution using Follows Clause:
 
The Oracle 11g trigger syntax now includes the Follows/Precedes clause to guarantee execution order for triggers defined with the same timing point.  Use FOLLOWS to indicate that the trigger being created should fire after the specified triggers. Follows clause in a trigger specifies that the current trigger would follow the execution of specified triggers. The specified triggers must already exist, they must be defined on the same table as the trigger being created, and they must have been successfully compiled. They need not be enabled.

Creating Trigger in DISABLED mode: 
Oracle 11g provides flexibility to create a Trigger in DISABLED mode also. They remain deactivated until they are enabled. Prior to Oracle 11g, a trigger can be created in ENABLED mode only.

DDL Wait Option: 
Oracle Database 11g, using DDL_LOCK_TIMEOUT parameter, when a DDL statement in the session does not get the exclusive lock, it will not error out. Instead, it will wait for specified seconds in DDL_LOCK_TIMEOUT parameter. In those seconds, Oracle continually re-tries the DDL operation until it's successful or the time expires.

Read Only Tables: 
In Oracle 11g, a table can be set READ ONLY mode to restrict write operations on the table. A table can be altered to toggle over READ ONLY and READ WRITE modes.

NEW Data Types and Invisible Indexes: Oracle 11g has designed a new data type SIMPLE_INTEGER, SIMPLE_FLOAT, and SIMPLE_DOUBLE keeping in view the hardware requirements and expectations with an Integer value. They are compatible with the native compilation feature of Oracle 11g, which makes supports their faster implementation.
An invisible index is ignored by the optimizer unless you explicitly set the OPTIMIZER_USE_INVISIBLE_INDEXES initialization parameter to TRUE or using INDEX hint. Making an index invisible is an alternative to making it unusable. It can be converted to VISIBLE mode for auto consideration by the optimizer

Using Virtual Columns: 

Oracle 11g allows you to create a "virtual column", an empty column that contains a function upon other table columns (the function itself is stored in the data dictionary). They show same behaviour as other columns in the table in terms of indexing and statistics. 

LISTAGG Analytic Functions and REGEXP_COUNT: 
Oracle 11g has introduced. LISTAGG analytic function to aggregate the result set in multiple rows into one single column.
 Oracle 11g introduced REGEXP_COUNT in regular expressions, used to count the occurrence of a character or string expression in another string.


SGA Result Cache: 
Oracle 11g has introduced a new component in SGA - Shared Pool as Result Cache to retain result-sets of SQL queries and PL/SQL functions results. By caching the results of queries, Oracle can avoid having to repeat the potentially time-consuming and intensive operations that generated the result set. 

Pragma Inline and Direct Sequence Assignment: 
A new pragma PRAGMA INLINE has been introduced to specify whether a subprogram call has to be inclines’ or not. IN lining replaces a subprogram call with a copy of the called subprogram
Prior to Oracle 11g, sequence assignment to a number variable could be done through a SELECT statement only. From oracle 11g we can directly assign a sequence value to a PL/SQL variable providing greater simplicity.


Calling Functions and Recursive Subquery Factoring: 
In Oracle 11g, functions can now be called using Named, Positional and Mixed notation while calling from SQL SELECT statement. Version 11g release 2 introduced recursive subquery factoring or the recursive with clause. This is an extension to the SQL syntax with which you can do recursive/hierarchical queries. 



Get involved and leave your Comments in the Box Below. The more people get involved, the more we all benefit. So, leave your thoughts before you leave the page.

44 comments:

  1. Thanks for sharing your Knowledge...can you please share pdf to this mail.
    Ramaraju.vuppu@gmail.com

    ReplyDelete
    Replies
    1. That you can do yourself by saving this page and PDF on your local drives.
      Go to below page for more topics: Thanks
      https://tipsfororacle.blogspot.in/

      Delete
  2. Hi Ravikant

    Can you please share the scenarios based question in SQL/PLSQL , it will be more useful . Thanks in advance :-)

    ReplyDelete
    Replies
    1. Check this link if you find useful

      https://tipsfororacle.blogspot.in/

      Delete
    2. This comment has been removed by the author.

      Delete
  3. It has been simply incredibly generous with you to provide openly what exactly many individuals would’ve marketed for an eBook to end up making some cash for their end, primarily given that you could have tried it in the event you wanted "Oracle Training in Bangalore"."Devops Training in Bangalore"

    ReplyDelete
  4. Thanks Ravikant for sharing such knowledge

    ReplyDelete
    Replies
    1. You are most welcome Vishal.

      https://tipsfororacle.blogspot.in/p/homepage.html

      Delete
  5. tipsfororacle.blogspot.in

    Above link not working...

    ReplyDelete
    Replies
    1. Yes. Blogger has changed it to .com

      Try it out - https://tipsfororacle.blogspot.com/

      Delete
  6. t is amazing and wonderful to visit your site.Thanks for sharing this information,this is useful to me...oracle training in chennai

    ReplyDelete
  7. I feel really happy to have seen your webpage and look forward to so many more entertaining times reading here.Same as your blog i found another one Oracle Project Portfolio Management Cloud Training.Actually I was looking for the same information on internet for Oracle PPM and came across your blog. I am impressed by the information that you have on this blog. Thanks once more for all the details.


    ReplyDelete
  8. Reach to the
    best Data Science Training in Chennai

    , Infycle Technologies, to enter the IT industry with well-defined skills. Infycle Technologies is the rapidly developing software training cum placement center in Chennai and is generally known for its significance in providing quality hands-on practical training with 200% guaranteed outcomes! Call 7502633633 to book a free demo and to avail the best offers.

    ReplyDelete
  9. Infycle Technologies, the best software training institute in Chennai offers the best Python training in Chennai for tech professionals and freshers. In addition to the Python Training Course, Infycle also offers other professional courses such as Data Science, Oracle, Java, Power BI, Digital Marketing, Big Data, etc., which will be trained with 100% practical classes. After the completion of training, the trainees will be sent for placement interviews in the top MNC's. Call 7502633633 to get more info and a free demo.

    ReplyDelete
  10. Thanks for sharing such a good article having valuable information.
    Visit us: Core java online training Hyderabad
    Visit us: Java Online Training

    ReplyDelete
  11. This comment has been removed by the author.

    ReplyDelete
  12. Remote DBA services are provided by an independent third party who monitors and administers the designated database server installation in accordance with established standards. DBAs monitor database space, memory levels, CPU utilization, handle error log alerts, and verify backups, among other things.

    https://genexdbs.com/

    ReplyDelete
  13. Nice Blog Sir, I find evergreen content brings the most success as a blogger.
    Sir if you are interested in Indian Share Market Intraday Trading Tips So please Visit Shristocktips.com
    We provide research in Equity, F&O, Nifty, Banknifty, Option, Investment.

    ReplyDelete
  14. If you want to know more about this software then you must read these articles or contact their customer care service at Quickbooks Support Phone Number +1 888-471-2380.

    ReplyDelete
  15. Whether you are just starting your company, working with a new vendor or just want to learn more about how QuickBooks works, dial Quickbooks Support Phone Number +1 866-669-5068 for help along the way.

    ReplyDelete
  16. QuickBooks is best option for your managing business Financial Task . This Software also provide best Customer Service for any query so please call at
    Quickbooks Support Phone Number .+1 602-325-1557

    ReplyDelete
  17. This comment has been removed by the author.

    ReplyDelete
  18. Thank you for this wonderful blog it really helps me a lot keep doing this work also check out this Best hernia Surgeon in Delhi NCR

    ReplyDelete
  19. We provide the best tuition and tutors in Lucknow,
    Tutoring for every section of students from all over
    India from Gomti Nagar, Kalidas Nagar, Madan Mohalla, and
    many more areas.Students will learn Maths, Science, English, etc.
    #tuitionsteachers.com

    ReplyDelete
  20. The Oracle 1Z0-1059-22 Valid Dumps is a great choice for those who want to quickly and easily pass the exam. This preparation study material contains all the information you need to know to pass the exam, and it is presented in an easy-to-understand format.

    ReplyDelete
  21. Thank you for this informative post it really helps me a lot to understand new things keep doing this work also have a look on this Female Infertility Treatment In Faridabad

    ReplyDelete
  22. Keep doing this work this blog help me a lot to understand new things and contains some important topics also have a look on this Best Egg Donation Centre In Faridabad

    ReplyDelete
  23. If you're seeking Male Infertility Treatment in Lucknow you have several options to consider. It's essential to consult with a specialist in male reproductive health.

    ReplyDelete
  24. Thank you for sharing this valuable information. Your blog has been a go-to resource for me and I always find insightful content here. Keep up the great work also have a look at this Best laparoscopic surgeon in Faridabad

    ReplyDelete
  25. Thank you for sharing this valuable information. Your blog has been a go-to resource for me and I always find insightful content here. Keep up the great work also have a look at this Best neurologist in Faridabad

    ReplyDelete
  26. The Oracle Database SQL course equips participants with a comprehensive skill set necessary for proficiently working with the powerful SQL programming language. Upon completion of Oracle DBA training in karachi, individuals will have mastered the fundamental concepts of relational databases. SQL Experts possess the knowledge of utilizing advanced features within the program suite and understand how stored procedures and their functionalities collaborate in extensive projects. Following training from 3D Educators Karachi, candidates will be well-prepared to engage with Oracle DBA Admin I, enabling them to develop, deploy, and configure Oracle systems.

    ReplyDelete
  27. Our advanced VFX eraser tool empowers you to achieve flawless results in removing unwanted objects from your footage, ensuring a seamless final product. [Anchor Text: VFX Eraser Tool]

    ReplyDelete
  28. XLPE Insulation https://aerolam.com/xlpe-insulation Aerolam’s XLPE insulation is ideal for high-demand applications, offering superior thermal resistance and long-lasting durability.

    ReplyDelete