Items in Category: Tech Talk


« Older Posts


PG Phriday: Database and Schema Basics

February 12th, 2016 | Published in Database, Tech Talk | No Comments


Sure, [intlink id='pg-phriday-cluster-control']managing a Postgres cluster[/intlink] is great. We’ve got the software installed, more tool wrappers than we can wave several sticks at, and a running cluster that’s ready to do our bidding. But what do we do with it? In fact, what is a Postgres cluster anyway? How are databases involved? What about schemas? There’s critically important nomenclature that new users may find somewhat non-intuitive, so let’s demystify things a bit.


Tags: , , , ,

PG Phriday: Tackling Intractable ACLs

February 5th, 2016 | Published in Database, Tech Talk | 2 Comments


Say that three times fast! Joking aside, managing database object access is a headache for users and DBAs alike. Postgres isn’t really an exception in that regard, but it does provide a few tools to greatly reduce the pain involved. The crazy thing is that few people even know this feature exists. I’ve known about it for a while myself, but it always slips my mind because it feels so wrong not to explicitly grant permissions.


Tags: , ,

PG Phriday: COPY and Alternative Import Methods

January 29th, 2016 | Published in Database, Tech Talk | 6 Comments


I recently noted that the COPY command in Postgres doesn’t have syntax to skip columns in source data when importing it into a table. This necessitates using one or more junk columns to capture data we’ll just be throwing away. During that, I completely forgot that friendly devs had contributed alternative file handling methods as Foreign Data Wrappers. Most people think of foreign wrappers as a method for interacting with remote databases. Perusing the full list however, reveals some surprising data sources. Twitter? Hive? Video cards?!


Tags: , ,

PG Phriday: Joining the Big Leagues

January 22nd, 2016 | Published in Database, Tech Talk | No Comments


I’ve maintained since about 2011, that the problem with scaling Postgres to truly immense installations could be solved by a query coordinator. Why? Most sharding systems utilize an application-level distribution mechanism, which may or may not leverage an inherent hashing algorithm. This means each Postgres instance can be treated independently of all the others if the distribution process is known. On a cleverly architected system, the application is algorithm aware, and can address individual shards through a driver proxy or accessor class.


Tags: , , ,

PG Phriday: Database Creation Workshop

January 15th, 2016 | Published in Database, Tech Talk | No Comments


Postgres theory, feature discussion, and advocacy are fun. But even I’ll admit it’s nice to have some practical application every once in a while. This week, we’re going to build an actual database.

But what would be small enough for a proof of concept, yet somewhat interesting? Well, I’m a fan of Hearthstone. It’s a silly card game much like Magic: The Gathering, but has the distinct aura of “eSports!” Regardless, it’s a fun little time waster, and has a few hundred data points we can manipulate.


Tags: , , , ,

« Older Posts