Blog

Synchronous Commit

While I was at PGConf.EU a couple of weeks ago in Madrid, I attended a talk by Grant McAlister discussing Amazon RDS for PostgreSQL.  While it was interesting to see how Amazon had made it very simple for developers to get a production PostgreSQL instance quickly, the thing that really caught my eye was the performance benchmarks comparing the fsync …

Read More

PostgreSQL Dollar Quoting

I recently attended a excellent meetup about Redshift and one of the comments by the presenter was the trouble of the running of the UNLOAD command. The trouble they were having was that the UNLOAD command takes an SQL statement as a parameter, but if that SQL statement has strings, you need to escape everything which makes it fairly unreadable. …

Read More

Announcing Cassandra 2.1

Cassandra is the premier choice for a Multi-Master / Multi-Datacenter database. Take a look at the interesting things we are doing with it at bigsql.org

Read More

FTP I/O from PostgreSQL

PostgreSQL applications at times need to communicate with external servers using FTP. Oracle has the UTL_TCP package that is very useful for PL/SQL applications. PostgreSQL doesn’t have an equivalent package, but it does have something really powerful … the ability to write functions in various scripting languages. PostgreSQL has four languages that are part of the core distribution: PL/pgSQL, PL/Tcl, …

Read More

Hierarchical Queries using PostgreSQL

One of the major hurdles faced when converting Oracle’s PL/SQL code to any other database is to find the equivalent of START WITH and CONNECT BY PRIOR. This SQL in Oracle provides a very powerful way of writing hierarchical queries, something that comes in really handy when dealing with hierarchical data – this is fairly common in any enterprise. Well, …

Read More

Trigger Overhead (Part 2)

I found a bit more time dig into timing of triggers and their overhead so I wanted to see how much overhead the choice of procedural language affected performance. I followed the same testing methodology from my original trigger test. For this test I created an empty trigger in the following languages: PL/pgSQL CREATE FUNCTION empty_trigger() RETURNS trigger AS $$ …

Read More

Trigger Overhead

I recently had discussions with some folks about triggers in PostgreSQL. They had two main questions. What is the overhead of putting a trigger on a table? Should a trigger function be generic with IF statements to do different things for INSERT, UPDATE and DELETE? So I created a simple test to verify some assumptions. First, I created a simple …

Read More

PostgreSQL Videos

With all of the new users to PostgreSQL, one of the things we wanted to do for PGConf NYC this year was to have a video showing the history of PostgreSQL. We ended up with a very professional video showing how the features have grown over the years and by the applause of the attendees delivered on our goals. You …

Read More

PostgreSQL Studio is now on Heroku

One of my main objectives when writing PostgreSQL Studio was to help new users learn PostgreSQL. One of the main drivers of new PostgreSQL users is the different cloud players with Heroku being one of the biggest so it only made sense to start there. I’ve gone through the process of making PostgreSQL Studio an add-on for Heroku so now …

Read More

Stinger Delivers Fast Hive SQL via YARN & TEZ

The latest BigSQL bundle now includes Stinger and Tez to dramatically improve performance and extend the SQL dialect. In the latest distribution of BigSQL Release 2, it is extremely easy to get started exploring Tez and Stinger in your own sandbox environment. Taking advantage of YARN, Stinger is now delivering on its three main goals of Speed, SQL Enhancememnts & …

Read More

Page 1 of 1412345»10...Last »
/* ]]> */