Regarding view on 10g instance

Hi,
I am using 10.2 version.
what is the use of view v$OSSTAT?
when i query this on my database not displaying out put just showing 0 rows selected.
what is the use with this view? what to do if we need to get info. from this view?

Hi,
It makes some system call to get that value. In this way it depends on OS. And for some instances you get value and some you does not, is because of bugs Oracle has while retrieving the value. If you want to figure out for your system (OS and hardware), you can check metalink else post your Oracle version, Number of CPU, OS along with its exact version.
Regards

Similar Messages

  • Generate a report from the grid to get all the 10g instance name and size

    Hi Guru
    Greetings foe the day
    can you help me to Generate a report from the grid to get all the 10g instance name and size.
    If its passible you would help me a ton
    Thank you

    If you can see in you query, you asking to view dba_segments for one instance and the other query is over the MGMT$DB_TABLESPACES view but NOT "WHERE" clouse is using, and if ypu have more once instance then than view sum all the tablespaces sizes.
    How many instanced are registed in your grid control?
    http://www.jpuga.cl
    Regards
    user625256 wrote:
    Hi
    can any one help on this
    The o/p
    SQL> select sum(bytes)/1024/1024/1024 from dba_Segments;
    SUM(BYTES)/1024/1024/1024
    3549.80879
    when i query from the above mgmt its returns 1,507,473.149 GB
    select target_name DB_NAME,host_name Host,sum(trunc(tablespace_used_size/1024/1024/1024,2)) size_GB
    from MGMT$DB_TABLESPACES group by host_name,target_name order by target_name
    it gives the size as 1,507,473.149 GB
    Thank you in advance

  • Error while creating the view from one instance to another instance

    Hi Experts
    I want to Create a view which reside in one instance for example xxx Instance . I want to create the same view which reside in xxx instance to another instance for example YYY Instance How to acheive this ?
    I tried desc the View take the view script from XXX instance and copied the view script to YYY instance when I compiled Iam getting an Error
    For Example My view in XXX Instance
    CREATE OR REPLACE FORCE VIEW xxx.sample
    First_name,
    last_name
    as
         select "F_NAME",
                 "L_NAME"
         FROM  EMP;When try to copy and compile the same view in my YYY Instance
    i am getting error
    ORA: table or view does not exist
    Advance Thanks
    AT

    A.T wrote:
    Hi Experts ,
    Thanks For all your valuable information I amTrying Of DB Link i think so
    As per My understanding If wrong anywhere please advice me
    Here Instance is Like : One DB 10g divided into several Instance like (test , devlopement , production Instance)
    Now hope i ll make my req clear .
    Coming to my reqirement
    the actual table EMP is in xxi.TEST (Here xxi => Schema and test is an Instance )
    I want to create the view which is based on by table EMP which in my test instance to devoplment instance
    For example xxo.development (here xxo => Schema and development is an Instance )
    Need to access the xxi schema in Test Instance How can I create a DB Link please share your ideas and advice me
    Advance Thanks
    ATIt's still not at all clear, but let me outline what I think you are after
    Given a database, ORCL_A
    In database ORCL_A we have a schema, HALFTRACK
    User HALFTRACK has a table, MYSTUFF
    Given a database, ORCL_B
    In database ORCL_B we have a user GREENBRASS
    User GREENBRASS needs to be able to query the table HALFTRACK.MYSTUFF.
    In database ORCL_B, as user GREENBRASS
    create database link mylink
    connect to halftrack identified by halftracks_pswd
    using ORCL_A;
    select * from mytable@mylink;The db link defines a connection specification to ORCL_A, using the credentials of a user on ORCL_A. The target of the USING clause in the link definition must be an entry in the tnsames.ora file on the server hosting database ORCL_B.
    When querying through the link, database ORCL_B is simply acting as a client to ORCL_A, no different that a sqlplus session on ORACL_B's server. As far as ORCL_A is concerned, ORCL_B is just another client requesting a connection, connecting with the credentials defined in the link definition.

  • What is the maximum number of characters in an Oracle 10G Instance Name

    All,
    Can I know what is the maximum number of characters in an oracle 10g instance name under AIX? Is it 7 characters or 8 characters?
    regards
    Santhosh

    One should really make the difference between db_name and instance_name: if instance_name default value is db_name it can be different
    (even on a non RAC database).
    For example with Oracle 10.2.0.4 you can create a database named DB78 with instance_name=DB12345678:
    $ uname -a
    Linux lx01.localdomain 2.6.18-92.el5 #1 SMP Fri May 23 22:17:30 EDT 2008 i686 i686 i386 GNU/Linux
    $ ps -fu oracle | grep smon
    oracle    6353     1  0 20:30 ?        00:00:01 ora_smon_DB12345678
    oracle    6412  5596  0 20:37 pts/1    00:00:00 grep smon
    $ export ORACLE_SID=DB12345678
    $ sqlplus / as sysdba
    SQL*Plus: Release 10.2.0.4.0 - Production on Wed Sep 8 20:34:26 2010
    Copyright (c) 1982, 2007, Oracle.  All Rights Reserved.
    Connected to:
    Oracle Database 10g Enterprise Edition Release 10.2.0.4.0 - Production
    With the Partitioning, OLAP, Data Mining and Real Application Testing options
    SQL> show parameter name
    NAME                                 TYPE        VALUE
    db_file_name_convert                 string
    db_name                              string      DB78
    db_unique_name                       string      DB78
    global_names                         boolean     FALSE
    instance_name                        string      DB12345678
    lock_name_space                      string
    log_file_name_convert                string
    service_names                        string      DB78I would not recommend this practice: but it's interesting to know to avoid confusing between db_name and instance_name.

  • Difference between Materialised view in 10g and 11g

    Hi,
    I am beginner . I want to know the difference between Materialized view between 10g and 11g. Is there any impact if the materialized view used in 10g gets upgraded to 11g ?
    awaiting ur response.Please and Thanks

    In addition to the documentation, you might want to look at the blog of Alberto Dell'Era:
    http://www.adellera.it/blog/
    Alberto writes quite a bit about materialized views, including this important change in 11GR2:
    http://www.adellera.it/blog/2009/11/03/11gr2-materialized-view-logs-changes/

  • Doubt   regarding   Oracle Database 10g Release 2 (10.2.0.1.0) installation

    hello
    my pc has following configurtion
    256mb ram
    60gb hdd
    p4 2.4 ghz
    win xp pro sp2
    I want to know if my pc will be able to run " Oracle Database 10g Release 2 (10.2.0.1.0) " standard edition on it.
    <<http://www.oracle.com/technology/software/products/database/oracle10g/htdocs/10201winsoft.html>>
    I thought of increasing RAM, but it is not feasible.
    I know i could run oracle XE, but can my pc also run the standard edition.
    I could not find minimum hardware requirements for standard edition on this site.
    anyway, i will use it for sql and and other advanced concepts in RDBMS which i may learn during my course in database. so i prefer standard edition instead of XE
    any help greatly appreciated
    thanks in advance

    I suggest you not to doubt   regarding   Oracle Database 10g Release 2 (10.2.0.1.0) installation.
    It is not necessary. If you don't receive an answer within a reasonable amount of time you could edit your thread with whatever ( a period is enough) to raise it to the top once again.
    It becomes difficult for us to track duplicated threads and unnecessarily duplicates efforts.
    ~ Madrid.

  • Regarding Access of Aborted Instance

    Hello,
    I have a particular query regarding accessing an aborted instance.
    I have an instance which gets aborted after terminating correlation for the same. Now i want to access the options available in the "Select action" drop-down for the particular instance.
    But instead of functioning in the desired manner, i get the following exception:
    Unexpected error during interactive component execution.
    I get the following warning:
    Error workspace-1264459074941
    Unexpected error during interactive component execution.
    Caused by: Ensurement failed: To set the instance as ABORTED, the instance must be ABORTING or in EXCEPTION, but it is RUNNING
    fuego.web.execution.exception.UnexpectedExecutionException: Unexpected error during interactive component execution.
         at fuego.web.papi.TaskExecutor.execute(TaskExecutor.java:187)
         at fuego.workspace.servlet.ExecutorServlet.doAction(ExecutorServlet.java:117)
         at fuego.workspace.servlet.BaseServlet.doPost(BaseServlet.java:229)
         at fuego.workspace.servlet.BaseServlet.doGet(BaseServlet.java:220)
         at javax.servlet.http.HttpServlet.service(HttpServlet.java:689)
         at fuego.workspace.servlet.AuthenticatedServlet.service(AuthenticatedServlet.java:83)
         at javax.servlet.http.HttpServlet.service(HttpServlet.java:802)
         at sun.reflect.GeneratedMethodAccessor331.invoke(Unknown Source)
         at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
         at java.lang.reflect.Method.invoke(Unknown Source)
         at org.apache.catalina.security.SecurityUtil$1.run(SecurityUtil.java:243)
         at java.security.AccessController.doPrivileged(Native Method)
         at javax.security.auth.Subject.doAsPrivileged(Unknown Source)
         at org.apache.catalina.security.SecurityUtil.execute(SecurityUtil.java:275)
         at org.apache.catalina.security.SecurityUtil.doAsPrivilege(SecurityUtil.java:161)
         at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:245)
         at org.apache.catalina.core.ApplicationFilterChain.access$000(ApplicationFilterChain.java:50)
         at org.apache.catalina.core.ApplicationFilterChain$1.run(ApplicationFilterChain.java:156)
         at java.security.AccessController.doPrivileged(Native Method)
         at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:152)
         at fuego.web.filter.SingleThreadPerSessionFilter.doFilter(SingleThreadPerSessionFilter.java:64)
         at fuego.web.filter.BaseFilter.doFilter(BaseFilter.java:63)
         at sun.reflect.GeneratedMethodAccessor250.invoke(Unknown Source)
         at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
         at java.lang.reflect.Method.invoke(Unknown Source)
         at org.apache.catalina.security.SecurityUtil$1.run(SecurityUtil.java:243)
         at java.security.AccessController.doPrivileged(Native Method)
         at javax.security.auth.Subject.doAsPrivileged(Unknown Source)
         at org.apache.catalina.security.SecurityUtil.execute(SecurityUtil.java:275)
         at org.apache.catalina.security.SecurityUtil.doAsPrivilege(SecurityUtil.java:217)
         at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:197)
         at org.apache.catalina.core.ApplicationFilterChain.access$000(ApplicationFilterChain.java:50)
         at org.apache.catalina.core.ApplicationFilterChain$1.run(ApplicationFilterChain.java:156)
         at java.security.AccessController.doPrivileged(Native Method)
         at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:152)
         at fuego.web.filter.CharsetFilter.doFilter(CharsetFilter.java:48)
         at fuego.web.filter.BaseFilter.doFilter(BaseFilter.java:63)
         at sun.reflect.GeneratedMethodAccessor250.invoke(Unknown Source)
         at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
         at java.lang.reflect.Method.invoke(Unknown Source)
         at org.apache.catalina.security.SecurityUtil$1.run(SecurityUtil.java:243)
         at java.security.AccessController.doPrivileged(Native Method)
         at javax.security.auth.Subject.doAsPrivileged(Unknown Source)
         at org.apache.catalina.security.SecurityUtil.execute(SecurityUtil.java:275)
         at org.apache.catalina.security.SecurityUtil.doAsPrivilege(SecurityUtil.java:217)
         at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:197)
         at org.apache.catalina.core.ApplicationFilterChain.access$000(ApplicationFilterChain.java:50)
         at org.apache.catalina.core.ApplicationFilterChain$1.run(ApplicationFilterChain.java:156)
         at java.security.AccessController.doPrivileged(Native Method)
         at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:152)
         at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:213)
         at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:178)
         at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:126)
         at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:105)
         at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:107)
         at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:148)
         at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:869)
         at org.apache.coyote.http11.Http11BaseProtocol$Http11ConnectionHandler.processConnection(Http11BaseProtocol.java:667)
         at org.apache.tomcat.util.net.PoolTcpEndpoint.processSocket(PoolTcpEndpoint.java:527)
         at org.apache.tomcat.util.net.LeaderFollowerWorkerThread.runIt(LeaderFollowerWorkerThread.java:80)
         at org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool.java:684)
         at java.lang.Thread.run(Unknown Source)
    Caused by: class fuego.lang.RuntimeExceptionShell ->> fuego.lang.CheckFailed: Ensurement failed: To set the instance as ABORTED, the instance must be ABORTING or in EXCEPTION, but it is RUNNING
    Caused by: fuego.lang.CheckFailed: Ensurement failed: To set the instance as ABORTED, the instance must be ABORTING or in EXCEPTION, but it is RUNNING
         at fuego.lang.Ck.check(Ck.java:91)
         at fuego.lang.Ck.ensure(Ck.java:120)
         at fuego.server.ProcInst.setStatus(ProcInst.java:1546)
         at fuego.server.ProcInst.copy(ProcInst.java:2184)
         at fuego.server.execution.EngineExecutionContext.getInstance(EngineExecutionContext.java:1640)
         at fuego.server.execution.EngineExecutionContext.acquireCurrentInstance(EngineExecutionContext.java:1676)
         at fuego.server.execution.EngineExecutionContext.preImmediateExecution(EngineExecutionContext.java:1509)
         at fuego.server.execution.DefaultEngineExecution$AtomicExecutionTA.runTransaction(DefaultEngineExecution.java:295)
         at fuego.transaction.TransactionAction.startBaseTransaction(TransactionAction.java:470)
         at fuego.transaction.TransactionAction.startTransaction(TransactionAction.java:551)
         at fuego.transaction.TransactionAction.start(TransactionAction.java:212)
         at fuego.server.execution.DefaultEngineExecution.executeImmediate(DefaultEngineExecution.java:123)
         at fuego.server.execution.EngineExecution.executeImmediate(EngineExecution.java:66)
         at fuego.server.AbstractProcessBean.runTask(AbstractProcessBean.java:3188)
         at sun.reflect.GeneratedMethodAccessor760.invoke(Unknown Source)
         at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
         at java.lang.reflect.Method.invoke(Unknown Source)
         at fuego.lang.JavaClass.invokeMethod(JavaClass.java:1410)
         at fuego.lang.JavaObject.invoke(JavaObject.java:227)
         at fuego.component.Message.process(Message.java:585)
         at fuego.component.ExecutionThread.processMessage(ExecutionThread.java:780)
         at fuego.component.ExecutionThread.processBatch(ExecutionThread.java:755)
         at fuego.component.ExecutionThread.doProcessBatch(ExecutionThread.java:142)
         at fuego.component.ExecutionThread.doProcessBatch(ExecutionThread.java:134)
         at fuego.fengine.FEngineProcessBean.processBatch(FEngineProcessBean.java:244)
         at fuego.component.ExecutionThread.work(ExecutionThread.java:839)
         at fuego.component.ExecutionThread.run(ExecutionThread.java:408)
         at fuego.component.CustomExecution.next(CustomExecution.java:179)
         at fuego.papi.impl.rmi.RMIExecution.next(RMIExecution.java:109)
         at fuego.web.execution.InteractiveExecution.process(InteractiveExecution.java:177)
         at fuego.web.execution.impl.WebInteractiveExecution.process(WebInteractiveExecution.java:54)
         at fuego.web.execution.InteractiveExecution.process(InteractiveExecution.java:223)
         at fuego.web.papi.TaskExecutor.runInstanceTask(TaskExecutor.java:490)
         at fuego.web.papi.TaskExecutor.execute(TaskExecutor.java:98)
         at fuego.workspace.servlet.ExecutorServlet.doAction(ExecutorServlet.java:117)
         at fuego.workspace.servlet.BaseServlet.doPost(BaseServlet.java:229)
         at fuego.workspace.servlet.BaseServlet.doGet(BaseServlet.java:220)
         at javax.servlet.http.HttpServlet.service(HttpServlet.java:689)
         at fuego.workspace.servlet.AuthenticatedServlet.service(AuthenticatedServlet.java:83)
         at javax.servlet.http.HttpServlet.service(HttpServlet.java:802)
         at sun.reflect.GeneratedMethodAccessor331.invoke(Unknown Source)
         at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
         at java.lang.reflect.Method.invoke(Unknown Source)
         at org.apache.catalina.security.SecurityUtil$1.run(SecurityUtil.java:243)
         at java.security.AccessController.doPrivileged(Native Method)
         at javax.security.auth.Subject.doAsPrivileged(Unknown Source)
         at org.apache.catalina.security.SecurityUtil.execute(SecurityUtil.java:275)
         at org.apache.catalina.security.SecurityUtil.doAsPrivilege(SecurityUtil.java:161)
         at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:245)
         at org.apache.catalina.core.ApplicationFilterChain.access$000(ApplicationFilterChain.java:50)
         at org.apache.catalina.core.ApplicationFilterChain$1.run(ApplicationFilterChain.java:156)
         at java.security.AccessController.doPrivileged(Native Method)
         at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:152)
         at fuego.web.filter.SingleThreadPerSessionFilter.doFilter(SingleThreadPerSessionFilter.java:64)
         at fuego.web.filter.BaseFilter.doFilter(BaseFilter.java:63)
         at sun.reflect.GeneratedMethodAccessor250.invoke(Unknown Source)
         at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
         at java.lang.reflect.Method.invoke(Unknown Source)
         at org.apache.catalina.security.SecurityUtil$1.run(SecurityUtil.java:243)
         at java.security.AccessController.doPrivileged(Native Method)
         at javax.security.auth.Subject.doAsPrivileged(Unknown Source)
         at org.apache.catalina.security.SecurityUtil.execute(SecurityUtil.java:275)
         at org.apache.catalina.security.SecurityUtil.doAsPrivilege(SecurityUtil.java:217)
         at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:197)
         at org.apache.catalina.core.ApplicationFilterChain.access$000(ApplicationFilterChain.java:50)
         at org.apache.catalina.core.ApplicationFilterChain$1.run(ApplicationFilterChain.java:156)
         at java.security.AccessController.doPrivileged(Native Method)
         at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:152)
         at fuego.web.filter.CharsetFilter.doFilter(CharsetFilter.java:48)
         at fuego.web.filter.BaseFilter.doFilter(BaseFilter.java:63)
         at sun.reflect.GeneratedMethodAccessor250.invoke(Unknown Source)
         at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
         at java.lang.reflect.Method.invoke(Unknown Source)
         at org.apache.catalina.security.SecurityUtil$1.run(SecurityUtil.java:243)
         at java.security.AccessController.doPrivileged(Native Method)
         at javax.security.auth.Subject.doAsPrivileged(Unknown Source)
         at org.apache.catalina.security.SecurityUtil.execute(SecurityUtil.java:275)
         at org.apache.catalina.security.SecurityUtil.doAsPrivilege(SecurityUtil.java:217)
         at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:197)
         at org.apache.catalina.core.ApplicationFilterChain.access$000(ApplicationFilterChain.java:50)
         at org.apache.catalina.core.ApplicationFilterChain$1.run(ApplicationFilterChain.java:156)
         at java.security.AccessController.doPrivileged(Native Method)
         at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:152)
         at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:213)
         at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:178)
         at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:126)
         at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:105)
         at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:107)
         at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:148)
         at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:869)
         at org.apache.coyote.http11.Http11BaseProtocol$Http11ConnectionHandler.processConnection(Http11BaseProtocol.java:667)
         at org.apache.tomcat.util.net.PoolTcpEndpoint.processSocket(PoolTcpEndpoint.java:527)
         at org.apache.tomcat.util.net.LeaderFollowerWorkerThread.runIt(LeaderFollowerWorkerThread.java:80)
         at org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool.java:684)
         at java.lang.Thread.run(Unknown Source)

    I had this problem today and was looking here for a solution. I eventually found that in my case it was that I had added a Port directive in an included Apache configuration file, and this caused problems because there was already a Port directive in the mail httpd.conf file.
    Apparently any such duplication of one-only configuration directives will cause this error, even if the Apache configuration parses OK. Oracle HTTP Server can even start up OK with such duplication in the configuration files, but you run into trouble when using dcmctl or IAS Console to deploy/undeploy ear files etc.
    I removed my addition and this "There are multiple instances in the input config file" error disappeared.
    However, I still had a problem with an OC4J container/instance in which I had tried to undeploy an application; although the operation had failed and given me that "multiple instances" error message, the application had disappeared from the management interface so I couldn't clean it up, but I also couldn't deploy it again, as I got an error saying it had already been deployed. The solution for me was to delete the OC4J instance and recreate it. Which unfortunately meant I had to configure it all over again.
    Hope this helps someone.
    Regards,
    Eldon

  • Can 10G express be used to create an application for use with a 10G instanc

    Hi
    Can 10G express be used to create an application for use with a 10G instance? I am new to Oracle 10G. I like the interface for creating applications, maintaining users, etc. Can this tool be pointed at a regular instance of 10G so that applications can be created against a regular 10G database not the express database?
    Can PL/SQL proceedures that are created in 10G express also be migrated to a 10G database?
    Thanks in advance
    Dean-O

    Can 10G express be used to create an application for use with a 10G instance?Yeah, that's the whole point from a marketing perspective ;)
    Can this tool be pointed at a regular instance of 10G so that applications can be
    created against a regular 10G database not the express database?Yes but it's a different version. Check out:
    http://www.oracle.com/technology/products/database/application_express/index.html
    Can PL/SQL proceedures that are created in 10G express also be migrated to a 10G database?Yes they can!
    ~Jer

  • 11gR2 DBUA doesn't detect my 10g instance

    Hello all,
    I'm trying to upgrade 10.2.0.4 -64 bit database to 11.gR2 -64 bit,
    1. All OS requirements are met.
    2. 10g instance is running fine
    3. Starting 11g installer , on step 2, after selecting "Upgrade database" I get error INS-35373 "Installer could not detect a single-instance to upgrade" ?
    There is nothing about this error on Oracle support, neither in google

    Welcome to the forums !
    Pl post details of your OS version, along with the complete contents of the oratab file
    HTH
    Srini

  • 10g instance crashing

    Our 10g instance continues to crash at intermittent times. There are no errors or shutdown procedures in the alert.log, just the restart process. There are no hardware issues either. Any ideas?

    This server is dedicated to Oracle and we only have 1 instance running. Nothing else happens on this server.
    Here is a portion of the listener.log at the last time it crashed.
    02-OCT-2007 19:34:09 * (CONNECT_DATA=(CID=(PROGRAM=)(HOST=)(USER=SYSTEM))(COMMAND=status)(ARGUMENTS=64)(SERVICE=(ADDRESS=(PROTOCOL=TCP)(HOST=xyz.xyz.xyz)(PORT=1521)))(VERSION=169869568)) * status * 0
    02-OCT-2007 19:34:16 * (CONNECT_DATA=(SID=orcl)(CID=(PROGRAM=F:\oracle\product\10.2.0\db_1\perl\5.8.3\bin\MSWin32-x86-multi-thread\perl.exe)(HOST=xyz)(USER=SYSTEM))) * (ADDRESS=(PROTOCOL=tcp)(HOST=xyz)(PORT=1978)) * establish * orcl * 0
    02-OCT-2007 19:36:01 * service_update * orcl * 0
    TNSLSNR for 32-bit Windows: Version 10.2.0.1.0 - Production on 02-OCT-2007 19:37:30
    Copyright (c) 1991, 2005, Oracle. All rights reserved.
    System parameter file is F:\oracle\product\10.2.0\db_1\network\admin\listener.ora
    Log messages written to F:\oracle\product\10.2.0\db_1\network\log\listener.log
    Trace information written to F:\oracle\product\10.2.0\db_1\network\trace\listener.trc
    Trace level is currently 0
    Started with pid=1512
    Listening on: (DESCRIPTION=(ADDRESS=(PROTOCOL=ipc)(PIPENAME=\\.\pipe\EXTPROC1ipc)))
    Listening on: (DESCRIPTION=(ADDRESS=(PROTOCOL=tcp)(HOST=xyz.xyz.xyz)(PORT=1521)))
    Listener completed notification to CRS on start
    TIMESTAMP * CONNECT DATA [* PROTOCOL INFO] * EVENT [* SID] * RETURN CODE
    02-OCT-2007 19:37:59 * service_register * orcl * 0
    02-OCT-2007 19:38:08 * service_update * orcl * 0
    02-OCT-2007 19:38:17 * service_update * orcl * 0
    Message was edited by:
    user598504
    Message was edited by:
    user598504
    Message was edited by:
    user598504

  • How to redirect to a custom view in 10g

    Hi All,
    Getting a bit of a headache on this one. I am migrating from 5.7 to 10g and in the project some emails are generated with a link to a custom view. Also I have a submit button in a jsp that redirects to a view. This was easy then (/servlet/controller?viewName=myview&from=1 or similar) but a bit more involved now I guess.
    I had a look at WAPI and can see how to run an activity in an instance, or indeed an application but cant figure out how to display my view.
    Any ideas ?
    cheers
    Tony

    Any thoughts would help on this one.
    Effectively I want a url, or wapi call that takes the user directly to the workspace, with work items at a particular view (not inbox). Defaulting everyone to that view isnt a goer and neither is launching an activity.
    I guess it is possible as the workspace does it when clicking the view dropdown.
    cheers
    Tony

  • Problems in creating Materialized View from 10g R2  to 11g

    Hi,
    We have two databases in 10g Release 2. These databases are on two different servers and we use
    Materialized views to replicate data between these servers. We are currently using 64 bit version of
    oracle 10g release 2 for LINUX.
    Oracle Database 10g Release 10.2.0.1.0 - 64 bit Production
    PL/SQL Release 10.2.0.1.0 - Production
    CORE 10.2.0.1.0 Production
    TNS for Linux: Version 10.2.0.1.0 - Production
    NLSRTL Version 10.2.0.1.0 - Production
    We use CENTOS 5 - 64 bit edition
    We upgraded one of the databases to 11g (We exported the data from old database and
    imported it in new database) . Then we tried to create a Materialized view with incremental refresh
    on it where the base table is in the second Oracle 10g database.
    The problem is that it is not letting us create the view with FAST Refresh. It kept on giving ORA-12028
    error. We tried different remedies suggested on forums like creating a view with ROWID, but still it
    continued giving us the same error. We also synchronized the characterset of Oracle 10g and Oracle 11g
    installations but still it did not work.
    Our base table size is pretty large (over 10 Million records) and if we do a full refresh, it takes hours to
    refresh it.
    Without incremental refresh, we will not be able to fucntion, and to upgrade both database simultaneously
    we will need a large down-time which also we can not afford.
    Please advise what should we do.
    Best Regards
    Madhup
    Edited by: Madhup on Mar 2, 2009 10:45 AM

    Hello,
    Yesterday I met the same problem and very sad about this, however, my story is much more complicated (I think so).
    I have 6 databases:
    2 - 11g
    2 - 10g
    2 - 9i
    Every database of each release has different characterset(UTF8 and AL16UTF16).
    I am trying to create Materialized view with FAST REFRESH on Oracle 11g, when master tables are located on 10g database and 9i database.
    Materialized view, which points to 9i database, was successfully created.
    Materialized view, which points to 10g database, gets ORA-12028
    Like you, I tried many notes from METALINK and thought at the begining that the problem is my characterset. But, when the materialized views were successfully built on Oracle 9i database, I understood that the problem is something else.
    Did you find the actual reason why this issue does not work??
    Thanks,
    Alex

  • Regarding View

    Hi,
    Would be happy if some one clarifies the below doubt.
    Oracle version : 10g
    1. I have created a complex view ( say it would return 10million records).
    2. This view contains some structures like inline view in it ( so i suppose
    in the explain plan it may not be broken down to the base tables)
    2. I am using that view in a select statment as below
    select * from ( thisview)
    where thisview.empno =12
    and ..... (some more condition)
    In this scenario my doubt is that would this be fetching all the records and filter
    it using the conditions specified in the select statement?
    Please let us know if some can help me regarding this.
    Regards,

    Hi,
    The best way is to run the explain plan and see what it does.
    Where condition will be applied on base table. See the below example:
    SQL> select * from employees
      2  where first_name='XXX';
    no rows selected
    Execution Plan
    Plan hash value: 2285394972
    | Id  | Operation                   | Name      | Rows  | Bytes | Cost (%CPU)| Time     |
    |   0 | SELECT STATEMENT            |           |     1 |    68 |     2   (0)| 00:00:01 |
    |   1 |  TABLE ACCESS BY INDEX ROWID| EMPLOYEES |     1 |    68 |     2   (0)| 00:00:01 |
    |*  2 |   INDEX RANGE SCAN          | EMP_IDX   |     1 |       |     1   (0)| 00:00:01 |
    Predicate Information (identified by operation id):
       2 - access("FIRST_NAME"='XXX')
    Statistics
              8  recursive calls
              0  db block gets
              3  consistent gets
              0  physical reads
              0  redo size
            874  bytes sent via SQL*Net to client
            373  bytes received via SQL*Net from client
              1  SQL*Net roundtrips to/from client
              0  sorts (memory)
              0  sorts (disk)
              0  rows processed
    SQL>
    SQL> ed
    Wrote file afiedt.buf
      1* create view emp_view as select * from employees
    SQL> /
    View created.
    SQL> set autotrace traceonly
    SQL> select * from emp_view
      2  where first_name='XXX';
    no rows selected
    Execution Plan
    Plan hash value: 2285394972
    | Id  | Operation                   | Name      | Rows  | Bytes | Cost (%CPU)| Time     |
    |   0 | SELECT STATEMENT            |           |     1 |    68 |     2   (0)| 00:00:01 |
    |   1 |  TABLE ACCESS BY INDEX ROWID| EMPLOYEES |     1 |    68 |     2   (0)| 00:00:01 |
    |*  2 |   INDEX RANGE SCAN          | EMP_IDX   |     1 |       |     1   (0)| 00:00:01 |
    Predicate Information (identified by operation id):
       2 - access("FIRST_NAME"='XXX')
    Statistics
             15  recursive calls
              0  db block gets
              5  consistent gets
              0  physical reads
              0  redo size
            874  bytes sent via SQL*Net to client
            373  bytes received via SQL*Net from client
              1  SQL*Net roundtrips to/from client
              0  sorts (memory)
              0  sorts (disk)
              0  rows processed
    SQL>Regards,
    Avinash

  • Permissions to "Run Report" viewing previously scheduled instances - XIR2

    Hey there,
    I have a deski report that gets scheduled in infoview. (Business Objects XI R2)
    When one of my users is logged into infoview and views the history of that scheduled report, he clicks on an instance of the report. Everything works fine, except for one little thing. The user would like to have the ability to (when viewing an instance of a report) be able to change some of the prompts and run that report once again by clicking the "run" button.
    When I am logged in with an Administrator account the option to run the report is available, but when the user is logged in the "run" button is grayed out. I'm looking to find out how I can modify his permisions/access levels so that the button is no longer grayed out.
    -Rob

    Hi Roberto
    I would like to suggest following points:
    1) The "Run" tab appears during editing of the desktop intelligence report, that is  in desktop intelligence
    report designer. If there is not sufficient rights for user to edit report then edit data provider option greys
    out. This all happens in Dekstop Intelligence Report designer.
    2) To enable the user to run the report " Edit this object" right must be granted. When the right is
    granted the data provider option will come and hence the "Run" tab.
    3) To grant the right please follow this path:
    Log in into CMC > Home > BusinessObjects Enterprise Applications > Desktop Intelligence > Rights >
    Add/Remove, add that user > In Net Access, select Advanced and assign granted to "Edit this object"
    right.
    I would request you to specify where the "Run" tab is required. ( in Infoview or Deski Report designer )
    Regards
    Hrishikesh

  • Single 10g Instance to RAC - without ASM migration

    Is it possible to comment the following steps to convert existing 10.1.0.5 single instance database to RAC? We're using OCFS2 and it is not possible to perform ASM migration.
    1. Copy the existing $ORACLE_HOME/dbs/init<SID1>.ora to
    $ORACLE_HOME/dbs/init<db_name>.ora. Add the following parameters to
    $ORACLE_HOME/dbs/init<db_name>.ora:
    *.cluster_database = TRUE
    *.cluster_database_instances = 2
         *.undo_management=AUTO (Add if you don't have it )
    <SID1>.undo_tablespace=undotbs (undo tablespace which already exists)
         <SID1>.instance_name=RAC1
         <SID1>.instance_number=1
         <SID1>.thread=1
    <SID1>.local_listener=LISTENER_RAC1
    where LISTENER_RAC1 is an entry in the tnsnames.ora file like:
    LISTENER_RAC1 =
    (ADDRESS = (PROTOCOL = TCP)(HOST = <node1>)(PORT = 1521))
    Keep only one line in $ORACLE_HOME/dbs/init<SID1>.ora:
    ifile=$ORACLE_HOME/dbs/init<db_name>.ora
    You could also create a common spfile from this pfile and add a line
    like spfile=$ORACLE_HOME/dbs/spfile<db_name>.ora in each init<SIDn>.ora
    file. For more details about how to do this, please refer to Note 136327.1.
    2. Open your database and run $ORACLE_HOME/rdbms/admin/catclust.sql to create
    cluster database specific views within the existing instance.
    3. Recreate control file if you defined maxinstances to be 1 when you created
    the single instance database.
    To check your current setting of maxinstances, run the following command
    while the database is mounted or open and connected as a user with DBA
    privileges:
    % sqlplus /nolog
    SQL> connect / as sysdba
    SQL> startup mount
    SQL> alter database backup controlfile to trace;
    The trace file is located in udump directory. Check the maxinstance value
    in the CREATE CONTROLFILE statement. Please refer to Note 118931.1
    Recreating the Controlfile in RAC and OPS
    4. Add instance specific parameters in the init<db_name>.ora for the second
    instance on the second node and set appropriate values for it:
         *** Names may need to be modified
         <SID2>.instance_name=RAC2
         <SID2>.instance_number=2
         <SID2>.local_listener=LISTENER_RAC2
         <SID2>.thread=2
         <SID2>.undo_tablespace=UNDOTBS2
    <SID2>.cluster_database = TRUE
    <SID2>.cluster_database_instances = 2
    where LISTENER_RAC2 is an entry in the tnsnames.ora file like:
    LISTENER_RAC2 =
    (ADDRESS = (PROTOCOL = TCP)(HOST = <node2>)(PORT = 1521))
    5. From the first instance, mount the database and run the following command:
         *** Path names, file names, and sizes will need to be modified
    alter database
    add logfile thread 2
    group 3 ('/dev/RAC/redo2_01_100.dbf') size 100M,
    group 4 ('/dev/RAC/redo2_02_100.dbf') size 100M;
    alter database enable public thread 2;
    6. Create a second Undo Tablespace from the existing instance:
         *** Path names, file names, and sizes will need to be modified
    CREATE UNDO TABLESPACE UNDOTBS2 DATAFILE
         '/dev/RAC/undotbs_02_210.dbf' SIZE 200M ;
    7. Set ORACLE_SID and ORACLE_HOME environment variables on the second node.
    8. Start the second Instance.

    In order not to affect the current home on node1, another user oracle2 is created which belong to racinstall group. On node2, which doesn’t have any oracle home installed, CRS will be installed so that node2 will become the primary node.
    Been looking into this CRS for sometime as the installation has failed due to OCFS2 kernel panic upon running root.sh on the second node. Performed the cleanup as described Doc ID: Note:239998.1 (10g RAC: How to Clean Up After a Failed CRS Install), but now, the installation is failing and giving the error “ File not found /ClusterCRS/install/rootadd”. This message didn’t appear the first attempt which could indicate that the cleanup described in the note was not sufficient.

Maybe you are looking for