You can use the following queries to monitor the performance of the database or to find and kill queries that cause lock. The following …
Read More »How To Give Restrict Access To dmw and dmf To Logins Without Giving View_Server_State Permission
In the article “How To Authorize non-admin Logins To Read DMWs and DMFs“, I explained how to give dmw and dmf read privileges to …
Read More »How To Authorize non-admin Logins To Read DMWs and DMFs
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 »