Jeff Frost: pg_dump compression settings
After doing the base backup benchmarks, I thought it would be interesting to benchmark pg_dump run locally and remotely using all the different compression settings.Β This will allow me to compare the...
View ArticleAndrew Dunstan: Making pg_get_viewdef usable
For years some people (including me) have been annoyed by the fact that pg_get_viewdef() runs all the fields together more or less on one line, even in pretty printing mode. It makes the output for...
View ArticleJared Watkins: What I do β Dynamic Daily Table Partitions With Postgres
As part of a new and fairly large project I have a need to partition a few postgres tables and have a rolling daily window.Β That is.. I want to organize data by a timestamp storing each day in its own...
View ArticleLeo Hsu and Regina Obe: Mail Merging using Hstore
For those who aren't familiar with hstore, it's a key/value storage type that is packaged as an extension or contrib in PostgreSQL 8.2+. In PostgreSQL 9.0 it got a little extra loving in several ways...
View ArticlePavel Golub: Determination of a leap year in PostgreSQL
From Wikipedia: A leap year (or intercalary or bissextile year) is a year containing one extra day (or, in the case of lunisolar calendars, a month) in order to keep the calendar year synchronized with...
View ArticleJohn DeSoi: pgEdit 2.1 released
pgEdit has been updated to support PostgreSQL 9.1. The syntax highlighting grammar now supports all 9.1 keywords and the documentation tools recognize all SQL commands. The variable PGEDIT_PSQL_PATH...
View ArticleAndrew Dunstan: Filtering failures
I have just made available a facility to filter what you see on the buildfarm failures page. Now you can choose the period it shows (up to the last 90 days, default is 10 days), and which branches,...
View ArticleChris Travers: A Reply to Tony Marston's advocacy of unintelligent databases
Tony Marston has published an interesting critique of my posting about why intelligent database are helpful.Β The response is thought-provoking and I suggest my readers read it.Β Nonetheless I believe...
View ArticleJoe Abbate: Business Logic in the Database
Chris Travers recently responded to Tony Marstonβs critique of an earlier post where Chris advocated βintelligent databasesβ1. Chrisβ response is well reasoned, particularly his point that once a...
View ArticleAndrew Dunstan: Buildfarm status emails
Apparently the fact that the buildfarm sends out email status notifications is one of the community's best kept secrets. It was one of the earliest features. There are four mailing lists for status...
View ArticleTomas Vondra: Fulltext with dictionaries in shared memory
If you're using the fulltext built-in to PostgreSQL and if you can't use solution based on snowball due to the nature of the language (as it works great for english, but there's not anything similar...
View ArticleAndrew Dunstan: Blue sky
Around this time of year I generally take a bit of time to think what I want to work on during the coming year, and what I want to write talks on for conferences. I have a couple of things I need to...
View ArticleHubert 'depesz' Lubaczewski: OmniPITR 0.3.0
Just released version 0.3.0 of our tool for handling WAL based replication in PostgreSQL β OmniPITR. Version jump is related to addition of another tool β omnipitr-synch. This tool is used to copy...
View ArticleKeith: PG Extractor - A smarter pg_dump
For my debut blog post, I'll be explaining a tool, pg_extractor, that I began working on at my current job. I'd like to first give a big thank you to depesz and the DBA team at OmniTI for their help in...
View ArticleDenish Patel: What is pg_extractor ?
In my recent blog post, I wrote about PostgreSQL DBA Handyman toolset. In the list of tools, getddl is one of them. If you are using getddl to get DDL schema and track the daily changes in SVN for...
View ArticleDavid Keeney: Stub: Multiple Rows
Multiple records returned by a function.Example:convert integers to words'41' => 'forty one''17' => 'seven teen''501' => 'five hundred one'illustrate converting one integer, and then returning...
View ArticleAndrew Dunstan: How not to use a bug tracker
From time to time suggestions are made that the PostgreSQL project should use trackers to manage bugs and possibly feature requests. I have a lot of sympathy with these suggestions. But there has...
View ArticleMark Wong: PDXPUG: January Meeting
When: 7-9pm Thu January 19, 2012 Where: Iovation Who: Tim Bruce What: Database Trending Tim started a new job earlier this year and was looking at how to gather some performance metrics to measure...
View ArticleGabrielle Roth: Integrating Two Pg Databases
A while back, I needed to store two dramatically different data sets: our equipment inventory and our user login history. So I set up a separate database for each. βIt seemed like a good idea at the...
View ArticleAndrew Dunstan: When things are different they are not the same
A customer asked me how to avoid statements timing out. Knowing that they use connection pooling, my answer was:begin; set local statement_timeout = 0; select long_running_function(); commit;But they...
View Article