May 09, 2015
Copyright © 2014 Oracle and/or its affiliates. All rights reserved. | Oracle Confidential – Internal/Restricted/Highly Restricted
Oracle Database 12c And SQL Developer Stuff
Jeff [email protected] || @thatjeffsmithSenior Principal Product ManagerDatabase Development Tools Group
Copyright © 2014 Oracle and/or its affiliates. All rights reserved. |
Agenda
Database 12c New Features SQL Developer support Some Demo + Q&A
Improve application developers experience
Copyright © 2014 Oracle and/or its affiliates. All rights reserved. |
THE FOLLOWING IS INTENDED TO OUTLINE OUR GENERAL PRODUCT DIRECTION. IT IS INTENDED FOR INFORMATION PURPOSES ONLY, AND MAY NOT BE INCORPORATED INTO ANY CONTRACT. IT IS NOT A COMMITMENT TO DELIVER ANY MATERIAL, CODE, OR FUNCTIONALITY, AND SHOULD NOT BE RELIED UPON IN MAKING PURCHASING DECISIONS. THE DEVELOPMENT, RELEASE, AND TIMING OF ANY FEATURES OR FUNCTIONALITY DESCRIBED FOR ORACLE'S PRODUCTS REMAINS AT THE SOLE DISCRETION OF ORACLE.
Safe Harbor Statement/Legal
Copyright © 2014 Oracle and/or its affiliates. All rights reserved. |
Oracle SQL Developer
FREE Oracle Database IDE/GUI Windows, OS X, *NIX More than 3,500,000 users worldwide My Oracle Support available via your DB license
Copyright © 2014 Oracle and/or its affiliates. All rights reserved. |
SQL Developer Data ModelerIncluded for free, also available as a separate download/program
Strategy and Analysis
Relational
Database Design
Data Type
Star Schema Physical
MultidimensionalERD DFD
Logical
Reporting
Import Models
Domains
Copyright © 2014 Oracle and/or its affiliates. All rights reserved. |
Database 12c Topics
Multitenant Redaction Identity Columns Row Limit Offset Fetch Migration Stuff
Copyright © 2014 Oracle and/or its affiliates. All rights reserved. |
Or…I can show you how to ‘trick’ your applications
Need to tune a hard-coded query? Wish you could substitute your own? SQL Translation Framework
Copyright © 2014 Oracle and/or its affiliates. All rights reserved. |
Copyright © 2014 Oracle and/or its affiliates. All rights reserved. |
Silly Chet Example
Copyright © 2014 Oracle and/or its affiliates. All rights reserved. |
SQL Translation Framework in SQL Developer The realm of DBAs ONLY Create a Translation Profile Enter Bad > Good SQL Test with Worksheet tied to Profile
Copyright © 2014 Oracle and/or its affiliates. All rights reserved. |
Meanwhile, in our app and…
Hard-coded SQL No can change until ??
Copyright © 2014 Oracle and/or its affiliates. All rights reserved. |
Another Example, Top Players ROWNUM Predicate
Copyright © 2014 Oracle and/or its affiliates. All rights reserved. |
Oh wait, this is Database 12c
SQL Translation Framework 12c Docs Kerry’s Blog Post
Fetch First Syntax (Docs)
Copyright © 2014 Oracle and/or its affiliates. All rights reserved. |
The Query Could Be Better…
select SUM(POINTS), PLAYERfrom HOCKEY_STATSgroup by PLAYERorder by SUM(POINTS) descfetch first 15 rows only;
The old way The new way – analytics ;)
Copyright © 2014 Oracle and/or its affiliates. All rights reserved. |
Add Query to the Translation Profile
Copyright © 2014 Oracle and/or its affiliates. All rights reserved. |
A Trace Capture Running the ‘Bad’ Code w/Translation
Copyright © 2014 Oracle and/or its affiliates. All rights reserved. |
That Example Used a Literal, What About Binds?
Copyright © 2014 Oracle and/or its affiliates. All rights reserved. |
Other 12c Slides
Copyright © 2014 Oracle and/or its affiliates. All rights reserved. |
DBMS_UTIL.EXPAND_SQL()*
Copyright © 2014 Oracle and/or its affiliates. All rights reserved. |
Multitenant
Copyright © 2014 Oracle and/or its affiliates. All rights reserved. |
Redaction
Copyright © 2014 Oracle and/or its affiliates. All rights reserved. |
Identity Columns
SQL Developer SQL Developer Data Modeler
Copyright © 2014 Oracle and/or its affiliates. All rights reserved. |
Go Play!
Copyright © 2014 Oracle and/or its affiliates. All rights reserved. |
Some Resources
Developer Day Database VirtualBox 12c Image Oracle By Example, 12c
Copyright © 2014 Oracle and/or its affiliates. All rights reserved. |