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, Development, oracle, Programming, SQL

    Developers

    Published by

    chandlerdba

    on

    2015-03-29

    Just a small Sunday night anecdote with a wider point. I, or maybe a colleague, recently received an update statement from a developer. Now, this developer is long of tooth and is well versed in the ways of Oracle data manipulation. The aforementioned update statement contained an interesting hint. BYPASS_UJVC.…

    Continue reading →: Developers
  • Administration, audit, oracle, Performance and Tuning, Problem Solving, Unix

    Auditing Read-Only Standbys

    Published by

    chandlerdba

    on

    2015-03-25

    For a more up-to-date post about auditing and security, read about Unified Auditing. On a read-only standby, when in Pure mode, the audit trail is written to disk (as it cannot write to a read-only database!) in a binary format which can be shipped across to the Primary occasionally and…

    Continue reading →: Auditing Read-Only Standbys
  • Administration

    Sequences – where did the view go?

    Published by

    chandlerdba

    on

    2015-03-17

    I was pottering around with the sequence cache recently, investigating a few things like exactly when it refreshes (such as if it is flushed or aged from the shared pool – pin it!) and I was monitoring the next value using V$_SEQUENCE, like I have been since, erm, Oracle 8i…

    Continue reading →: Sequences – where did the view go?
  • Administration, Development, RAC, SCHEMA

    Sequences – a quick guide and an unexpected quirk

    Published by

    chandlerdba

    on

    2015-03-05

    Sequences on Oracle databases are simple, but there are some basic truths about sequences which need to be understood if you are going to use them, especially on RAC: Sequences will have “holes” in them, even if you specify NOCACHE (e.g. if you rollback your transaction). Don’t specify NOCACHE. It…

    Continue reading →: Sequences – a quick guide and an unexpected quirk
  • Goldengate, Problem Solving

    Goldengate: Problems with character sets

    Published by

    chandlerdba

    on

    2015-02-26

    One complication that you may face with replicating data using Goldengate (or other tools) is when your source character set is different to your destination character set. This is particularly true when the source character set is UTF-8 and the destination is not. If the application does not sanitise (or…

    Continue reading →: Goldengate: Problems with character sets
  • Administration, Problem Solving

    Checking the alert log – the easy way

    Published by

    chandlerdba

    on

    2015-01-06

    Do you check the alert log of your databases every day? In the morning when you get in? But what about the alerts which happen during the day? How do you spot them – especially if you don’t have Grid Control or Cloud Control configured. Even if you do have a…

    Continue reading →: Checking the alert log – the easy way
  • UKOUG

    UKOUG Tech 14

    Published by

    chandlerdba

    on

    2014-12-05

    On Sunday I will be heading North from London to Liverpool for 4 days, to attend another UK Oracle User Group conference – #UKOUG_Tech14 I’m sure it will be as wonderful and informative a 4 days as you can get in the Oracle technical area. The hard part of attending…

    Continue reading →: UKOUG Tech 14
  • Administration, Development, SCHEMA

    Adding a DEFAULT column in 12C

    Published by

    chandlerdba

    on

    2014-12-01

    I was at a talk recently, and there was an update by Jason Arneil about adding columns to tables with DEFAULT values in Oracle 12C. The NOT NULL restriction has been lifted and now Oracle cleverly intercepts the null value and replaces it with the DEFAULT meta-data without storing it in…

    Continue reading →: Adding a DEFAULT column in 12C
  • Administration, Programming, SCHEMA

    Adding NOT NULL Columns with DEFAULT values – 11G

    Published by

    chandlerdba

    on

    2014-10-30

    In Oracle, if we add a column to a table which is NOT NULL, we are allowed to do it directly, in a single statement, as long as we supply a DEFAULT value to populate any pre-existing rows. This would mean that every row in the table was updated with…

    Continue reading →: Adding NOT NULL Columns with DEFAULT values – 11G
  • oracle

    Club Oracle in London – 12th November 2014

    Published by

    chandlerdba

    on

    2014-10-28

    #cluboracle free event in November 2014

    Continue reading →: Club Oracle in London – 12th November 2014
  • Administration, SQL

    When to use the NOLOCK hint in SQL Server

    Published by

    chandlerdba

    on

    2014-10-12

    I frequently hear of, and see, developers and DBA’s using the NOLOCK hint within SQL Server to bypass the locking mechanism and return their data sets as soon as possible. There are times when this is OK, such as when you are running an ad hoc query and are only…

    Continue reading →: When to use the NOLOCK hint in SQL Server
  • ACFS, Administration, GRID Infrastructure, RAC

    Extending an ACFS filesystem dynamically.

    Published by

    chandlerdba

    on

    2014-10-03

    To extend an ACFS cluster filesystem dynamically, we need to use the acfsutil command: node01:/u01/grid>/sbin/acfsutil size +10G /u02 acfsutil size: ACFS-03008: The volume could not be resized.  The volume expansion limit has been reached. acfsutil size: ACFS-03216: The ADVM compatibility attribute for the diskgroup was below the required version (11.2.0.4.0)…

    Continue reading →: Extending an ACFS filesystem dynamically.
  • Administration, GRID Infrastructure, RAC

    Grid Infrastructure Disk Space Problem – CHM DB file: crfclust.bdb

    Published by

    chandlerdba

    on

    2014-09-29

    The Grid Infrastructure filesystem was reporting that it was a bit full today (release 11.2.0.4). This was tracked down to the “crfclust.bdb” file, which records information about the cluster health for monitoring purposes. It was 26GB. It’s not supposed to get bigger than 1GB so this is probably a bug,…

    Continue reading →: Grid Infrastructure Disk Space Problem – CHM DB file: crfclust.bdb
  • Administration, audit, SCHEMA

    Releasing to schemas the easy way

    Published by

    chandlerdba

    on

    2014-09-28

    Sometimes we occasionally just miss the obvious, for years. Just noticed that an easy way to release code to a particular schema is to login as your normal DBA user (USER1) [as preferred by audit], use the alter session command to switch to point to the release schema (USER2) and…

    Continue reading →: Releasing to schemas the easy way
  • audit

    Oracle Audit Control part 2 – purging records

    Published by

    chandlerdba

    on

    2014-06-20

    Now that you have got your audit table somewhere a little more sensible (i.e. not in the SYSTEM tablespace), there’s probably a policy about how many audit records should be kept. Thoughtfully, the DBMS_AUDIT_MGMT package provides some of what you need to keep the audit records in check. However, a little…

    Continue reading →: Oracle Audit Control part 2 – purging records
Previous Page 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