Query o/p directly written intofile present disk in 11g

in 11g i came to know that xml data from table is directly saved in dsik using below code
Saving XML data directly to disk
The below example explains the how to create xml file and save that file in disk
(1) Create logical directory
CREATE OR REPLACE directory utldata as 'C:\temp';
(2)
declare
doc DBMS_XMLDOM.DOMDocument;
xdata XMLTYPE;
CURSOR xmlcur IS
SELECT xmlelement("Employee",XMLAttributes('http://www.w3.org/2001/XMLSchema' AS
"xmlns:xsi",
'http://www.oracle.com/Employee.xsd' AS
"xsi:nonamespaceSchemaLocation")
,xmlelement("EmployeeNumber",e.empno)
,xmlelement("EmployeeName",e.ename)
,xmlelement("Department",xmlelement("DepartmentName",d.dname)
,xmlelement("Location",d.loc)
FROM emp e
, dept d
WHERE e.DEPTNO=d.DEPTNO;
begin
OPEN xmlcur;
FETCH xmlcur INTO xdata;
CLOSE xmlcur;
doc := DBMS_XMLDOM.NewDOMDocument(xdata);
DBMS_XMLDOM.WRITETOFILE(doc, 'UTLDATA/marco.xml');
end;
The file with name as marco.xml is created and saved in this folder C:\temp
The content of file is shown below
- <Employee xmlns:xsi="http://www.w3.org/2001/XMLSchema" xsi:nonamespaceSchemaLocation="http://www.oracle.com/Employee.xsd">
<EmployeeNumber>7369</EmployeeNumber>
<EmployeeName>SMITH</EmployeeName>
- <Department>
<DepartmentName>RESEARCH</DepartmentName>
<Location>DALLAS</Location>
</Department>
</Employee>
similarly is there any method for o/p of the query reslut directly written into file which is in disk in 11g

There are various ways, but generally you would use UTL_FILE to write out data to a file:
CREATE OR REPLACE PROCEDURE run_query(p_sql IN VARCHAR2
                                     ,p_dir IN VARCHAR2
                                     ,p_header_file IN VARCHAR2
                                     ,p_data_file IN VARCHAR2 := NULL) IS
  v_finaltxt  VARCHAR2(4000);
  v_v_val     VARCHAR2(4000);
  v_n_val     NUMBER;
  v_d_val     DATE;
  v_ret       NUMBER;
  c           NUMBER;
  d           NUMBER;
  col_cnt     INTEGER;
  f           BOOLEAN;
  rec_tab     DBMS_SQL.DESC_TAB;
  col_num     NUMBER;
  v_fh        UTL_FILE.FILE_TYPE;
  v_samefile  BOOLEAN := (NVL(p_data_file,p_header_file) = p_header_file);
BEGIN
  c := DBMS_SQL.OPEN_CURSOR;
  DBMS_SQL.PARSE(c, p_sql, DBMS_SQL.NATIVE);
  d := DBMS_SQL.EXECUTE(c);
  DBMS_SQL.DESCRIBE_COLUMNS(c, col_cnt, rec_tab);
  FOR j in 1..col_cnt
  LOOP
    CASE rec_tab(j).col_type
      WHEN 1 THEN DBMS_SQL.DEFINE_COLUMN(c,j,v_v_val,2000);
      WHEN 2 THEN DBMS_SQL.DEFINE_COLUMN(c,j,v_n_val);
      WHEN 12 THEN DBMS_SQL.DEFINE_COLUMN(c,j,v_d_val);
    ELSE
      DBMS_SQL.DEFINE_COLUMN(c,j,v_v_val,2000);
    END CASE;
  END LOOP;
  -- This part outputs the HEADER
  v_fh := UTL_FILE.FOPEN(upper(p_dir),p_header_file,'w',32767);
  FOR j in 1..col_cnt
  LOOP
    v_finaltxt := ltrim(v_finaltxt||','||lower(rec_tab(j).col_name),',');
  END LOOP;
  --  DBMS_OUTPUT.PUT_LINE(v_finaltxt);
  UTL_FILE.PUT_LINE(v_fh, v_finaltxt);
  IF NOT v_samefile THEN
    UTL_FILE.FCLOSE(v_fh);
  END IF;
  -- This part outputs the DATA
  IF NOT v_samefile THEN
    v_fh := UTL_FILE.FOPEN(upper(p_dir),p_data_file,'w',32767);
  END IF;
  LOOP
    v_ret := DBMS_SQL.FETCH_ROWS(c);
    EXIT WHEN v_ret = 0;
    v_finaltxt := NULL;
    FOR j in 1..col_cnt
    LOOP
      CASE rec_tab(j).col_type
        WHEN 1 THEN DBMS_SQL.COLUMN_VALUE(c,j,v_v_val);
                    v_finaltxt := ltrim(v_finaltxt||',"'||v_v_val||'"',',');
        WHEN 2 THEN DBMS_SQL.COLUMN_VALUE(c,j,v_n_val);
                    v_finaltxt := ltrim(v_finaltxt||','||v_n_val,',');
        WHEN 12 THEN DBMS_SQL.COLUMN_VALUE(c,j,v_d_val);
                    v_finaltxt := ltrim(v_finaltxt||','||to_char(v_d_val,'DD/MM/YYYY HH24:MI:SS'),',');
      ELSE
        v_finaltxt := ltrim(v_finaltxt||',"'||v_v_val||'"',',');
      END CASE;
    END LOOP;
  --  DBMS_OUTPUT.PUT_LINE(v_finaltxt);
    UTL_FILE.PUT_LINE(v_fh, v_finaltxt);
  END LOOP;
  UTL_FILE.FCLOSE(v_fh);
  DBMS_SQL.CLOSE_CURSOR(c);
END;This allows for the header row and the data to be written to seperate files if required.
e.g.
SQL> exec run_query('select * from emp','TEST_DIR','output.txt');
PL/SQL procedure successfully completed.Output.txt file contains:
empno,ename,job,mgr,hiredate,sal,comm,deptno
7369,"SMITH","CLERK",7902,17/12/1980 00:00:00,800,,20
7499,"ALLEN","SALESMAN",7698,20/02/1981 00:00:00,1600,300,30
7521,"WARD","SALESMAN",7698,22/02/1981 00:00:00,1250,500,30
7566,"JONES","MANAGER",7839,02/04/1981 00:00:00,2975,,20
7654,"MARTIN","SALESMAN",7698,28/09/1981 00:00:00,1250,1400,30
7698,"BLAKE","MANAGER",7839,01/05/1981 00:00:00,2850,,30
7782,"CLARK","MANAGER",7839,09/06/1981 00:00:00,2450,,10
7788,"SCOTT","ANALYST",7566,19/04/1987 00:00:00,3000,,20
7839,"KING","PRESIDENT",,17/11/1981 00:00:00,5000,,10
7844,"TURNER","SALESMAN",7698,08/09/1981 00:00:00,1500,0,30
7876,"ADAMS","CLERK",7788,23/05/1987 00:00:00,1100,,20
7900,"JAMES","CLERK",7698,03/12/1981 00:00:00,950,,30
7902,"FORD","ANALYST",7566,03/12/1981 00:00:00,3000,,20
7934,"MILLER","CLERK",7782,23/01/1982 00:00:00,1300,,10

Similar Messages

  • My computer is constantly freezing due to spikes in "data written" in my "disk activity," any idea how to fix this?

    The more I use my Macbook Pro lately, the more it freezes. I check the control panal immediately after it freezes and I notice a spike in "date written" under the "disk activity" catagory. Any ideas what is causing this and how to fix it?

    Open Disk utility and run Repair Disk in First Aid.
    Ciao.

  • Lightbox images change direction in mid-presentation

    My lightbox images are changing direction in mid-presentation. They started sliding in horizontally from the right edge of frame. After 4 or 5 are presented, the next images slide in from the left side of frame.

    Is there anything different about that slide or set of slides? Have you tried copying the slides into a new Presentation or opening the Presentation under a different user on your computer?
    What are you using to advance your presentation?

  • Query based on direction

    Hi
    Does anyone know if its possible to query data based on direction eg. select all objects that are east of object A.
    Thanks
    K

    K
    I quickly changed that function so it returns the direction (N, E, S, W) instead of the actual argument between two point geometries. So for polygons, I would take the centroid or a point_on_surface to evaluate the direction.
    you could use it as follows.
    select b.name, get_compas(SDO_GEOM.SDO_POINTONSURFACE(a.geometry, 0.05),
    SDO_GEOM.SDO_POINTONSURFACE(b.geometry, 0.05))
    from your_polygon_table a, your_polygon_table b
    where a.id = YOUR_FILTER_ID
    OR
    select b.name, b.id
    from your_polygon_table a, your_polygon_table b
    where a.id = YOUR_FILTER_ID
    and get_compas(SDO_GEOM.SDO_POINTONSURFACE(a.geometry, 0.05),
    SDO_GEOM.SDO_POINTONSURFACE(b.geometry, 0.05)) = 'E'
    Here is the raw function:
    my_geometry1, my_geometry2 must be non-geodetic 2D points gemeotries
    the function returns the direction (N, E, S, W) of the second point relative to the first
    create or replace function GET_COMPAS
    (my_geometry1 IN MDSYS.SDO_GEOMETRY, my_geometry2 IN MDSYS.SDO_GEOMETRY)
    RETURN VARCHAR2 AS
    my_XCoord2 REAL;
    my_YCoord2 REAL;
    my_XCoord1 REAL;
    my_YCoord1 REAL;
    pi CONSTANT REAL := 4 * ATAN(1);
    my_DeltaX REAL;
    my_DeltaY REAL;
    my_Argument REAL;
    my_TGOmega REAL;
    my_Rotation REAL;
    direction varchar2(1);
    BEGIN
    my_XCoord1 := my_geometry1.SDO_POINT.X;
    my_YCoord1 := my_geometry1.SDO_POINT.Y;
    my_XCoord2 := my_geometry2.SDO_POINT.X;
    my_yCoord2 := my_geometry2.SDO_POINT.Y;
    my_DeltaX := my_XCoord2 - my_XCoord1;
    my_DeltaY := my_YCoord2 - my_YCoord1;
    IF (my_DeltaY = 0) THEN
    IF (my_DeltaX > 0) THEN
    my_Argument := pi / 2;
    ELSE
    my_Argument := 3 * (pi / 2);
    END IF;
    ELSE
    my_TGOmega := ABS(my_DELTAX) / ABS(my_DeltaY);
    IF (my_DeltaX > 0) THEN
    IF (my_DeltaY > 0) THEN
    my_Argument := ATAN(my_TGOmega);
    ELSE
    my_Argument := pi - ATAN(my_TGOmega);
    END IF;
    ELSE
    IF (my_DeltaY > 0) THEN
    my_Argument := 2 * pi - ATAN(my_TGOmega);
    ELSE
    my_Argument := pi + ATAN(my_TGOmega);
    END IF;
    END IF;
    END IF;
    direction := case
    when my_argument <= (pi / 4) then 'N'
    when ((pi / 4) < my_argument AND my_argument < 3*(pi / 4)) then 'E'
    when (3* (pi / 4) <= my_argument AND my_argument <= 5*(pi / 4)) then 'S'
    when (5* (pi / 4) < my_argument AND my_argument < 7*(pi / 4)) then 'W'
    when 7* (pi / 4) <= my_argument then 'N'
    end;
    return direction ;
    END;
    Edited by: lucvanlinden on Nov 16, 2008 10:49 AM

  • Query Key Definition when Inheritance is present

    Let me describe the domain model I am working with. There is a ProjectAgreement class that is a Contract (via extends) that is a VersionedObject (via extends). There is also a ProjectAgreementVersion class that is a ContractVersion (via extends) that is an ObjectVersion (via extends). The domain model also specifies that a VersionedObject has a collection of ObjectVersion instances.
    From the data model perspective, there are four tables of interest : CONTRACT, PROJECT_AGREEMENT, CONTRACT_VERSION, and PROJECT_AGREEMENT_VERSION. The persistent VersionedObject and ObjectVersion attributes are captured in these tables. The CONTRACT_ID column is present on both CONTRACT and PROJECT_AGREEMENT tables and is the primary key in both those tables. The CONTRACT_VERSION_ID column is present on both CONTRACT_VERSION and PROJECT_AGREEMENT_VERSION and is the primary key on both those two tables. There is also a CONTRACT_FK column on the CONTRACT_VERSION table to house the one to many relationship there.
    What I am attempting to do is add a OneToOneQueryKey to the Descriptor, at Descriptor definition time, for ProjectAgreementVersion so that I can write an expression of the form projectAgreementVersionExpression.get("projectAgreementQueryKey").get("someAspectOfAProjectAgreementInstance") ... While TOPLink doesn't complain at startup, I do get an invalid query key exception at run time when this relationship is attempted to be traversed via this query key.
    Here is one version of the query key as I have it defined against the ProjectAgreementVersion Descriptor:
    OneToOneQueryKey projectAgreementQueryKey = new OneToOneQueryKey();
              projectAgreementQueryKey.setName("projectAgreementQueryKey");
              projectAgreementQueryKey.setReferenceClass(ProjectAgreement.class);
              ExpressionBuilder x = new ExpressionBuilder();
              projectAgreementQueryKey.setJoinCriteria(x.getField("CONTRACT_VERSION.CONTRACT_VERSION_ID").equal(x.getParameter("PROJECT_AGREEMENT_VERSION.CONTRACT_VERSION_ID"))
              .and(x.getField("PROJECT_AGREEMENT.CONTRACT_ID").equal(x.getParameter("CONTRACT_VERSION.CONTRACT_FK"))));
              result.addQueryKey(projectAgreementQueryKey);
    Anybody have some ideas of the right combination of getField() and getParameter() calls against the ExpressionBuilder so that the query key is valid in TOPLink's eyes? Could the problem be that I must define the query key via a descriptor amendment method?
    Thanks,
    Doug

    James, thanks for the response. I had originally created and added the OneToOneQueryKey against the ProjectAgreementVersion Descriptor as the Descriptor was being built. I later attempted to defer the QueryKey creation and addition to the Descriptor to Descriptor amendment time, but got the same result.
    I also verify the Descriptor's QueryKeys after adding the OneToOneQueryKey and at the time an Expression is being built to use the QueryKey. At both times, a QueryKey exists by the given name as well as how you suggested. It appears that the QueryKey is present on the ProjectAgreementVersion Descriptor, but is simply invalid. Here is the stack trace this is generated when the ReadAllQuery is executed with the built Expression that uses this QueryKey:
    [java] [2005-07-06 15:53:31.407] LOCAL EXCEPTION STACK:
    [java] EXCEPTION [TOPLINK-6015] (TopLink - 9.0.3 (Build 423)): oracle.topli
    nk.exceptions.QueryException
    [java] EXCEPTION DESCRIPTION: Invalid query key [projectAgreementQueryKey]
    in expression.
    [java] QUERY: ReadAllQuery(ProjectAgreement)
    [java] at oracle.toplink.exceptions.QueryException.invalidQueryKeyInExp
    ression(Unknown Source)
    [java] at oracle.toplink.internal.expressions.RelationExpression.normal
    ize(Unknown Source)
    [java] at oracle.toplink.internal.expressions.CompoundExpression.normal
    ize(Unknown Source)
    [java] at oracle.toplink.internal.expressions.CompoundExpression.normal
    ize(Unknown Source)
    [java] at oracle.toplink.internal.expressions.SQLSelectStatement.normal
    ize(Unknown Source)
    [java] at oracle.toplink.internal.expressions.SubSelectExpression.norma
    lize(Unknown Source)
    [java] at oracle.toplink.internal.expressions.FunctionExpression.normal
    ize(Unknown Source)
    [java] at oracle.toplink.internal.expressions.CompoundExpression.normal
    ize(Unknown Source)
    [java] at oracle.toplink.internal.expressions.CompoundExpression.normal
    ize(Unknown Source)
    [java] at oracle.toplink.internal.expressions.CompoundExpression.normal
    ize(Unknown Source)
    [java] at oracle.toplink.internal.expressions.SQLSelectStatement.normal
    ize(Unknown Source)
    [java] at oracle.toplink.internal.queryframework.ExpressionQueryMechani
    sm.buildNormalSelectStatement(Unknown Source)
    [java] at oracle.toplink.internal.queryframework.ExpressionQueryMechani
    sm.prepareCursorSelectAllRows(Unknown Source)
    [java] at oracle.toplink.queryframework.CursorPolicy.prepare(Unknown So
    urce)
    [java] at oracle.toplink.queryframework.ReadAllQuery.prepare(Unknown So
    urce)
    [java] at oracle.toplink.queryframework.DatabaseQuery.checkPrepare(Unkn
    own Source)
    [java] at oracle.toplink.queryframework.DatabaseQuery.execute(Unknown S
    ource)
    [java] at oracle.toplink.queryframework.ReadQuery.execute(Unknown Sourc
    e)
    [java] at oracle.toplink.publicinterface.Session.internalExecuteQuery(U
    nknown Source)
    [java] at oracle.toplink.threetier.ServerSession.internalExecuteQuery(U
    nknown Source)
    [java] at oracle.toplink.threetier.ClientSession.internalExecuteQuery(C
    lientSession.java:269)
    [java] at oracle.toplink.publicinterface.Session.executeQuery(Unknown S
    ource)
    [java] at oracle.toplink.publicinterface.Session.executeQuery(Unknown S
    ource)
    Any other ideas?
    Thanks,
    Doug

  • Query to get direct report and anyone under them.

    Hello
    Does anyone have a query that would give me a supervisor and his/her direct reports and any direct reports of someone that reports to that supervisor?
    For an example if Kim reports to Jon and Jon reports to Doug and Doug reports to Steve.
    Example
    Steve's direct reports, would be Jon, Doug and Kim
    Jon's direct report, would be Kim.
    Any Idea's
    Thanks,
    KRE

    Please check previous threads -
    Re: How to find loop in Supervisor Hirarchy.
    Supervisor Hierarchy
    Re: Query for Supervisor Hierarchy for top most manager
    Cheers,
    VB

  • Can FCE 4 import directly from Panasonic Hard Disk Drive camcorder

    I have FCE 3.5, and to import from my Panasonic SDR-H18 hard disk drive camcorder I need to convert from MPEG-4 to DV using MPEG Streamclip.
    Can I import video directly from my Panasonic via a USB port to FCE 4, reading MPEG-4 without converting to DV.

    FCE can only capture via FireWire.
    FCE 4 will only capture DV and AVCHD. It won't capture the MPEG formats used by standard definition HDD and DVD cameras.

  • No direct attachment of SAN disks to VM possible in OVM Manager

    For performance reasons I'd like to attach a SAN disk directly to a VM. This is possible in the vm.cfg file:
    disk = ['file:/OVS/running_pool/53_EL5U1_X86_64_PVM_4GB_oracle10g/system.img,hda,w',
    'file:/OVS/running_pool/53_EL5U1_X86_64_PVM_4GB_oracle10g/oracle10g_x86_64.img,hdb,w',
    *'phy:/dev/mapper/testdisk,hdc,w',*
    It works perfectly and direct IO from the VM to this disk is 10 times faster than through a virtual disk on OCFS.
    Is this supported by Oracle? When will it be configurable in OVM Manager?
    Regards
    Michael

    I believe it is supported by Oracle, but you're better off checking directly with Oracle support. Hopefully it'll be configurable in Oracle VM Manager eventually, but that's just a wish from me too. :)

  • Keynote suddenly changes direction in mid-presentation!

    Hi all,
    I'm experiencing a weird problem with Keynote 09 (to which I recently upgraded) and a quick Google search hasn't revealed anything conclusive:
    During the presentation, Keynote suddenly decides to *go back* rather than forward to the next slide. Each click then goes back one further slide.
    Is there anything I am doing wrong? I am re-using and updating presentations created in Keynote 08.
    I need to give a lecture to 400 people tomorrow. This will have to be recorded from within Keynote so that I can place it online. I therefore can't really afford fiddling with things during the lecture. Any suggestions?
    Sebastian

    Is there anything different about that slide or set of slides? Have you tried copying the slides into a new Presentation or opening the Presentation under a different user on your computer?
    What are you using to advance your presentation?

  • Query regarding Replicated Caches that Persist on Disk

    I need to build a simple fault tolerant system that will replicate cache
    entries across a small set of systems. I want the cache to be persistent
    even if all cluster members are brought down.
    Is this something that requires writing a custom CacheStore implementation
    or is there a configuration that I can use that uses off-the-shelf pluggable
    caches? The documentation was somewhat vague about this.
    If I need or want to write my own CacheStore, when there is a cache write-through
    operation how does Coherence figure out which member of the cluster will do
    the actual work and persist a particular object?

    Hi rhanckel,
    write-through and cache stores are not supported with replicated caches, you need to use partitioned (distributed) cache for cache stores.
    You can use a number of out-of-the-box cache stores (Hibernate, TopLink, etc) or you can write your own if you don't find a suitable one. Configuration is the same, you need to specify the cache store class name appropriately in the <cache-store-scheme> child element of the <read-write-backing-map> element.
    You can look at the documentation for it on the following urls:
    http://wiki.tangosol.com/display/COH34UG/cachestore-scheme
    http://wiki.tangosol.com/display/COH34UG/read-write-backing-map-scheme
    http://wiki.tangosol.com/display/COH34UG/Read-Through%2C+Write-Through%2C+Write-Behind+Caching+and+Refresh-Ahead
    As for how Coherence figures out which member needs to write:
    in a partitioned cache, each cache key has an owner node which is algorithmically determined from the key itself and the distribution of partitions among nodes (these two do not depend on the actual data in the cache). More specifically, any key is always mapped to the same partition (provided you did not change the partition-count or the partition affinity-related settings, although if you did the latter, then it is arguably not the same key anymore). Therefore Coherence just needs to know, who owns a certain partition. Hence, the owner of that partition is the owner of the key, and that node is tasked with every operation related to that key.
    Best regards,
    Robert

  • Saving or Saving As Directly from Photoshop to disk AND into Lightroom catalog?

    If I create a file in Photoshop without coming from Lightroom or duplicate a file in Photoshop that I opened from Lightroom, is there a way to save the new file from Photoshop to the desired directory on my local hard drive and simultaneously have it added to my Lightroom catalog? Or do I need to save the file then import the file into the catalog? I'm working with CS6.

    W-W, just a slight addendum to your reply. You CAN use "Save As" from within PS after an "Edit In", and even change the file-type AND the destination folder, and the file WILL be returned to LR. The caveat is that the file-type has to be either Tiff or PSD (it doesn't have to be the same as what's set in the External Editing tab of the Preferences), it just can't be a Jpeg, and using a different folder will lose the stacking. In fact you can make multiple "save as" commands, and they'll all appear back in Lightroom provided they are Tiff or PSD (though you'll need to use a different file-name for the second or more derivatives of the same file-type if you want them all in the same folder and thus stacked with the original).
    That's on Windows using LR4.3 and CS5....but I think it works that way on other versions as well. One further caveat, however, is that where an ACR mis-match occurs (as in my current setup) when using the Edit-In operation, the option to "Open Anyway" would have to be used to make use of this option....if you use "Render Using Lightroom" the Tiff/PSD is created in Lightroom and subsequent "save as" files are NOT brought back into LR.
    Apologies for the complicated post, but thought it important to clarify that "Save As" can work.

  • Error message -50, can not read or be written on to disk--- Help

    Shuffle 1'st generation, 2nd owner
    I have the reset utility (which was successful- supposedly) but I still can not put music on the the shuffle. Then I restored but an error message came up - can not be restored (1418) Is the shuffle only aloud to be on one computer?? What do I need to do to fix it... help!

    WINAMP 5.32 is the answer. I had the same
    problem as you. Yesterday I got a message about the
    latetest version of Winamp and it mentioned support
    for iPods. I tried it and it works GREAT!! It's MUCH
    FASTER than iTunes as well.
    Good luck with that... WinAmp 5.32 has been out for a while and it has its share of problems. A quick search of THEIR support forums for "shuffle" got these results:
    http://forums.winamp.com/search.php?s=d3bd0dd9ece931647c032929ab6bf832&action=sh owresults&searchid=7225141&sortby=lastpost&sortorder=descending

  • Is there a way to rename an ASM DiskGroup from the Disks in 11g ?

    Hello,
    I've been looking for that and I didn't find anything except that it may not have been possible with 10g.
    I'd like to rename a diskgroup to reuse it in the same ASM instance from a netapp snapclone. Of course I would prefer to do it without any ASM instance accessing it but afterall, if there is a way... (even not supported; it's to enable a set of testing database all together) !
    Thank you for your help.
    Gregory

    Hi Gregory,
    since all information about ASM Disk, Diskgroup, etc. are stored directly on the disks there is no way to rename the diskgroup at the moment (hopefully in the future, like a way to change diskgroup redundance).
    Only option you have is to create a new diskgroup and copy the datafiles over with either RMAN or DBMS_FILE_TRANSFER. Then rename the file to point to new location. (alter datafile).
    But since you want to duplicate it into a different ASM Diskgroup, that will not help you. The option left is to change the Disk Header information directly. Unfortunately I do not have any information about the disk header itself...
    Hopefully someone can give you a hint what all to change there if you would DD this to a file change it and store it back...
    Regards
    Sebastian

  • Query is allocating too large memory error in OBIEE 11g

    Hi ,
    We have one pivot table(A) in our dashboard displaying , revenue against a Entity Hierarchy (i.e we have 8 levels under the hierarchy) And we have another pivot table (B) displaying revenue against a customer hierarchy (3 levels under it) .
    Both tables running fine under our OBIEE 11.1.1.6 environment (windows) .
    After deploying the same code (RPD&catalog) in a unix OBIEE 11.1.1.6 server , its throwing the below error ,while populating Pivot table A :
    Error Codes: OPR4ONWY:U9IM8TAC:OI2DL65P
    *State: HY000. Code: 10058. [NQODBC] [SQL_STATE: HY000] [nQSError: 10058] A general error has occurred. [nQSError: 43113] Message returned from OBIS. [nQSError: 96002] Essbase Error: Internal error: Query is allocating too large memory ( > 4GB) and cannot be executed. Query allocation exceeds allocation limits. (HY000)*
    But , pivot table B is running fine . Help please !!!!!
    data source used : essbase 11.1.2.1
    Thanks
    sayak

    Hi Dpka ,
    Yes ! we are hitting a seperate essbase server with Linux OBIEE enviorement .
    I'll execute the query in essbase and get back to you !!
    Thanks
    sayak

  • Cannot Start Presentation Services - OBIEE 11g( 11.1.1.5)

    Hi, I recently upgraded BIApps RPD and Web Catalog.
    When I am trying to restart OBIEE services, presentation service (OBIPS) throws the following error and is shutting down
    [OBIPS] [ERROR:16] [] [saw.dms.conext.unwrap] [ecid: 004dfXFEGCYDGf9_zd9DiW0002qk000001,0:61] [tid: 1084406080] Failed to restore ctx from reference[[
    File:executioncontext.cpp
    Line:286
    Location:
         saw.dms.conext.unwrap
         saw.threadpool
         saw.threads
    ecid: 004dfXFEGCYDGf9_zd9DiW0002qk000001,0:61
    ThreadID: 1084406080
    All servers (Adminserver, Managedserver, Node Manager,) are up and running.
    Did anyone encounter this issue before? Really appreciate your help
    Thanks

    I verified all the log file and also we didn't modify any config files after upgrade.
    I Just restarted the presentation services from EM and everything is running fine now.
    Thanks

Maybe you are looking for

  • How do I change the value of the Order By field in an MP3 file?

    good day Guys, I'm new here in the forum and I have a question that is "breaking" the order of my songs and my head too ... How do I change the value of the Order By field in an MP3 file? for example, in the photo below, the song "The Bad Touch" is c

  • Quicktime Update No Longer Plays Any of My MP4 or M4V Video Files!?

    Hi there everyone. I am absolutely desperate to find a solution to my problem now, so I was hoping someone on here might be able to help me out. I have a G4 that I use as a media center via frontrow to play my huge collection of MP4 and M4V video fil

  • Can I "delete" channels so I don't have to flip through them?

    On Comcast I could delete certain channels from my line up - like all the news, religious and foreign-language stations.  Verizon has 10x more of these channels and sometimes I just like to flip through the channels.  Is there a way to delete them so

  • Mail - New Message command stalls application

    In the last week, attempts to create a "New Message" in Mail result in the POD (Pinwheel Of Death). This state will usually go on for 1 or 2 minutes. It also occurs if "Reply" or "Forward" is selected. Sometimes I can avoid it by clicking on the comm

  • System reserved keyboard command problems

    Running Aperture 3.45 on 10.8.4. When I do a command 5 in Aperture to set the tag color to blue, it doesn't do anything. If I look at my keyboard layout, it has the keys from 1-5 set as system reserved. I read an earlier comment where turning off spa