Edition Based Redefinition in Oracle 11g R2

Regarding new feature EBR in Oracle 11g r2
As we all know Editioning view is like a wrapper over the base table which allows each edition to see the table in the form it needs, all data operations will be on editioning view once the view is created.
( Small downtime is required to rename the original_table to original_table_base, as we need to create editioning view as "original_table", applications do not have to change anything as its still pointing to "original_table" )
During our POC on editioning views (DMLs on E.Views), we have noticed base table names into redo logs ("original_table_base")!!
This requires significant amount of changes on the application utilizing redo log as source. (for example Goldengate).
My question is do we have any work around to convert those redo entries into "original_table" ?

Deepak,
If I do remember correctly, 11gr2 table compression is enabled for the subsequent data only(can't recall whether its applicable to the exsiting data as well, need to verify it). Also, if the table's data is mostly unique, the rate of compression won't be much higher.
HTH
Aman....

Similar Messages

  • Is Edition Based Redefinition available in the Standard Edition of 11g?

    Thanks for all replies.

    Online index rebuild and Online table redefinition require EE version - http://download.oracle.com/docs/cd/E11882_01/license.112/e10594/editions.htm#CJACGHEB
    I believe other features of Edition based redefinition are available in all versions - http://download.oracle.com/docs/cd/E11882_01/appdev.112/e17125/adfns_editions.htm
    HTH
    Srini

  • How to use Edition Based Redefinition in APEX?

    Hello,
    This might be my first question on this forum ;-)
    I am trying to get 11gR2 Edition Based Redefinition to work within APEX. But for testing purposes (before altering the database to use the new edition as the default) I have to set the edition at the session level. But as APEX shares sessions from the pool (I might get another session with every page refresh/call), I need to execute an ALTER SESSION command.
    I can't use EXECUTE IMMEDIATE, 'cause that results in:
    execute immediate 'alter session set edition=HR_RELEASE2';
    ORA-38815 : ALTER SESSION SET EDITION must be a top-level SQL statement
    So is there a way to just run a SQL command at the "start" of a page (request)?
    Greetings,
    Roel
    http://roelhartman.blogspot.com/
    Edited by: Roel on Feb 28, 2010 7:00 PM
    - Changed the subject of this post (for an easier search on the forum)

    Hello all,
    Patrick and John were on the right track...
    After contacting Bryn (the Oracle brain behind EBR), there appeared to be a DAD attribute called 'database-edition'. Using this you can change the Edition of a DAD (and via the DAD ... all the users that use that DAD):
    begin
    dbms_epg.set_dad_attribute('APEX', 'database-edition', 'HR_RELEASE2');
    end;The funny thing is that a user doesn't have to re-connect. With the next server roundtrip he will use the other edition!
    Remarkable fact: This setting doesn't effect the Session-Edition, but only the Current-Edition. Have to test how that'll work out when using CrossEdition Triggers...
    Another thing: There seems to be an equivalent for the Apache /HTTP Server.
    You have to add a line to your dads.conf setting for PlsqlDatabaseEdition.
    If I add that line (in my environment) the HTTP Server fails to start with:
    /home/oracle/OraHome_1/Apache/Apache/bin/apachectl start: execing httpd
    Syntax error on line 48 of /home/oracle/OraHome_1/Apache/modplsql/conf/dads.conf:
    Invalid command 'PlsqlDatabaseEdition', perhaps mis-spelled or defined by a module not included in the server configurationApart from that: You have to restart the HTTP Server to use the changed DAD. So that is in opposite of the whole goal of EBR (24 x 7 availability).
    Once I figured it all out I'll write a blog post about it. If somebody has anything to add to this thread, feel free! Especially the HTTP Server/Edition combination would be interesting!
    Greetings,
    Roel
    http://roelhartman.blogspot.com/

  • Editions based redefinitions to replace individual schema  objects concept

    Hello,
    Just wanted to get some opinion.
    Oracle db : 11.2.0.2
    Our company has only one schema where all objects reside in the design database and developers add code, modify objects etc within that same schema and invalidate other code and other developers sometimes spend a lot of hours around this.
    We personally thought to use editions based redefinitions to resolve this , that way, each developer could modify code in his own edition and other developers are unaware of the change and unaffected.
    Would this be ok and if we go this route, how does this affect the current tablespace and what other issues could we expect.
    Lets say we re talking 10 developers.
    Thanks.

    >
    The problem is even if we have private objects in our own schema, those would not be referenced since developers login to the app using the main schema bcos of object access restrictions and other thing is most of the code references objects using main schemaname.object (old code) and not much synonyms.
    >
    I understand that but edition-based redefinitioning is primarily to support 'code' updates, not DDL and object updates. And it is primarily used to support those updates in the higher-level environments even including production. For those environments it isn't really necessary to have editioned tables or the other currently non-supported objects; the goal is to get new code into place while the current code is running and then 'switch' to it as seamlessly as possible.
    The white paper I cited lists the limited objects that can be editioned.
    >
    editionable object types, editions-enabled users, and editioned objects
    • Views (and therefore editioning views), synonyms, and all the kinds of PL/SQL objects
    type13 (and therefore crossedition triggers) are editionable object types. There are no other
    editionable object types. For example, table is not an editionable object type; nor is
    java class14.
    >
    Unfortunately, for DEV environments those restrictions are generally too onerous when entirely new features are being added.
    A few of the larger environments I've worked in the developers essentially needed their own local version of the entire chain of browser, web server, app server and database. Functionality such as single-signon was global but that was about it.
    Because of the limitations and the relatively steep learning curve to properly architect and implement editioning you need to do adequate preparation and testing to make sure it is going to help you more than hurt you.

  • Query not considering function based index in oracle 11g

    I have a query which used Function Based Index when run in oracle 9i but when I run the same query
    without any changes, it does not consider index. Below is the query:
    SELECT distinct patient_role.domain_key, patient_role.patient_role_key,
    patient_role.emergency_contact_name,
    patient_role.emergency_contact_phone, patient_role.emergency_contact_note,
    patient_role.emergency_contact_relation_id,
    patient_role.financial_class_desc_id, no_known_allergies, patient_role.CREATED_BY,
    patient_role.CREATED_TIMESTAMP,
    patient_role.CREATED_TIMESTAMP_TZ, patient_role.UPDATED_BY, patient_role.UPDATED_TIMESTAMP,
    patient_role.UPDATED_TIMESTAMP_TZ,
    patient_role.discontinued_date
    FROM encounter, patient_role
    WHERE patient_role.patient_role_key = encounter.patient_role_key
    AND UPPER(TRIM(leading :SYS_B_0 from encounter.account_number)) = UPPER(TRIM(leading :SYS_B_1 from
    :SYS_B_2))
    AND patient_role.discontinued_date IS null
    AND encounter.discontinued_date IS null ;
    Index definition:
    CREATE INDEX "user1"."IX_TRIM_ACCOUNT_NUMBER" ON "user1."ENCOUNTER" (UPPER(TRIM(LEADING
    '0' FROM "ACCOUNT_NUMBER")), "PATIENT_ROLE_KEY", "DOMAIN_KEY", "DISCONTINUED_DATE")
    PCTFREE 10 INITRANS 2 MAXTRANS 255 COMPUTE STATISTICS
    STORAGE(INITIAL 65536 NEXT 1048576 MINEXTENTS 1 MAXEXTENTS 2147483645
    PCTINCREASE 0 FREELISTS 1 FREELIST GROUPS 1
    BUFFER_POOL DEFAULT)
    TABLESPACE "user1"
    Database : Oracle 11g (11.2.0.3)
    O/S : Linux 64 bit (the query does not consider index even on windows os)
    Any suggestions?
    -Onkar
    Edited by: onkar.nath on Jul 2, 2012 3:32 PM

    Onkar,
    I don't appreciate you posting this question in several forums at the same time.
    If I would know you also posted this on Asktom, I wouldn't even have bothered.
    As to your 'issue':
    First of all: somehow cursor_sharing MUST have been set to FORCE. Oracle is a predictable system, not a fruitmachine.
    Your statement the '0' is replaced by a bind variable anyway is simply false. If you really believe it is not false, SUBMIT a SR.
    But your real issue is not Oracle: it is your 'application', which is a mess anyway. Allowing for alphanumeric numbers is a really bad idea.
    Right now you are already putting workaround on workaround on workaround on workaround.
    Issue is the application: it is terminal., and you either need to kill it, or to replace it.
    Sybrand Bakker
    Senior Oracle DBA

  • Content Based Correlation in Oracle 11g

    Dear Veterans!!!
    I am working on the following use-case.
    An order processor accepts order(Mode-Buy/Sell, Price, Quantity) on webservice from various customers, and presents them to DecisionService, after adding the order Id to it. The decision service would check if the price*quantity > 1000, if so the response is sent as (Order ID, OrderStatus="Fail") else, sends (Order ID, OrderStatus="Success").
    What I want to do?
    Now I need to create Order Processor using single JMS Adapter with Interaction type "Asynchronous Request/Reply" using content based.
    What I have been able to do?
    I have been able to do content-based Correlation between Decision Service BPEL and Order Processor BPEL, where Order Processor has two JMS Adapters, One Producer which enqueues the order for Decision Service, setting the orderId as correlation. The another JMS Adapter is set as Consumer and recieve activity is registered with it and picks up the response after correlating the message.
    Also I have been able to do the "native correlation" scenario, using Decision Service as mediation module.
    What is the problem?
    1. I need to have the decision service as BPEL, and be able to do the native correlation, which I wonder how to do, because the Jdeveloper 11g has removed support for Adapter Header variables.
    2. I need to use decision service as BPEL and be able to do the content-based correlation, using a single Asyncronous Request/Reply JMS Adapter instead of two (Producer and consumer).
    Any Pointers shall be useful.
    Many Thanks,
    Regards,
    SwapSawe.
    I am aware of how to set the correlation
    http://swapnil-soa.blogspot.com/2008/01/correlation-this-post-would-effort-to.html
    And how to do it in Oracle 11g
    http://biemond.blogspot.com/2009/10/jms-request-reply-interaction-pattern.html
    Edited by: SwapSawe on Nov 30, 2009 11:01 PM

    Dear Friends,
    If I was not able to make my point clear, I would explain it again. I am posting message from one BPEL process to an Asynchronous Request/Reply JMS Adapter.
    A consumer JMS Adapter, would read the message from Q and would initiate another BPEL process, which would perform some business logic to generate a response and post it to reply queue via JMS Producer.
    Now the reply posted, is picked up by the Async Request/Reply, but the receive activity is unable to correlate the message.
    I was able to do this scenario using native correlation, i.e. JMS Message Id mapped to JMS Correlation Id, through mediation module. But I am looking forward to do this using content based correlation.
    Regards,
    SwapSawe

  • Edit live rules in Oracle 11g SOA Suite

    Is it possible to edit live rules in the 11g SOA suite stack? I am looking for the same functionality that was delivered via the ruleauthor web site in the 10g stack.
    Additionally is it possible to publish rule sets into an environment without building a deployable artifact. WebDAV support has been dropped in favour of MDS however I am not sure if it is possible to publish an update to business rules without editing the rules in JDev then rebuilding a deployable version of the rules within an app.
    Regards
    Neil

    Will a web interface, similar to the ruleauther, be provided by Oracle for the 11g stack. If so when will this be available?
    It seems odd that functionality has been removed from the 11g stack. By not providing the functionality within the 10g stack many people will find the upgrade painful especially if custom applications have to be writhen to provide functionality that was available within the previous release.
    Regards
    Neil

  • Oracle edition based redefinition.. connecting from java

    Hi all,
    We hav implemented oracle edditions in our project.
    Can anyone please tell us how we mention the eddition name in the jdbc connection string.
    the host name is : storacle.com
    port : 1521
    user_name: st
    password ts.

    Hi;
    Pelase review:
    http://docs.oracle.com/cd/E11882_01/appdev.112/e10471/adfns_editions.htm
    Also see:
    Self-PacedTraining for Oracle Database 11g Release 2 [ID 1060197.1]
    Those should answer your question
    PS:Please dont forget to change thread status to answered if it possible when u belive your thread has been answered, it pretend to lose time of other forums user while they are searching open question which is not answered,thanks for understanding
    Regard
    Helios

  • Does Oracle 11g Express Edition 11.2.0.0 support the impdp utility ?

    Hi,
    We are trying to import an Oracle dump within a Express Edition, without success. We got the error message: ORA-39213: Metadata processing is not available.
    A) Source data base: Oracle Database 11g Enterprise Edition Release 11.1.0.7.0
    B) Target data base: Oracle Database 11g Express Edition Release 11.2.0.2.0
    Searching for solution led us to following forum entries:
    1. http://kmpdba.wordpress.com/2012/05/02/ora-39213-metadata-processing-is-not-available/ Cause: DBMS_METADATA_UTIL package does not successfully ran. Solution: to install (among others) SQL> @$ORACLE_HOME/javavm/install/initjvm.sql
    2. But: there is no @$ORACLE_HOME/javavm/install/initjvm.sql scrript -> http://www.oracle.com/us/products/database/enterprise-edition/comparisons/index.html -> Oracle 11g EX does not support java
    Questions:
    a) Does support Oracle 11g EX the impdp utility at all ?
    b) How would it be possible to import the above mentioned dump from (A) into (B) ?
    Thanks in advance,
    Michel

    Sounds like the messing xsl files issue here: Upgrade from XE10 to XE11
    Try
    execute sys.dbms_metadata_util.load_stylesheets;and see if you get the missing xsl files error.
    The XSL files are not distributed with Oracle 11g XE, but seems to be pre-loaded in the default database created by the installer. If you try to create your own database it wont have the stylesheets loaded and you'll need the xsl files to load them up.
    The quick solution will be to copy the 180 xsl files from an Oracle 11.2.0.2 Enterprise to your Oracle 11g installation ($ORACLE_HOME/rdbms/xml/xsl/) and load the stylesheets.

  • Running GoldenGate against Oracle 11g Standard Edition?

    We're looking to run Oracle GoldenGate against an Oracle 11g Standard edition database to another Oracle 11g DB also on Standard. I've been reading though the documents and they talk of Oracle to Oracle using XStreams which is part of Streams. But it's my understanding that Streams is only available on Enterprise.
    So is it possible to run GoldenGate on Oracle DB Standard Edition?

    AFAIK, Golden Gate has no requirement on Oracle edition to be used, but could have licence cost differences.
    It works on Oracle from version 8i to the latest one, not only on Oracle database, and not only between same Oracle version and same OS, and not only between two Oracle db .
    Nicolas.

  • Oracle 11g software setup file  needful to install on windows 7

    Hi,
    Any body Can provide the download link for oracle 11g software setup to install on windows 7.

    Hi;
    You can find related setup at below link:
    http://www.oracle.com/technetwork/database/enterprise-edition/downloads/index.html
    By the way dont forget win7 home edition not certified wiht Oracle 11g
    Installation guide is avaliable at:
    http://download.oracle.com/docs/cd/E11882_01/install.112/e10876/toc.htm#BABEHGHH
    Regard
    Helios

  • Oracle 11g Developer or Enterprise Edition?

    Hi Guys,
    Please help me on this one, its not an issue but I wanted to know which one supports for my small team.
    We are 3 developers and we are going to develope one project in C#.NET and Oracle 11g. Currently the project database in Oracle 11g and pascal, just we are going to migrate the interfaces into C#.net and it uses oracle 11g database. We are not going to do any changes in Oracle database.
    So my question's are
    1) which version is enough my developement of this project either Oracle 11g developer or Enterprise Edition?
    2) Where can i get in cheap?
    Thanks,
    Rajesh.

    d1f6d790-7017-49dd-bd62-4a31fbab607f wrote:
    Hi Guys,
    Please help me on this one, its not an issue but I wanted to know which one supports for my small team.
    We are 3 developers and we are going to develope one project in C#.NET and Oracle 11g. Currently the project database in Oracle 11g and pascal, just we are going to migrate the interfaces into C#.net and it uses oracle 11g database. We are not going to do any changes in Oracle database.
    So my question's are
    1) which version is enough my developement of this project either Oracle 11g developer or Enterprise Edition?
    2) Where can i get in cheap?
    Thanks,
    Rajesh.
    1) There is no developer edition in Oracle. If you are 3 developers and will be developing on your own databases, you can buy 3 personal editions(same as enterprise edition) OR you can buy an user based enterprise edition for test environment. I believe minimum you need is 10 user based licenses. Also, if you think that you are not using any enterprise features, you can always go for user based standard edition which will be much cheaper as compare to enterprise.
    2) You can find some Oracle partners who sells the licenses.  Sometime they give you a good discount. I personally do not think Oracle will give you enough discount for these small number of licenses.

  • ASM option comes with Standard Edition Oracle 11g R2 Install or not?

    Hello,
    I just wanted to make sure before installing the Oracle 11g R2 software, whether ASM (Automatic Storage Management) is available for Standard edition or not?
    Thank you for your help.
    Ally.
    Edited by: Ally_p on Jun 17, 2010 1:58 PM

    Hi Ally,
    based on:
    http://www.oracle.com/us/products/database/product-editions-066501.html
    I think it is included. See Automatic Storage Management section!
    Regards,
    David
    OCP 9i / 10g / 11g
    https://www.oratoolkit.ch/knowledge/howto/installation/otn.php

  • Problem with Oracle 11g(32 bit) installation on windows 7 ultimate edition

    Hello all,
    I have a problem with Oracle 11g(32 bit) installation on windows 7 ultimate edition (32 bit).
    I have successfully installed it immediately after OS installation. But today, i have decided to deinstall it and go for Oracle 10g version for 32 bit.
    Everything went normal during installation, but i can see the services is not present in services.msc. Also its throwing some exception for dbca, netca
    Now i tried to deinstall it and again go for 11g. But even the same story here..
    Can anybody give me a solution for this..
    -Regards
    Rajesh Menon

    Saqib Alam wrote:
    i recently install Oracle 11g R1 on windows 7 ultimate, i installed it and working perfectly.
    ur problem is that u install latest version and now u trying to installing old version.
    now u need to uninstall 10g and delete oracle from services, if the probleme presist then u should
    install fresh windows 7.
    Regards
    SaqibNo need to install a fresh OS. That's like tearing your house down just because you wired a lamp wrong and blew a circuit breaker.
    There are MeaLink notes on how to eradicate an Oracle install from Windows, but it boils down to this:
    Stop all Oracle services
    In the registery:
    - Delete all oracle services from the register (HKLM\SYSTEM\CurrentControlSet
    - Delete the entire Oralce folder from HKLM\Software
    reboot
    Delete the ORACLE_HOME directory and any other Oracle related directories/files. Offhand, it seems like there is an Oracle directory under Program Files.
    reboot

  • Need help: Silent install of oracle 11g express edition does not install services.  As a result, i'm unable to start\launch database

    Installing using the GUI works fine.  I'm using the following code to perform the silent installation of the oracle client: C:\temp_pyx\Oracle source\3-Oracle 11G Express\setup.exe /S /f1"C:\temp_pyx\Oracle source\3-Oracle 11G Express\response\OracleXe-install.iss" /f2 "c:\windows\logs\paychex\oracle11ginstall.log"
    Result code in "oracle11gisntall.log" shows "result = 3"
    response file is configured as follows:
    **  Response file to perform silent install of Oracle Database 11g Express Edition    **
    **  Values for the following variables are configurable:                              **
    **  szDir - Provide a valid path                                                      **
    **  TNSPort - Provide any valid available port number                                 **
    **  MTSPort - Provide any valid available port number                                 **
    **  HTTPPort - Provide any valid available port number                                **
    **  SYSPassword - Provide a valid password string                                     **
    [{05A7B662-80A3-4EB9-AE1D-89A62449431C}-DlgOrder]
    Dlg0={05A7B662-80A3-4EB9-AE1D-89A62449431C}-SdWelcome-0
    Count=7
    Dlg1={05A7B662-80A3-4EB9-AE1D-89A62449431C}-SdLicense2Rtf-0
    Dlg2={05A7B662-80A3-4EB9-AE1D-89A62449431C}-SdComponentDialog-0
    Dlg3={05A7B662-80A3-4EB9-AE1D-89A62449431C}-AskPort-13013
    Dlg4={05A7B662-80A3-4EB9-AE1D-89A62449431C}-AskSYSPassword-13011
    Dlg5={05A7B662-80A3-4EB9-AE1D-89A62449431C}-SdStartCopy-0
    Dlg6={05A7B662-80A3-4EB9-AE1D-89A62449431C}-SdFinish-0
    [{05A7B662-80A3-4EB9-AE1D-89A62449431C}-SdWelcome-0]
    Result=1
    [{05A7B662-80A3-4EB9-AE1D-89A62449431C}-SdLicense2Rtf-0]
    Result=1
    [{05A7B662-80A3-4EB9-AE1D-89A62449431C}-SdComponentDialog-0]
    szDir=C:\programdata\oraclexe
    Component-type=string
    Component-count=1
    Component-0=DefaultFeature
    Result=1
    [{05A7B662-80A3-4EB9-AE1D-89A62449431C}-AskPort-13013]
    TNSPort=1521
    MTSPort=2031
    HTTPPort=8080
    Result=1
    [{05A7B662-80A3-4EB9-AE1D-89A62449431C}-AskSYSPassword-13011]
    SYSPassword="Intentionally left blank"
    Result=1
    [{05A7B662-80A3-4EB9-AE1D-89A62449431C}-SdStartCopy-0]
    Result=1
    [{05A7B662-80A3-4EB9-AE1D-89A62449431C}-SdFinish-0]
    Result=1
    bOpt1=0
    bOpt2=0

    I only see the following folders after install, which tells me that although the program shows up in program and features, it is still not successfully installed?

Maybe you are looking for

  • HELP! My mums computer is being hacked?

    I am not a genius but do think I can tell that my mums macbookpro has got a viris or is being hacked. Lots of strange things have been happening to itand it i getting on my nerves. Strange things that have happend: (in order of time they took place)

  • How to invoke the Client Sequence Clearup process in the Sequencial​Model?

    Hi, I want to know how to directly call the Client Sequence Clearup in the SequencialModel? I don't wait to modify the main squence files, because many of the clearups in sequence files are different. I want realize it by modifying SequencialModel fi

  • SeamlessTabbing broken in IE7 and IE8

    I have a Flash movie in an html page and need seamless tabbing to work as the page has to be 508 compliant (so you need to be able to use the tab key to navigate)...In IE7 and IE8 you can tab through fine once, but if you continue the tab the second

  • IOS IPS

    If the IOS IPS pkg file is 7MB and after I do a copy tftp://xxx/xxx.pkg idconf, where does the file go? I don't see anything on the flash other than the .xml config files. Any thoughts?

  • Web Services with database backend problem

    Hi im new to webservices and having problems implementing a project that i am working on. What i would like to do is have a webservice that recieves information from the client to input into a database using jdbc. Following the tutorials and using ne