Bruce Momjian: Why Use Multiple Schemas?
I mentioned that Postgres supports multiple clusters, databases, and schemas, but an open question is why use multiple schemas, rather than placing everything in the "public" schema? By default,...
View ArticleJosh Berkus: Sharding Postgres with Instagram
On Tuesday last week we had a terrific SFPUG meeting at which Mike Kreiger of Instagram explained how they grew and eventually sharded their 2TB of Postgres data to support 27 million users. It's a...
View ArticleDavid Wheeler: Sqitch Update
A quick update on Sqitch. I started implementation about a couple of weeks ago. It’s coming a long a bit more slowly than I'd like, given that I need to give a presentation on it soon. But I did things...
View ArticleBruce Momjian: Upcoming Events
During the next two months I will be attending events in the following cities: New York City, Ottawa, Charlotte (North Carolina), and Boston — the details are on my website. I will also be doing...
View ArticleBruce Momjian: Caching Levels
There are several levels of caching used in a typical server — here they are, in order of increasing distance from the cpu: 1.Cpu cache 2.Random-Access Memory (RAM) 3.Storage controller cache 4.Storage...
View ArticleScott Mead: Monitoring enchancements in PG9.2
pg_stat_activity has changed folks, and it seems for the better. A cosmetic change, along with a powerful new view into the heart of your database are going to revolutionize the way that you view your...
View ArticleJosh Berkus: Call for Lightning Talks for pgCon
Hackers, users, pgCon attendees:You want to give a lightning talk at pgCon! Yes, you do. The fun, the glory, the laughter, the everlasting fame! These can all be yours.Be one of the ten "brave and...
View ArticlePhil Sorber: Denormalizing the real world to normalize your database
When writing database schema's sometimes we envision a 1-to-1 correlation with what we are trying to model from the real world and assume it must be a good design because it seems to fit so perfectly....
View ArticleDavid Wheeler: Sqitch Status: A Step at a Time
I've just released Sqitch v0.20-TRIAL, the third testing release of Sqitch. Since last week, I've implemented add-step. So let's have a look-see at what all it can do. First, let's initialize a Sqitch...
View ArticleFrank Wiles: Three things you should never put in your database
As I've said in a few talks, the best way to improve your systems is by first not doing "dumb things". I don't mean you or your development staff is "dumb", it's easy to overlook the implications of...
View ArticleBruce Momjian: Measuring Free Memory and Kernel Cache Size on Linux
Measuring Linux free memory and kernel cache size can be somewhat tricky. You might look at /proc/meminfo for the answer (commas added): # cat /proc/meminfo MemTotal: 24,736,604 kB MemFree: 3,805,392...
View ArticleBruce Momjian: Starting on 9.2 Release Notes
As in previous years, I have started working on major release notes, this time for Postgres 9.2. I start with this command: $ src/tools/git_changelog --since '2011-06-11 00:00:00 GMT' --master-only \...
View ArticleLeo Hsu and Regina Obe: File FDW Family: Part 1 file_fdw
Last time we demonstrated how to use the ODBC Foreign Data wrapper, this time we'll continue our journey into Foreign Data Wrapper land by demonstrating what I'll call the File FDW family of Foreign...
View Articlegabrielle roth: PDXPUG: May meeting in two weeks
When: 7-9pm Thu May 17, 2012 Where: Iovation Who: Ed Snajder What: Replication Without Tears “Database replication is a great way to tackle challenges with scaling, concurrency, availability and...
View ArticleJosh Berkus: SELECT fire_proton_torpedoes();
At pgCon this year you will have the chance to reduce your fellow attendees to their component elements, and win prizes for it!We will be having a Schemaverse tournament for the length of the...
View ArticleBruce Momjian: The Effectiveness of effective_cache_size
Having reported the methods for finding the size of the kernel cache on Linux, I wish to highlight the importance of the postgresql.conf setting effective_cache_size. Unlike other memory settings that...
View ArticleJosh Berkus: Random Page Cost Revisited
Because the planner has limited information about the host system PostgreSQL is running on, we offer several planner configuration variables, which can be set either dynamically or in the...
View ArticleBruce Momjian: Postgres Drinking Game
My children have traveled to many conferences with me, and have heard many webcasts and training calls at home. I guess, after hearing about Postgres so often, they pick up certain phases of interest,...
View ArticleHubert 'depesz' Lubaczewski: OmniPITR 0.7.0
Just released new version of OmniPITR. This version has one important new feature: when you’re calling omnipitr-backup-slave, it will make backups only of required xlog files, and not, as previously,...
View ArticleJohn DeSoi: PostgreSQL support in Ace editor
Ace is a standalone code editor written in JavaScript. It now supports PostgreSQL specific syntax coloring, including support for pl/pgsql, pl/perl, and pl/python. To try the live demo, just select...
View Article