Query text not seen in v$sql

Dear all,
10.2.0.4 rac on on Linux.
We have the below error on the alert log of the 1st instance :
ORA-01555 caused by SQL statement below (SQL ID: 8ghsdg3dsx, Query Duration=149268 sec, SCN: 0x0577.dd37c0d7):
I used the below to check the sql_query
select * from v$sql where sql_id='8ghsdg3dsx'
and
select * from gv$sql where sql_id='8ghsdg3dsx'
but, doesn't return any rows and the error happened before 2 hours only.
Please advise
Kai
Edited by: KaiS on Apr 20, 2012 10:48 PM
Edited by: KaiS on Apr 20, 2012 10:48 PM

KaiS wrote:
Dear all,
10.2.0.4 rac on on Linux.
We have the below error on the alert log of the 1st instance :
ORA-01555 caused by SQL statement below (SQL ID: 8ghsdg3dsx, Query Duration=149268 sec, SCN: 0x0577.dd37c0d7):
I used the below to check the sql_query
select * from v$sql where sql_id='8ghsdg3dsx'
and
select * from gv$sql where sql_id='8ghsdg3dsx'
but, doesn't return any rows and the error happened before 2 hours only.
Please adviseadditional clues should exist within resultant trace file

Similar Messages

  • Text Not seen in design view

    Dear Experts,
    I am helping my brother out with a site he uses for his
    company. It seems to be made with GoLive. Anyway, the site was a
    huge mess, so I tried to tidy it up with CSS etc.
    Now it is much more orderly, and everything was looking fine
    last night in design view. I shut down. When I just revisited the
    local version today, when I view all the pages, the text does not
    show up in design view. When I view the page with the browser
    preview, I see all the text. What could be the situation?
    I thot maybe the pages got disconnected from the css style
    sheet, but they are connected.
    Any thots?
    Sincerely,
    Hope
    www.jtrv.com

    Ok, the problem got solved. I shut down DW and reopened, and
    everything was there. Often it is that I cannot edit with key
    commands, for example to delete, half the time I must use the
    contextual window, instead of the delete key. When I close DW and
    re-open then sometimes the delete key function is re-gained....
    Funny.
    Thanks again,
    Hope

  • JDO Query does not seem to be executed at all

    I have the following JDO query and it returns empty collection but it
    should return some records. I set "SQL=TRACE" in kodo.properties file and
    traced the log file. This query does not seem to generate SQL statement
    at all. Other JDO method generates SQL statements.
    Kodo version: 3.1.2
    J2SE: 1.4.1_05
    Database: MS SQL Server 2000
    // Get endorsement rule type
    String ruleType = getEndorsementRuleType();
    Query qry = pm.newQuery(EndorsementRule.class);
    try {
    qry.declareParameters("String ruleType");
    qry.setFilter("this.ruleType == ruleType");
    log.info("*** EXECUTE RULE QUERY ***");
    Collection c = (Collection)qry.execute(ruleType);
    log.info("*** qrysize=" + c.size());
    finally {
    qry.closeAll();
    Log file: There is not SQL statement generated for the JDO query.
    [junit] INFO: Get endorsement rule type
    [junit] Jun 7, 2004 12:39:01 PM EndorsementRuleEngine
    getEndorsementRuleType
    [junit] INFO: *** JDO EXECUTE BEGIN ***
    [junit] 16366 TRACE [main] kodo.jdbc.SQL - <t 3969559, conn 18096534> [0
    m
    s] executing prepstmnt 20731151 SELECT t0.EndtType, t0.EndtId FROM EndtHe
    aderItem t0 WHERE t0.EndtId = ? [params=(int) 6137330] [reused=0]
    [junit] Jun 7, 2004 12:39:01 PM EndorsementRuleEngine
    getEndorsementRuleType
    [junit] INFO: *** JDO EXECUTE END ***
    [junit] Jun 7, 2004 12:39:02 PM EndorsementRuleEngine getRules
    [junit] INFO: *** EXECUTE RULE QUERY ***
    +++ WHERE IS SQL statement for JDO Query ? +++
    [junit] Jun 7, 2004 12:39:02 PM EndorsementRuleEngine getRules
    [junit] INFO: *** qrysize=0
    [junit] Jun 7, 2004 12:39:02 PM mytest.EndtRuleTestCase setComplete
    Thanks,
    Andy

    Please ignore this post. The error was caused by the file merge done by
    StarTeam.

  • Promote results with exact match to the query text

    Hi,
    i want to promote to top results where there is exact match to the query text (not results that were found thanks to "Enable stemming" and morphology). Any ideas? maybe a query rule?
    keren tsur

    Check if below can help
    http://www.dotnetmafia.com/blogs/dotnettipoftheday/archive/2010/05/13/wildcard-search-web-part-for-sharepoint-2010.aspx

  • SQL Query - The number of columns specified in "SQL Query" does not match t

    I am creating new UDM for tablespace alert, below is my query,however its failing with error
    SQL Query - The number of columns specified in "SQL Query" does not match the value specified in "SQL Query Output"
    I selected Metric type is number
    SQL Query Format : Two columns
    Query:
    SELECT d.tablespace_name,round(((a.bytes - NVL(f.bytes,0))*100/a.maxbytes),2)
    used_pct FROM sys.dba_tablespaces d,(select tablespace_name, sum(bytes) bytes, sum(greatest(maxbytes,bytes)) maxbytes from sys.dba_data_files group by tablespace_name) a,(select tablespace_name, sum(bytes) bytes from sys.dba_free_space group by tablespace_name) f
    WHERE d.tablespace_name = a.tablespace_name(+) AND d.tablespace_name = f.tablespace_name(+)
    AND NOT (d.extent_management = 'LOCAL' AND d.contents = 'TEMPORARY');
    Any clues why i am getting error.

    SQL> SELECT d.tablespace_name,round(((a.bytes - NVL(f.bytes,0))*100/a.maxbytes),2) used_pct
    2 FROM sys.dba_tablespaces d,(select tablespace_name, sum(bytes) bytes, sum(greatest(maxbytes,bytes)) maxbytes from sys.dba_data_files group by tablespace_name) a,(select tablespace_name, sum(bytes) bytes from sys.dba_free_space group by tablespace_name) f
    3 WHERE d.tablespace_name = a.tablespace_name(+) AND d.tablespace_name = f.tablespace_name(+)
    4 AND NOT (d.extent_management = 'LOCAL' AND d.contents = 'TEMPORARY');
    TABLESPACE_NAME USED_PCT
    MGMT_TABLESPACE .82
    SYSAUX 1.52
    UNDOTBS1 .32
    RMAN .02
    CORRUPT_TS 10.63
    USERS 0
    SYSTEM 2.26
    MGMT_ECM_DEPOT_TS .04
    MGMT_AD4J_TS 0

  • Query remote table not working in PL/SQL

    I have a problem that is killing me to figure out. Basically we trying to query a remote table through PL/SQL and it comes back with invalid column name for the table. But the table exists in the remote database and has the column. The query works fine from the same database outside of PL/SQL, just not in PL/SQL. I'll setup a test case below.
    We have local database called DB1 and remote database called DB2. The table we are querying is called EMP.
    First we create database link:
    create database link DB2.WORLD connect to...
    Test the link:
    select ENAME from [email protected];
    ENAME
    SHAWN
    Works fine.
    Now we put this query inside a PL/SQL block:
    declare
    l_ename varchar2(20);
    begin
    select ename into l_ename from [email protected];
    end;
    This fails with the following error:
    select ename
    ERROR at line 274:
    ORA-06550: line 274, column 7:
    PL/SQL: ORA-00904: invalid column name
    ORA-06550: line 271, column 3:
    PL/SQL: SQL Statement ignored
    ORA-06550: line 279, column 9:
    PL/SQL: ORA-00904: invalid column name
    ORA-06550: line 277, column 3:
    PL/SQL: SQL Statement ignored
    Now, I've tried changing how we select from the remote table, I've put the select statement in a cursor, tried creating a synonym which points to the remote table and selecting using the synonym in PL/SQL, it always returns the same error. But always works outside of PL/SQL.
    Now the user we are connecting to the remote database as, has select on the EMP table, through a role, along with 30 other tables, all the other tables are able to be selected through the database link, in PL/SQL, it's just this one table.
    Additionally I can go to another database, and create the same database link, and the query in PL/SQL works fine to the remote table. It's just this one table, from this one database, that doesn't work just in PL/SQL. Any ideas would be appreciated, I've exhausted everything.
    Also, creating a copy of the table using "create table as select * from..." we can select from the copy of the table using PL/SQL through the database link. The problem is this is a central warehouse table, and is used my multiple applications and updated constantly, so dropping a recreating this table is a last resort.
    Yes, this process did work, for over a year, then suddenly it stopped. Of course, no one made any changes to either database, that's always the case. I know the code didn't change though, it was still timestamped from a year ago.
    Thanks in advance.

    Could this be a variant on an old favourite, viz privileges being granted through roles. We cannot use objects in PL/SQL if our privileges are assigned through a role.
    Maybe what has changed is that instead of being granted privileges on EMP@DB2 directly the privileges have been re-organised so that your user has them granted through a role.
    Cheers, APC

  • Text seen in swf file but not seen in flash pro. publish

    I am using fmath formula component for flash. when i push ctrl+enter, texts in formula object are not seen, there is only tiny squareroot symbol. however, when i open created swf file, everything seems normal. I use flash player version 11.2. . Also, everything is ok in version 9.
    http://www.fmath.info/flash/download.jsp

    Are you setting the font that is being used to display the formula yourself? If so is it properly embedded and issued to the component properly? A quick way to check is to use a known system front (Arial, _sans, etc) and see if text shows up. If it does you're just not either embedding properly or aren't pointing to the font correctly in the component.

  • SQL Server Business Intelligence Development Studio query designer not supported in SQL SERVER 2008 R2

    Hello I am using the SQL Business Inteligence Development studio that comes with SQL 2008 R2. However whenever i try using the graphical query builder It throws an error stating that the server i am connected is not supported. Only SQL servers from
    2005 downwards are supported. dunno whats going on

    Hi ,
    It should not be . Did you create the data source for that server ? Test the connection . In design view add the data source which will be reference to share data source .I am not sure you were able to create data set perfectly ..
    Let me know the specific error . I will help you out.
    Thanks

  • Class oracle.xml.sql.query.OracleXMLQuery not found in import

    I tried to perform load java using a non-sys user :
    loadjava -user user1/passwd -v -o -r Archive.java
    but encountered the following error:
    Errors in Archive:
    ORA-29535: source requires recompilation
    Archive:11: Class oracle.xml.sql.query.OracleXMLQuery not found in import.
    Info: 1 errors
    loadjava: 3 errors
    But if I use sys user I don't have any error:
    loadjava -user sys/manager -v -o -r Arachive.java
    initialization complete
    loading : Archive
    creating : Archive
    resolver :
    resolving: Archive
    Why is this so?
    ANy security setup that I missed?
    Thanks in advance.
    Note:
    my Archive.java file contains:
    // Core Java Classes
    import java.io.*;
    import java.sql.*;
    // Oracle Java classes
    import oracle.jdbc.*;
    import oracle.jdbc.driver.*;
    import oracle.xml.sql.query.OracleXMLQuery;
    null

    <BLOCKQUOTE><font size="1" face="Verdana, Arial">quote:</font><HR>Originally posted by Azman Diron ([email protected]):
    I tried to perform load java using a non-sys user :
    loadjava -user user1/passwd -v -o -r Archive.java
    but encountered the following error:
    Errors in Archive:
    ORA-29535: source requires recompilation
    Archive:11: Class oracle.xml.sql.query.OracleXMLQuery not found in import.
    Info: 1 errors
    loadjava: 3 errors
    But if I use sys user I don't have any error:
    loadjava -user sys/manager -v -o -r Arachive.java
    initialization complete
    loading : Archive
    creating : Archive
    resolver :
    resolving: Archive
    Why is this so?
    ANy security setup that I missed?
    Thanks in advance.
    Note:
    my Archive.java file contains:
    // Core Java Classes
    import java.io.*;
    import java.sql.*;
    // Oracle Java classes
    import oracle.jdbc.*;
    import oracle.jdbc.driver.*;
    import oracle.xml.sql.query.OracleXMLQuery;
    <HR></BLOCKQUOTE>
    Managed to solve this problem.
    Drop all xml objects owned by sys and user1.
    Reload xml objcets for user1 with -force option.
    null

  • Decimals not seen in the query...

    Hi Guys,
    I have a problem with the query..
    I have loaded a KF with 2 decimal places in the cube.
    But when I run a query created on the cube, the digits after the decimal place are not seen in the query.
    For e.g.  the value of the KF in the cube is 9.85...but in the query, it is seen as 9
    please let me know where do i need to make the changes.
    FYI..the unit of the KF is %. Has this got anything to do with the problem ?
    thanks in advance,
    Punkuj...

    Hi Aby,
    Sorry, i just missed to mention this imp point :
    I had done the operation that you have suggested :
    I am getting the following output :
    In the Cube : 9.85
    in the query ( after the decimal selection) : 9.00
    I hope that clears my problem..
    Thanks..
    Punkuj

  • Performance issue with NOT LIKE 'VA%' in Sql Query

    I'm fetching vendor details from po_vendor_sites_all , in the where clause i use vendor_site_code NOT LIKE 'VA%'. Database:10g
    NOT LIKE is reducing the performance, any other option to increase the performance.
    Any suggestions?
    Thanks
    dow005

    Assuming a fairly even distribution of vendor_site_codes and assuming a LIKE 'VA%'
    would pick up 1% of the rows and assuming an index on vendor_site_codes
    and a reasonable clustering we might expect that query to use an index.
    Your query is NOT LIKE 'VA%' which implies picking up 99% of the rows = Full table scan.
    The only option I can think of is to use parallelism in your query (if the system has the
    power to handle it) or perhaps use more where clause restrictions on indexed column(s)
    to reduce the number of rows picked up.
    I've had to assume a lot of things as you don't give any info about the table and data.
    If you could provide more information we might be able to help more.
    See SQL and PL/SQL FAQ
    Edited by: Paul Horth on 02-May-2012 07:12

  • Info area not seen in the "open query"window

    Hi all
    For some reason my Info area is not seen in the "open query"window, in the BEx Anal. can some tell me how to fix this.
    Thanks
    kavi

    Hi kavi
    I am not sure
    Is it Business content infoarea, for me also business content infoarea is not seen, but in "open query" window if u select the icon for create new query,there it will ask for the cuben here u click binaculor icon for search and type ur infocube technical name there u can get ur cube.
    Hoope it is helpfull........Let me know
    Regards
    NR
    Assign points if it is helpfull

  • I have an iPhone, an iPad, 2 iPad mini's and 2 iPod Touch's that all share the same apple id.  I want to separate the iPhone so that texts are not seen on the other devices but I still want them to have the iMessage ability.  How do I do that?

    I have an iPhone, an iPad, 2 iPad mini's and 2 iPod Touch's that all share the same apple id.  I want to separate the iPhone so that texts are not seen on the other devices but I still want them to have the iMessage ability.  How do I do that?

    Not sure if you can have 2 Apple ids contact Apple.com/I'd You may to set IPhone up as new with a different Apple ID & password. Bsydd uk

  • How to pass parameter to the Query String of the Named Queries'SQL

    Firstly to say sorry,I'm a beginner and my English is very little.
    Now I want to know
    How to pass parameter to the Query String of the Named Queries'SQL in the Map editor.
    Thanks.

    benzi,
    Not sure if this is on target for your question, but see #5 in the link below for some web screencasts that show how to pass an input text form field value to the bind variable of a view object. If you're looking for something different, maybe provide some more details such as what you are trying to accomplish and what technology stack you are using - for example, ADF BC, JSF, etc.
    http://radio.weblogs.com/0118231/stories/2005/06/24/jdeveloperAdfScreencasts.html
    Also see section 5.9 and chapter 18 in the developer's guide.
    thanks

  • Query text fileds with ADO/OLEDB connection (Set command over ADO is it pos

    Dear Oracle users,
    I try to query the TEXT field of dba_views but run into the problem that the return
    lengths is limited to 80 characters.
    On iSQLplus I can use the command e.g. "set long 1000".
    If I try to use this command over the ADO connection before I start my SQL query I get an error (assumingly because the set commandos cannot be used over ADO connections ?).
    Is there a way to be able to query text fields with more than 80 characters using ADO/OLEDB ?
    Hope someone can help.
    Best regards,
    Daniel Wetzler

    Hi Jon,
    Well, I think I've got it working, but I'm not really happy with my work around.
    I tried upgrading to version 2 of .NET (I was using v1.1) But there was no change, I also modified the code so that it destroyed the connection to the ADO after each INSERT and before each get string, but it still failed in the middle of the same directory.
    I've just inserted a wait statment which delays every itteration by 200 ms and that actually seems to have fixed things... I say "Seems" because I've been running the program for 45 minutes now and I'm less than a third of the way through the directories! (previous execute time was 7 mins)
    This delay occured to me because the problems started when I changed the parsing sequence to improve the speed of the opperation.
    However, this is not exactly an ideal sollution... Do you think the problem is with the ActiveX "connection" or the actual database connection?
    Any help would be appreciated because the running speed is now immpractical and I'm not sure why this should have worked.
    Thanks - Pete

Maybe you are looking for

  • Downloaded Xcode 5.0.2 and Macbook is running hot

    I just downloaded Xcode 5, and then the update to XCode 5.0.2, and my processor is running over 100%. As a result, my computer is running hot only while XCode is running. Can anyone give a solution why, or how to prevent this issue? Thank you much fo

  • Masking - part of image doesn't want to

    As you can see: a part of the image does not go along with the masking. Any ideas?

  • New windows open as Tabs without features

    Hello, When I open a new window of Firefox, it opens as a tab. But with the address bar missing, bookmarks gone, and Back, Forward, Reload not functional. The tab window is below the other toolbars and not at the top of the window. I have to open 3-4

  • Photoshop CS6 upgrade - installation question

    So, 2 months ago I got a new notebook. I installed CS4 and made sure I got everything working perfectly. Then, this month I installed the CS6 trial and boy it has a crapload of permission-related temp file directory blunders. To narrow it down to jus

  • When I sync I lose music...help

    Sorry, I know this must seem easy to most but I could use alittle help. I have music on my itunes library that I didn't upload from itunes. I now have them on my shuffle mixed with itunes purchased music. Here is the issue, I have 2 seperate librarie