Infrastructure at your Service

Category Archives: Database Administration & Monitoring

Daniel Westermann

Can I do it with PostgreSQL? – 19 – Create user … identified by values

By | Database Administration & Monitoring | No Comments

Puh, that last post in this series is already half a year old. Time is moving too fast Today, while being at a customer again, this question came up: Can I do something comparable in PostgreSQL to what I can do in Oracle, which is: Create a user and provide the hashed password so that the password is the same on the source and the target (which implies not knowing the password at all)? In…

 
Read More
Elisa Usai

MySQL – Time mismatch between system and log files

By | Database Administration & Monitoring | No Comments

I was working on MySQL upgrades to version 5.7 at a customer, when I found out that for my instance, time in the error log file didn’t correspond to local system time: mysql@test1:/u01/app/mysql/admin/mysqld1/log/ [mysqld1] mysql -uroot -p Enter password: ERROR 1045 (28000): Access denied for user ‘root’@’localhost’ (using password: YES) mysql@test1:/u01/app/mysql/admin/mysqld1/log/ [mysqld1] ls -ltr mysqld1.err -rw-r—–. 1 mysql mysql 13323 Apr 12 10:54 mysqld1.err mysql@test1:/u01/app/mysql/admin/mysqld1/log/ [mysqld1] tail -1 mysqld1.err 2018-04-12T08:54:55.300633Z 67 [Note] Access denied for…

 
Read More
Marc Wagner

Dbvisit Standby Archive Log Daemon

By | Database Administration & Monitoring, Oracle | No Comments

Dbvisit Standby version 8 comes with a nice feature, a daemon, which gives the benefit to send and apply the archive log automatically in the background. Bypassing the system scheduling, the daemon will facilitate customer RPO (Recovery Point Objective) and RTO (Recovery Time Objective) fine tuning. Monitoring to apply logs to the Standby only when needed, will also optimize use of resources. Originally available for the Linux based environments, the feature has been made available…

 
Read More
Olivier Gautreau

Automating Oracle Linux Installation with Kickstart

By | Database Administration & Monitoring | No Comments

Automating Oracle Linux Installation with Kickstart Kickstart ? If you need to setup from scratch several Oracle Linux systems for your Oracle databases, it can be boring to repeat the install tasks again and again on each servers. Automation and standardization are the keys. Kickstart can provide an easy way to accomplish mass deployment. Kickstart configuration files Kickstart will use a Kickstart configuration file to perform the deployment. Maintaining ready to go Kickstart configurations is…

 
Read More
Grégory Steulet

Password Validation in MySQL

By | Database Administration & Monitoring | No Comments

Introduction on validate_password plugin Since version 5.6.6 MySQL provides a new security plugins named Password Validation Plugin. The password-validation plugin aims to test passwords strength and improve security. The goal of this blog is to provide you a short overview of the functionalities provided through this plugin and illustrate these functionalities with concrete examples. As explained into the documentation The validate_password plugin implements two capabilities: 1. The plugin checks the password against the current password…

 
Read More
Mouhamadou Diaw

PgBackRest : Dedicated Backup Host

By | Database Administration & Monitoring | No Comments

In previous blogs (blog1 and blog2) we saw a configuration of PgBackRest where the tool is installed in the same server that also hosts the PostgreSQL cluster. This configuration is fine if we have a single database server. But in the case that we have many database servers, it is more suitable to have a dedicated server for backups. This will also separate the backups and WAL archive from databases server In this article we…

 
Read More
Clemens Bleile

sqlplus and its column output

By | Database Administration & Monitoring, Database management | No Comments

During tuning or normal DBA activities one of the most annoying things is sqlplus with its default column output when running queries. I.e. even after setting a linesize of 1000 and a pagesize of 1000 the output may look as follows in your preferred terminal emulation (putty here): Most people address this by using other tools like sqldeveloper (or sqlcl with sqlformat ansiconsole). However, a lot of people still use sqlplus. How can you address…

 
Read More
Jérôme Dubar

How reimaging detects the ODA hardware?

By | Database Administration & Monitoring | No Comments

A long time ago, ODA referred to the only model that existed (nearly). Actually, not so long time ago, as ODA X3, X4 and X5 were released between 2013 and 2015. And it was quite the same hardware. Now there is 3 current models in the X7 range, and they were 4 in the previous generation (X6). ODA is now divided in 2 main lines. High Availability models, understand 2 nodes and a shared storage…

 
Read More