MDS Database Cleanup and Truncation

We're doing some cleanup on a large MDS database. We have deleted 20-30 models which represent close to 70 million transactions. However, tblTransaction has not reduced its record count, and the database has grown considerably after the model deletions (from
50GB to ~120GB).
Is there any method to remove the transactions from the deleted models and increase free space?
We don't plan to shrink the DB file due to fragmentation issues, but think that performance will increase with less extraneous records in the database and some index rebuilds.

Hi Ed,
Using the LogFlag = 0 effectively prevents more entries from being added to the transaction log, but the previous transactions on that specific code remain however. This is not an expected behavior based on:
http://msdn.microsoft.com/en-us/library/ee633854(v=sql.110).aspx
wherein it is stated under Import Type:
6: Permanently delete the member, based on the Code value. All attributes, hierarchy and collection memberships,
and transactions are permanently deleted.
During a user test a very large amount of data was inserted into an entity. I can "hard-delete" them with the staging table functionality, but the transactions from insert remains which is very annoying.
How do I get rid of these?
Best Regards,
        Per

Similar Messages

  • Options to cleanup and delete Discoverer workbooks

    Currently users have access to create Discoverer reports in Production and there are now 6,000 workbooks. We want to clean up these workbooks by deleting and retiring the ones that are not needed.
    What are the recommended options to be able to perform this cleanup? We have a list of workbook names by user that can be retired and want to avoid having to manually select the workbooks for deletion. Is there a script that can be run?

    Hi,
    There are some scripts posted in this forum (e.g. Re: How to delete Discoverer reports from database? and Re: delete shared workbooks when owner no longer available which delete workbooks from the EUL. This is good way to go if this is a one off exercise.
    However, a longer term and more flexible solution is to develop a workbook which allows users to delete workbooks from the EUL. You will need to implement a delete_workbook function and map the function into the EUL. The workbook can then allow the user to select a set of workbooks and then delete all these workbooks from the EUL. You can build security into the delete_workbook function so that for example, users can only delete workbooks that they own, administrators can delete other users workbooks, library workbooks cannot be deleted etc.
    Rod West

  • Theme database cleanup

    Hello folks,
    To help reduce confusion we have made public themes that had
    "copy" in their titles private. That's a first step to help reduce
    multiple versions of the same theme.If your theme was mistakenly
    moved when we ran the script, you can republish it or let me know
    and I'll restore it.
    Sami

    Hello, we've done a second pass at theme database cleanup. We
    looked at public themes with the same titles and tags as some of
    the "kuler classics" and made them private. If your own theme was
    mistakenly changed to private in the sweep, sorry! Send me a
    private message and I'll restore it, that way I'll know what
    happened.
    Sami

  • Upgrade ERP database 11g and ATG7 with SSO integation

    Please let us know how to Perform Upgrade ERP database 11g and ATG7 with SSO integation .
    Regards .

    We have completed to upgrade ERP database from 9.2.0.6 to 11.2.0.1 and also apply ATG 7 on Test instance.
    And user finish testing , there is no issue after upgrade and application can work as normal.
    On Test instance we didn't implement Single Sign On
    But on Production we have Single Sign ON.
    Now we plan to upgrade on Production instance. But we afraid that we will found any issue on Production relate to SSO. Becase we don't have a chance to test it.
    My question is:
    Are there any spacial step we need to do if we have implemented SSO After upgrade DB 11g and ATG 7?

  • Difference in select for update of - in Oracle Database 10g and 11g

    Hi, I found out that Oracle Database 10g and 11g treat the following PL/SQL block differently (I am using scott schema for convenience):
    DECLARE
      v_ename bonus.ename%TYPE;
    BEGIN
      SELECT b.ename
        INTO v_ename
        FROM bonus b
        JOIN emp e ON b.ename = e.ename
        JOIN dept d ON d.deptno = e.deptno
       WHERE b.ename = 'Scott'
         FOR UPDATE OF b.ename;
    END;
    /While in 10g (10.2) this code ends successfully (well NO_DATA_FOUND exception is raised but that is expected), in 11g (11.2) it raises exception "column ambiguously defined". And that is definitely not expected. It seems like it does not take into account table alias because I found out that when I change the column in FOR UPDATE OF e.empno (also does not work) to e.mgr (which is unique) it starts working. So is this some error in 11g? Any thoughts?
    Edited by: Libor Nenadál on 29.4.2010 21:46
    It seems that my question was answered here - http://stackoverflow.com/questions/2736426/difference-in-select-for-update-of-in-oracle-database-10g-and-11g

    The behaviour seems like it really is a bug and can be avoided using non-ANSI syntax. (It makes me wonder why Oracle maintains two query languages while dumb me thinks that this is just a preprocessor matter and query engine could be the same).

  • Trying to open old iPhoto library on osx 10.9.5 with iPhoto 9.5.1.  iPhoto says I must upgrade but upgrade eventually hangs.  Tried to rebuild/repair database but it always says you have to upgrade database first and eventually hangs

    Trying to open old iPhoto library on osx 10.9.5 with iPhoto 9.5.1.  iPhoto says I must upgrade but upgrade eventually hangs.  Tried to rebuild/repair database but it always says you have to upgrade database first and eventually hangs

    What version was the old library made with?
    What is the exact message? when it hangs does it crash or do you have to force quit?
    LN

  • Application doesn't work after build (database toolkit and report gen toolkit).

    I wrote an application using database toolkit and report gen toolkit to retrieve some data from a database,  put into a Word doc, save the Word doc and print it.  It works fine when I run the vi, but when I build and run it, it does nothing.   I have tried all of the settings in Projec Manager that I think might help but it still won't work right.  Labview 8.2.1, XP.
    Thanks,
    Charlie
    Solved!
    Go to Solution.

    Thanks for the help.  I finally abondened the Word append table and used the regular report gen append table and got it to work fine.  The error was 214682314.  That led me to the thread about column numbers must vbe between 1 and 63, but like I said, my coulumn number is 7 so don't know what is going on.  Anyway I got the vi to work and do what I want so I guess now the problem is solved (moot).
    Charlie

  • Can you merge two user accounts on macbook? my wife has created a user on her new macbook , then inadvertently created a second one when using the migration tool. 1st ac has her office 365 install, yet 2nd has her itunes database, docs and contacts.

    Can you merge two user accounts on a macbook? my wife has created a new user on her new macbook air then, inadvertently, created a second one when using the migration tool. 1st a/c has her office 365 install, while 2nd has her itunes database, docs and contacts. What is the best way forward to get everything into the one account? Not sure if the office 365 will allow another installation into the second account, otherwise would just do that and delete the first, if that is possible?

    There is no merge but you can move data from one account to another via the Shared folder. Data is copied from Shared. Watch your free space when copying. These are large files.  Do one at a time if you are on a small drive. After making copy, delete from other users before you start next copy.
    Office365 installs in the main Applications folder and is available for all users on the computer. Activation is tied to the drive not the User.

  • Trying to install MS Office 2011 for Mac SP 2 on my Macbook Air (Lion 10.7.3). I have to close Microsoft Database Daemon and SyncServicesAgent but can not see how to do so.  I have closed all applications.  Can anyone help? Many thanks

    Trying to install MS Office 2011 for Mac SP 2 (14.2.0) on my Macbook Air (Lion 10.7.3). I have to close Microsoft Database Daemon and SyncServicesAgent but can not see how to do so.  I have closed all applications.  Can anyone help? Many thanks

    Thanks Kurt!  I had tried all that and had tried closing both programmes from the application monitor, but SyncServices Agent refused to close.  I tried closing Launchd which is their mother application, but that just caused the screen go go blank.  In the end the two programmes let themselves be closed next time I tried the installation process so all was well.  Thanks for your help!

  • SQL Server 2008 R2: which version of Visual Studio do I need to keep database projects and SSIS projects in the same solution

    I need to build a solution containing a database project and an integration services project for SQL Server 2008R2.  Apparently, the subset of Visual Studio tools that comes with SQL Server 2008R2 does not include database projects and does not have
    Team Foundation Server support.  Because of those limitations, I am trying to determine which version of Visual Studio will allow me to:
    1. Build a single solution that includes both a database project and an Integration Services project
    2. For the database project, be able to import a database schema from an existing SQL Server 2008 R2 database, do schema compares and update the project from the database and vice versa
    3. For the Integration Services project, be able to deploy the packages to SQL Server Integration Services on SQL Server 2008 R2 (that is, to the msdb database).
    4. Use Team Foundation Server for source control of the whole solution, including both project types.

    Hi G Britton,
    To build a solution containing a database project and an integration services project for SQL Server 2008 R2 and use Team Foundation Server for source control.
     You can choose to install Visual Studio 2008.
    And as you want to utilize Schema compare and/or Data compare functionalities in Visual Studio, you will need to install the
    Visual Studio Team System 2008 Database Edition or Visual Studio Team System 2008 Team Suite.
    In addition, for Visual Studio issues, I would like to recommend you post the question in the
    Visual
    Studio forums to get better support.
    Reference:
    Team Foundation Version Control
    Compare and Synchronize Database Schemas
    Interoperability and Coexistence (Integration Services)
    Thanks,
    Lydia Zhang
    Lydia Zhang
    TechNet Community Support

  • How do I get out of kernel panic?  kernel panic upon boot.  I did that hard drive cleanup and reinstalled Lion.  What about memory?  Anyone think I need to upgrade my memory?  I have 8gig.

    I get kernel paic upon boot.  I did that hard drive cleanup and reinstalled Lion.  What about memory?  Anyone think I need to upgrade my memory?  I have 8 G of upgraded RAM. (20 inch iMac core 2 duo)

    If you're able to boot, launch the Console application in any of the following ways:
    ☞ Enter the first few letters of its name into a Spotlight search. Select it in the results (it should be at the top.)
    ☞ In the Finder, select Go ▹ Utilities from the menu bar, or press the key combination shift-command-U. The application is in the folder that opens.
    ☞ If you’re running Mac OS X 10.7 or later, open LaunchPad. Click Utilities, then Console in the page that opens.
    Select the most recent panic log under System Diagnostic Reports. Post the contents — the text, please, not a screenshot. For privacy’s sake, I suggest you edit out the “Anonymous UUID,” a long string of letters, numbers, and dashes in the header and body of the report, if it’s present (it may not be.) Please don't post "shutdownStall" or "hang" reports.
    If you can't boot in the usual way, try a safe boot. The instructions provided by Apple are as follows:
    Be sure your Mac is shut down.
    Press the power button.
    Immediately after you hear the startup tone, hold the Shift key. The Shift key should be held as soon as possible after the startup tone, but not before the tone.
    Release the Shift key when you see the gray Apple icon and the progress indicator (looks like a spinning gear).
    During startup, you’ll see a progress bar, and then the login screen, which appears even if you normally log in automatically. You must know your login password in order to log in. If you’ve forgotten the password, you will need to reset it before you begin.
    Safe mode is slower than normal, and some things won’t work at all.
    Note: If FileVault is enabled under Mac OS X 10.7 or later, you can’t boot in safe mode.

  • Spotlight - MDS - Crashing over and over

    A few days ago I did a Spotlight search and it froze. Since then my Mac has been Windows unstable. Mail crashes some times, Excel others times, Console, Activity Monitor, Safari, WebKit, iPhoto - all crash now. MDS is running almost constantly and crashes over and over - never finishes. In fact in Console I currently have 27 mds crash logs, 14 in the last hour. The computer is becoming unusable. Oh, no APE etc...
    Steps I have taken:
    Repair Permissions, verify disk, repair disk, CCCed to a new disk, REinstalled 10.5.4 combo, rerepaired disk, etc. And before I did all the mutil /E type "stuff".
    Net net; mds is running and crashing over and over. This seems to be causing other apps to crash as well. Other oddity - most of the time when an application crashes, it does not quit/shutdown - it just is hung in the Not Responding state. Multiple ReportCrash processes will run but never complete and cannot be quit or forced quit - including sudo kill -9. Then the Not Responding application cannot be killed off either and the system will not shutdown - requires hard stop on power.
    If this were a DELL I would understand. But this is a Quad Core G5 Mac running 10.5.4 and 4.5 gigs of Apple RAM.
    Note - just while writing this, I have 5 more mds crash logs - of of which refer to a KERNPROTECTIONFAILURE and EXCBADACCESS.
    Ideas?

    Hi Ashler, I think baltwo is right, and you need to reinstall the OS (Archive & Install) because your Spotlight system is "hosed". If you read about the A&I first and perhaps print or write the steps out (very simple, really), I think you will be pleasantly surprised by how easy Apple has made the process. It's nothing as bad as doing a Windows re-install.
    But first, we should try to think of the reason for the problem. Have you been running anything that tries to duplicate or otherwise modify the behaviour of Spotlight? In my experience, I have found that everything from Google Desktop to Microsoft Office 2008 have caused Spotlight/indexing/MDS problems on Macs recently. A Spotlight plugin (like any of the .mdimporter plugins from Office, for example) could cause problems; or perhaps Google Desktop's efforts to duplicate Spotlight's services. Or perhaps any other bit of software.
    In any case, BEFORE you do the Archive & Install, be sure to go through your main root Library and also your user home Library, and look for items that might be running and causing problems. Also, use Activity Monitor to show all processes and see if there's an app running at startup or login. Then disable the things that might be the cause. Somehow, try to make sure that whatever has got jammed in your system is not going to get transferred by the Archive & Install and end up doing the same thing again when you are done. Try removing the Privacy Spotlight settings and then running from a fresh newly created user account to see if the problem lies with the System as a whole, or just within your own user home folder.
    Let us know how you do. Good luck anyway - your Archive & Install will fix you right up.

  • Logical Database design and physical database implementation

    Hi
    I am an ORACLE DBA basically and we started a proactive server dashboard portal ,which basically reports all aspects of our infrastructure (Dev,QA and Prod,performance,capacity,number of servers,No of CPU,decomissioned date,OS level,Database patch level) etc..
    This has to be done entirely by our DBA team as this is not externally funded project.Now i was asked to do " Logical Database design and physical Database
    implementation"
    Even though i know roughly what's that mean(like designing whole set of tables in star schema format) ,i have never done this before.
    In my mind i have a rough set of tables that can be used but again i think there is lot of engineering involved in this area to make sure that we do it properly.
    I am wondering you guys might be having some recommendations for me in the sense where to start?are there any documents online , are there any book on this topic?Are there any documents which explain this phenomena with examples ?
    Also exactly what is the difference between logical database design vs physical database implementation
    Thanks and Regards

    Logical database design is the process of taking a business or conceptual data model (often described in the form of an Entity-Relationship Diagram) and transforming that into a logical representation of that model using the specific semantics of the database management system. In the case of an RDBMS such as Oracle, this representation would be in the form of definitions of relational tables, primary, unique and foreign key constraints and the appropriate column data types supported by the RDBMS.
    Physical database implementation is the process of taking the logical database design and translating that into the actual DDL statements supported by the target RDBMS that will create the database objects in a target RDBMS database. This will generally include specific physical implementation details such as the specification of tablespaces, use of specialised indexing (bitmap, clustered etc), partitioning, compression and anything else that relates to how data will actually be physically stored inside the database.
    It sounds like you already have a physical implementation? If so, you can reverse engineer this implementation into a design tool such as SQL Developer Data Modeller. This will create a logical design by examining the contents of the Oracle data dictionary. Even if you don't have an existing database, Data Modeller is a good tool to use as a starting point for logical and even conceptual/business models.
    If you want to read anything about logical design, "An Introduction to Database Systems" by Date is always a good starting point. "Database Systems - A Practical Approach to Design, Implementation and Management" by Connolly & Begg is also an excellent reference.

  • Backing Up Database Table and Records in Oracle 10g

    Hi All,
    I created database for my company with Oracle 10g Database Server and want to backup all my database tables and records within (i.e creating another username inside the data and transfer them) and outside (i.e transfering them in another destination outside the database server) the database. Could you please instruct me on how to achieve?
    I look forward to hearing from you all.
    Thank you.
    Jc

    Hi, use RMAN utility
    do this
    rman target sys/*** nocatalog
    run {
      allocate channel t type disk;
      backup
        format '/app/oracle/backup/%d_t%t_s%s_p%p'
          (database);
       release channel t;
    {code
    Also read backup and recovery guide at http://download.oracle.com/docs/cd/B19306_01/backup.102/b14192/toc.htm
    regards                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                   

  • Java framework/toolkit for POJO, database persistence and XML

    Hi all,
    I've been wondering if there's a toolkit or framework for developing Java program (could be standalone Java program, EJBs etc.)
    I surfed around casually and found some but there isn't any detailed description of what and how each framework/toolkit does. So I hope to ask around if you've anything that you have used before and would like to point to me to look further.
    Given the huge number of open source toolkits, libraries and frameworks out there, it can be quite confusing as to which one is more suitable for me. Also with Sun's move into JDO and Java Persistence API, things become more messy and complicated - there isn't any clear leader in this area and things are starting to change with the inclusion of JDO which seems to be the future standard persistence API to use.
    So far, I've only worked with Hibernate for database persistence before. So I'm wondering if there're other options such as Hibernate with XDoclet, Castor and Spring framework etc. that can easily transform Plain Old Java Objects (POJO) -- hopefully using Java Reflection w/o using mapping XML files like in Hibernate -- into SQL for database persistence and XML text data and vice-versa. The current problem is that I've been spending tons of time writing code to transform data in Java objects into XML (using my own format) and also doing mapping files for Hibernate.
    I am hoping for something simple like:
    Object o = new Object();
    o.setProperty = "something";
    String xml = o.toXML(); // Convert object to XML text.
    o.save(); // Save to database.
    // The reverse: Parse XML into object and load from database
    Object o = new Object();
    o.fromXML(xml);
    o.load();
    // Properties should be initialized from database or XML.
    Anything similar to this out there?

    Hi,
    Just to share what I've found after surfing a bit more on this issue to promote more discussion on this area.
    For mapping of Java objects to XML, we can try looking more at Castor and JAXB.
    For database persistence to/from Java objects, look at Hibernate and JDO.
    There is this Hydrate project (hydrate.sourceforge.net) that I do not know where it fits in still. But it is supposed to do data transformation and mapping between Java objects, XML and database representation.
    Fyi.

Maybe you are looking for