Batched Table Access
When I first saw the suffix BATCHED in an Oracle execution plan from 12c, I was curious to see what is hidden behind and how it works. I had some spare time for testing and wanted to share my findings...
View ArticleDo you have enough Redo?
The question of whether a database has enough redo logs available is quite common. The documentation suggests to use FAST_START_MTTR_TARGET and V$INSTANCE_RECOVERY.OPTIMAL_LOGFILE_SIZE to identify “the...
View ArticleStatistics gathering and SQL Tuning Advisor
Our monitoring software found a long running job on one of our client’s databases. The job was an Oracle’s auto task running statistics gathering for more than 3 hours. I was curious to know why it...
View ArticleA Simple Way to Monitor Java in Linux
A quick and easy way to know what is it inside Java process that is using your CPU. Using just Linux command line tools and JDK supplied command line utilities. IntroductionHere are a few things you...
View ArticleHigh System Time on Windows Running in a VM
Recently I’ve seen an issue with CPU usage on a server running Windows 2003 Server in a VMware. This is a small Virtual Machine with just 2 cores allocated (which are possibly mapped to “threads” on a...
View ArticleBatched table access
When I first saw the suffix BATCHED in an Oracle execution plan from 12c, I was curious to see what is hidden behind and how it works. I had some spare time for testing and wanted to share my findings...
View ArticleDo you have enough Redo?
The question of whether a database has enough redo logs available is quite common. The documentation suggests to use FAST_START_MTTR_TARGET and V$INSTANCE_RECOVERY.OPTIMAL_LOGFILE_SIZE to identify “the...
View ArticleStatistics gathering and SQL Tuning Advisor
Our monitoring software found a long running job on one of our client’s databases. The job was an Oracle’s auto task running statistics gathering for more than 3 hours. I was curious to know why it...
View ArticleA Simple Way to Monitor Java in Linux
A quick and easy way to know what is it inside Java process that is using your CPU. Using just Linux command line tools and JDK supplied command line utilities. Introduction Here are a few things you...
View ArticleHigh system time on Windows running in a VM
Recently I’ve seen an issue with CPU usage on a server running Windows 2003 Server in a VMware. This is a small Virtual Machine with just 2 cores allocated (which are possibly mapped to “threads” on a...
View ArticleEBS 12.2 issues seen in the wild
Recently, I was involved in an EBS upgrade project, and also in operational support of an EBS production environment. Based on this project, here is an unsorted list of issues I’ve seen in or around...
View ArticleInefficient queries to ALL_SYNONYMS
Short summary: Queries to ALL_SYNONYMS cause FTS of SYS.OBJ$ which can’t be avoided. Let’s have a look at a simple query and its execution plan in my test 12.1.0.2 instance. The plan is pretty big,...
View ArticleHow to fix the skip scan bug in 18c
A recent Twitter thread had an interesting test case of the optimizer choosing sub-optimal skip scan over range scan. I’ve checked what’s going on, and it happens to be a known bug. Here’s a slightly...
View ArticleMigrating btrfs root partition to ext4 in OVM
Recently I spent some time trying to migrate root partition to another FS type in an OVM environment. The target was to migrate root partition from btrfs to ext4. Here is a short outline of how it was...
View Article