With DBCC SHOW_STATISTICS we can get detailed information about a statistic. As many of you know, statistics have one of the most important roles in …
Read More »How To Check Object Privileges Granted to a Role or User in Oracle
To perform various operations on database objects, system and object privileges must be assigned to users. Each system privilege allows a user to perform certain …
Read More »How To Create PostgreSQL Repository To Install Postgres Without Internet
Download Postgres Repository Metadata First, Run the below command on a server that can connect to internet. This command download the latest postgres repository metadata …
Read More »Find UNDO Usage by Sessions
You can find the undo usage of a session with the following query. Historical information is also available. You can find the undo usage of …
Read More »SQL Server Failover Cluster Takes Disk Offline
This is very interesting case. One day we saw that a database is not accessible in a failover cluster due to an offline disk. And …
Read More »What is Incremental Statistics in SQL Server
Its is a feature announced with SQL Server 2014. It can be very useful if you have a partition in your database. If you don’t …
Read More »Enable Trace For a Session in Oracle
You may need to enable trace for a session for many reasons. For example, you may need to determine which queries run in a session. …
Read More »How To Compress ColumnStore Tables and Indexes With COLUMNSTORE_ARCHIVE Option
COLUMNSTORE_ARCHIVE option was introduced with SQL Server 2014. If we want to archive ColumnStore Tables or Indexes, we can compress our columnstore tables or indexes …
Read More »PDB$SEED Database in Container Database
The PDB$SEED or SEED database is a pluggable database template for pluggable databases to be created by users. Used as a template to create new …
Read More »How To Manage Online Index Rebuild and Partition Switch Processes With WAIT_AT_LOW_PRIORITY
WAIT_AT_LOW_PRIORITY is a feature introduced with SQL Server 2014. We can control the Online Index Rebuild and switch partition operations. For example, suppose we perform …
Read More »