Our greatest glory…
Our greatest glory is not in never failing, but in rising every time we fall.
— Confucius
Our greatest glory is not in never failing, but in rising every time we fall.
— Confucius
Yup, my friends at Oracle have been hard at working enhancing what was already the best FREE data modeling tool out there.
They just released SDDM R4 EA3! You can go get it right now: http://www.oracle.com/technetwork/developer-tools/datamodeler/downloads/datamodeler-4ea-downloads-1988443.html
As always there are both new features and bug fixes.
One of the coolest new features is the ability to show entity (or table) comments right on the diagram in the object. This will be very useful for enabling data model reviews with the business users.
Product manager Ashley tweeted and example the other day:
You can now display RDBMS Comments on the Diagram in SQL Developer Data Modeler EA3. http://t.co/UMOJeSd9Lh pic.twitter.com/wPVKiErITn
— Ashley Chen (@ashleychen5) October 14, 2013
For even more details and ideas how to use this feature check out Jeff Smith’s post on the feature here.
So what are you waiting for? Go get it today!
Data Modeling is Fun!
Later
Kent
The Oracle Data Warrior
One of the best practices I recommend is to always define unique business keys for every entity (or table) in a model.
It is the only way to really understand what the data in that object represents.
So what do you do when you inherit someone else’s model with hundreds of tables and few (if any) unique keys to be found?
After you reverse engineer it into SDDM (SQL Developer Data Modeler), you could go through the model table by table and look at the properties.
Or, you could look at all the diagrams to look for the the little U’s indicating a column is part of a unique key constraint (assuming there are any diagrams to look at).
Or you could create a Custom Design Rule that checks for you.
So how do you write a design rule that will list all tables with no UKs on them?
Open your design, the go to Tools -> Design Rules -> Custom Rules.
Hit Save, then Apply.
The result will be a list of all the tables in your design that do not have any Unique Key Constraints defined.
Now the real work begins – fixing those tables! As you work your way through the model adding the new business keys, you can keep using this report to see which ones you have left, and make sure you don’t miss any.
Get to it my friends!
Kent
The Oracle Data Warrior
P.S. Special thanks to DimitarSlavov of Oracle for posting the code to answer my question. If you want to see the whole thread go here.
Are you up to publicly testing your database design chops?
Want to improve your street cred?
If so, then read on…
Relational databases form the backbone of thousands, if not millions, of applications and systems around the globe. A key part of building these applications is designing and implementing the data structures they use.
(Well a few of us “old school” guys still think so no matter what the anyone else thinks!)
Proper table design can mean the difference between a scalable, high performing database that is a joy to query and an unfathomable, unsupportable mess that makes your brain melt.
Given the importance of these databases, understanding good data modelling techniques and physical implementation methods are essential skills for data and system architects, database administrators and developers creating database applications.
Building on the hugely successful SQL and PL/SQL quizzes already available at the PL/SQL Challenge, the new weekly Database Design Quiz kicks off on Saturday, October 5, 2013 to help you build these skills. The quiz will cover many areas of database modeling and design, from logical design all the way to physical database design, including topics such as:
Whether you’re an experienced data modeler or completely new to relational databases, the weekly Database Design Quiz offers you the opportunity to both learn new approaches and show off your expertise. It will teach techniques that you can use to improve the quality for your work and impress future employers with your achievements.
This weekly quiz is managed by Chris Saxon, who has been playing the PL/SQL Challenge since August 2010 and placed second in the most recent PL/SQL Championship. More to the point of this quiz, however, he is also a database technologist with 10 years experience designing and building Oracle database applications. He currently works as the Data Architect for the airline Flybe, a role which sees him creating the data structures for the flybe.com database and the company’s enterprise data warehouse. He also runs the blog www.sqlfail.com, a project to explain database concepts and other topics of interest using just SQL and PL/SQL.
Registering is quick, easy and free. If you’re not already a member of the PL/SQL Challenge, then head to www.plsqlchallenge.com and sign up for a free account.
Let the Database Design competition commence!
Show me what ya got!
Kent
P.S. I have been helping Chris a little by reviewing the questions and I can tell you this quiz will be a real challenge even for those of you with years of experience. So get on over and sign up today (there will be prizes): www.plsqlchallenge.com
You must be logged in to post a comment.