Click here to monitor SSC
Av rating:
Total votes: 158
Total comments: 12


Richard Morris
Geek of the Week: Joe Celko
16 October 2009

Joe Celko, the Database Developer and writer  from Austin Texas, is not a man to mince his words. His encyclopedic grasp of SQL and relational Databases in general comes from a mix of academic knowledge and practical experience.  In discussions he can be fascinating, cantankerous, amusing and satirical, but he is never ever dull, as Richard Morris found out when we sent him to interview the SQL language's most famous advocate.

A while back, a forum discussion debated the idea that Joe Celko didn't really exist, but instead, his writings were actually produced a team of authors. Characteristically, Joe was in amongst the many who contributed, relishing the incongruity, and arguing for the reality of his existence.  Joe is not your average academic theorist.

Joe is a well known SQL expert, and Relational Database guru who has been very widely published. He is a regular columnist for Simple-Talk and has written for dozens of publications including ‘Celko’ in Intelligent Enterprise magazine (CMP); BMC's DBAzine.com e-magazine; ‘SQL Explorer’ in DBMS,  "Celko on Software" in Computing.. He was editor for the "Puzzles & Problems" section of ABACUS.

He has written eight books on SQL and databases for Morgan-Kaufmann, including the best-selling: SQL for Smarties, SQL Puzzles & Answers (1997), Data & Databases in 1999 and Trees & Hierarchies in 2004), Standards in SQL is currently in production.

His books have been translated into Russian, Japanese, Chinese, French and Hungarian.  He has had over a dozen regular monthly or biweekly columns in the computer trade and academic press in the US and Europe. 

Joe’s writing-style varies considerably, depending on the publication. His academic textbooks are ubiquitous for database training courses, but in his more informal writing, he often allows rich vein of dry humour to pervade his writing style.

When I mention coupling and
cohesion, tiered architectures,
structured programming...it's
like being in a fish market
– rows of cold dead eyes with
open mouths looking back at me.

As well as writing Joe, has found the time run training classes in South Africa, Turkey, the UK, Norway, Sweden, Finland, The Netherlands, Brazil, Belgium, and Switzerland.  He has also taught on-line classes for MySQL. His last full-time job was with the founding of Neumont University in Salt Lake City; a for-profit start-up for software developers. 

His public sector consulting work has included prisons systems, medical organizations NASA and defence contractors.  His commercial work has been equally varied - wholesale banking, auto loan analysis, entertainment, aerospace, education and shipping.

Joe served 10 years on ANSI/ISO SQL Standards Committee and contributed to the SQL-89 and SQL-92 Standards and in 1987 joined the ANSI X3H2 Database Standards Committee 1987 and helped write the ANSI/ISO SQL-89 and SQL-92 standards. 

He achieved his under grad and first Masters in Math (Georgia State University) and he has been a full-time statistician for several years.  His second Masters is in Computer Science which he gained from Georgia Tech.


RM:
'With Microsoft positioning Powershell across all of its platforms and its various products such as Exchange, will it take over the DBA universe? And if it does, will it be a good or a bad thing to happen?
JC:
'No worries. The DBA Universe is too varied. Microsoft still has a single-user, desktop mindset and has not made it into the mainframe, data warehouse, document, business rules, business intelligence, streaming data and other markets. As a shell language, it locks you into a .NET framework because it deals with proprietary objects. Why would I want to look at it when I have DB Visualizer, Toad, and a few other open source tools?
I guess there are still some Microsoft-only Zombies, but that is not how the smart money bets.
RM:
'Is it true that most DBA's have adminhood thrust upon them? Is the ‘accidental’ DBA still the most common path to becoming one or are there people who have DBA in their DNA?'
JC:
'Hell, most SQL Programmers have SQL thrust upon them! ‘Hey, Fred, you write <insert language here> pretty good , so why don't you learn a little 'Squirrel', 'Squiggle' or however you pronounce 'S-Q-L' so you can get to the database?’
And of course, the company will not pay for training. Hey, Fred, buy a Dummies, Idiots, Morons or Zombies book this weekend and get the payroll system up on Monday.
The next level up is ‘I have my Certifications! It took six weeks at a cram school. All bow down before me!’ Of course s/he has not idea about RDBMS, proper design, ANSI/ISO Standards or anything else. They are also not subject matter experts. So often he best you can expect is that they had a copy of ACCESS on their desktop at one time.
This is why you see schema after schema that mimic paper forms, use EAV, allows NULLs in every column, have no real keys and so many other fundamental data design errors.
RM:
'So all these database SQL injection attacks, are they down to bad design, good hackers or luck?
JC:
'It is usually a combination of bad design and laziness.  It is easy to write stored procedures as the only allowed application access method.  Writing code with dynamic SQL or parsing a CSV string is poor programming.  You are telling the world that your code has no cohesion, so any random future user will have a better idea of what to do than you did.
Frankly, I am not sure if Software Engineering is taught any more.  When I mention coupling and cohesion, tiered architectures, structured programming and other basic things (none of the fancy software metrics or function point stuff), it's like being in a fish market – rows of cold dead eyes with open mouths looking back at me.
RM:
'Is there anything in your career you have done differently? And what achievements are you most proud of?
JC:
'I'd like to have a PhD instead of multiple Masters degrees. Let's face it, ‘Dr. Celko’ sounds like a 1950's horror movie, but it is impressive. In the late 1970's, I might have tried to weather the slump in the Porno industry until it went digital. In the mid 1990's, I should have set up a dot-com scam and retired early.
'I am proud of my series of SQL books and that is on top of the list. It is nice to get fan mail for decades from people you don't know thanking you because you gave them a solution to a problem. And considering how bad my retirement plan is, the Royalties are also very nice.
But looking back over all the decades, the two projects I am most happy about are the State Crime Lab database (pre-SQL, under budget, ahead of schedule) and the State Prison System data analysis.  I have commercial clients where I made a difference, but those two projects showed immediate results and saved human life.
RM:
'You’ve saved lives?
JC:
'We did physiological profiles on the new inmates at in-take. We had a database of over 5000 tests to use for profiles – and it such a self-selected population, they popped out.   We looked for escape tendencies, violence, sexual assault and other undesirable behaviour.  The first year we used the results, the internal homicide rate - yes, violent criminals don't stop killing when they get to prison - dropped from 12 homicides per year to six, rapes went down, there were no escapes, etc.    I also did work on defence and medical systems, but you could not see the results so fast.
RM:
'Now here’s an interesting one. Who do you think from history would have made great DBAs? Leonardo or the Danish astronomer Tycho Brahe? Margaret Thatcher or Ronald Reagan?
JC:
'Tycho Brahe, since he was the guy who collected and organized data for Kepler to prove that the Sun was the centre of the solar system. That is what Database people do.
But I would like to put Leonardo in Product Development and get him to do GUIs and a really memorable company logo -maybe a pretty girl with a smile or guy inside a circle and a square.
I cannot see Thatcher or Reagan as DBAs; CEO, CIO, perhaps. They are not detail people.
RM:
'It is said that some DBAs live chaotic lives, in that they always seem to be on call. Is it the same for you and have ever considered a change of career?
JC:
'In my youth, I lived in that always on-call world as a programmer. The chaos is not so true anymore. I remember when you had to be on-site physically to use the old mainframes. Today, you can get remote access and the systems take better care of themselves.
Today, I am a consultant and author, not a programmer or DBA, so my chaos is different. I starve to death between jobs and royalty checks, and then I feast. Well, not much feasting because grown-ups know that they have to pay the mortgage a few months ahead, the ISP for a year in advance, the utilities for a year ahead and get a check-up at the doctor. But if I feel I am safe (all expenses 6+ months ahead), then I buy some toys – usually math and database books. Oh Ghod! I am dull!
Changing careers at my age? I used to own some used bookstores in my youth and it might be nice to retire to that. I have taught college before, but maybe I could try high school or junior high. My adopted daughter wants me to be a Greeter at Wal-Mart, so she can get discounts.
RM:
'In fact, taking this a little bit further how would you make money from your skills if you weren't in the job that you now?
JC:
'Selling kidneys on the Internet, possibly. Not my own, of course.
RM:
'Well like me, you wouldn’t be able to sell your hair to a wig maker, so why not…getting back to the questions, what would you say are the three most important characteristics of an exceptional DBA? Why do you think these qualities are so important?
JC:
'I would say they are:

  1. Data modelling skills since a bad model cannot be saved by the front end or clever DDL and DML code.
  2. Knowledge of Appropriate Standards. Inventing your own data encodings and procedures is like inventing your own spoken language. You will never communicate with anyone else.
  3. Flexibility and constant education, not being wed to one solution or company. IT is a trade where everything you know is wrong in a few years. And every few years you have a new problem that does not match the old tools.
RM:
'Do you think programming languages today are more diverse and engaging than at any time since the early days of computing?
JC:
'They are not that diverse, there are just more of them. Do we really need C# - I pronounce it “SEE Okto-thorp”, like it is spelled? No, but Microsoft will not support Open Source languages like Java - more needlessly proprietary tools.
What I do see is the move to functional languages because of massively parallel processors and SSD (Solid State Disk) technology. Erlang, Haskell and perhaps F# will be the wave of the future. Procedural and OO languages cannot handle those problems.
RM:
'Is there anyone who you regard as your Zen master, the person who has taught you most about what you know today?
JC:
'LOL! My wife is an ordained Soto Zen priest. I would say after 30 years together, I'd go with her.  She is the only person who understood NULLs immediately.
RM:
'Now that’s interesting because if I’m right, Zen minimises the importance of theory. Do you find yourself meditating about problems you can’t immediately solve?
JC:
'Remember there are many branches of Zen, with the two major ones being Soto and Rinzei in Japan.  Soto is full of theory but stresses heuristics in everyday life, with names like the ‘Eight Fold Path’ and so forth.
I fall back on ‘Mother Celko’s Heuristics’ myself.  The first one is: ‘Research it! If someone has already solved this, copy it’ which is also known as ‘Buy, don't build’ in the trade.  The second one is ‘Use the right terms’ because they are the tools of your mindset.  The third is get clear specifications so you know what you are supposed to do.  The fourth is ‘Get it right first, then make it fast’ (if it does not have to be right, the answer is always 42).   The fifth is ‘When you are still stuck, Meditate; you need a quiet place, some time and Scotch’.
RM:
'Is there any moment or event either in IT or computer science would you like to have been at and why?
JC:
'I moved to Austin in 2000 to get rich in the Dot-Com boom (we know how that worked out). Edsgar Dijkstra was teaching at the University of Texas and I could have pushed to get into his classes. He died in 2002 and I missed the opportunity. That is a personal regret.  I understand that he did suffer fools gladly and would often tell students that they were programming completely wrong.
But I was glad to spend ten years on the ANSI Database Standards committee and be a part of it.

Joe Celko will be speaking at the forthcoming SQL Server Connections at Las Vegas , part of DevConnections. The annual spring event is held in Orlando, FL, and the annual fall event is held in Las Vegas.Joe will be presenting two session: Darling, Your SQL is Sooo Last Season! and Naming and Modeling Data Objects.

SQL Server Connections is going to be held November 9-12, 2009, at the Mandalay Bay Hotel and Conference Center in Las Vegas, NV



This article has been viewed 5846 times.
Richard Morris

Author profile: Richard Morris

Richard Morris is a journalist, author and public relations/public affairs consultant. He has written for a number of UK and US newspapers and magazines and has offered strategic advice to numerous tech companies including Digital Island, Sony and several ISPs. He now specialises in social enterprise and is, among other things, a member of the Big Issue Invest advisory board. Big Issue Invest is the leading provider to high-performing social enterprises & has a strong brand name based on its parent company The Big Issue, described by McKinsey & Co as the most well known and trusted social brand in the UK.

Search for other articles by Richard Morris

Rate this article:   Avg rating: from a total of 158 votes.


Poor

OK

Good

Great

Must read
 
Have Your Say
Do you have an opinion on this article? Then add your comment below:
You must be logged in to post to this forum

Click here to log in.


Subject: Of all the people you could interview....
Posted by: Anonymous (not signed in)
Posted on: Tuesday, October 20, 2009 at 1:41 AM
Message: You had to go for a person who is rude and arrogant in the public forums, often wrong. And so far out of touch from the current market place he might has well live on the moon.

Subject: Joe Celko
Posted by: Anonymous (not signed in)
Posted on: Tuesday, October 20, 2009 at 3:18 AM
Message: Contrary to the last comment, this is a fabulous interview. Celko is a tremendous character, always there with a biting jibe.

Subject: Ming. the merciful
Posted by: BuggyFunBunny (view profile)
Posted on: Tuesday, October 20, 2009 at 10:51 AM
Message: >> Frankly, I am sure if Software Engineering is taught any more.

I expect a NOT is missing.


>> SSD (Solid State Disk) technology. Erlang, Haskell and perhaps F# will be the wave of the future.

I feel better. He's hype-ing what I hype.


>> Edsgar Dijkstra was teaching at the University of Texas and I could have pushed to get into his classes.

For those who find Celko, ummmmm opinionated, should read up Dijkstra. My most trenchant quotes come from him. Quite a brilliant guy.

Subject: Joe Celko
Posted by: Anonymous (not signed in)
Posted on: Tuesday, October 20, 2009 at 10:55 AM
Message: A very obnoxious man, lets hope I'm never on the sharp end of his "jibe's". I've seen some of his postings on the public forums and his style really sucks, thankfully a lot of people now are challenging his responses so you often see him proved wrong (more often than not actually) - they are really great threads.

Subject: Re: Ming the Merciful.
Posted by: Andrew Clarke (view profile)
Posted on: Tuesday, October 20, 2009 at 1:16 PM
Message: We fixed the typo.

We just love F#. Some of us play with it in the evenings rather than watch telly.

Dijkstra is a hero for many of us.

Joe is a great Science Fiction fan. Is he modeling himself after Ming?

Subject: Re: Ming the Merciful.
Posted by: BuggyFunBunny (view profile)
Posted on: Tuesday, October 20, 2009 at 8:36 PM
Message: >> Joe is a great Science Fiction fan. Is he modeling himself after Ming?

He wrote somewhere, I no longer have the cite, describing himself as such, although I've not read that he did so intentionally. His book photo is a decade or so younger, and closer to Ming than he is today. Nobody likes getting old, but, as my Pappy used to say, it beats the alternative.

Once again, for those who find his view on database applications too stringent, should read up Date or Pascal or virtually anyone who came up through database development rather than code wonking. By contrast, he's a pussy cat.

Subject: Joe Celko
Posted by: Piers Brennon (not signed in)
Posted on: Wednesday, October 21, 2009 at 2:15 AM
Message: It takes an exceptional mind to write the books Joe has written and to be as popular (best selling) an author takes an certain understanding of the subject. The criticism from some poeple here all comes down to pride.

Subject: The more the hordes hate you...
Posted by: Adam Machanic (view profile)
Posted on: Wednesday, October 21, 2009 at 10:11 AM
Message: ...the more status you've got.


Subject: celko status
Posted by: Tony Rogerson (not signed in)
Posted on: Wednesday, October 21, 2009 at 10:17 AM
Message: Hey Adam -then celko has a lot of status hey!

I just caught this article from a friend; oh man -if the folk on here actually saw some of his attempts at answering real world questions I wonder if they would hold him in such high regard!

On the parallelism stuff the best point of resource is the work of Jim Gray who is sadly no longer with us. celko is playing catch up - Jim Gray was talking about GPU's I think at least a decade ago I think it is when we met in San Fran.

Tony

Subject: Crawl out from under the rock!
Posted by: Anonymous (not signed in)
Posted on: Wednesday, October 21, 2009 at 1:06 PM
Message: "Microsoft still has a single-user, desktop mindset and has not made it into the mainframe, data warehouse, document, business rules, business intelligence, streaming data and other markets."

I guess we should all stick with DB2 on the mainframe and Oracle...

http://www.microsoft.com/casestudies/Case_Study_Detail.aspx?CaseStudyID=4000001476

of course, that's all just vendor propaganda, right?

and since when has 'cross platform' / use non-proprietary objects been a criteria for selecting a scripting language

I've got a job to do, I don't live in the therotical world... uh, yeah, I can manage 100's of SQL Servers with TOAD, give me a break!

Subject: Little bit of everything
Posted by: Celko (view profile)
Posted on: Thursday, October 22, 2009 at 6:33 PM
Message: 1) Apparently, I am still a good teacher and speaker by peer measures:

http://blog.sqlsaturday.com/2009/10/sqlsaturday-21-event-evaluation-results.html

2) Dijkstra had a reputation for eviscerating bad students. I am mild. I have a poster done in the style of those schmaltzy motivational posters with his head shot and the caption "PROGRAMMING: you are doing it completely wrong"

3) And YES, all vendor cases studies vendor propaganda. DUH! Can you give me one example of a vendor cases study that came back and said "we suck" as its conclusion? That is why we use Bloor, Meta, Monash and other independent sources.

There is nothing wrong with being a department or small enterprise level product.

3) "Joe is a great Science Fiction fan. Is he modeling himself after Ming?"

Yes, I was on the 1986 WorldCon Committee and I put Skittles and fresh Sushi in the Con Suite, so the kids could eat both together. I still have flashbacks.

When I taught in Brazil a few years ago, they called me "Ming" from the old Flash Gordon comic strips without knowing the American SF-fan references.

4) I miss Jim Grey. He was my Series Editor at MKP and a great guy. My only good story with him was a million years ago in Washington state at a conference. I had SQL FOR SMARTIES and he had his benchmark book out (http://archives.postgresql.org/pgsql-hackers/1998-07/msg00342.php) in the dealer room. I got all the autograph requests and purchases. I was the only one who wanted to pump his brains about optimistic concurrency -- the crowd was all "code monkeys" and not higher level people.

Just as I start to get into it, my date comes back, changed into her evening dress for dinner. Tight red leather mini-dress and a chain mail slave collar (we lived in Los Angeles). Life was good when I was single and in my Forties.

I never got to optimistic concurrency that evening.


Subject: coool
Posted by: marlinlucas9 (view profile)
Posted on: Monday, October 26, 2009 at 9:53 AM
Message: he is really "Puzzles & Problems" section of ABACUS.

 
























Seth Godin: Big in the IT Business
 Seth Godin has transformed our understanding of marketing in IT. He invented the concept of 'permission... Read more...

Geek of the Week: Don Syme
 With the arrival of F# 3.0 Microsoft announced a wide range of improvements such as type providers that... Read more...

Raw Materials: Derek in Therapy
 Our DBA gets in touch with his inner circuits. Read more...

Raw Materials: The Eyes of Derek
 Keeping Developers in the Proper Frame of Mind. Read more...

Raw Materials: Summer on the Lake
 Derek gets away from it all. Read more...

Linus Torvalds, Geek of the Week
 Linus Torvalds is remarkable, not only for being the technical genius who wrote Linux, but for then... Read more...

The Future of Reflector
 Simple Talk asked freelance writer Bob Cramblitt to sit down with the two people behind the agreement... Read more...

Driving up software quality - the role of the tester
 Have you ever wondered what a software tester does? Helen Joyce, test engineer at Red Gate software... Read more...

Bad CaRMa
 From hope and euphoria, to desperation, firings and the ultimate demise of a company. Tim Gorman charts... Read more...

Coming Out as a Cancer Survivor - A Guide for Software Developers
 A personal perspective on the responsibilities of a cancer-surviving software developer Read more...

Over 400,000 Microsoft professionals subscribe to the Simple-Talk technical journal. Join today, it's fast, simple, free and secure.

Join Simple Talk