{"id":972,"date":"2005-06-12T12:00:00","date_gmt":"2005-06-12T12:00:00","guid":{"rendered":"http:\/\/orcldoug.com\/blog\/?p=972"},"modified":"2005-06-12T12:00:00","modified_gmt":"2005-06-12T12:00:00","slug":"dba_registry","status":"publish","type":"post","link":"http:\/\/orcldoug.com\/blog\/2005\/06\/12\/dba_registry\/","title":{"rendered":"dba_registry"},"content":{"rendered":"<p>It&#8217;s true I learn something new all the time. Is it just me? Did everyone know about this?<\/p>\n<p>I was talking to one of the other DBAs at work on Friday who was telling me that one of the dbs we&#8217;ve taken over looks like it wasn&#8217;t upgraded properly. I connected okay, v$version looked okay, so I asked him what he meant and he pointed me at dba_registry. (I&#8217;ve had to fake this slightly because it was 9i at work and I have 10g at home where I&#8217;m doing this &#8211; you&#8217;ll see what I mean in a minute)<\/p>\n<pre>SQL&gt; l  <br\/>1* select comp_id, comp_name, version, status from dba_registry<br\/>SQL&gt; \/<br\/>COMP_ID<br\/>------------------------------<br\/>COMP_NAME<br\/>----------------------------------------------------------------------------------------------------<br\/>VERSION                        STATUS<br\/>------------------------------ -----------<br\/>CATALOG<br\/>Oracle Database Catalog Views<br\/>9.2.0.1.0                      VALID<br\/>CATPROC<br\/>Oracle Database Packages and Types<br\/>9.2.0.1.0                      VALID<\/pre>\n<p>The database was using 9.2.0.4 binaries and other databases that were showed 9.2.0.4 in dba_registry.<\/p>\n<p>I have to be honest and say I didn&#8217;t know about this. He pointed out that I should from when I&#8217;ve applied patches, but I know I&#8217;ve upgraded plenty of dbs without checking this (although I always check the log files of dictionary scripts I&#8217;ve run).<\/p>\n<p>Anyway, it was good to learn something new. So when I applied the 10.1.0.4.0 patch to my home set-up this weekend, I thought I&#8217;d check this view out again.<\/p>\n<pre>  1* select comp_id, comp_name, version, status from dba_registry<br\/>SQL&gt; \/<br\/>COMP_ID<br\/>------------------------------<br\/>COMP_NAME<br\/>----------------------------------------------------------------------------------------------------<br\/>VERSION                        STATUS<br\/>------------------------------ -----------<br\/>CATALOG<br\/>Oracle Database Catalog Views<br\/>10.1.0.2.0                     VALID<br\/>CATPROC<br\/>Oracle Database Packages and Types<br\/>10.1.0.2.0                     VALID<br\/>OWM<br\/>Oracle Workspace Manager<br\/>10.1.0.2.0                     VALID<br\/>JAVAVM<br\/>JServer JAVA Virtual Machine<br\/>10.1.0.2.0                     VALID<br\/>XML<br\/>Oracle XDK<br\/>10.1.0.2.0                     VALID<br\/>CATJAVA<br\/>Oracle Database Java Packages<br\/>10.1.0.2.0                     VALID<br\/>EXF<br\/>Oracle Expression Filter<br\/>10.1.0.2.0                     VALID<br\/>ORDIM<br\/>Oracle interMedia<br\/>10.1.0.2.0                     VALID<br\/>ODM<br\/>Oracle Data Mining<br\/>10.1.0.2.0                     VALID<br\/>CONTEXT<br\/>Oracle Text<br\/>10.1.0.2.0                     VALID<br\/>XDB<br\/>Oracle XML Database<br\/>10.1.0.2.0                     VALID<br\/>APS<br\/>OLAP Analytic Workspace<br\/>10.1.0.2.0                     VALID<br\/>XOQ<br\/>Oracle OLAP API<br\/>10.1.0.2.0                     VALID<br\/>AMD<br\/>OLAP Catalog<br\/>10.1.0.2.0                     VALID<br\/>SDO<br\/>Spatial<br\/>10.1.0.2.0                     VALID<br\/>EM<br\/>Oracle Enterprise Manager<br\/>10.1.0.2.0                     VALID<br\/><p><\/p><br\/><p><\/p><p>16 rows selected.<\/p><\/pre>\n<p>I obviously have a lot more stuff installed at home, or this view shows more information in 10g. However, the version numbers aren&#8217;t 10.1.0.4.0 which means that it&#8217;s obviously not a sure-fire way of checking an upgrade&#8217;s been applied correctly. I suppose the dictionary may not have changed.<\/p>\n<p>I&#8217;m intrigued &#8211; is this something that&#8217;s widely-known?<\/p>\n","protected":false},"excerpt":{"rendered":"<p>It&#8217;s true I learn something new all the time. Is it just me? Did everyone know about this? I was talking to one of the other DBAs at work on Friday who was telling me that one of the dbs we&#8217;ve taken over looks like it wasn&#8217;t upgraded properly. I connected okay, v$version looked okay,&hellip; <a class=\"more-link\" href=\"http:\/\/orcldoug.com\/blog\/2005\/06\/12\/dba_registry\/\">Continue reading <span class=\"screen-reader-text\">dba_registry<\/span><\/a><\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[1],"tags":[],"class_list":["post-972","post","type-post","status-publish","format-standard","hentry","category-uncategorized","entry"],"jetpack_featured_media_url":"","jetpack-related-posts":[{"id":978,"url":"http:\/\/orcldoug.com\/blog\/2005\/04\/25\/and-theres-more-smu-again\/","url_meta":{"origin":972,"position":0},"title":"And there&#8217;s more &#8230; (SMU again)","date":"April 25, 2005","format":false,"excerpt":"Almost immediately after posting my last comment on SMU, I noticed that the TAR for the original corruption issue has been updated with a root causeOracle Development has found the root cause of the corruption problem which crippled your database. They have reproduced the problem on an in-house database, thereby\u2026","rel":"","context":"Similar post","img":{"alt_text":"","src":"","width":0,"height":0},"classes":[]},{"id":1062,"url":"http:\/\/orcldoug.com\/blog\/2006\/08\/21\/resumable-storage-allocation\/","url_meta":{"origin":972,"position":1},"title":"Resumable Storage Allocation","date":"August 21, 2006","format":false,"excerpt":"At the moment I'm writing a short 9i\/10g New Features seminar for the developers at work. The idea is to run through lots of new features very quickly to see if anything lights their candle and they can then go off and investigate further afterwards.It occurred to me while I\u2026","rel":"","context":"With 9 comments","img":{"alt_text":"","src":"","width":0,"height":0},"classes":[]},{"id":1264,"url":"http:\/\/orcldoug.com\/blog\/2007\/05\/06\/re-linking-oracle\/","url_meta":{"origin":972,"position":2},"title":"Re-linking oracle","date":"May 6, 2007","format":false,"excerpt":"Hooray! Something vaguely technical - at last.My new client is hot on software licence compliance and what seemed a minor issue to me reared it's slightly ugly head this week. When connecting to our 10.2.0.2 database instances using sqlplus, the version banner displays options that we aren't using, for example\u2026","rel":"","context":"With 21 comments","img":{"alt_text":"","src":"","width":0,"height":0},"classes":[]},{"id":1191,"url":"http:\/\/orcldoug.com\/blog\/2007\/01\/27\/dba-documentation-catalogue\/","url_meta":{"origin":972,"position":3},"title":"DBA Documentation &#8211; Catalogue","date":"January 27, 2007","format":false,"excerpt":"Prompted by Linda's comment on a previous blog, I thought it might be worth writing a couple of postings on DBA documentation.The first thing you need is a Database Catalogue of some kind.Benefits1) Even an experienced DBA arriving on site won't know what servers exist, how to login to them,\u2026","rel":"","context":"With 11 comments","img":{"alt_text":"","src":"","width":0,"height":0},"classes":[]},{"id":1002,"url":"http:\/\/orcldoug.com\/blog\/2006\/06\/20\/mysterious\/","url_meta":{"origin":972,"position":4},"title":"Mysterious &#8230;","date":"June 20, 2006","format":false,"excerpt":"... and quite funny. I followed an incoming link through Statcounter and arrived here.At the moment, the content is :-SQL> startup mountORACLE instance started.Total System Global Area 645922816 bytes Fixed Size 1250644 bytes Variable Size 184552108 bytes Database Buffers 457179136 bytes Redo Buffers 2940928 bytes Database mounted.SQL> alter database open;Database\u2026","rel":"","context":"With 3 comments","img":{"alt_text":"","src":"","width":0,"height":0},"classes":[]},{"id":1044,"url":"http:\/\/orcldoug.com\/blog\/2006\/08\/04\/tracing-session-activity-over-a-remote-database-link\/","url_meta":{"origin":972,"position":5},"title":"Tracing session activity over a remote database link","date":"August 4, 2006","format":false,"excerpt":"Yesterday someone asked me how to trace a session that selects from a view in a remote database via a link. If they activated the trace on the local instance, they wouldn't see the bulk of the work which was happening on the remote instance - just a bunch of\u2026","rel":"","context":"With 2 comments","img":{"alt_text":"","src":"","width":0,"height":0},"classes":[]}],"_links":{"self":[{"href":"http:\/\/orcldoug.com\/blog\/wp-json\/wp\/v2\/posts\/972","targetHints":{"allow":["GET"]}}],"collection":[{"href":"http:\/\/orcldoug.com\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"http:\/\/orcldoug.com\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"http:\/\/orcldoug.com\/blog\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"http:\/\/orcldoug.com\/blog\/wp-json\/wp\/v2\/comments?post=972"}],"version-history":[{"count":0,"href":"http:\/\/orcldoug.com\/blog\/wp-json\/wp\/v2\/posts\/972\/revisions"}],"wp:attachment":[{"href":"http:\/\/orcldoug.com\/blog\/wp-json\/wp\/v2\/media?parent=972"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"http:\/\/orcldoug.com\/blog\/wp-json\/wp\/v2\/categories?post=972"},{"taxonomy":"post_tag","embeddable":true,"href":"http:\/\/orcldoug.com\/blog\/wp-json\/wp\/v2\/tags?post=972"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}