GTID replication is a simple High Availability solution (HA) offered in MySQL and MariaDB though the implementation technique is unique but compared to MySQL …
Read More »How To List Tablespaces and Objects in Tablespaces On PostgreSQL
You can use the following command to see the list of tablespaces created. [crayon-673f632163b6d340405261/] You can also use the following script to list …
Read More »PostgreSQL up-time
There are countless ways of understanding how long PostgreSQL has been turned on. In this article we will talk about 3 methods. 1)Using …
Read More »SQL Server Storage Concepts (Page, Extents, GAM, SGAM, PFS, IAM, BCM, DCM)
Page is the most basic unit of SQL Server on storage. Each page consists of 8 KB. The mdf or ndf files that allocate …
Read More »How to Catch Ctrl-C in Shell Script
To trap Ctrl-C in a shell script, we will need to use the trap shell builtin command. When a user sends a Ctrl-C interrupt …
Read More »How To Install PostgreSQL 9.6 on Debian 8.x (Jessie)
As you know, at the end of September 2016, PostgreSQL version 9.6 was released. In this article you will find the installation steps of …
Read More »Column Level Encryption With pgcrypto On PostgreSQL
Create Extension First, if the extension is not present, it is created with the following command. [crayon-673f6321642fa214464326/] The functions we will use; [crayon-673f6321642fd919035634/] Example: We …
Read More »SQL Server Service Is Not Starting Due to Tempdb
SQL Server re-creates tempdb on predefined folders each time sql server service starts. In the article “How To Move The Tempdb Database To Another …
Read More »POSTGRESQL DATABASE MONITORING
In this article I will share some monitoring scripts about postgresql. To Check if the Postgresql service is running via OS(linux): [crayon-673f63216462d283059203/] …
Read More »How To Delete an ASM Diskgroup
There are several methods to delete the disk group from an ASM. It is possible to do this operation with “Enterprise Manager”, asmca and …
Read More »