Neil Chandler's DB Blog

    • About Neil
    • Consultancy Services
    • Presentations
    • Video Tutorials
      • Why Has My Plan Changed. Top 7 Plan Stability Pitfalls and How To Avoid Them!
      • Oracle Database Stats – the easy way!
      • Oracle Database Statistics – When It’s Harder
      • Histograms Are Evil like Chocolate is Evil
      • Oracle Execution Plan Changes
      • Using JSON in Oracle
    • MASH Program
  • Administration, Performance and Tuning

    Oracle Database: Global Stats Changes After Partition Truncate

    Published by

    chandlerdba

    on

    2025-08-08
    Oracle Database: Global Stats Changes After Partition Truncate

    I may be late to the party on this one, but it certainly surprised me during a database migration from Oracle 11G to Oracle 19.26 recently (yes, there’s a surprising amount of databases still on 11G – released in 12 years ago, and 10G, and even 9i, 8i, 8.0 and…

    Continue reading →: Oracle Database: Global Stats Changes After Partition Truncate
  • Administration, Performance and Tuning

    ORA-04021 timeout occurred while waiting to lock object during stats gather

    Published by

    chandlerdba

    on

    2025-06-11
    ORA-04021 timeout occurred while waiting to lock object during stats gather

    I recently came across an interesting change in behaviour when gathering stats. Patch 32781163 (Deadlock on library cache lock on MV refresh and dbms_stats gathering the same object) was applied to an Oracle 19C system, and as well as curing the deadlock problem the client was experiencing it also changed…

    Continue reading →: ORA-04021 timeout occurred while waiting to lock object during stats gather
  • Administration

    Infinity – Old Oracle Numbers

    Published by

    chandlerdba

    on

    2025-02-03
    Infinity – Old Oracle Numbers

    A long time ago, Oracle had a couple of special numbers that you were allowed to store in a NUMBER datatype. They were Infinity and Negative Infinity! If you selected these numbers (using SQL*Plus) , they showed up as “~” and “-~“, although it is worth noting that if you’re…

    Continue reading →: Infinity – Old Oracle Numbers
  • Appearances, doag, POUG, SIOUG, UKOUG, User Groups

    Unlocking Insights: Why Conferences Matter

    Published by

    chandlerdba

    on

    2024-11-01
    Unlocking Insights: Why Conferences Matter

    I very much enjoy speaking at conferences, and talking to everyone there. The insights that you get into how other companies are running their systems is incredible. The innovative approaches that different people and companies have to solving the same problems never ceases to amaze me, and the only way…

    Continue reading →: Unlocking Insights: Why Conferences Matter
  • Administration, Security

    Fundamental Security Part Nine – Scripted Passwords

    Published by

    chandlerdba

    on

    2024-10-29
    Fundamental Security Part Nine – Scripted Passwords

    October 2024 – Oracle 19C, 23ai So a while ago I spoke about passwords but forgot to mention a key element of account control in the blog. I was giving a talk on Security a few days ago and told an audience member that this information was in my blog.…

    Continue reading →: Fundamental Security Part Nine – Scripted Passwords
  • Administration, Goldengate, Migration, oracle, Security

    Oracle Data Migration Validation

    Published by

    chandlerdba

    on

    2024-08-21
    Oracle Data Migration Validation

    Data migration is common. Moving data from one database to another, either via Datapump, Goldengate, unload/load scripts or some other method has risk. You are going to have to check. Frequently, I see the rows being counted. Any nothing else. If we have 10 rows in the source, and 10…

    Continue reading →: Oracle Data Migration Validation
  • Administration, Performance and Tuning

    Hint Classifications

    Published by

    chandlerdba

    on

    2024-07-28
    Hint Classifications

    In my previous post, I wrote about the time I made a mistake specifying a hint via a SQL Patch, meaning it “didn’t work”. This leads to an understanding about the classification of hints – some hints are used for the Optimizer/CBO, but other hints have different reasons for being…

    Continue reading →: Hint Classifications
  • Administration, Performance and Tuning

    SQL Patch, and a Parallel mistake

    Published by

    chandlerdba

    on

    2024-07-21
    SQL Patch, and a Parallel mistake

    July 2024. Oracle 19c, 23ai There are 3 main types of SQL Plan Management: So first some quick background info about the 3 options and then I’ll tell you about my mistake. SQL Profile A SQL Profile is a collections of hints to be applied to a SQL statement. It…

    Continue reading →: SQL Patch, and a Parallel mistake
  • Administration, patching

    Time Zones and Oracle Database Patching

    Published by

    chandlerdba

    on

    2024-06-20
    Time Zones and Oracle Database Patching

    I have worked with several clients who rely heavily on time zone data and processing it correctly. If you have columns in your database which are defined as TIMESTAMP WITH TIME ZONE, you need to understand what the relevance is relating to the time zone in your database. For example,…

    Continue reading →: Time Zones and Oracle Database Patching
  • Administration, Performance and Tuning

    Oracle Statistics Gathering Timeout

    Published by

    chandlerdba

    on

    2024-01-19
    Oracle Statistics Gathering Timeout

    January 2024 – Oracle 12C, 19C, 21C, 23C+ Gathering object statistic in Oracle is important. The optimizer needs metadata about the object, such as the amount of rows and number of distinct values in a column, to help it decide the optimum way to access your data. This takes effort,…

    Continue reading →: Oracle Statistics Gathering Timeout
  • Administration, audit, Security

    Fundamental Security Part Eight – Unified Audit

    Published by

    chandlerdba

    on

    2024-01-15
    Fundamental Security Part Eight – Unified Audit

    January 2024 – Oracle 19C+ If you are Oracle 12.1 onwards, and you have not explicitly disabled it, you are using Unified Audit We previously discussed Data Encryption At Rest. Now lets talk about Unified Audit, and why you should be using it When you create an Oracle database, there…

    Continue reading →: Fundamental Security Part Eight – Unified Audit
  • Administration, Security

    Fundamental Security Part Seven– Data Encryption At Rest

    Published by

    chandlerdba

    on

    2023-11-09
    Fundamental Security Part Seven– Data Encryption At Rest

    October 2023 – Oracle 19C+ What is Data Encryption At Rest and why should we use it? We have looked at Data Encryption in Transit, encrypting your network traffic. Everyone should be doing this. But what about Encrypting Data At Rest? Data that is stored permanently (on your hard drives).…

    Continue reading →: Fundamental Security Part Seven– Data Encryption At Rest
  • Administration, Security

    Fundamental Security Part Six– Network Encryption

    Published by

    chandlerdba

    on

    2023-08-11
    Fundamental Security Part Six– Network Encryption

    August 2023 – Oracle 19C We have considered observability. Knowing where you may have a security problem. We now need to look at removing some of the main problems associated with Oracle databases. Lets start with Network Security. By default, all data travelling over the network with Oracle is unencrypted.…

    Continue reading →: Fundamental Security Part Six– Network Encryption
  • Administration, Security

    Fundamental Security Part Five – Observability

    Published by

    chandlerdba

    on

    2023-07-16
    Fundamental Security Part Five – Observability

    July 2023 – Oracle 19C Now you know what permissions have been granted in your system and to whom, as shown in the previous post. Maybe you have remediated them down to least privilege. Now, how do you ensure the system stays like that? How do you know if you…

    Continue reading →: Fundamental Security Part Five – Observability
  • Administration, Security

    Fundamental Security Part Four – Permissions Checking

    Published by

    chandlerdba

    on

    2023-07-03
    Fundamental Security Part Four – Permissions Checking

    July 2023 – Oracle 19C So in the previous post we talked about identifying unused and historic accounts. Old accounts should be removed, but what are the capabilities of the existing users who are accessing the systems? A surprisingly large amount of applications request that the schema owner, and maybe…

    Continue reading →: Fundamental Security Part Four – Permissions Checking
Next Page
MASH Program Logo
Help for Public Speaking

subscribe

  • Mail

Recent posts

  • Oracle Database: Global Stats Changes After Partition Truncate

    Oracle Database: Global Stats Changes After Partition Truncate

  • ORA-04021 timeout occurred while waiting to lock object during stats gather

    ORA-04021 timeout occurred while waiting to lock object during stats gather

  • Infinity – Old Oracle Numbers

    Infinity – Old Oracle Numbers

  • Unlocking Insights: Why Conferences Matter

    Unlocking Insights: Why Conferences Matter

  • Fundamental Security Part Nine – Scripted Passwords

    Fundamental Security Part Nine – Scripted Passwords

  • Oracle Data Migration Validation

    Oracle Data Migration Validation

Create a website or blog at WordPress.com

Privacy & Cookies: This site uses cookies. By continuing to use this website, you agree to their use.
To find out more, including how to control cookies, see here: Cookie Policy
  • Subscribe Subscribed
    • Neil Chandler's DB Blog
    • Join 132 other subscribers
    • Already have a WordPress.com account? Log in now.
    • Neil Chandler's DB Blog
    • Subscribe Subscribed
    • Sign up
    • Log in
    • Report this content
    • View site in Reader
    • Manage subscriptions
    • Collapse this bar

Notifications