Guillaume (ioguix) de Rorthais: Using pgBagder and logsaw for scheduled reports
Hey, While waiting for next version of pgBadger, here is a tip to create scheduled pgBadger report. For this demo, I'll suppose : we have PostgreSQL's log files in "/var/log/pgsql" we want to produce a...
View ArticleSelena Deckelmann: Los Angeles Meetup Group formed!
Tweet Yesterday on IRC, a Postgres user — goodwill in #postgresql on Freenode — piped up and said he’d really like to see an Los Angeles, CA Meetup. We have a mailing list, but it’s gone a bit quiet in...
View ArticleJosh Berkus: PostgresXC Live Streaming at SFPUG Aug. 7
Once again, we will have SFPUG Live streaming. This month's presentation is Mason Sharp presenting PostgresXC -- the Clustered, Write-Scalable Postgres. Video will be on Justin.TV; I will try to make...
View ArticleGuillaume (ioguix) de Rorthais: Normalizing queries with pg_stat_statements <...
Hey, If you follow PostgreSQL's development or Depesz' blog, you might know that "pg_stat_statement" extension is getting a lot of improvement in 9.2 and especially is able to «lump "similar" queries...
View ArticleBruce Momjian: Monitoring Postgres from the Command Line
You might already be aware that Postgres updates the process title of all its running processes. For example, this is a Debian Linux ps display for an idle Postgres server: postgres 2544 2543 0 10:47 ?...
View ArticleDavid Fetter: PostgreSQL Archeology
It's happened to all of us. We're faced with a system we have only limited access to administer, and something is Not Right. What's to do? Continue reading "PostgreSQL Archeology"
View ArticleSelena Deckelmann: Postgres Open 2012 schedule announced!
TweetWe’re pleased to announce the Postgres Open 2012 schedule! A very special thanks to EnterpriseDB and Herkou for their Partner sponsorships. Please get in touch if you’d like to sponsor the...
View ArticleBruce Momjian: Centralizing Connection Parameters
Hard-coding database connection parameters in application code has many downsides: changes require application modifications changes are hard to deploy and customize central connection parameter...
View ArticleLeo Hsu and Regina Obe: PL/V8JS and PL/Coffee Part 2: JSON search requests
PostgreSQL 9.2 beta3 got released this week and so we inch ever closer to final in another 2 months or so. One of the great new features is the built-in JSON type and companion PLV8/PLCoffee languages...
View ArticleEgor Spivac: How to get some information about PostgreSQL structure (Part 2)
SchemasHow to get a list of schemes:SELECT CASE WHEN nspname LIKE E'pg\_temp\_%' THEN 1 WHEN (nspname LIKE E'pg\_%') THEN 0 ELSE 3 END AS nsptyp, nsp.nspname, nsp.oid, pg_get_userbyid(nspowner) AS...
View ArticleEgor Spivac: Unique Index vs Unique Constraint
Do you know the difference between unique constraints and unique indexes?In general, there are no differences, but, you can't use unique index in a foreign key.How to use the unique constraint:-- Table...
View ArticleEgor Spivac: How to get some information about PostgreSQL structure (Part 1)
TypesGet Types list:SELECT oid, format_type(oid, NULL) AS typname FROM pg_type WHERE typtype='b'UsersGet users list:SELECT rolname FROM pg_roles WHERE rolcanlogin ORDER BY 1DatabasesGet databases list...
View ArticleSimon Riggs: PostgreSQL: The Multi-Model Database Server
I'd like to change the way we describe PostgreSQL.Calling PostgreSQL and Object Relational database is misleading and years out of date. Yes, PostgreSQL is Relational and the project follows the SQL...
View ArticleJosh Berkus: See you in Chicago!
Just bought my plane tickets for Postgres Open in Chicago. I'm really looking forward to this one, which will be even more user/application-developer-oriented than the first Postgres Open. We have a...
View ArticleChris Travers: A Software Architect's View of the Design of Double Entry...
Taking a brief break from the computer side for now, I figured it would be worth describing the basic design considerations of double entry. This post is the result of my work studying history and...
View ArticleLeo Hsu and Regina Obe: PLV8JS and PLCoffee Part 2B: PHP JQuery App
In our last article, PL/V8JS and PL/Coffee JSON search requests we demonstrated how to create a PostgreSQL PL/Javascript stored function that takes as input, a json wrapped search request. We generated...
View ArticleJosh Berkus: MySQL-to-PostgreSQL Migration Data from The451.com
As you know, due to PostgreSQL's wide redistribution, worldwide user base, and liberal licensing policies (i.e. no registration required), hard data on PostgreSQL adoption is somewhat hard to come by....
View ArticleSelena Deckelmann: LA Postgres first meeting is on for Tuesday, Aug 28!
TweetThe meeting is scheduled for Tuesday, August 28, at 7:30pm at 701 Santa Monica Blvd Suite 310, Santa Monica, CA. From the latest posting on the Meetup group: Beer and Stories We huffed and we...
View ArticleLeo Hsu and Regina Obe: Schemas vs. Schemaless structures and The PostgreSQL...
There has been a lot of talk lately about schemaless models touted by NoSQL groups and how PostgreSQL fits into this New world order. Is PostgreSQL Object-Relational? Is it Multi-Model. We tend to...
View ArticleChris Travers: ACID as a basic building block of eventually consistent,...
Anything worth doing is worth doing well. It therefore follows that anything worth tracking for a business is worth tracking well. While this involves tradeoffs which are necessarily business...
View Article