What is an edition?

Server is 11.1.0.7 on Linux/x86. I noticed processes sometimes holding an "edition lock" on object ORA$BASE. The
V$LOCK_TYPE table says the following: "Prevent Dropping an edition in use<br />". To make things even more confusing,
there is a very well hidden view named '_CURRENT_EDITION_OBJECT'. Here is the text:
<code>select text
from dba_views where view_name = '_CURRENT_EDITION_OBJ';
TEXT
select o."OBJ#",o."DATAOBJ#",o."OWNER#",o."NAME",o."NAMESPACE",o."SUBNAME",o."TY<br /><br /><br />PE#",o."CTIME",o."MTIME",o."STIME",o."STATUS",o."REMOTEOWNER",o."LINKNAME",o."FL<br /><br /><br />AGS",o."OID$",o."SPARE1",o."SPARE2",o."SPARE3",o."SPARE4",o."SPARE5",o."SPARE6",
o.spare3,
case when (o.type# not in (4,5,7,8,9,10,11,12,13,14,22,87) or
bitand(u.spare1, 16) = 0) then
null
when (u.type# = 2) then
(select eo.name from obj$ eo where eo.obj# = u.spare2)
else
TEXT
'ORA$BASE'
end
from obj$ o, user$ u
where o.owner# = u.user#
and ( /* non-versionable object */
( o.type#
not in (4,5,7,8,9,10,11,12,13,14,22,87,88)
or bitand(u.spare1, 16) = 0)
/* versionable object visible in current edition
or ( o.type# in (4,5,7,8,9,10,11,12,13,14,22,87)
and ( (u.type# &lt;&gt; 2 and
sys_context('userenv', 'current_edition_name')
= 'ORA$BASE')
TEXT
or (u.type#
= 2 and
u.spare2 = sys_context('userenv', 'current_edition_id'))
or exists (select 1 from obj$ o2, user$ u2
where o2.type#
= 88
and o2.dataobj# = o.obj#
and o2.owner# = u2.user#
and u2.type# = 2
and u2.spare2 =
sys_context('userenv',
'current_edition_id'))
TEXT
) </code>
OK. Here are the questions:
What is the purpose of those "edition objects"? I figured out that it is about sys_context, but it's still unclear? The "CURRENT_EDITION_ID" option is not documented as a legal option for the SYS_CONTEXT function. What are the
users of type# 2? I don't have any in my databases. Users of type#=0 are roles, users of type#=1 are the normal lusers.
What in the world are the users of type#=2? Last but not least, what is protected by locks of the type AE? Did I mention
that there is no documentation about this on Metalink? Nada, nil, zilch. On version 10, "editions" are not recognized:
SQL&gt; select sys_context('userenv','current_edition_id') from dual;
select sys_context('userenv','current_edition_id') from dual
ERROR at line 1:
ORA-02003: invalid USERENV parameter
Version 11 recognizes the arguments as correct:
Connected.
SQL&gt; select sys_context('userenv','current_edition_id') from dual;
SYS_CONTEXT('USERENV','CURRENT_EDITION_ID')
99
I am an oracle beginner with only a few months of experience. Please, gurus, help me with my questions.

Niall, you got me. The "beginner clause" at the end was a joke. I noticed that people are always trying to help beginners, so I decided that
it would be beneficial to be one. After posting this, I had a phone conversation with a friend in the know who told me that this is a part of the "rolling
upgrade" feature. Essentially, in order to upgrade one node to the new version whilst allowing the other nodes to run the old version of the
dictionary, you need to have both versions running concurrently. How can you tell between the versions ("editions") of the data dictionary?
You introduce "edition objects" and add an argument to sys_context function to enable it to discern among the different editions. That can be
guessed from the ML document 565413.1 which explains how DBA_SOURCE view was altered to include the sys_context function.
Also, thanks to Maxim Demenko, I learned that Dan Morgan has partly documented this feature at: http://www.psoug.org/reference/editions.html
Thanks to everybody.

Similar Messages

  • Detect what the default edit form is for a document library and list using jquery

    Hi,
    So what I have done is with some jquery made it that when a files are dragged and dropped into a document library and there is a required field such as "Metadata" the EditForm.aspx opens up for the user to fill in the required column. I am building
    the url up from what I have found in SharePoints DragDrop.js file. This is all working perfectly I just need to find a way to dynamically find what the default edit form is for that document library as I have just hardcoded like this...
    g_currentControl.strSiteUrl + "/" + this.ListName + "/Forms/EditForm.aspx?ID=" + id
    So I need a way to figure out what the default edit form is instead of hard coding like this in case someone creates a custom_editform.aspx or something for one of the lists.
    Thanks

    You can get it by hitting this REST end point via JQuery:
    http://weburl/_api/Web/Lists(guid'YOURLISTGUID')/Forms
    Chris Givens CEO, Architecting Connected Systems
    Blog Twitter

  • What does the edit multiple frames option in the Timeline do?

    What does the edit multiple frames option in the Timeline do?
    Thanks.

    dzedward wrote:
    > Edit Multiple Frames allows you to do just that, edit
    multiple frames. Click it, and select a range of frames, it makes
    changing colors/shape/etc of instances quick and painless.
    or imagine you import large images sequence (200 hundred) and
    need to reposition them all :)
    The edit multiple frames options comes handy in such case...
    Best Regards
    Urami
    "Never play Leap-Frog with a Unicorn."
    <urami>
    If you want to mail me - DO NOT LAUGH AT MY ADDRESS
    </urami>

  • SQL Server Software ISO, How to find out what is the Edition and Version of the SQL software before starting installation

    Hi All-
    Before starting installation, I would like to find out What EDITION and VERSION  is the SQL Server Software ISO.
    Please note this is not to find out what version is the installed sql server but before the installation: Is there a note or abrv. that describes what kind of Edition and version is the ISO?
    Detail explanation is appreciated.
    Thanks.
    belayzeleka

    @Balmukund - Thanks for the input - That one is a nice blog!
    But assuming you can`t change the Product Key value (you are not provided that number, as you know it gets populated by itself) can you find out
    what implies the corresponding edition? If there is a folder where this reference is store, could you provide the full file path where  this folder is located?
    The ideal solution would be a way to find out what the Edition
    is befor we start installation.
    Thanks!
    Also just to add what I came across:
    The SQL Server 2012 installation software comes with pretty much all edition in it, that kind of makes it difficult to easily identify what edition is the specific ISO, but when
    one downloads from MSDN one must downloads the
    right edition either Standard,
    Enterprise, etc so that when you install it, it installs whatever edition is downloaded.
    The best source would be whoever downloaded the software.
    Also, before going too far, you can find out what edition it is being installed right before the setup wizard finishes on the
    License Terms page (Microsoft Software License Terms Page) and if the edition is not the one you intended to install, you can cancel it there and everything will be rolled back- no hastle.
    belayzeleka

  • What  sort of editing can you do in iphoto?

    what sort of editing can you do in iphoto?

    All of the functions in the edit section - you may wan tto launch it and talke a look - or go through the tutorials -
    LN

  • 21.5" i7 vs 27" i5 -- which is more powerful?  What about video editing?

    I'm trying to decide between a 21.5" iMac with 1TB and i7 and the next step up -- the 27" with an i5.
    My budget really was only for the 21.5 -- which comes out at 1699 -- the 27 would be 1999 --
    My main current needs are: Animation (Flash, etc), CS Suite (40 layer Photoshop), other programming (HTML, CSS, Canvas, etc), and music (8 analog in, effects, Logic).  I hope to start doing some HD video work (artistically) -- but due to focusing on music haven't really done much with it. 
    The person I spoke to at the store said if I were going to do "serious" video editing (Avid) then the 27" with the 1GB of memory on the video card would be better -- for video editing that is.  He said that for everything else (CS Suite, etc -- and I believe he said Final Cut as well) the i7 with the 512MB video card would be better.
    So -- here's the rub -- I'm on a limited budget and I think it might make more sense to put the extra 300 into RAM (they offered to bump the RAM to 12GB for $150 extra -- is that way too much?), or into an add'l monitor (I'm not taken with the glossy iMac screen as a main screen -- and that's also why the 27" screen wouldn't do much for me).  I do want to do some video production, but I don't plan on getting Avid or anything like that anytime in the foreseeable future -- I'd probably be doing 10 min video pieces and for what I currently need the computer for the i7 with more RAM is much better.  I just don't want to feel totally stupid down the road.
    So:
    21.5" iMac, 2.8 GHz i7, 1TB drive, 12GB RAM, Radeon 6750 with 512MB RAM
    vs
    27" iMac, 2.7 GHz i5, 1TB drive, 4 GB RAM, Radeon 6970 with 1GB RAM
    Thanks

    Similar question ... looking at nearly identical cost: 21" i7 2.8 vs. 27" i5 - both with the 512 6750 video card.  (I'll buy my RAM upgrade on-line - will take either one to 16GB.)
    Both have same video memory.  I don't feel I need the bigger screen size if the processing power is a better value for video (can always add another, larger monitor).
    This will be a video & audio editing computer.  I have a TON of old Hi8 home movies to move to digital for archive and eventual editing, will capture via firewire Digital 8 Handicam.
    My main new video projects will be <10 min - primarily for web delivery.  Business sales/education and training.  Pretty sure I'll want to upgrade with FCPX.  I'm a believer in that you can always compress quality down, you can't enhance poor quality source up.
    I have a background in video production (20 years ago), no expreience with NLE, but want to get back in.
    I guess the i7 power will hold up longer and allow for growth of my abilities/uses of the software down the line ...
    Maybe I've answered my own (& the OP's question) ...

  • What graphics/photo editing software do you use with dreamweaver?

    I just purchased Dreamweaver CS5 a few days ago.
    I'm using the demo version of Fireworks CS5 and have played around a bit with the demo version of photoshop element 8.
    I'm wondering if I would be able to do everything with photoshop CS5 that I'm able to do in Fireworks CS5 and photoshop elements.
    Guess I could ask this question in the photoshop forum, but I really wanted to hear from developers and designers that use dreamweaver too.
    What would you suggest to use for a graphics/photo editing program.
    Thanks,
    jp

    Thanks for the input so far.
    Here is my thinking. I have used free html editors for years. Mostly first page from http://www.evrsoft.com/.
    Then I decided to try the demo of dreamweaver after reading about the new integrated CMS support.
    After just a couple weeks of using dreamweaver I purchased it. I like dreamweaver much better then the free editors I have used over the years.
    So onto graphics/photo editing software. I have also used simple and free photo editing programs over the years. I have decided to try and learn not only more code, but also try to gain some graphic skills.
    Most of what I would be doing would be graphics for the web, but I also need some kind of photo editing tools.
    So do I buy just fireworks CS5 and use it for not only graphics, but to also edit photos.
    Do I purchase both Fireworks and photoshop elements 9 or should I spend a little more and go with photoshop CS5.
    Is photoshop CS5 more stable then fireworks or photoshop elements?
    I'm running windows 64 bit system with a i3 and 4 gig of ram with duel monitors.
    Thanks for your input.
    John Pahl
    AJ Enterprises LLC
    http://appliancejunk.com

  • I record with a sony ax2000 and use the 1080 60i setting. what should i edit with when using adobe premiere ele 10

    I record with a sony ax2000 and use the 1080 60i setting. what settings should I edit with when using adobe premiere elements 10?

    smannino
    You have duplicate threads on this issue related to project preset suggestion for your 1080 60i video.
    I have responded to your question in the other thread
    if i record with a sony ax2000 using 1080 60 i what is the best editing setting to use with elements 10?
    Please reply in that other thread.
    Thank you.
    ATR

  • Convert old 8mm film to what 'format' to edit in iMovie?

    I have selected a service to convert and save my families old 8mm film to a hard drive (which I will be supplying). I would like to import the movies (files) from the HD into iMovie for editing and eventual burn to DVD. What format should the service save the files in? Quicktime .mov? or something else? The service lists: Raw DV or AVI Type 1 or Type 2 or Type 2c or Matrox AVI or Avid DV OMF.
    Mac G5   Mac OS X (10.4.9)   <<br>
    Powerbook G5   Mac OS X (10.4.9)  

    Hi Tyler!
    Of the options you list I would choose 'Raw DV'. iMovie is designed to handle a DV stream @ 13GB per hour, for editing and transfer to iDVD.
    But ask the vendor to confirm that his 'Raw DV' is designed for transfer to iMovie 6 on an Apple Mac, and before he loads up the hard drive you are supplying make sure that it has been formatted as Mac OS Extended (Journaled).

  • Elements 7 on multi PC & what does Technical Edition mean?

    Hi all, I used to have Elements 7 but upgraded to Element 10. The Elements 7 disc I have says it's a technical edition? What does that mean?
    Also I work in a primary school and run an after school club in photography. We use GIMP right now but I'd prefer to use Elements. Is the Elements 7 disc I have able to be installed on multiple PC's or is it only able to install on 2 like the later versions of Elements?
    I remember when I uninstalled it off my PC when
    I upgraded that there wasn't a deactivate box which leads me to think its able to installed on multiple PC's??
    My school budget is non existent hence we use GIMP that's free but I'd much rather teach them Elements instead if possible ;)

    Hi all, I used to have Elements 7 but upgraded to Element 10. The Elements 7 disc I have says it's a technical edition? What does that mean?
    Also I work in a primary school and run an after school club in photography. We use GIMP right now but I'd prefer to use Elements. Is the Elements 7 disc I have able to be installed on multiple PC's or is it only able to install on 2 like the later versions of Elements?
    I remember when I uninstalled it off my PC when
    I upgraded that there wasn't a deactivate box which leads me to think its able to installed on multiple PC's??
    My school budget is non existent hence we use GIMP that's free but I'd much rather teach them Elements instead if possible ;)

  • What program to edit or convert PDF files?

    What programs do you recommend for opening and converting PDF files to edit them?

    Try Wondershare PDF Editor Pro 3.7.6, PDF Converter Master 3.5.0, and PDFpenPro 7.0.

  • What app to edit

    I have a a4 picture poster with text on, what app do indeed to be able to edit the text on it

    If the words are on that image you will not be able to edit it. Any text on it is part of it. You can add text to it, like type your phone number over the existing image. iPhoto should be able to do that. There may also be some photo editing apps that can add text.
    I do wonder, how big are you going to print this? Because if what you want to print is large, you may want to experiment because I dont think photos with your iPad or scans will be high enough resolution to print well in a large format.

  • What can open/edit an .ai file TEXT layer (besides Illustrator)?

    so, i have CS6 on Mac (OS Mavericks).
    my Mac took a nose dive recently. long story super short... i have a new mac & re-installed my CS6 on it.
    but, in order to launch Illustrator, it requires that i install JAVA too. and i just really don't wanna do that. picky & trivial of me? maybe; but it's a desire i have. and that's a different topic i don't really wish to get in to in THIS thread.
    additionally, i've just grown more & more irritated & unhappy with Adobe's apps (also a discussion for a different thread).
    so i just thought i'd see if there were any new vector graphics apps out there that could fulfill my needs. the most important of which would be to open my pre-existing .ai files (check: there are several good ones - like Sketch, iDraw, Bluetail, Intaglio, Inkscape, etc) AND be able to directly edit pre-existing text in its layers -BUT- none of them seem to be able to edit text layers (and yes, i have the same fonts). they all appear to open the ai file as a raster image or vector image, but no layers nor editable text.
    so i'm just wondering if i've missed something or if it's true - that the proprietary ai format is unusable fully in any other app - or is there one i've missed or a method i failed to find. (?)
    thanks much.

    The only application that seems to be able to open at least nearly up to date AI files is Corel Draw. It should open CS4 or maybe even CS5.
    But even then some types of objects won't be fully editable.

  • What filter and Edit is this

    What is the scratchy type effect shown on the icon pictures?
    and how does he make his image really clear like that, with an almost instagram filter effect.
    and what exact effect/color/overlay/mode is this ? thanks ill be attaching a couple images I Know some people do a color, screen it than lower opacity... not sure if he's doing that but please help

    What is the scratchy type effect shown on the icon pictures?
    and how does he make his image really clear like that, with an almost instagram filter effect.
    and what exact effect/color/overlay/mode is this ? thanks ill be attaching a couple images I Know some people do a color, screen it than lower opacity... not sure if he's doing that but please help

  • What software to edit a pdf?

    Hi all, I have an application form that I can fill in with type script but it is a PDF file. Does anyone know of any software available for OSX that would allow me to edit a PDF so that I can type up some text into it before printing?
    Thanks for any help

    PDFpen is great for doing this. Check it out:
    http://www.smileonmymac.com/PDFpen/
    The demo version is fully functional, but puts a cute watermark on your page. The watermark comes out when you register for $50.
    You can even use the program to make small edits to the existing text of a PDF.
    I actually mainly use the program for other purposes, such as laying out pages of photos of assorted sizes with text from iPhoto:
    http://discussions.apple.com/thread.jspa?threadID=890119

Maybe you are looking for