Imported Content

…And This Is Why I Love Open Source Software

From the daily Riak Recap: So check this out: At 17:40 yesterday, solidsnack asked, “Does Riak support HTTPS?” At 22:28, benblack made it work —> https://gist.github.com/4413fafc14fc18696643 The repo for his branch is here —> http://github.com/b/riak/tree/https A user requested SSL support. 4 hours and 40 minutes later, it was implemented and checked in to source control. It will probably be available to the public in a short period of time.

Chalk Talk 2010 – It’s not your Senior DBA’s Chalk Talk

I don’t know if you’re familiar with the Chalk Talk sessions at the PASS Community Summit. These sessions are shorter, 40 minute sessions, and they happen in the vendor expo hall at the Summit. In the past, this has been a Microsoft sponsored event with Microsoft sponsored speakers. These were discussion focused sessions – a combination of presentation and Q&A session. Guess what? It is a Microsoft exclusive event no longer!

Things I Read This Week – 2010.09.03

Just in case you want to live vicariously through my reading choices, here are some of the things that I found interesting this week when I should have been doing my job. Data An Illustrated Guide to the PostgreSQL Buffer Cache – Just in case you were wondering how a buffer cache works in a database. Because, you know… it’s cool. For you SQL Server people out there, this is conceptually identical to how buffer pool scans work in SQL Server.

They See Things Differently

Every once in a while, I’ll be talking with a friend about presentations and they mention that they really like the visual flow or the artwork or something about the presentation. After I get over being flattered (trust me, it’s easy to do), we’ll start talking about how I came up with the material in the presentation. I’d love to say that the photographs are mine, but they aren’t. There are a few techniques I use to help me make presentations that work well.

Turtles All The Way Down

This has nothing to do with turtles. Just in case you didn’t figure it out, I wanted to make that clear. However, I am really excited to announce that I’m joining Quest Software as a Database Expert. My official job title is still up in the air, but let’s talk a little bit about what I’m going to be doing. I’m going to stay involved in the community. That’s a big one right there.

Finding SQL Agent Jobs Owned By The Wrong Person

Ever have someone leave the company only to find out that they own critical database processes… because that process failed? It hasn’t happened to me, yet, but a recent Active Directory outage this weekend got me thinking about it. The network admins made some upgrades to our Active Directory Servers over the weekend. After getting a few errors that jobs couldn’t run under a certain security context (my manager’s account) I put two and two together and realized that the SQL Server wouldn’t be able to authenticate against Active Directory if the server was down.

PostgreSQL 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 tables with data.``` createdb -U jeremiah pagila psql -U jeremiah -f pagila-schema.sql pagila psql -U jeremiah -f pagila-insert-data.sql pagila ### Loading Data From A File We’re going to be looking at the `pagila-insert-data.sql` file. There is a separate file, `pagila-data.

MongoDB - Now With Sharding

Version 1.6 of MongoDB was released last week while I was at devLink. What makes this an important point release? Two things: sharding and replica sets. Sharding is a way of partitioning data. Data will be sharded by a key – this could be based on zip code, customer number, SKU, or any other aspect of the data. Sharding data in MongoDB occurs on a collection by collection basis. If you want related data to be on the same server you’ll need to pick a sharding key that is present in every collection.

Object-Oriented Programming Concepts for DBAs

This all came about when Aaron Nelson (blog | twitter) asked me a few questions about object-oriented concepts. I did the best that I could to answer his questions, but I decided that this needed a real answer that will, I’m hoping, help to bridge the language gap between DBAs and developers. Note to the reader: Please keep in mind that this is based on the .NET framework and specifically my experience with C#.

PostgreSQL Tutorial – 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 theactor table was created, let’s take a look at the most logical follow up: thefilm table. The film table Without going into all of the details of the film table, we do know that the table looks something like this:CREATE TABLE public.film ( film_id int4 NOT NULL DEFAULT nextval('film_film_id_seq'::regclass), title varchar(255) NOT NULL, description text NULL, release_year year NULL, language_id int2 NOT NULL, original_language_id int2 NULL, rental_duration int2 NOT NULL DEFAULT 3, rental_rate numeric(4,2) NOT NULL DEFAULT 4.