Virtual Catalogs in 10g database

I have heard that you need an 11g catalog to use virtual catalogs. I have also heard that it's possible to run an 11g catalog from a 10g database. Is there a way to create the 11g catalog on a 10g database directly, or do I need to make it in an 11g database then datapump it to the 10g database?

Hej Henrik,
You can mimick it by creating a function based index (FBI), and optionally creating a view on top the table, ensuring that the FBI is used.
Example:
SQL> create table t (x number primary key check (x > 0), y number not null check (y > 0))
Table created.
SQL> create index fbi on t(x/y)
Index created.The index will now have a "virtual column" of x/y.
And if you like, put a view on top:
SQL> create view v
as
   select x, y, x/y as virtual_column
     from t
View created.
SQL> select * from v
where virtual_column = 3
no rows selected.Hilsen
Peter
Edited by: Peter on Mar 11, 2009 5:05 AM
- Added example

Similar Messages

  • Can we install oracle 10g database on Windows Vista Home Edition?

    Can we install oracle 10g database on Windows Vista Home Edition?

    You didn't specify which Oracle10 Edition.
    In the case of SE/SE one/EE, with a paid license Supported has a mean impact on production environments with paid licenses, since you wouldn't run on an unsupported platform facing the risk of being left without technical support from Oracle in case of an emerging issue.
    For the XE Edition, this is not a certified combination, since the only certified editions are the Business, Enterprise, and the Ultimate editions, but you can try it, you don't have nothing to loose, supported, certified vs. unsupported in this case makes no difference since this XE is not supported either way (no patchsets, no bug fixes, no technical support from metalink), just an AS IS free software.
    On the license agreement terms displayed when you download the XE software it states:
    "No Technical Support
    Our technical support organization will not provide technical support, phone support, or updates to you for the programs licensed under this agreement."
    and
    "THE PROGRAMS ARE PROVIDED "AS IS" WITHOUT WARRANTY OF ANY KIND. WE FURTHER DISCLAIM ALL WARRANTIES, EXPRESS AND IMPLIED, INCLUDING WITHOUT LIMITATION, ANY IMPLIED WARRANTIES OF MERCHANTABILITY OR FITNESS FOR A PARTICULAR PURPOSE."
    In case someone would be able to win a trial against oracle due to damage from the use of this software, the amount paid at maximum is 1,000.00 USD, not enough to even pay the lawyer's lunches.
    For the XE users the primary source of 'kind of support' is the oracle forums, either the installation forum, the general database or the specialized XE forum.
    Of course if this is for your own personal use for learning and testing and there are no third parties you could damage by doing this and if you don't have a paid license for this installation you may try it, but don't expect the Enterprise Manager to behave as defined by the manual, most of it won't work since the Home Edition doesn't have the privileges required for EM to work.
    If this is your personal computer and when you bought it the computer provider installed from factory Home Edition, and if you want something to work there, you can try to install a Virtual Machine and install Oracle 10g on a supported guest OS.
    ~ Madrid

  • Restore and recover Oracle 10g database from tape.

    I have a very basic question for restore and recover Oracle 10g database. Our envirnment settings are:
    Oracle 10g on Unix, daily database and archivelog backup to Vista NetBackup server. Retention policy is 2. Old backup files are copied from NetBackup server to the tape for record keeping.
    I want to restore a database to a point in time. Because our retention policy is setup to 2. The backup files I need have been copied to the tape. So I should ask SYSTEM ADMIN to copy the backup files back to NetBackup server disk or I can ask him to copy backup files to the Unix server that host my Oracle 10g database. Then I can use Rman to do restore and recover. Is this doable? I know normal procedure is to copy backup files I need back to NetBackup server disk, not directly back to database server. Please put your comments here as early as better. I do appreciate your kind help.

    853153 wrote:
    I have a very basic question for restore and recover Oracle 10g database. Our envirnment settings are:
    Oracle 10g on Unix, daily database and archivelog backup to Vista NetBackup server. Retention policy is 2. Old backup files are copied from NetBackup server to the tape for record keeping.
    I want to restore a database to a point in time. Because our retention policy is setup to 2. The backup files I need have been copied to the tape. So I should ask SYSTEM ADMIN to copy the backup files back to NetBackup server disk or I can ask him to copy backup files to the Unix server that host my Oracle 10g database. Then I can use Rman to do restore and recover. Is this doable? I know normal procedure is to copy backup files I need back to NetBackup server disk, not directly back to database server. Please put your comments here as early as better. I do appreciate your kind help.For sure it is double work, To copy backup files on UNIX host.
    Are you using catalog or nocatalog?
    If the backup information is out of retention, Catalog them again also in netbackup.
    So that you can able to restore database directly without copying those files to host.

  • Official link to download sql*plus (linux)  for 10g  database

    Good Morning to all ;
    Can anyone provide official link to download sql*plus for 10g database ?
    I am using Virtual machine version 7. I want to configure SQL*Plus utility in my virtual machine ..
    Please provide any official link or torrent link. It's for our learning purpose.
    Thanks in advance ..
    OS : REDHAT5, OEL 5
    VMWARE : Version 7
    Product : 10g R2

    Hello ;
    I can't be enable SQL* Plus in my VMWARE.
    *$ unzip instantclient-sqlplus-linuxppc32-10.2.0.1-20051121.zip*
    Archive: instantclient-sqlplus-linuxppc32-10.2.0.1-20051121.zip
    inflating: instantclient_10_2/glogin.sql
    inflating: instantclient_10_2/libsqlplus.so
    inflating: instantclient_10_2/libsqlplusic.so
    inflating: instantclient_10_2/sqlplus
    *[oracle@rhel5 SHARE]$ cd instantclient_10_2/*
    [oracle@rhel5 instantclient_10_2]$ ls -l
    total 1135
    -r-xr-xr-x 1 root root 1525 Nov 12 2005 glogin.sql
    -rwxrwxrwx 1 root root 1445591 Nov 12 2005 libsqlplusic.so
    -rwxrwxrwx 1 root root 857299 Nov 12 2005 libsqlplus.so
    -rwxrwxrwx 1 root root 18391 Nov 12 2005 sqlplus
    *./sqlplus*
    bash: ./sqlplus: cannot execute binary file
    Please provide me the steps to continue ..

  • OLAP Catalog in 10g

    We use 10g database and use AWM to create the analytic workspace, Dimensions, Levels, Hierarchies, Measures and Cubes etc. We also use BI Beans query manager for reading the Cube and have a UI on top of that.
    Do we need to createn OLAP catalog also? What is that we will not be able to do if we don't create OLAP catalog?
    What is the main use of OLAP catalog and how is it used in OLAP applications based on 10g ?

    In 10g, standard-form AWs (such as the ones created by AWM) contain their own metadata. The OLAP API (which underlies the BIBeans) reads the embedded AW metadata. You no longer need the OLAP Catalog for AWs.
    The OLAP Catalog is still used for data stored in tables. Also, for AWs that are not in 10g standard form, one must still create views and OLAP Catalog metadata for the views.

  • Oracle 10g database options

    We have Oracle 10.2. I used dba_registry to get database options. How to find these options' dependencies?
    dba_dependencies has dependencies for all packages, funtions, procedures and triggers. But options are Oracle components.
    My purpose is that we don't need some options and need to get rid of them. Before I do it, I need to see options' dependencies.
    Please advise.
    Thanks
    S.
    Edited by: ski123 on Apr 5, 2010 4:16 PM

    What "things" are they asking you to remove?
    Most likely this person or persons has no idea the danger and consequences of what they are asking.
    The security of an Oracle database is not enhanced by removing anything that shows up in DBA_REGISTRY.
    Here's the list:
    SQL> select comp_name from dba_registry;
    COMP_NAME
    OWB
    Oracle Application Express
    Oracle Enterprise Manager
    Oracle Ultra Search
    OLAP Catalog
    Spatial
    Oracle Multimedia
    Oracle XML Database
    Oracle Text
    Oracle Expression Filter
    Oracle Rules Manager
    Oracle Workspace Manager
    Oracle Database Catalog Views
    Oracle Database Packages and Types
    JServer JAVA Virtual Machine
    Oracle XDK
    Oracle Database Java Packages
    OLAP Analytic Workspace
    Oracle OLAP APIWhat here compromises security?
    I understand it is dangerous as an employee to tell an employer to back off. So feel free to point your employer to me and I would be happy to tell them what you may not be able to say.

  • Upgrading rman 9i catalog to 10g catalog.

    Hi,
    I need to know the typical steps to upgrade the rman catalog from 9i to oracle oracle 10g. We have already 9i db's registered with 9i catalog and 10g db's are there which we will register with the upgraded 10g catalog.
    Kindly provide links and also summarise here the typical steps involved.
    Thanks in advance for all the help !!

    Depends. If you want to do an in-place upgrade, then upgrade the database to at least the highest 10g database that will be connecting. For example, if the highest 10g version you have is 10.2.0.1, then go to at least 10.2.0.1. I have been running 10.2.0.3 without any issues.
    After upgrading the database, login to the rman catalog using the same ORACLE_HOME as the database, and run:
    upgrade catalog;
    That's it. No bells, no whistles. The docs are very clear on this and it's not a huge ordeal.
    Or, you can export/import to a new database, and run 'upgrade catalog' on it.

  • Virtual catalog

    Hi all,
    On catalog database side i created a user(vpc1) with recovery_catalog_owner and connected to rman prompt and connected to catalog user account also granted
    create catalog for database <registered database> to <virtual private catalog user>;
    and when i connected to virtual private catalog user account and given command
    RMAN> create virtual catalog;
    found eligible base catalog owned by RMANUSER
    RMAN-00571: ===========================================================
    RMAN-00569: =============== ERROR MESSAGE STACK FOLLOWS ===============
    RMAN-00571: ===========================================================
    RMAN-06004: ORACLE error from recovery catalog database: ORA-00942: table or view does not exist
    getting this error. VPC1 user having proper privileges,
    SQL> select * from dba_role_privs where grantee='VPC1';
    GRANTEE GRANTED_ROLE ADM DEF
    VPC1 RECOVERY_CATALOG_OWNER NO YES
    not able to find why it is giving this error. Please help to fix this.
    thanks

    A virtual private catalog in Oracle 11g is a subset of the RMAN repository metadata. The repository owner can segregate and restrict access to the repository to other database users.
    Every such VPC user, has full privileges to the virtual private catalog.
    Create the user who will own the VPC and grant the privileges neccessary
    Create the user
    create user bkp_admin_01 identified by bkp_admin_01 default tablespace vpc_tbs temporary tablespace temp;
    Grant the privileges
    Connect to the RMAN base catalog from the RMAN command line utility using rman11g (Base repository owner)
    $ export ORACLE_SID=ORA11G
    $ rman catalog rman11g/rman11g
    Recovery Manager: Release 11.1.0.7.0 – Production on Tue Mar 24 14:40:59 2009
    Copyright (c) 1982, 2007, Oracle. All rights reserved.
    RMAN>
    RMAN> grant CATALOG FOR DATABASE xyz to bkp_admin_01;
    RMAN-00571: ===========================================================
    RMAN-00569: =============== ERROR MESSAGE STACK FOLLOWS ===============
    RMAN-00571: ===========================================================
    RMAN-06004: ORACLE error from recovery catalog database: RMAN-20018: database not found in recovery catalog
    As you see above, the database on which the privilege is given, needs to be in the base catalog. You can also provide
    DBID instead of the database name
    RMAN> Grant CATALOG FOR DATABASE PROD TO bkp_admin_01;
    Grant Succeeded
    RMAN>
    Now, if you wish that this user has privileges to register new databases in his VPC, grant the following privileges
    RMAN> GRANT REGISTER DATABASE TO bkp_admin_01;
    Grant succeeded.
    RMAN>
    Create the Virtual Private Catalog
    Connect to the VPC uservia rman
    $ rman catalog bkp_admin_01@ora11g
    RMAN> CREATE VIRTUAL CATALOG;
    As Oracle documentation says, if you wish to use Oracle 10.2 or earlier release with this VPC, execute the following pl/sql procedure as the base catalog owner
    $ sqlplus bkp_admin_01/bkp_admin_01@ora11g
    SQL> EXECUTE RMAN11G.DBMS_RCVCAT.CREATE_VIRTUAL_CATALOG;
    The following are the steps to create a VPC
    How do I revoke privileges and drop the VPC?
    Connect as the base repository owner & revoke the privileges
    $ RMAN catalog rman11g/rman11g@ora11g
    RMAN> REVOKE CATALOG FOR DATABASE PROD FROM BKP_ADMIN_01;
    RMAN> REVOKE REGISTER DATABASE FROM BKP_ADMIN_01;
    You can now drop the VPC by connecting as the VPC user
    $ rman catalog kpb_admin_01/bkp_admin_01@ora11g
    RMAN> drop catalog;
    You will have to use the following PL/SQL procedure to drop catalogs with registrations of prior to Oracle 11g
    $ sqlplus sqlplus bkp_admin_01/bkp_admin_01@ora11g
    SQL> exec rman11g.DBMS_RCVCAT.DROP_VIRTUAL_CATALOG;
    You can now drop the VPC user
    $ sqlplus “/ as sysdba”
    $ drop user bkp_admin_01 cascade;

  • Remote Catalog on 10g // BIB-14657

    as a student without a metalink account i am wondering if its a usual oracle policy to give no informations to the users, on how to install a remote catalog on a 10g Database.
    But seems like the tutorial for 9i also works for 10g- right?
    so the mystery on the BIB-14657 errors should be solved.

    Can you please log a TAR with Oracle Support using Metalink to resolve this issue. They can help you collect all the log and trace files to determine the why this problem is occuring.
    Business Intelligence Beans Product Management Team
    Oracle Corporation

  • Wrong results after upgrading 10g database to 11.2.0.2.6

    Hi,
    Do anyone know, why the following query results are different?
    Not Working query:
    sql1:
    select col1 from tab1
    where col1 = (select '123' from dual)
    Working query:
    sql2:
    select col1 from tab1
    where col1 = '123';
    Both the sql1 and sql2 are returning same reseults in 10g database , but not in 11g.

    Pl post OS details along with sample outputs and explain plans from the the sql1 statement from the two databases. These MOS Docs may help also
    Things to Consider Before Upgrading to 11.2.0.2 to Avoid Poor Performance or Wrong Results [ID 1320966.1]
    Wrong Results on 11.2.0.2 with Function-Based Index and OR Expansion [ID 1264550.1]
    Wrong Results/No Rows for Sql Involving Functions in 11.2.0.2. [ID 1380679.1]
    HTH
    Srini

  • Problem Oracle 10g database Installation on Windows 2003 Server

    Hi All,
    I am trying to face some problem to install oracle 10g database on windows 2003 server with service pack 2. Once I start to installation it give me an error "Error in writing to directory 'c:\documents and settings\administrator\local settings\temp\orainstall2004xxx'. Please ensure that this directory is writable and has at least 45MB of disk space. Installation cannot continue"
    I double-insured that there is enough disk-space and I am also in the Administrators-Group.
    Please guide me for the above problem although I have done oracle 9i database installation with the same configuration.
    Regards
    Muhammad Shoaib

    898118 wrote:
    Hi All,
    I am trying to face some problem to install oracle 10g database on windows 2003 server with service pack 2. Once I start to installation it give me an error "Error in writing to directory 'c:\documents and settings\administrator\local settings\temp\orainstall2004xxx'. Please ensure that this directory is writable and has at least 45MB of disk space. Installation cannot continue"
    I double-insured that there is enough disk-space and I am also in the Administrators-Group.
    Please guide me for the above problem although I have done oracle 9i database installation with the same configuration.
    Regards
    Muhammad ShoaibOracle really doesn't like to be installed into directories with spaces in their names.

  • Reports 6i against 10g database

    Hi,
    We are upgrading our database from 9i to 10g. We are running our reports (6i) against 10g database in the batch mode. For some of our reports we are getting the following error:
    REP-0736: There exist uncompiled program unit(s).
    REP-1247: Report contains uncompiled PL/SQL.
    When report is opened in ReportBuilder it needs to be recompiled against 10g and then it runs fine.
    Please advise how to solve this problem.

    This is not because of the database is changed. Some of the packages/program units compilation dates might have changed and hence reports wants it to be recompiled.
    Rajesh Alex

  • Unable to open 10g Database Control Webpage from another computer

    Unable to open 10g Database Control Webpage from another computer
    Hi Gurus
    I have just installed Oracle Database 10g Enterprise Edition Release 10.2.0.1.0 on my PC Windows XP , created database and configured DB control
    I can open Database Control Webpage on the database machine by typing
    http://USI2374993VND0.vlgdw2k.visteon.com:1158/em
    or
    http://136.18.70.189:1158/em
    But can not open it from another PC
    When I do following from another PC
    1. http://USI2374993VND0.vlgdw2k.visteon.com:1158/em
    Get error: [code=DNS_NO_DATA] The IP address was not found during the DNS lookup. Contact your system administrator.
    2. http://136.18.70.189:1158/em
    Get error:Can not display web page
    I can ping 136.18.70.189 but not USI2374993VND0.vlgdw2k.visteon.com
    On the other PC I also tried adding 136.18.70.189 to
    tools - internet options - security - local internet - sites - advanced - add this web
    site to the zone as http://136.18.70.189
    But it did not work
    Please help with any ideas
    Thanks a bunch
    New DBA

    Firewalls?
    DNS translation issues?

  • How to configure Oracle Dataguard for Oracle 10g database

    Hi Friends,
    I would like to configuer Oracle Dataguard for my Oracle 10g Database.
    Please provide me the configuration document.(step by step guide)
    Regards,
    DB

    Hi
    Go throw below link. This would be help to configure ODG..,
    http://blogs.oracle.com/AlejandroVargas/2007/09/data_guard_physical_standby_im.html
    http://blogs.oracle.com/AlejandroVargas/2007/10/data_guard_broker_observer_and.html
    Thanks,
    Mayilselvan.S

  • Running JAXB2 in a 10g Database

    Hi All,
    We have some java business logic which uses JAXB2. We now would like to be able to call / store this java code inside the database. It's a 10g database, which I understand has the 1.4 JVM, so I've retrotranslated the code (and the JAXB2 dependencies) and created a compatible jar. The loadjava command^1^ completes successfully, however when I try and execute the code which unmarshals the XML, I get the following error: Caused by: java.lang.RuntimeException: Provider com.sun.xml.bind.v2.ContextFactory could not be instantiated: javax.xml.bind.JAXBException: Provider com.sun.xml.bind.v2.ContextFactory not found
    The ContextFactory is definitely in the jar file. Looking through the generated DB trace file I see the following:
    creating : class com/sun/xml/bind/v2/ContextFactory with resolver ((* london) (* PUBLIC) (org/apache/* -) (jp/gr/xml/relax/* -) (com/bea/* -) (javax/management/* -) (com/thoughtworks/xstream/* -) (org/jvnet/* -) (com/sun/xml/fastinfoset/* -) (sun/misc/* -))
    but then, instead of resolving the class:
    skipping : class com/sun/xml/bind/v2/ContextFactory
    Why would the ContextFactory be skipped? Is there any way I can force the loadjava command to resolve it?
    1. The server-side loadJava command I use is: call sys.dbms_java.loadjava( '-force -verbose -resolve /scripts/p3/db_sql/cta23001.jar','((* london) (* PUBLIC) (org/apache/* -) (jp/gr/xml/relax/* -) (com/bea/* -) (javax/management/* -) (com/thoughtworks/xstream/* -) (org/jvnet/* -) (com/sun/xml/fastinfoset/* -) (sun/misc/* -))' );

    Hi:
    You can find Jaxb related classes implemented by Oracle into ${ORACLE_HOME}/lib/xml.jar but not all classes should be installed, please look at Ant task named unpack-jaxb-classes at:
    [http://dbprism.cvs.sourceforge.net/viewvc/dbprism/cms-2.1/tasks/cms.xml?revision=1.19&view=markup]
    this Ant task extract all Jaxb required classes which can be installed into an Oracle 10g/11g database, see the Task pre-install which install this jar into SYS's schema.
    To see how to use Jaxb marshall/unmarshall operation please take a look at the method processRequestAction, inside the code you can see how to instantiate the marshaller and unmarshaller:
    [http://dbprism.cvs.sourceforge.net/viewvc/dbprism/cms-2.1/src/com/prism/cms/action/Controller.java?revision=1.8&view=markup]
    Best regards, Marcelo.

Maybe you are looking for

  • ERROR WHILE CREATING A DATABASE LINK USING HETEROGENEOUS SERVICES

    I'm creating a database link with the Oracle Dataware Builder, and i get the following error: Probando... Fallo. SQL Exception Error del repositorio: Excepción SQL. Nombre de la Clase: CacheMediator. Nombre del Método: getDDEntryFromDB. Mensaje de Er

  • New mac mini sees other macs, other macs can't see mini

    I just added a new mac mini to my home network. File and screen sharing is on, so is back to my mac. The mini can see the other shared macs on the network, but the mini doesn't show up in the shared list on the other macs. Any help correcting this wo

  • OSX Server - Advanced FTP users policies

    Hi, I need to ask a pretty simple thing, that for servers should be quite straight forward. On OSX Server (ver.2.2.2) I can't find any advanced ftp management console. What I mean is that i have let's say three users: User "A": Administrator User "B"

  • Component isVisible method behaving wierdly

    Hi folks, Build JDEVADF_11.1.1.4.0_GENERIC_101227.1736.5923 I have a page which has a region (taskflow) in it. Inside this region there are 2 other regions (say r1 and r2). Inside r2, I have a component whose visibility is set using EL expression poi

  • How to use IHTMLFramesCollection2 to get elements in each frame?

    In a project, I must visit elements value from HTML page, read or write. but there is a message 'error -2147467262 occurred at property node (arg1) in DocumentObjectMode.vi'. take the attached file for example, when I read the length of IHTMLFramesCo