How to flashback databases in dataguard with broker
Last week I had to do some tests with dataguard. To make restores easier restore points were required. Given is following configuration: show configuration; Configuration - ila Protection Mode:...
View ArticlePostgreSQL 11: Instant add column with a non null default value
As I am currently preparing my session for the Swiss PGDay which is about some of the new features for PostgreSQL 11, I though this one is worth a blog post as well. Up to PostgreSQL 10 when you add a...
View ArticleHow to compile PostgreSQL 11 with support for JIT compilation on RHEL/CentOS 7
As you might already know PostgreSQL 11 will bring support for just-in-time compilation. When you want to compile PostgreSQL 11 with jit support on RedHat/CentOS 7 this requires a little hack (more on...
View ArticleDealing with ugrade scenarios for SQL Server on Docker and Swarm
This blog post comes from an interesting experience with one customer about upgrading SQL Server on a Docker environment. Let’s set quickly the context: a production environment that includes a...
View ArticleDisabling database trap with dataguard broker
When connecting to dataguard broker and disabling database with ORACLE_SID set before connecting to broker, broker becomes inaccessible, which is shown below: Login to broker via database ila: oracle...
View ArticleDo you need the same column with the same check constraint twice? Create a...
Did you know that you can create domains in PostgreSQL? No, nothing to worry about. We’ll take Frank’s leave for a new opportunity as a chance to introduce the concept of domains. @Franck: Yes,...
View ArticleChange Data Capture from Oracle with StreamSet Data Collector
With this trend of CQRS architectures where the transactions are streamed to a bunch of heterogenous eventually consistent polyglot-persistence microservices, logical replication and Change Data...
View ArticleIntroducing SQL managed instances on Azure
I never wrote about data platform solutions on Azure so far. The fact is in Switzerland we’re definitely late about the Cloud adoption and Azure data platform solutions. There are different reasons...
View ArticleIs adding a column to a typed table in PostgreSQL instant?
Today at the SOUG Day I did some little demos and one of them was about creating typed tables. In the demo the two tables did not contain any rows and one of the questions was: When these tables...
View ArticleConvert a WebLogic Cluster from configured to dynamic
Unless the servers in cluster are not symmetric, which is not recommended anyway, dynamic cluster have many advantages against configured cluster: Ensure Cluster Member Uniformity Easily add new...
View ArticleADWC new OCI interface
A few things have changed about the Autonomous Data Warehouse Cloud service recently. And I’ve found the communication not so clear, so here is a short post about what I had to do to start the service...
View ArticleHow to fix your own SQL plan in Oracle ?
There is time when you have build an SQL plan and then you want to fix it for all next executions of the query by your application. In this post I show how fix a plan you have created by yourself....
View ArticleRemote syslog from Linux and Solaris
Auditing operations with Oracle Database is very easy. The default configuration, where SYSDBA operations go to ‘audit_file_dest’ (the ‘adump’ directory) and other operations go to the database may be...
View ArticleMigrating from ASMLIB to ASMFD
Before Oracle 12.1 the methods used to configure ASM were • udev • asmlib Oracle 12.1 comes with a new method called Oracle ASM Filter Driver (Oracle ASMFD). In Oracle documentation we can find...
View ArticleDealing with automatic restart and SQL Docker containers
A couple of weeks ago, a customer asked me how to restart containers automatically after a reboot of the underlying host. In his context, it was not an insignificant question because some containers...
View Articleutl_dbws causes ORA-29532 and bad_record_mac
After installing OJVM patch set update APR-2017 on a 11.2.0.4 database with PSU APR-2017 installed, first call of utl_dbws package was successful, but after a while utl_dbws calls failed always with...
View ArticleWhat’s new in EDB EFM 3.1?
Beginning of this month EnterpriseDB announced a new version of its Failover Manager. Version 2.1 introduced controlled switchover operations, version 3.0 brought support for PostgreSQL 10 and now:...
View ArticleMySQL 8.0 – Roles are finally there
Roles have been existing on many RDBMS for a long time by now. Starting from version 8.0, this functionality is finally there for MySQL. The most important advantage is to define only once a role that...
View ArticleIntroduction to databases for {Power.Coders} with MySQL
This week I took some days off to do something related to my job but a bit different. I’ve given a course on Databases and SQL. But not for my usual customers. And not with the database I know the...
View Article18c: No Active Data Guard required (and detected) when only CDB$ROOT and...
When you clone a PDB on the primary CDB, you want that the same is automatically done on the standby ones. Unfortunately, for this operation, the CDB must be opened read-only. In 12.1 even the PDB...
View Article