SQL
PG Day 2010 Presentation
Submitted by TimBruce on Sun, 2010-07-18 08:32My slide presentation from PDX PG Day 2010 in Portland, Oregon.
The presentation was created in Open Office (the .ODP file - Postgresql (OSCON).odp), but I've also created a PPT version (Postgresql (OSCON).ppt) exported from Open Office.
PostgreSQL on Windows - Presentation
Submitted by TimBruce on Fri, 2010-04-16 18:38I just completed a presentation for my local PostgreSQL User Group (the Portland PUG) and gave it last Thursday. I need to add some updates to clarify things and round out some of it, but here it is as I gave it.
Hopefully there are others who will find it useful.
As a side note, there are NOTES on some of the slides to go along with the material being presented.
Table Size in Microsoft SQL Server
Submitted by TimBruce on Wed, 2010-01-27 13:02Sometimes I want to find out how many rows are in each user table in a SQL Server 2000 database. The following SQL helps me determine this.
How to move your MySQL database directory
Submitted by TimBruce on Tue, 2009-10-06 16:25If you have a dedicated database server and the partition with the MySQL database fills up (or starts getting low), you can move your MySQL databases to a different location.
Let’s say you want to move the database to /home/mysql
Verified Updates in SQL
Submitted by TimBruce on Thu, 2009-07-02 17:36Sometimes, on a high-volume / high TPS database, I want to make sure I've made updates to ALL the recovers, and not leave some orphaned data out there. This usually occurs because someone has a locked record while they're making a change. So when I'm making updates to multiple records (remember, SQL is SET based, so it applies to all records that match a condition), I use a belt and suspenders approach.
