Crunchy Data joins Snowflake.  Read the announcement

  • Postgres Insider Terminology

    Paul Ramsey

    Last week Craig Kerstiens published a great introduction to Postgres terminology , covering some of the basics you might run into when just getting started. The funny thing about jargon is how quickly we get used to it, and forget we are even using it. It becomes part of the secret handshake, the way we signal to other members of our tribe that we're part of the group. When I first started going to Postgres conferences and listening to talks by Postgres core developers I suddenly found myself...

    Read More
  • 11 min read

    Crunchy Bridge's Ruby Backend: Sorbet, Tapioca, and Parlour-Generated Type Stubs

    Brandur Leach

    When we started building Crunchy Bridge two years ago, we chose Ruby as the language to write our database state machine and control plane API. Ruby may not have been the most popular language choice in 2022, but we picked it anyway. A major reason is that everyone on the team already knew it well and liked it. Terse and elegant syntax is perfect for expressing our database state machine logic. Another reason we picked Ruby is that it lets us have a REPL running in production so we can carry o...

    Read More
  • Data Loading in Postgres for Newbies

    Elizabeth Christensen

    So you’re new to Postgres and you want to test it out and see how it works. Or maybe you’re building a new app and you need to seed your database. How do you get data in your Postgres database? There’s a lot out there on the topic of data migration for Postgres and some of it can be complicated and overwhelming. I’m going to give you some quick and simple ways to get test data IN your database. If you need to load data from csv files, the psql command in Postgres is a utility that can come...

    Read More
  • Postgres Databases and Schemas

    Craig Kerstiens

    In my career I've worked on teams that ran and managed over a million databases, and I've helped shard and scale database for customers at 100s of terabytes. Postgres is an incredibly flexible database , and because of it's flexibility you have a lot of options for architecting your data design for your application needs. In talking with current customers and future customers how you design and architect your database is a common topic. We're going to dig into some of the flexibility on archi...

    Read More
  • 7 min read

    Easier Upgrades and Image Management for Postgres in Kubernetes

    Andrew L'Ecuyer

    Lukas Fittl recently posted one of his 5 minutes of Postgres videos about his experimentation with different Kubernetes Postgres Operators: Postgres on Kubernetes, choosing the right operator, and handling major version upgrades . One passage about version updates caught my interest: The other article I found interesting was  this post by Andrew from the Crunchy Data team , where he describes how the PGO operator now makes it easy to do major version upgrades. This is actually pretty cool. I th...

    Read More
  • 5 min read

    Moving Objects and Geofencing with Postgres & PostGIS

    Paul Ramsey

    In a recent post , we introduced pg_eventserv and the real-time web notifications from database actions. In this post, we will dive into a practical use case: displaying state, calculating events, and tracking historical location for a set of moving objects . This demonstration uses pg_eventserv for eventing, and pg_featureserv for external web API, and OpenLayers as the map API, to build a small example application that shows off the common features of moving objects systems. Try it...

    Read More
  • 3 min read

    Making Postgres More Affordable - New Low Cost Plans on Crunchy Bridge

    Craig Kerstiens

    We love Postgres and want it to be available to as many as possible. This is why we released our playground for people to come and learn Postgres. This is why we write about using Postgres and why we published our Postgres tips . Today, we launch two updates to make Postgres even more available to developers. 1. Hobby tier plans now begin at $10 a month. This the same full-featured Postgres all our customers get. No packed multi-tenant setups. 2. When you spend under 5 in billing — there is...

    Read More
  • A Look at Postgres 15: MERGE Command with Examples

    Jean-Paul Argudo

    With PostgreSQL 15 comes a new SQL Command called MERGE . has been in the SQL standard for quite a while, but it just made its way into the PostgreSQL codebase. Prior to , if you wanted to refresh a target table from a source table , prior to Postgres 15, you could use the "upsert" method with the clause . Now, can be used instead! Some situations where makes a lot of sense are: • data loading from external sources, thru foreign data wrappers • staged and batched process jobs data l...

    Read More
  • Be Ready! Public schema changes in Postgres 15

    Paul Ramsey

    The end is nigh! PostgreSQL has substantially tightened restrictions on the use of the "public" schema. Here, a standard login user (not superuser) tries to make a table, as one does: NoooO! Why can I not write a table into public? For developers and experimenters, one of the long-time joys of PostgreSQL has been the free-and-easy security policy that PostgreSQL has shipped with for the "public" schema. • "public" is in the default , so you can always find things in it; and, • any user can cr...

    Read More
  • Oracle to Postgres Post-Migration Improvements

    Jean-Paul Argudo

    With Crunchy Data's focus on Postgres we often talk with people that are looking to reduce their dependency on other databases and modernize their data stack. A big portion of that is migrating and building new apps on Postgres . One common tool in migration from an Oracle database is Orafce which imitates many Oracle functions inside PostgreSQL. Using a tool like Orafce can assist greatly with the migration process. Long term, however, it is likely good practice to slowly refactor your appli...

    Read More