Author Archives: Ronny Egner

ORA-00902: invalid datatype on MDSYS.SDO_GEORASTER during CREATE TABLE in 12c

Since i haven´t found this on the web: When you try to create a table with MDSYS.SGO_GEORASTER and you´re receiving an ORA-00902: invalid datapye try the following: SQL> @create_tab.sql         “GEORASTER” “MDSYS”.”SDO_GEORASTER” ,                             * ERROR at line 12: ORA-00902: … Continue reading

Posted in Oracle in general | Leave a comment

RAC refuses to start – or how installing TSM caused a cluster outage

Some days back i setup a new server for a customer of mine. Installation and patching ran fine, cluster was stable – no issues. Then suddenly the cluster started to act strange. Commands did not work anymore; after a reboot … Continue reading

Posted in Oracle in general | Leave a comment

Parity-based redundancy (RAID5/6/triple parity and beyond) on BTRFS and MDADM (Dec 2014)

While reading the following posts (second post) from Adam Leventhal I have wondered what is exactly the status of parity-based redundancy in general and triple-parity in particular on Linux in MDADM and BTRFS. TL;DR: There are patches to extend the … Continue reading

Posted in UNIX | 4 Comments

Finally: I am now Oracle Certified Master 11g

Yes! I made it. I successfully accomplished the exam and i am now a proud member of the OCM family:

Posted in Oracle in general | Tagged | 3 Comments

Solaris Live Network Bandwidth Monitoring

When doing performance analysis the current network throughput is often interesting. The following nice script display that – even without any root permissions. #!/bin/sh # usage: netvolmon DEV [INTERVAL] DEV=$1 IVAL=${2:-5} getrxtx() { kstat -p “*:*:$1:*bytes64” | awk ‘{print $2}’ … Continue reading

Posted in Oracle in general | Leave a comment

ORA-29275: partial multibyte character during RMAN resync

Today i had a smaller problem registering a newly created database in a rman catalog. The only unusual thing was that the database was using a unicode character set. RMAN failed with:   [oracle@rac02a ~]$ rman target / catalog rman/rman@rman … Continue reading

Posted in Oracle in general | Leave a comment

Adding more than 512 LUNs to Oracle Enterprise Linux

When dealing with large databases it might be neccessary to have more than 512 LUNs attached to the server. Most Linux distributions default to 512 luns max. This gets even worse with multipathing where each path is represented as a … Continue reading

Posted in Oracle in general | 2 Comments

Copy permissions

Somethimes – especially on RACs – it is required to synchronize permissions on an ORACLE_HOME  running on one node with the permissions running on the other node.   Today i had the problem that after a patch all permissions were … Continue reading

Posted in Oracle in general | Leave a comment

Recompile database objects (utlrp) fails with: ORA-04045: errors during recompilation/revalidation of SYS.DBMS_REGISTRY_SYS

Hi just discovered another flaw when having the workaround for CVE-2012-3132 in place. If you try to compile invalid database objects it will fail with: SQL> @$ORACLE_HOME/rdbms/admin/utlrp SELECT dbms_registry_sys.time_stamp(‘utlrp_bgn’) as timestamp from dual * ERROR at line 1: ORA-04045: errors … Continue reading

Posted in Oracle in general | 4 Comments

Quick & Dirty: AWR Query for Tablespace groth

The query: select   rtime as time,   sn.snap_id,   ts.name,   round(tablespace_size*tsb.block_size/1024/1024,0) SIZE_MB,   round(tablespace_maxsize*tsb.block_size/1024/1024,0) MAXSIZE_MB,   round(tablespace_usedsize *tsb.block_size/1024/1024,0) USEDSIZE_MB from   dba_hist_tbspc_space_usage tsu,   v$tablespace ts,   dba_hist_snapshot sn,   dba_tablespaces tsb where   tsu.tablespace_id=ts.ts#   and sn.snap_id= … Continue reading

Posted in Oracle in general | Leave a comment