Free Training – SQL Saturday 42
Good news! I’m speaking at SQL Saturday 42 this Saturday. Got nothing to do? Head on down to Goodwill Columbus at 1331 Edgehill Rd, Columbus, OH. Got something to do? Cancel it. I’m excited about the...
View ArticleSQL Saturday 42 Musings
SQL Saturday 42 has been and gone. I don’t have a ton to say, but I wanted to try to post my thoughts on the event before they were completely gone from my mind. The people who put this event on – Dave...
View ArticleUsing Indexed Views to Replace Triggers
Let’s get this out of the way: I think triggers are cool. I also think triggers have their place, they just need to be used with care. One reason for this is that triggers are synchronous. That is –...
View ArticleRevisiting Lady MacBeth and Her Torturous Lies
A while back, I wrote up a genius piece of code that would automatically shrink my log files whenever they grew. Kendra Little (blog | twitter) completely called me out for my horrible, sneaky,...
View ArticlePostgreSQL Tutorial – Creating Your First Database
Once you’ve installed PostgreSQL (OS X Instructions) (other platforms), you’ll probably want to get started with a new database. Unfortunately PostgreSQL does not include a sample database by default....
View ArticlePostgreSQL Tutorial – Creating the Pagila Schema
In the previous article, we talked about creating your first PostgreSQL database and I went over the syntax of createdb and psql in a bit of detail. Next up, we’re going to look at creating the...
View ArticlePostgreSQL Tutorial – Referring to Other Tables
Referring to Other Tables In the previous article you learned how to create a single table. One table does not make for a very interesting database. Since we looked at how the actor table was created,...
View ArticlePostgreSQL Tutorial – Inserting Data
In the last two articles, we talked about creating your first PostgreSQL database, the syntax of createdb and psql, and creating tables in the database. Next up, we’re going to look at filling those...
View ArticleTesting for Performance
You know that you should be testing your code. You even know that you should be testing your SQL. But why? We need to make sure that changes to our code are safe, prevent regressions, and that we catch...
View ArticleMy Code Isn’t Fat, It’s Just Robust
I’ve been working on implementing some infrastructure code for a client. We’re building robust partition swapping to make it easy to load data without disrupting user queries. We’re doing everything...
View Article
More Pages to Explore .....