Deletion of the tables of the ODM

Assuming that I am done with my project parts (for example, classification), it is OK to delete tables such as those starting with DM$ P * CLAS, etc.?

When is it OK to remove the tables starting with ODMR$?

Hi Cindy,.

If you use Data Miner then cleaning can be done automatically.

If you remove a workflow Data Miner - all objects created by the workflow are deleted (as templates or tables generated by the node Create Table).

No input source is deleted because they were not created by the workflow.

If the workflow would both eliminate the tables/views ODMR$ (which are generated internally by ODMr in the model test results etc.) and the tables of DM$ P (which are physical tables within the model of the ODM itself).

If you delete a node in a workflow, then objects created by this node disappears when the workflow is saved.

If you drop the Data Miner repository, the fall process deletes all the objects thus generated workflow.

You can also keep the workflow and physically remove all the underlying tables in the range $ ODMR but recognize that you will need to restart the workflow as always, they will be marked as complete, but the results have been removed.

You don't really have to remove the DM tables $ P directly (see below).

If you build models outside ODMr, the you must use the pl/sql api to abandon the model:

DBMS_DATA_MINING. DROP_MODEL (model_name IN VARCHAR2,

Force IN BOOLEAN DEFAULT FALSE);

If you have a number of models to remove, you can write sql script to query the view of models of mines dictionary and use it as a driver to drop patterns.

Hope this helps, Mark

Tags: Business Intelligence

Similar Questions

  • I CAN QUERY A TABLE EVEN AFTER THE DELETION OF THE DATA FILE

    Hello

    Can someone explain to me the reason why I am able to interview some tables even after the deletion of the data that are associated with file?

    SQL > select table_name, tablespace_name from dba_tables where owner = 'SCOTT ';

    TABLE_NAME, TABLESPACE_NAME

    ------------------------------ ------------------------------

    TEST2 USERS

    TEST USERS

    SALGRADE USERS

    USERS OF BONUS

    USERS OF THE EMP

    USERS OF DEPT

    6 selected lines.

    SQL > exit

    Disconnected from the database to Oracle 11 g Enterprise Edition Release 11.2.0.1.0 - Production

    With partitioning, OLAP, Data Mining and Real Application Testing options

    [oracle@localhost orcl] $ rm /app/oracle/oradata/orcl/users01.dbf

    [oracle@localhost orcl] $ sqlplus scott/scott

    SQL * more: Production version 11.2.0.1.0 on Mon Mar 30 21:35:54 2015

    Copyright (c) 1982, 2009, Oracle.  All rights reserved.

    Connected to:

    Oracle Database 11g Enterprise Edition Release 11.2.0.1.0 - Production

    With partitioning, OLAP, Data Mining and Real Application Testing options

    SQL > select count (*) from test2;

    Select count (*) from test2

    *

    ERROR on line 1:

    ORA-01116: error opening the database file 4

    ORA-01110: data file 4: ' / app/oracle/oradata/orcl/users01.dbf'

    ORA-27041: could not open the file

    Linux error: 2: no such file or directory

    Additional information: 3

    SQL > select count (*) of the test;

    COUNT (*)

    ----------

    5000

    SQL >

    The first output is as expected. But why am I still able to query the table of test, even if the data file has been deleted.

    Hello

    The process of database have a file handle for the data file - this remains even when the file is deleted (it disappears from the normal file system navigation)

    You can see if you have lsof installed

    just try

    lsof | grep datafile_name

    Once the database is restarted and the released file handle so you will not be able to do this any more - and in fact you will get errors when it can't find the file.

    See you soon,.

    Rich

  • You will need to select the rows that have been deleted from the table.

    Please help me with this query

    I'm trying to find the records has been deleted from a table.

    I know recovery flash but I want to check with the request.

    Please help me with this...

    You can see the folders by using the flashback feature, if it is available in the undo data

    SQL> delete from tbl_x;
    
    3 rows deleted.
    
    SQL> commit;
    
    Commit complete.
    
    SQL> select * from tbl_x;
    
    no rows selected
    
    SQL> select * from tbl_x as of timestamp to_timestamp(sysdate-5/24/60);
    
            ID TOTAL_DAYS   NO_DAYS1   NO_DAYS2   NO_DAYS3 START_PER END_PERIO
    ---------- ---------- ---------- ---------- ---------- --------- ---------
             1         20         10          5          5 01-JAN-01 01-JAN-02
             1         10          5          5          0 11-MAY-01 11-MAY-03
             2          4          4          0          0 15-FEB-02 15-FEB-03
    
  • Privilege for the creation and deletion of the indexes on all the tables/diagrams

    Hello

    I have a database running on the HPUnix bit ia64 platform. The version of the db is 10.2.0.3
    I have a schema named DPYBATCH.

    I need grant creation/deleting indexes on all the tables/diagrams.
    I know create a clue will solve the purpose of the creation. But I am confused with deleting indexes.

    If I give-> GRANT CREATE ANY INDEX OF DPYBATCH, it will not solve the purpose. He will have the privilege to be able to delete/move the index as well?
    If this is not the case, what is the privilege to grant to delete/move the index. Please let me know!

    Thank you!

    You must use DROP ALL INDEX: http://download.oracle.com/docs/cd/B19306_01/server.102/b14200/statements_8015.htm#i2066885.

  • delete all the records in a table, the speed of insertion is not change.

    I have an empty table, and I insert a record need 100ms.
    During this table a 40,0000 trace, I insert a record need 1 s, it's ok, because I need to make a comparison according to an index before inserting a record need, so more record, more time.
    The problem is when I delete all the record in this table, the insertion time is always 1s, not reduce to 100ms. Why?

    Hello

    Read this part of the oracle documentation

    http://download.Oracle.com/docs/CD/B19306_01/server.102/b14220/logical.htm#CNCPT004

    The reason is always 1s, because when you inserted 400ko record as HWM (high tide is the border between old and new space in a segment.) moved to the top. And when you remove all records of your HWM still in the same coordinate system and that you have not reset to 0. So when you insert 1 it save free space and after finding faces (usually a regular insertions got 6 steps it inserts data). If you truncate your table you and try it again it will be faster that your HWM is reset to 0.

    Concerning

  • How imp one table, delete the old data? or the deletion of the table (before)

    Suppose that: in my tcomven of the actual table, I have 15 records, guess also, I have the file: h12292008.dmp there are 27 records

    If I type:

    IMP TABLES = (tcomven) UFIERROS/linuxx fromuser = UFIERROS touser = UFIERROS file = h12292008.dmp ignore = Y

    show imported 27 files, I checked the table and I have 15 + 27 files = 42 Records

    My question:

    before you import the table is possible delte all the contents of the Tcomven table (note I do first with sqlpleu and or sqldeveloper) my question is exista flag custom imp?


    or:

    If I type (same command ignore without flag):

    IMP TABLES = (tcomven) UFIERROS/linuxx fromuser = UFIERROS touser = UFIERROS file = h12292008.dmp

    tells me an error: the object exists, same question: the imp command flag for gout have first of all the tcomven of the table (or in any case, at the head of exp e)?


    Thank you

    Your needs:

    When you use imp (old style) of command line... you must delete/truncate the table before

    If you are using expdp/impdp, there option TABLE_EXISTS_ACTION help 'TRUNCATE' table before.

    TABLE_EXISTS_ACTION Action to perform if any object already exists.

    Valid keywords: (SKIP), APPEND, REPLACE and TRUNCATE.

  • problem with delete in the OPS

    Hi all

    I have a problem in the functionality of deletion in the OPS,

    I have a table advanced with data when loading the page, because I have an icon to the trash, I'm clicking on the icon of deletion and the page, I am able to remove that line but he isn't deleteting in the database of this line.

    I tried below way.

    If ("updatedelete".equals (pageContext.getParameter (EVENT_PARAM)))
    {
    am.invokeMethod ("getUpdateDeleteData", null);

    }

    ---------------

    Public Sub getUpdateDeleteData()
    {
    XXXXXCONTAINLISTLINESVOImpl vo = this.getXXXXXCONTAINLISTLINESVO1 ();

    System.out.Print ("vo count" + vo.getRowCount ());

    Rank rank [] = vo.getAllRowsInRange ();
    for (int i = 0; i < row.length; i ++)
    {
    Rowi rank (XXXXXCONTAINLISTLINESVORowImpl) [i] = XXXXXCONTAINLISTLINESVORowImpl;
    If (rowi.getseltodel ()! = null & & rowi.getseltodel (.equals("Y")))
    {

    Rowi.Remove ();
    getOADBTransaction () .commit ();

    }
    }

    }

    You can help me thanks

    Thanks to all its solved, in fact my vo was not based on any OS is why it did not record data, aftre creating EO based VO it works

  • Conversion of a delete using the context statement and policies MEV

    Hello

    I'm trying to convert a delete statement in an update statement using the context and political MEV.

    + / * Assumes that the "user1" user already exists. This is a user of the application * / +.

    Conn User1/pwd

    create table user1.test_a)
    ID number 4,
    Description varchar2 (100),
    number (1) deleted
    +);+

    ALTER table user1.test_a add the primary key constraint test_a_pk (id);

    insert into user1.test_a (1, 'abc', 0);
    insert into user1.test_a (2, 'def', 0);
    commit;

    I would like to convert each physical deletion a logical removal: instructions such as "delete from user1.test_a where id = 1" must be converted to "day all deleted user1.test_a = 1 where id = 1".»

    I found the following way: I create a policy to avoid the physical deletion. In addition, the political function should update the deletion indicator too.

    Conn User1/pwd

    + / * Create package context * / +.
    create or replace package user1.pkg_security_context is
    p_set_ctx of the procedure)
    i_test_a_id in % user1.test_a.id type
    +);+
    end;
    +/+

    create or replace package body is user1.pkg_security_context
    procedure p_set_ctx)
    i_test_a_id in % user1.test_a.id type
    +) is +.
    Start
    DBMS_SESSION.set_Context ("user1_ctx", "test_a_id", i_test_a_id);
    end;
    end;
    +/+
    display errors

    + / * Create the trigger to put into context before deleting * / +.
    create or replace trigger user1.test_a_bef_trg
    before you delete the user1.test_a
    for each line
    declare
    pragma autonomous_transaction;
    Start
    -does not validate the previous update, not deletion that fired the trigger.
    commit;

    User1.pkg_security_context.p_set_ctx (: old.id);
    end;
    +/+
    display errors

    user1_ctx context to create using user1.pkg_security_context;

    + / * Political * / +.
    create or replace function user1.f_policy_chk_dels)
    object_schema in varchar2,
    object_name in varchar2
    +) return varchar2 +.
    is
    out_string varchar2 (400) by default, 1 = 2 ';

    +/*+
    * out_string is the return value.
    *-' WHERE 1 = 2' ' doesn't mean anything for access to.
    */
    Start
    If (loc_logged_usr_authorized > 0) then
    +/*+
    * Set the flag removed 1
    */
    update of the game user1.test_a deleted = 1 where id = sys_context ('user1_ctx', 'test_a_id');

    out_string: = out_string. 'or 1 = 1 ';
    end if;

    Return out_string.
    end;
    +/+
    display errors

    +/*+
    Create policies
    */
    Start
    () dbms_rls.add_policy
    object_schema = > 'user1 ',.
    object_name = > "test_a"
    POLICY_NAME = > "policy_chk_dels"
    function_schema = > 'user1',-function scheme
    policy_function = > 'f_policy_chk_dels', - function policy
    statement_types = > 'DELETE '.
    +);+
    end;
    +/+

    When I try to delete a record from the table test_a:

    Conn User1/pwd

    SQL > delete sim ilogdia.oplsimulaciones where sim.id = 9999;

    + 0 rows deleted.

    No row has been deleted, but the update stmt does not work. This means that the 'deleted' flag has not been updated.

    Any ideas?

    Thank you in advance.

    Marco A. Serrano

    Published by: albrotar on October 15, 2012 08:42

    Published by: albrotar on October 15, 2012 08:42

    Published by: albrotar on October 15, 2012 08:43

    The policy function is applied once per execution of the statement. The political function executes first, and the UPDATE statement updates probably, no line because the context is not yet filled. The level of the line fills the frame (I'm assuming that your session may even see context values populated by autonomous transaction - I guess it's possible, but I have to test this) after the UPDATE statement is already complete. VALIDATION in the row-level trigger is also useless - it does that to changes made by the current transaction that is independent, of which there is none--it cannot apply to changes made in the other autonomous transactions. Declaring the level line trigger to use autonomous transactions does not seem to do anything other than to open the question of whether the values defined under the autonomous transaction are visible in the transactions of the appellant.

    Even if, somehow, did not work, the use of transactions autonomous would be a very bad idea because Oracle is free to roll back a partially executed query (and the work done by its triggers) and re - run. Oracle does with some regularity to maintain the consistency of Scripture.

    Justin

  • Disk HARD drive deleted in the Finder and now appears

    My macbook pro has two hard drives, SSD 120 gb and 500 GB HARD drive. The HARD disk is a data disc and has been accidentally deleted from the Finder. I can't locate this drive anywhere in the computer.  It is a new drive and was only recently added to the mac.  Desperately need to find.

    Try using disk utility to fix the problem. Also, read an effective communities of Apple Support question.

  • Whenever I sync my calendar on Lightning, I get a message "accept changes and update in any case" on several occasions, even though the event is deleted from the server

    This repetition of message every time I sync, therefore can freeze the Thunderbird application after 3-4 syncs

    Right-click recycle the message to the next synchronization
    Left button instantly recycle the message

    Event deleted on the server, lightning and by Organizer

    Disable Google provider problem ceases, but which makes unnecessary lightning

    TBird reinstalled, updated all modules

    Tried to download the image, but no luck...

    I deleted the event to my calendar and was the Organizer to do the same thing.

    What Organizer?

    I have the latest updates from each of the three

    Once again, what are your versions of Thunderbird, Lightning and the provider add-on?

    and charging each of them...

    I mean you don't have to reinstall Thunderbird, then it was a waste of time.

    You can try to remove the calendar in lightning, restart Thunderbird, and then recreate the calendar.
    Given that the calendar is a calendar of network no data will be lost.

    That said, it is always recommended to have a recent backup of profile.
    _ http://KB.mozillazine.org/Thunderbird: _FAQs_:_Backing_Up_and_Restoring

  • Why did you move the button Delete in the messages pane?

    You play with my muscle memory! V38.0.1

    Who took me out a few times as well.
    I discovered that if I customize this area of the toolbar and put a space between "delete" and the buttons 'More', in some way I read that space as the end and it kept me acidentally hit 'more' when I went to "Delete".
    I know that this is only a workaround, but it is solved my problem of finger, then perhaps that this idea could help you.

    In the message header area where it shows these buttons: "answer, transfer, Junk, delete archives, more '."
    Right-click on these buttons and select "Customize".
    a 'customize' window will open.
    Drag and drop the icon of 'space' between 'delete' and 'More' buttons.
    (I actually try the dividing line, but found the space worked better for me).
    Click 'Finish' to close the window.

  • emails disappear when deleted on the server even though the checkbox 'keep emails from this account on this PC' is checked

    Hello

    I would use my account in such a way that, when an email is deleted from the server (limited space) there is still on my computer.
    It did not work for a while, but since I have a new PC, I was not able to set it up again in this way.
    I use the IMAP protocol.
    Any toughts?

    Thank you very much

    Tamas

    If your mail acted as you claim in the past then it has set up a POP account and not IMAP. POP and IMAP are email standards and work of the same thing all the time. No e-mail client changes which.
    It is possible to have IMAP email account and configure the client as POP with some providers.
    Local folders is a standard account in all installations of Thunderbird.

  • automatically deleted from the Inbox shortly after the arrival of messages

    All the messages in my Inbox on my desktop get automatically removed shortly after arrival. They do not yet appear in the junk or deleted either message box! The activity Manager just says: '1 message deleted from the Inbox.
    Any help would be appreciated.

    http://KB.mozillazine.org/Disappearing_mail

  • messages are deleted from the server, even if I "Leave messages on the server" selected.

    I use Thunderbird 24.4.0 to download my mail via the POP3 service. My messages are deleted on the server when I erase it in Thunderbird. I have Thunderbird set to "leave the message on the server" and I checked "until I have delete ' it worked for several years with no problems. something has changed in the last week or two that I can't understand. Can you help me.
    Thank you
    Jerry Laufer

     Application Basics
    
       Name: Thunderbird
       Version: 24.4.0
       User Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:24.0) Gecko/20100101 Thunderbird/24.4.0
       Profile Folder: Show Folder
    
                 (Local drive)
       Application Build ID: 20140316131045
       Enabled Plugins: about:plugins
       Build Configuration: about:buildconfig
       Crash Reports: about:crashes
       Memory Use: about:memory
    
     Mail and News Accounts
       account1:
         INCOMING: account1, , (none) Local Folders, plain, passwordCleartext
    
       account2:
         INCOMING: account2, , (pop3) pop3.postoffice.net:110, plain, passwordCleartext
         OUTGOING: smtp.postoffice.net:2525, plain, passwordCleartext, true
    
       account3:
         INCOMING: account3, , (pop3) transparentvideo.net:110, plain, passwordCleartext
         OUTGOING: smtp.postoffice.net:2525, plain, passwordCleartext, true
    
       account11:
         INCOMING: account11, , (pop3) pop.cox.net:110, plain, passwordCleartext
         OUTGOING: smtp.postoffice.net:2525, plain, passwordCleartext, true
    
       account12:
         INCOMING: account12, , (pop3) pop.cox.net:110, plain, passwordCleartext
         OUTGOING: smtp.postoffice.net:2525, plain, passwordCleartext, true
    
     Extensions
       Forward, 0.18, true, [email protected]
    

    I think the problem might be the option "when I delete them. That tells Thunderbird to reach out and the cops messages on the server when you delete them in Thunderbird. Instead, check the box to leave messages on the server and clear the check boxes under that.

  • What I have to delete all the emails by hand or I can delete them all at the same time?

    How do delet all the emails at once?

    You can delete several at once. Press the button "Edit" in the mailbox, select e-mail then press on "trash".

    they must be selected one by one, there is no "select all" I remember

    If you have a lot to remove you may wish to do so outside the mail application. If your email provider has a web interface, use it. For example, I have yahoo mail, I use safari to go to yahoo.com and connect to my mail. then I will be able to select many emails at once (or maybe if your email provider supply)

    Can be faster if you have dozens, hundreds of delete

Maybe you are looking for