Database Administration & Monitoring SQL Monitoring in PostgreSQL (1) – the logging system 05.12.2015 by Daniel Westermann When developing an application as well as when the application is in production there is the need to identify long running queries. In Oracle one tool you might use for that is the SQL Monitor. In this post I’ll(…)
Database Administration & Monitoring Upgrading PostgreSQL to a new major release 02.12.2015 by Daniel Westermann The last post looked into how to upgrade PostgreSQL to a new minor version. In this post I’ll look into how to upgrade PostgreSQL to a new major version. This is not as simple as just installing(…)
Database Administration & Monitoring Patching PostgreSQL to a new minor release 01.12.2015 by Daniel Westermann If you are used to patch Oracle databases you probably know how to use opatch to apply PSUs. How does PostgreSQL handle this? Do we need to patch the existing binaries to apply security fixes? The answer is: No.
Database Administration & Monitoring Migrating the Oracle 12cR1 sample schemas to PostgreSQL Plus Advanced Server 9.4 29.11.2015 by Daniel Westermann This post takes a look on how to migrate the Oracle 12cR1 sample schemas to PPAS 9.4 (PostgreSQL Plus Advanced Server 9.4). I’ll not dig into how to install PPAS as this was described in detail(…)
Database Administration & Monitoring Row level security is coming to PostgreSQL 29.08.2015 by Daniel Westermann Before PostgreSQL 9.5 (which is in alpha2 currently) you could grant access to individual columns of a table to users or roles. A little test script to demonstrate this: (postgres@[local]:5432) [postgres] > select version(); version -------------------------------------------------------------------------------------------------------------- PostgreSQL(…)
Database Administration & Monitoring Representing ranges with one data type? 25.08.2015 by Daniel Westermann How many applications do you know that need to define a validity of a row? And how many of these do that by adding two columns: valid_from and valid_to or similar column names? Well, in PostgreSQL (you already suspect it(…)
Database Administration & Monitoring Connecting your PostgreSQL instance to an Oracle database – The PostgreSQL 9.5 way 20.08.2015 by Daniel Westermann As you might know PostgreSQL 9.5 is currently in alpha 2. One of the new features will be the possibility to import foreign schemas. Having this it is no longer required to create all the foreign(…)
Database Administration & Monitoring Connecting your PostgreSQL instance to an Oracle database 19.08.2015 by Daniel Westermann For integrating data from other systems PostgreSQL has the concept of foreign data wrappers. Many of these exist for different types of systems. In this post I’ll look into how you may connect PostgreSQL to Oracle. The(…)
Database Administration & Monitoring Testing the just released PostgreSQL 9.5 Alpha in a docker container 03.07.2015 by Daniel Westermann On the 2cnd of July the PostgreSQL Global Development Group released an alpha version of the upcoming PostgreSQL 9.5. The same day, Josh Berkus, another of those PostgreSQL core team members released a docker image for(…)
Database Administration & Monitoring Indexing for like/similarity operations 29.06.2015 by Daniel Westermann Indexing queries for like/similarity conditions is not that easy with the usual index types. The only option you have with btree indexes (especially if the wild-card is at the beginning of the filter) is to create a partial(…)