How to delete a Analytic Workspace even other session still attached it

how to delete a Analytic Workspace even other session still attached that Analytic Workspace?
or how to detach the Analytic Workspace with other session?
or how to find session which connected to the Analytic Workspace?
Thanks

Here are the sql queries which will tell you who is attached to which aw in which mode.
select username, sid, serial#, owner||'.'||daws.aw_name aw,
decode(attach_mode, 'READ WRITE', 'RW',
'READ ONLY', 'RO', attach_mode) attch,
trunc(pool_size/1024)||' KB' as curr_opp_kb
from dba_aws daws, gv$aw_olap gvawo , gv$aw_calc gvawc, gv$session
where daws.aw_number = gvawo.aw_number and
sid = gvawo.session_id and gvawc.session_id=sid
order by owner, sid, daws.aw_name;
select a.owner,a.aw_name,b.attach_mode
from dba_aws a ,v$aw_olap b
where a.aw_number = b.aw_number;
You might have to kill the RO session before deleting the AW.
Thanks
Brijesh

Similar Messages

  • How to delete parent table data even though it has child records

    hi all,
    How to delete parent table data even though it has child records.
    ex: delete from pa_request cascade constraints;
    But this command is not working .
    Regards,
    P Prakash

    833560 wrote:
    ex: delete from pa_request cascade constraints;cascade constraints is DROP table option. It can't be used with DELETE. You need to delete child rows first or drop foreign keys and recreate them with ON DELETE CASCADE. Then:
    delete from pa_request will automatically delete child rows. However, personally I don't like ON DELETE CASCADE. You can, by mistake, delete half of your database without even realizing it.
    SY.

  • How to delete old entires in batch input session sm35?

    How to delete old entires in batch input session sm35?
    Points assigned!
    Thank you.

    In SM35, highlight each entry to be deleted and from the Menu ->Session ->Delete

  • Cannot able to delete the Analytical Workspace and its objects.

    Hi,
    My Analytical workspace (11.2.0.2 B) seems to be corrupted. I could not able to attach the workspace through AWM and i cannot even able to delete it. I found there is no other session attached the Work space. I used the below query to find the locks on the work space.
    SELECT
    username || ' ('||SID||','||serial#||','||
    DECODE(server,
    'DEDICATED','D',
    'SHARED', 'S', 'U')||')' usn,
    gvawo.inst_id,
    owner||'.'||daws.aw_name||' ('||
    DECODE(attach_mode,
    'READ WRITE', 'RW',
    'READ ONLY', 'RO',
    'MULTIWRITE', 'MW',
    'EXCLUSIVE', 'XW', attach_mode)||')' aw,
    generation
    FROM
    DBA_AWS daws,
    gv$aw_olap gvawo,
    gv$aw_calc gvawc,
    gv$session gvses
    WHERE
    daws.aw_number = gvawo.aw_number
    AND SID = gvawo.session_id
    AND gvawc.session_id = SID
    AND gvawo.inst_id = gvawc.inst_id
    AND gvses.inst_id = gvawc.inst_id
    ORDER BY
    username,
    SID,
    daws.aw_name
    When i try to delete the work space i am getting the following error. I cannot able to attach the work space also.
    An error has occurred on the server
    Error class: Express Failure
    Server error descriptions:
    DPR: cannot create server cursor, Generic at TxsOqDefinitionManager::generic<CommitRoot>
    INI: XOQ-00703: error executing OLAP DML command "(AW DELETE DWH_REP.SAMPLE : ORA-37163: cannot delete or truncate AW with dependent CUBES or CUBE DIMENSIONS
    *)", Generic at TxsOqAWManager::executeCommand*
    Please help me to resolve this.
    Regards,
    Raghav

    Hi,
    When i try to execute your statement through Toad, i am getting the below error.
    ORA-03113: end-of-file on communication channel
    But the same is working for other AW which has not corrupted.
    When i try to open the corrupted work space through AWM, i get the below error.
    Unable to attach DWH_REP.SAMPLE Analytic Workspace read write
    java.sql.SQLException: No more data to read from socket
    at oracle.olap.awm.connection.AwAttachmentManager.attachInThread(Unknown Source)
    at oracle.olap.awm.navigator.node.WorkspaceNode.setExpanded(Unknown Source)
    at oracle.bali.ewt.dTree.DTreeButtonDecoration.processMouseEvent(Unknown Source)
    at oracle.bali.ewt.dTree.DTreeStackingDecoration.processMouseEvent(Unknown Source)
    at oracle.bali.ewt.dTree.DTree.processMouseEvent(Unknown Source)
    at oracle.olap.awm.navigator.Navigator.processMouseEvent(Unknown Source)
    at java.awt.Component.processEvent(Unknown Source)
    at java.awt.Container.processEvent(Unknown Source)
    at oracle.bali.ewt.LWComponent.processEventImpl(Unknown Source)
    at oracle.bali.ewt.dTree.DTree.processEventImpl(Unknown Source)
    at oracle.bali.ewt.LWComponent.processEvent(Unknown Source)
    at java.awt.Component.dispatchEventImpl(Unknown Source)
    at java.awt.Container.dispatchEventImpl(Unknown Source)
    at java.awt.Component.dispatchEvent(Unknown Source)
    at java.awt.LightweightDispatcher.retargetMouseEvent(Unknown Source)
    at java.awt.LightweightDispatcher.processMouseEvent(Unknown Source)
    at java.awt.LightweightDispatcher.dispatchEvent(Unknown Source)
    at java.awt.Container.dispatchEventImpl(Unknown Source)
    at java.awt.Window.dispatchEventImpl(Unknown Source)
    at java.awt.Component.dispatchEvent(Unknown Source)
    at java.awt.EventQueue.dispatchEventImpl(Unknown Source)
    at java.awt.EventQueue.access$000(Unknown Source)
    at java.awt.EventQueue$1.run(Unknown Source)
    at java.awt.EventQueue$1.run(Unknown Source)
    at java.security.AccessController.doPrivileged(Native Method)
    at java.security.AccessControlContext$1.doIntersectionPrivilege(Unknown Source)
    at java.security.AccessControlContext$1.doIntersectionPrivilege(Unknown Source)
    at java.awt.EventQueue$2.run(Unknown Source)
    at java.awt.EventQueue$2.run(Unknown Source)
    at java.security.AccessController.doPrivileged(Native Method)
    at java.security.AccessControlContext$1.doIntersectionPrivilege(Unknown Source)
    at java.awt.EventQueue.dispatchEvent(Unknown Source)
    at java.awt.EventDispatchThread.pumpOneEventForFilters(Unknown Source)
    at java.awt.EventDispatchThread.pumpEventsForFilter(Unknown Source)
    at java.awt.EventDispatchThread.pumpEventsForHierarchy(Unknown Source)
    at java.awt.EventDispatchThread.pumpEvents(Unknown Source)
    at java.awt.EventDispatchThread.pumpEvents(Unknown Source)
    at java.awt.EventDispatchThread.run(Unknown Source)

  • How can I query analytical workspace ?

    Hello,
    I am using EBS module ODP which uses Analytical workspaces.
    I do not know at all technical subject about Analytical workspaces and OLAP.
    In ODP , I create measures. And ODP provides some report to display and update data stored in my measures.
    I would like to extract data from my measures. How can I do this ?
    => How can I find the internal measure name, the measure column or attribute ...
    => Are there functions to extract the data (like sql language to read in tables )
    => Can anyone give me some commands, and examples to start extracting simple data from my measures(I have had a look to Oracle documentation, but they are very technical and I don't know how to start).

    There are views available in OLAPSYS schema which will give information about the Analytical workspaces and their objects.
    For extracting data from Analytic workspaces you may use the TABLE FUNCTIONS.
    You may refer 'B14346-01 - Oracle OLAP DML Reference 10g Release 2 (10.2)' for details.
    Regards,
    Maruthi

  • How to deattach an analytic workspace

    when i try to attach a AW again, some time there will be a error like "Unable to attach OLAPTRAIN.IDSS Analytic Workspace read write", how should i do?
    for example,
    first time, i attached an AW from AWM, and then i closed the AWM.
    then some time if i restart AWM and try to attach an AW, such error will be raised. for such kind of error, how to deattach it?

    When you close AWM, it should detach it. Not sure why it is not doing that.
    Two things:
    (1). By default, AWM will attach the AW in RW mode. To attach the AW in RO mode, do the following:
    In your ..\awm\bin\awm.properties file add the following line:
    _aw.model.show.attach=y*
         After that you will see options (RO, RW, RWX) when attaching any AW.
    Its always preferable to attach the AW in RO, if you will not be making any changes to AW during that session.
    (2). Sometimes we may have to KILL the db session that has the AW attached in RW mode.
    Using the following query, find the SQL session that has the AW attached in RW mode and then KILL it.
    select username, sid, serial#, owner||'.'||daws.aw_name aw, logon_time,
    decode(attach_mode,'READ WRITE','RW','READ ONLY','RO',attach_mode) attch,
    machine, terminal, program, type, status
    from   dba_aws daws,v$aw_olap vawo, v$aw_calc vawc,v$session
    where  daws.aw_number=vawo.aw_number
    and  sid=vawo.session_id
    and  vawc.session_id=sid
    order by logon_time, machine, status, sid, daws.aw_name, attach_mode, username
    You can KILL that session using:
    ALTER SYSTEM KILL SESSION '<sid>, <serial#>' immediate;

  • How to Export OLAP analytical workspaces

    Hi, experts:
    I am following Doc. Migrating OLAP From 32 Bits to 64 Bits or Across Platforms (Doc ID 352306.1) to export OLAP analytical workspaces.
    I copied and pasted the step 2. as below. But I donot understand some of them. Hope you can help me.
    1. What does this mean by: "(NOTE: this following statement is critical so everything in the AW is in STATUS)"?
    2. "Replace ALIAS_DIR with a defined directory alias"   This ALIAS_DIR can be anything on current directory?
    3. I have more 3 AW. So I have to run the following four scripts 3 times? I have to modify the export_file_name.eif  file name for each run, right?
    ========
    2.Use the following SQL commands, for EACH AW that was identified in step #1   (NOTE: All quotes are single quotes).  Caution: If you attach multiple AWs and then run the   export command, ONLY the last- attached AW will be exported. --- Replace OWNER.AW_NAME with the the actual OWNER.AW_NAME name SQL> exec dbms_aw.execute('aw attach OWNER.AW_NAME rw'); -- (NOTE: this following statement is critical so everything in the AW is in STATUS) SQL> exec dbms_aw.execute('allstat'); --- Replace ALIAS_DIR with a defined directory alias --- Replace export_file_name.eif with a valid eif file name SQL> exec dbms_aw.execute('export all to eif file ''ALIAS_DIR/export_file_name.eif '''); --- Replace OWNER.AW_NAME with the actual OWNER.AW_NAME name SQL> exec dbms_aw.execute('aw detach OWNER.AW_NAME');
    =======
    Thank you very much for your help.

    1. What does this mean by: "(NOTE: this following statement is critical so everything in the AW is in STATUS)"?
    This is just a note to the readers and you can simply run the sql statement as it is in the doc.
    2. "Replace ALIAS_DIR with a defined directory alias"   This ALIAS_DIR can be anything on current directory? 
    Correct but you need to create the directory first -- See Error - EBS DB importing OLAP from 32 bit to 64 for the commands.
    3. I have more 3 AW. So I have to run the following four scripts 3 times? I have modify export_file_name.eif file name for each run, right?
    Correct.
    Thanks,
    Hussein

  • How can I see the NLS_PARAMETERS of other sessions

    Reposting this here, didn't realize this forum existed.
    For debugging purposes, I would like to see the NLS_PARAMETERS of other active sessions. This is on Oracle Database 10g Enterprise Edition Release 10.2.0.4.0 - 64bit.
    Neither of these are what I am looking for:
    SQL> select * from v$nls_parameters;
    -- Will only show me the settings of my own session.
    SQL> select * from nls_database_parameters;
    -- Lists permanent NLS parameters of the databasePls advise.
    -Johan

    Indeed, this information is not easily available. NLS environment is kept in an UGA variable and other sessions to not have access to it. Skilled Oracle engineers would be able to get this information from an UGA dump but otherwise it is not retrievable.
    I do not even see a way to log ALTER SESSION through a trigger (as it is not a DDL).
    -- Sergiusz

  • How to find out histotry command from other session

    Hi gurus,
    I use RHEL 5.4
    Some user log onto server with root and make change at some files. How can I find out history command from other session with the same user.
    history command is just give me history commands of my own session.
    Thanks
    Ch

    The file which holds the commandline history is .bash_history in the home directory of the user.
    So in the case of root, /root/.bash_history
    Please mind that if you log in as root, or become root your session will add to that file as well.
    Another issue with the history file is that when multiple sessions are logged in, every session writes in its own version of the same file. So the last one "wins", which means that version is the one which is truly stored.
    If files are changed, a find command with the 'mtime' parameter should be helpful.

  • How to label cd in itunes so other comps still read it correctly

    I work for a company and we are making an audio series. Everytime I make a cd, label it through Advanced, artwork title artist, etc. Sybmit it to gracenote through itunes, it still comes up with some random name when put into another computers itunes. How can I fix this so the clients who get this cd don't have the name come up as some random audiobook?

    I did create a new playlist saturday on my iPhone, I went on holiday so it didn't had a chance to sync with my Mac.
    Yesterday I came back from holiday and I have worked on it for a whole day, so shouldn't the playlist have come the minute my iTunes had a chance to sync with my iPhone? But they didn't...
    They came when I added the album, so that's why I think it's connected with that album.
    But if it is actually from the playlist I created on my iPhone, how do I solve this?

  • How to delete old custom workspaces?

    How can I delete some old custom workspaces I never use any more?

    Duh! Well, that was a dumb question, eh??  Ever look at something so long you just don't see it?

  • How to delete things off iCloud even after deleting the app it's still on my iCloud from my old devic.

    i deleted apps off my old iPhone but when I go in to purchased apps it still comes up as if it's saved on to my iCloud but can't find a way to delete it from iCloud altogether. Thanks in adavnce

    Apparently you can't delete anything from the icloud and the people at Apple are not helping and they give you no support to this question.  It's all over the message boards.  Literally, thousands of people asking this exact same question with Apple remaining mute on the subject. 

  • How to delete "Reopen All Windows From Last Session" in History?

    I use 5.0.4 in 'Private Browsing', but the above mentioned pull down choice in 'History' still remains active, and leaves my history visible for prying eyes.
    Where is the cache for "Reopen All Windows From Last Session" located? I could not find it in Safari Library. Or is there another way to manually or automatically delete the contents of this file?
    Thanks,
    PP

    Hi,
    Go to ~/Library/Safari. (Tilde) character represents the Home folder)
    Move the LastSession.plist file to the Trash.
    Check Safari / Preferences - Extensions. If you have any installed, turn that off, relaunch Safari. Try Private Browsing. You may have an Extension that's causing the problem.
    I don't know of any way to "auto" delete the .plist file but someone else might know of a Terminal command.
    Carolyn

  • How to delete my photos in icloud and i still im in 5.0?

    i want to deleted some pictures from my icloud account and i cant do it on my pc?????????????/ help please

    See Here for
    iCloud: Resetting your Photo Stream

  • I followed your directions on how to delete a single bookmark and it's still there. Suggestions please.

    The bookmarks I am trying to delete are not removed by following your directions - opening the bookmarked page clicking the star and "Remove" clicked...now what?

    Problems with bookmarks and history not working properly can be caused by a corrupted places.sqlite database file, so if the above posted suggestion didn't help then you can check this out.
    You can check for problems with the places.sqlite database file in the Firefox profile folder.
    *http://kb.mozillazine.org/Bookmarks_history_and_toolbar_buttons_not_working_-_Firefox
    *https://support.mozilla.org/kb/Bookmarks+not+saved#w_fix-the-bookmarks-file
    Start Firefox in <u>[[Safe Mode|Safe Mode]]</u> to check if one of the extensions (Firefox/Tools > Add-ons > Extensions) or if hardware acceleration is causing the problem (switch to the DEFAULT theme: Firefox/Tools > Add-ons > Appearance).
    *Do NOT click the Reset button on the Safe Mode start window or otherwise make changes.
    *https://support.mozilla.org/kb/Safe+Mode
    *https://support.mozilla.org/kb/Troubleshooting+extensions+and+themes

Maybe you are looking for

  • Sound only from 3 of the 6 spekers in T6100

    Hello,I just purchased a set of T6100 speakers. I can only get sound from the 2 Front speakers and the base. I have set the computer to 5.1 (no special sound card, just what came with Gateway and IBM) and I have tried it on 4 laptops. Do I have bad s

  • Periodic black screen

    Ok, I've always prided myself on not being a complete idiot with computers. But this is the first time i've ever owned a mac of any kind. I just got this iMac g3 from a guy in the newspaper, and I'm learning alot, but there's ALOT i don't know yet. O

  • Populating dynamic components in a remotely connected desktop application

    Hii Javaties I develping a desktop appliaction, which will remotely connect to internet. My requiremnets for the project are 1)- Combo boxes, lists are dynamic(they need 2 be populated from databse).Since user will not be always connected to internet

  • Solaris 8 dual boot with win2k

    do i need to create 2 primary partition disks or can place either one on a logical partition on an extended dos partition? if i do need to create 2 primary partitions.. how do i do it??

  • Level of music uneven in slideshow

    I made a long slideshow in iPhoto 6. After putting it in iDVD6 and burning a disc one of the songs plays at a very low level. How do I fix?