Keep the data on the record points and serve the rest

Hello world!

I think somehow either CompressWorkspace [tree] or PurgeTable what we want to do, but somehow I don't see exactly how...

Here's our situation: the admin of our customer demand can create backup points. He made what is called "data freezing" happens a few times a year (3-4).

The database is created using WO_OVERWRITE to keep a track full edit. However, for older data we now to just keep recording data and delete what that it is between the two. Only for the most recent backup points, we always want to keep the complete history. Is there a way to do this?

To clarify things, with some text-Art, this might look like this for 5 Savepoints SP1... SP5:

[SP1]-[SP2]-[SP3] hhh [SP4] [SP5] of hhh hhh [LATER]

where - means "no historical data here" and "hhh" means "here for historical data.

My first guess was the CompressWorkspace procedure, but if I give two points for first registration is deleted. What we want to do is give two points of record, have deleted all the data of the history between the two and keep both the backup points. In the example above, we would like to compress between SP1 and SP2 the SP2 and SP3.

Note: the database will be migrated soon to 11 GR 2, so all the features of the OWM until this version can be used for a solution.

Any help is appreciated!

Kind regards

Andreas

Hi Andreas,

You don't want to use CompressWorkspace.  Specify the backup even point to firstSP and secondSP and the parameter compress_view_wo_overwrite set to true.  Thus, for example:

SQL > dbms_wm.compressworkspace exec ('LIVE', true, "SP1", "SP1");

This should be done for each backup point where you want to delete the history.  The procedure would remove all lines for each primary key value, with the exception of the most recent in the backup point.  It cannot be done on a variety of checkpoints at the same time, as that would remove the previous save points, as you pointed out.

Kind regards

Ben

Tags: Database

Similar Questions

  • Replace an abbreviation in the non-consecutive fields and keep the rest of the text

    I need to replace an abbreviation that is no longer used in the office with a new text. I need to keep the rest of the information in the field. Length fields vary, and the new text is longer than the former. I use Oracle 8i. This is what I have for now but does not work.

    UPDATE OF ICA
    the value of LIC. DETAL = substr ('ALPHA BET' |) DETAL, 4, length (detal)-3);
    where UPPER (substr (DETAL, 1, 3)) = 'AB-';

    Hello

    Whenever you have a problem, please post a small example of data (CREATE TABLE and INSERT statements) and also publish outcomes from these data.

    user8647598 wrote:
    I tried this:

    update of ICA
    the value of LIC. DETAL = replace (lic.detal, '- HO', ' HOME OCC' |) Trim (detal));

    but I got an error saying that it was too big.

    ERROR on line 1:
    ORA-01401: inserted value too large for column

    Published by: user8647598 on January 13, 2011 07:32

    It is one of thopse error messages that acually means what he says. After replacing the text, the chain grew more time, and it will fit is no longer in the column.

    Are you sure you are doing what you want?

    REPLACE ( lic.detail
         , 'HO-'
         , 'HOME OCC' || TRIM (lic.detal)
         )
    

    Means "where detal contains the 3 - character substring"HO -"replace it with the 8 'HOME OCC" string * followed by the original text of the detal.»
    So if detal
    {code}
    HO-1 XYZ
    {code}
    then REPLACE them back:
    {code}
    XYZ OCCXYZ HO-1 HOUSE
    {code}

    That is what you want, or do you want something like that?
    {code}
    REPLACE (lic.detail
    "HO -"
    , 'HOME OCC-' or maybe 'HOME OCC", with a space at the end
    )
    {code}
    You can use the expression above as an argument for the TOPPING.

    When you want to write an UPDATE statement, you can test it in the first place, like this:
    {code}
    SELECT detal
    TRIM (REPLACE (detal
    "HO -"
    , 'HOME OCC '.
    )
    )
    ICA
    WHERE detal LIKE ('% HO %')
    AND ROWNUM<=>
    ;
    {code}

  • Delete one sentence at a time and keep the rest

    Hi all

    I wonder how can I do this in the jargon

    I have an XML file that contains 4 sentences. I load these phrases in Director and I would like to allow my users to delete words from the NCB at a time and keep the rest. For example

    Phrase1
    Statement2
    Phrase3
    Phrase4

    If the user selects a 2,3,4 must remain in the display area. If 2, 1,3,4 must remain in the area of the display and so on. The process must continue until there is only one sentence in the window (one of the 4) where the user must open a window of message (game over).

    Do you have any idea how to do that?

    This behavior removes a line when clicked and displays the
    message when there is a single line on the left. You can easily modify it to display
    the message when there are 2 lines to the left, 3, or whatever. It also records the
    complete original list and restores the Member on sprite end.

    Of course, you have to fix induced unintentional line breaks
    your browser/player news.

    property spriteNum, pPhrasesLeftForCompletetion, pPhrases

    on beginSprite me
    pPhrases = sprite (spriteNum) member.text.
    end

    on endSprite me
    Sprite (spriteNum).member.text = pPhrases
    end

    on mouseDown me
    If sprite (spriteNum).member.line.count > pPhrasesLeftForCompletetion then
    lineNumClicked = sprite (spriteNum) .pointToLine (the mouseLoc)
    Sprite (spriteNum). Member.Line [lineNumClicked]. Delete()
    numChars = sprite (spriteNum).member.char.count
    If sprite (spriteNum).member.char [numChars... numChars] = BACK then
    Sprite (spriteNum). Member.Char [numChars]. Delete()

    If sprite (spriteNum).member.line.count =
    pPhrasesLeftForCompletetion then
    updateStage
    Alert ("complete game")
    end if
    end if
    end

    on getPropertyDescriptionList
    Description = [[:]
    description of the addProp, #pPhrasesLeftForCompletetion, [#default: 1]
    [#format: #integer, #comment: "how many phrases on the left indicate full"]
    return description
    end

  • How can I work offline on an address and keep the rest online

    I need to temporarily disable an email address while keeping the other two online - is this possible or should I delete the account and recreate at a later date?

    Thunderbird always keeps the mail for offline access.

    You can move the files to a local folder access, after the removal of the identification of email.

  • Windows Server 2008 R2. KB3110229 update won't install, seems to keep the rest of the installation as well.

    I tried many suggestions on how to get this thing I fing to install.  Nothing helps.

    I ran the windows tool, disabled antivirus always fails with error code: 80070005.

    Any suggestions would be helpful.

    Doug Stone

    Assuming you mean KB3110329...

    It is a forum for specific consumers.

    You will find the Windows Server support in these forums: http://social.technet.microsoft.com/Forums/windowsserver/en-US/home

    Field of Comsumer s, error 0 x 80070005 (Access_Denied) usually indicate an infection in the course of any kind (or do not completely remove one, for example, Norton or McAfee anti-virus application or security suite). CF. https://support.microsoft.com/en-us/kb/968003

  • check point and polygon in the same table

    Hello

    Can I store two different types of geometry as the Point and polygon in a table with one column of the SDO-Gemetry? I read somewhere that we can only store one type either points, polygon or line in one table with only on column geom, is that correct? If so, what would be the solution if the data is of type points and polygons? Should I create different table?

    Appreciate any response or any type of recommendation.

    FYI - I use oracle 10g with oracle spatial extension.

    Best regards

    Marwa

    M

    The fact that you combine several types of geometry in the same column has obvisouly some impact in the way that you investigate this type of column.

    you could include a clause, for example, to filter on the type of geometry: where a.loc.gtype = 2001 (point gtype).

    you could also, as you ask specifically points, through the access of the x and the coordinate of the point y (type) with a.loc.sdo_point.x =... and even for y.

    but I think in your case, once you have built your spatial index, it may be better (in terms of performance) to fetch the spatial operator that uses the spatial index.

    so the where clause would be: where sdo_relate (a.loc, (2001,8307,SDO_POINT_TYPE (107.53,32.53,null), null, null), sdo_geometry "mask = EQUALITY '") = 'TRUE '.

    Luke

  • How to transfer pictures from iphone to PC and keep the date, time and place

    How to transfer pictures from iphone to PC and keep the date, time and place

    Hello Grumpelfuerer,

    Thank you for using communities of Apple Support.

    If I understand your message that you want to import your photos from your iPhone 6 s, as well as for your Windows PC. I would like to save my photos on my computer as well. There are two ways to do this. You can use the iCloud photo library allowing to synchronize photos between your devices or import your photos to your PC using Windows Photo Gallery. This article will provide you with the steps that you can use for both options:

    Import photos and videos from your iPhone, iPad or iPod touch

    Best regards

  • How to export pictures / albums of iPhotos to external disk and keep the time/date/year and location information changed?

    How to export pictures / albums of iPhotos to external disk and keep the time/date/year and location information changed?

    Menu, file == > export - check boxes to include metadata and location- export to iPhoto

    LN

  • Fact film GoPro 17sec and now cannot delete 2 hours cause records he says be used? I just want to keep the movie not all the extras.

    I want to know how to remove all these records without value shows saved on my macbook and just keep the 17sec movie I recorded on my computer I made in the studios of the GoPro. Trash can said that I can't cause its used. So I have to save the record with my phone and then erase everything? Seems silly and wouldn't look professional record the computer screen, but I will if I have to, so I fill my computer with video of pure filler.

    Leave the Photos, if the items from the trash are no longer used.

    To empty the Recycle Bin, and then try again.  If the items are still in use, restart the Mac, then try again.

    That have you tried exactly to remove? Only video clips?

  • How to remove messages in Exchange 2010 by dates. in a group and exclude the Contacts, record retention and calendar

    How to remove messages in Exchange 2010 by dates.  in a group and exclude the Contacts, record retention and calendar.

    I'm deleting emails from users in a group called MX_Purge file. I need to delete the emails date xx/xx/xxxx to xx/xx/xxxx.

    I also need to exclude the excluded the following records 'calendars' folders 'Contacts' and 'Retention '.

    The server people hang around more in the TechNet forums, if you ask, you will get a much better response:

    http://social.technet.Microsoft.com/forums/en-us/Exchange2010/threads

  • How to move the MSWMM files and keep the data on my computer?

    I downloaded digital film from my camera to a destination on my D drive as a file MSWMM (collections), and whenever I try to move the downloaded film (collection), it does not recognize the movie more.

    How to move the MSWMM files and keep the data on my computer?

    The mswmm file is the project file, not a video.
    Think of it as a recipe for a cake, it only tells you what to do with the ingredients, but does not include the ingredients.
    The mswmm file tells the computer to look in a certain folder to use a video or audio file.
    If you move the file, then MM knows not where is the file, then you must tell it, by right clicking on a red x on the timeline and then choose search for the file.

  • When you use the pen tool when I click and create an anchor point and release the mouse button the pen tool emerges from the anchor and allow me to go and select a new anchor point. The right pen tool keeps adding lines that I move the mouse.

    When you use the pen tool when I click and create an anchor point and release the mouse button the pen tool emerges from the anchor and allow me to go and select a new anchor point. The right pen tool keeps adding lines that I move the mouse.  How can I get the pen tool to release the anchor

    Try this.go in the menus. Select cc illustrator > preferences > display selection & anchor > then make sure the box "activate the rubber band for" the pen tool is not selected. Then press OK. It should work.

  • Is it possible to export a photo after editing and keeping the captured date?

    Is it possible to export a photo after editing and keeping the captured date? I got the impression that before Lightroom has not changed the date; now it doesn't...

    Please re - upload the same image that you exported and check the metadata.

    ~ UL

  • I started with LR3 LR4 now LR5, there are now three files, one for each version. Can I remove versions 3 and 4 and just to keep the record of version 5 or do I have all you files?

    I started with LR3 LR4 now LR5, there are now three files, one for each version. Can I remove versions 3 and 4 and just to keep the record of version 5 or do I have all you files?

    do not delete, uninstall, you no longer need.

    as long as your configuration/preferences/catalogues have been migrated or re-setup on lr5, you don't need previous versions.

  • How can I import a folder picture of mac to ipad and keep the subfolders as is?

    I want to import a file and KEEP the subfolders just how they are.  I don't want to re - fills to date, which is what makes the photos.  I tried to use itunes to import the folder and its subfolders.  There not just a way to drop the folder on the ipad via wifi?

    Response of old Toad

    Import the Photos and albums app records

Maybe you are looking for

  • message on my Apple Iphone SE

    I received a message on my Apple Iphone is "your Apple ID and phone number are currently used on a new Mac" what does that mean?

  • How to disable direct sound when you use a plugin for guitar?

    I use the Waves GTR plugin for recording guitar in Logic Pro X, but because it puts a lot of pressure on the CPU, I tried he governs through a "bus" instead of having the plugin separately on every guitar track. The difference is that when I use the

  • 15364 AMD A6 series: reset password

    HelloI just bought the laptop in the subject line and I can't connect to my computer. I forgot my password and the reset USB disk will not work either. I tried to quickly push f11, but at the moment that doesn't seem not work either.Thank you

  • Please recommend a video card compatible for HP a1400y Pavilion computer 32-bit

    computer crashes and says that the graphics card has stopped working.

  • HP jet desktop all in one 4500

    had struggled with printing from my computer then uninstalled and re installed but still will not print fronm the computer had the same thing happen before, but reinstall it always seemed to work, not this time any help would be happily received