Some logins may want to see queries that requested from the database. They can see these queries from SQL Server DMWs(Dynamic Management View) and …
Read More »Tips when using ‘replace into’ and ‘insert … on duplicate key update…’ in MySQL
Sometimes when we want to insert rows into a table which contains duplicate keys, then we consider using ‘replace into’ or ‘insert into … …
Read More »UPGRADE POSTGRESQL 10 To 11
We will upgrade POSTGRESQL 10 To 11 on CENTOS in this article. Before I start the upgrade process, I want to make the following critical …
Read More »Policy-Based Management(Check Heap Tables in Databases-Table Facet)
Policy-Based Management is a feature that introduced with SQL Server 2008. It allows us to set the rules we want in our systems, to …
Read More »Materialized Views in Oracle Database
A materialized view is a database object that contains the results of a query. The FROM clause of the query can name tables, views, …
Read More »SQL Server Log Shipping
With the Log Shipping technology, the backup of the SQL Server Transaction Log file is periodically transferred to another instance and recovered on the …
Read More »How many Percent of ASM Disks are used?
In some cases, we may need to know how many percent of the ASM disks are used. The following query shows the percentage of …
Read More »SQL Server Always On Failover Cluster
I will use SQL Server 2014 in this article. Other versions can be installed in similar ways. SQL Server Always On Failover Cluster was …
Read More »How to Install Postgresql Sample Database
In Postgresql, sometimes we need a sample database when we test. We can use pagila in postgresql.org for this. You can follow the steps …
Read More »PostgreSQL – Split The String With Regex Split
In PostgreSQL we have 2 functions to split a string according to a certain character; regexp_split_to_array and regexp_split_to_table. regexp_split_to_array : It splits the string according to regular expression and …
Read More »