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

    12C Paging through Data and Restricting Result Sets

    Published by

    chandlerdba

    on

    2015-09-01

    Prior to Oracle 12C, if you wanted to page through result sets only returning a bit at a time, or only wanted the first dozen lines of data, it was a right pain. Writing your SQL, then having it as an in-line view with order by, and a rownum on…

    Continue reading →: 12C Paging through Data and Restricting Result Sets
  • Administration, patching

    Oracle 12C Problem with datapatch. Part 2, the “fix”

    Published by

    chandlerdba

    on

    2015-08-27

    so after much too-ing and fro-ing with Oracle Support, we finally have a solution to my datapatch problem. Prevent the timeout from happening when running datapatch! We know which part of the code was timing out, and we can do this by setting an undocumented event: 18219841. Here’s a show…

    Continue reading →: Oracle 12C Problem with datapatch. Part 2, the “fix”
  • Administration, patching

    Oracle 12C Problem with datapatch

    Published by

    chandlerdba

    on

    2015-08-03

    I was minding my business, patching an Oracle 12C RAC Cluster when the darned patch failed ./datapatch -verbose SQL Patching tool version 12.1.0.2.0 on Mon Aug 3 20:47:31 2015 Copyright (c) 2015, Oracle. All rights reserved. Log file for this invocation: /u01/app/oracle/cfgtoollogs/sqlpatch/sqlpatch_9841_2015_08_03_20_47_31/sqlpatch_invocation.log Connecting to database…OK Bootstrapping registry and package to…

    Continue reading →: Oracle 12C Problem with datapatch
  • Administration

    Oracle Management Database in Grid Infrastructure: -MGMTDB

    Published by

    chandlerdba

    on

    2015-07-20

    Oracle, Why? Why is is now mandatory to have the cluster management database as an Oracle CDB, with a PDB having the same name as the cluster? It’s not that I object to having another 1GB of memory lost to this DB, and up to 10GB of disk in the…

    Continue reading →: Oracle Management Database in Grid Infrastructure: -MGMTDB
  • Administration

    Oracle on 4096 (4k) sector disks don’t work (ish)

    Published by

    chandlerdba

    on

    2015-07-20

    I recently came across 4K (4096 byte) sector drives. They are a fairly new thing and have come about so drives can exceed the 2TB limit imposed by having 512byte sectors. The details behind this can be found here, in much greater detail than I need to understand. What I do…

    Continue reading →: Oracle on 4096 (4k) sector disks don’t work (ish)
  • Administration, Programming

    Locking Privileges in Oracle

    Published by

    chandlerdba

    on

    2015-07-14

    What permissions do you need to lock rows on an Oracle table? What about to lock the whole table? It’s not quite as much as you may think! Lets have a couple of users; schema_owner and user1 SQL> show user USER is “SYS” SQL> create user schema_owner identified by schema_owner;…

    Continue reading →: Locking Privileges in Oracle
  • Administration

    Oracle Cluster Health Monitor – changes in 12.1.0.2

    Published by

    chandlerdba

    on

    2015-07-12

    From Oracle 12.1.0.2, the Oracle Cluster Health Monitor becomes an Oracle database by default [replacing the old Berkley DB], and it’s called “-MGMTDB” (note the leading “-“) cat /etc/oratab +ASM1:/u01/app/grid:N # line added by Agent -MGMTDB:/u01/app/grid:N # line added by Agent It lives on one of the nodes on your…

    Continue reading →: Oracle Cluster Health Monitor – changes in 12.1.0.2
  • Administration, patching

    Oracle 12.1.0.2.0 ACFS on Linux 7 don’t work

    Published by

    chandlerdba

    on

    2015-07-12

    I installed OEL 7.1… uname -a Linux rac12c01 3.8.13-55.1.6.el7uek.x86_64 Then I installed Grid Infrastructure and Database 12.1.0.2.0 and looked to configure ACFS for the database files, ready for DB create. And it won’t let me. In asmca, the tabs are greyed-out. Lets just investigate that: acfsdriverstate supported ACFS-9459: ADVM/ACFS is…

    Continue reading →: Oracle 12.1.0.2.0 ACFS on Linux 7 don’t work
  • Administration

    Linux Annoying Defaults, and changes when moving to RH/OEL7

    Published by

    chandlerdba

    on

    2015-07-10

    So why does Linux have an alias for “ls” which turns on colour, by default, making some text impossible to read? eh? alias ls=’ls –color=auto’ To stop this temporarily, you can “unalias ls”, but to stop it permanently for everyone: vi /etc/profile.d/colorls.sh comment out the line: alias ll=’ls -l –color=auto’ 2>/dev/null…

    Continue reading →: Linux Annoying Defaults, and changes when moving to RH/OEL7
  • Administration

    PC Pro Oracle DBA Article

    Published by

    chandlerdba

    on

    2015-06-22

    I was interviewed recently by UK publication PC Pro magazine for their regular series about IT Careers with regard to database administration (surprise!) The (somewhat abridged!) interview has just appeared in the August 2015 edition of the magazine. I cannot link to the on-line version of the article so here’s my hopefully readable cropped…

    Continue reading →: PC Pro Oracle DBA Article
  • Administration

    Cloud Control 12c Discovery Problem

    Published by

    chandlerdba

    on

    2015-06-18

    OEM bug with nmap and libpcap.so.0.9.4

    Continue reading →: Cloud Control 12c Discovery Problem
  • oracle

    Oracle ACE Award

    Published by

    chandlerdba

    on

    2015-05-05

    I have just learned that I have been nominated and accepted as an Oracle ACE. I would like to thank Jonathan Lewis for the nomination and Oracle Corp. for the recognition. It’s a tremendous honour for me to receive this award. I just hope I can live up to it…

    Continue reading →: Oracle ACE Award
  • Goldengate

    Goldengate Data Manipulation – When Inserts & Updates differ

    Published by

    chandlerdba

    on

    2015-04-17

    One very useful aspect of Golden Gate is to allow the manipulation of data between the source and the destinations. One recent problem that I encountered was to alter the data differently for inserts than for updates. This was caused by the receiving system needing to have some default data…

    Continue reading →: Goldengate Data Manipulation – When Inserts & Updates differ
  • Administration

    UKOUG Tech15 Call for Papers

    Published by

    chandlerdba

    on

    2015-04-16

    The #ukoug_tech15 call for papers has gone out, and will be open until midnight on 10th May 2015 Last year was a fabulous event in Liverpool and we hope and expect it to be even better in Birmingham this year.

    Continue reading →: UKOUG Tech15 Call for Papers
  • Goldengate

    Goldengate Log Rotation

    Published by

    chandlerdba

    on

    2015-04-14

    Golden Gate 12 has some excellent commands to keep your log files in check, plus one glaring omission (scheduled for a future enhancement) Each extract, datapump and replicat will be writing to report (.rpt) and discard (.dsc) files in the dirrpt directory (if you aren’t specifying a discard file, you…

    Continue reading →: Goldengate Log Rotation
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
 

Loading Comments...
 

    • 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