Syntax Highlighting With SQL Developer
Introduction A customer asked me if it is possible show unused identifiers in SQL Developer. Since there is no PL/SQL compile warning for that, you might be tempted to say no. But you can always use PL/SQL Cop for static code analysis. Guideline G-1030 deals…
Useful Oracle tools – DBCOMP
Getting lost writes (e.g. ORA-00752: recovery detected a lost write of a data block) is one of the worst DBA’s nightmares. There are a lot of very important questions popping up. Apart from the obvious ones on how to solve the problems reported (hopefully without…
Be careful with ‘save state’ in Data Guard configuration
Users are complaining that from time to time they are connecting to standby database which is opened read-only, instead to primary opened also for writing. What can be the root cause? Previous usage of below command: It keeps not only information about the state of…
Book Review: Practical Oracle SQL by Kim Berg Hansen
I work with SQL since decades, and I think to have some practical experience with writing SQL queries on Oracle databases. So why should I buy a book about practical Oracle SQL? If you are in a similar situation like me, read this book review….
Formatting Code With SQL Developer
Introduction I started using SQL Developer in 2013. Back then version 4.0 was the latest and greatest. But the capabilities of the formatter were disappointing. In 2017 Oracle released version 4.2 with a new formatter and has been improving it ever since. Version 19.2 brought…
Side effect of ExaWatcher workaround for LSOF check
While analysing the problem with ExaWatcher not being able to start, I found quite nasty side effect of a workaround implemented in recent versions of this useful tool. In fact, you will hit it only on Exadata X7 where you had previously implemented another workaround…
Design Tips for Query Rewrite
Although Query Rewrite on Materialized Views is a powerful feature which is available in Oracle databases for a long time, it is rarely used. Many developers and database administrators don’t know about it or do not use it because they think it is too complex….
Learn and certify for free: Oracle Cloud Infrastructure and Oracle Autonomous Database
If you ever hesitated to jump into learning about Oracle Cloud Infrastructure or Oracle Autonomous Database the time is now! Oracle Cloud Free Tier together with Always Free Services is already available since last year. This is very useful, as it allows to familiarize with…
Useful Oracle tools – purgeLogs
Recently I’ve came across a nice tool provided by Oracle named purgeLogs, so I would like to shortly blog about it for reference (also for me). As the name suggests it is meant to be used for cleaning up log and trace files. Unfortunately, it…
Data Vault Queries and Join Elimination
If you work with Data Vault for a data warehouse running in an Oracle database, I strongly recommend to use Oracle 12.2 or higher. Why that? Since Oracle 12c Release 2, join elimination works for more than one join column. This is essential for queries…