Job Scheduler DB to regularly clean up the old data

Hello

The subscription information contains table following as, timpstamp, error, etc., the user of the operating system. How can I create a JOB DB running on a daily basis to keep saying only 90 days of data. Subscription data table contains since 2007, i.e., TIMPSTAMP 08/10/2007.

10.2.0.5 EA on RHLinux.
select owner,table_name,tablespace_name from dba_tables where table_name like 'HT_SERVER%';

OWNER                      TABLE_NAME      TABLESPACE_NAME
------------------------------ ------------------------------ ---------------
SYSTEM                      HT_SERVER           TOOLS

  COUNT(*)
----------
  12584584
Thank you very much.

Best regards.

Published by: John-M on May 3, 2012 07:15

Yes, the good is with <= not="">= as I posted.

Please if your doubt is the answer, mark the post as answer.

HTH

Tags: Database

Similar Questions

  • Want the old data of Firefox, old PC died, new recovery keys will remove old data on server.

    I created Sync on my hard drive now unusable, with all my goodies of Firefox on it. I am now on another hard drive but when I try to set up the synchronization and recover my old data, he said that I need a recovery key. I can't get a so it generates one, but a new will apparently remove the old data that I want to do unnecessary synchronization. How to access my old data without a key?

    I was and am now running Firefox 28.0 on two hard drives.

    Hello, it is not possible to recover your old data sync without the recovery key, because the data is stored encrypted on mozilla sync servers and it's the only key to decrypt. If you have already generated a new recovery key and then also data on the servers was overwritten - so I'm afraid that this data is lost for good...

  • Unable to recover the old data synchronization after reinstalling operating system

    Hello

    I was using Firefox 26. Recently, I've upgraded to the latest version. A few reasons, I had to reinstall my windows 7 OS.

    After I installed Windows 7, I installed the latest Firefox and tried to synchronize data. I was unable to connect because I forgot the password. I tried using the link "password forgotten", but he said there is no such thing as e-mail id. It was surprising to me. I'm still all emails, including the secret key, I used to add new devices earlier, since Firefox in my mail box.

    Since I left without another option, if I'm creating a new represent now on Firefox with old email ID. The account is created successfully. Again, it is strange to me. However, my old data are not synchronized.

    I need the old data. Help, please.

    -
    Thank you
    Ravi

    Sorry, Sync was not intended to be used to backup Firefox data before reinstalling the operating system. Its purpose is to synchronize several separate installations of Firefox, usually on the various devices.

    The old version of Firefox 26 uses another version of Sync, the latest version of synchronization happen in Firefox 29. The largest variation in sync had to do with the recovery key ('secret key') - is no longer something to see the user or has to deal.

    You should have installed Firefox 28 or earlier and then connected to your account synchronization to recover your data and then put updated for Firefox 32. By creating a new account with the same email address, your data has been wiped out by synchronization servers to allow you to start a new.

  • I had to fix Firfox because it wouldn't turn on. Now I have an icon on the desktop that says the old data. must I remove/recycle it's bin or keep?

    Firfox moz reset. worked very well. Should the icon on my office now says of the old data, I delete and send to trash and then empty the trash. It's going to hurt me.

    As long as all your data being transported on, you can delete the old data folder.

  • I can I burn a slideshow of my office on a RW dvd that already has data on it?  I want to erase the old data in the dvd

    I can I burn a slideshow of my office on a dvd + RW that already has data on it?  I want to erase the old data on the dvd and replace it with new content.

    Try to read the manual of your DVD - has nothing to do with iPHoto for Mac.

    LN

  • Help! Trying to write an array to a file without having to rewrite the old data each time.

    Hey everybody,

    I have a vi that takes a 2D array and writes to an xml file. The purpose for this is to characterize the pathloss through a matrix dowkey 10 x 10 to different frequencies. I use this program to create a table of correspondence for the switching matrix, so when I make one of my tests I can get an accurate measurment. The problem with this is that I take data points about 299 by combination of matrix switches leading me to data more than 32000 points in the lookup table. I use xml because each data point requires a header so I can analyze via the table of correspondence with another of my vi when I need that pathloss. What I'm trying to fix, is that when my vi wrote in a file at a time to save memory space, he wrote a single Bay. When writing, it rewrites the old data, and then the new data. As the number of points of data increase so does the time of latency of writing in the file. At the time wherever I am finished, it takes about five hours to completely write to the file. Does anyone know how to write about writing to a file without having to rewrite all the old data? Attached, it's my vi to write to the file, my vi for research in the file and an example of one of my tables in research.

    Thank you

    Dustin

    Hello

    Just in case others have a problem, something along these lines as one excerpt:

  • VM shows always refers to the old data store after storage vMotion?

    All the:

    We have recently set up a SAN Equalogic and plugged into our environment vSphere. We are moving our VM to SAN storage, off the coast of local disk. After treatment of a virtual machine, we always show the reference to the old data store on the summary page when you look at this VM. However, when we look at the settings, HARD drive shows that the vmdk file is infact on the SAN?

    Is there a reason why it would still showing upward for both?

    Thank you

    (1) check if the virtual machine has snapshots and maybe its pointing to the old datatore

    (2) check if any ISO is mounted on the virtual machine to the old data store

    After the screenshot of the VM folder by browsing the old data store

  • during an update lots of my profile folder has been put in a folder on the desktop marked the old data. How to restore this data file

    During a bet to update, automatic update of windows has started and some how much my profile data has been removed and stored in a file on the desktop. There is a simple and easy way to restore this folder from the current firefox?

    You can use the contents of the Old Firefox Data folder to "roll back" the refresh, but this involves several steps. It's probably even faster than the recovery of individual files and load those into your new profile.

    Check in the folder 'Old data Firefox' update adds a folder with a random semi name on your desktop. If there is only one, that probably has your old settings and Add-ons. If there is more than one, you'll want to work with one who has been updated recently.

    Once you have identified the profile folder, that you want to restore, here is my "old profile resurrection suggested procedure:

    Overview

    Here are the steps described in more detail below:

    1. Create a new Firefox profile
    2. Delete all of this profile folder
    3. Copy in all of the old profile folder

    Create a new profile for Firefox (Windows)

    Exit Firefox completely and start up in the Profile Manager by pasting the following in the Windows search, or the Run dialog box by pressing ENTER:

    firefox.exe -P
    

    Note: any time want to switch profiles, exit Firefox and return to this dialog box.

    Click on the button create a profile, give it a name like OldSettings and skip the option to change the location of the folder. Select the new profile from the dialog box, and then start Firefox.

    Open the new profile folder in Windows Explorer

    Firefox in the new profile should look like a new installation of the plant. Open the troubleshooting information page by using either:

    • button "3-bar" menu > "?" button > troubleshooting information
    • Menu help > troubleshooting information
    • type or paste everything: in the address bar and press Enter

    In the first table, click on the view file"" button. Firefox will launch your new profile folder in Windows Explorer.

    This folder open, switch back to Firefox and get out by using either:

    • "3-bar" menu button > button "power".
    • (menu bar) File > Exit

    Firefox is closed, the profile folder must be front and Center, or you can activate it by using the taskbar.

    Copy old data instead of new

    In this new profile folder you just popped open - NOT the one on your desktop - select all content (you can use Ctrl + a) and delete (you can press Delete on the keyboard).

    Leave this window open, open or switch to your folder of old data of Firefox. Consult your old profile folder. At this level, you should see a folder named bookmarkbackups among other things.

    Select all (Ctrl + a) and copy (or right-click > copy or Ctrl + c).

    Switch to the empty profile folder in another window and paste (or right-click > paste or Ctrl + v). This may take a few minutes because some files are large.

    Launch Firefox

    Firefox should start in this 'new' profile with the old resurrected profile data. Success?

  • recover the old data synchronization

    Hi all

    I bought a new laptop, but when I connect anything in sync gets synced so I lost all my passwords!
    I don't have the key to recovery from the old account to sync. I am able to get my old data sync, which are very important for me.

    THX

    Hi dionix, if you are referring to a recovery key, this means that you use sync 1.1 ("the old clock"). Mozilla stopped and decommissioned its old sync infrastructure and servers late September - this was communicated by product and ad to https://blog.mozilla.org/services/2015/07/31/shutting-down-the-legacy-sync-service/
    old data sync will be gone if you don't have not improved again sync in time.
    You can also transfer data from your old device update to the new synchronization where in Migrating it manually...

  • What is this file, the "old data Firefox?

    After the most recent update (dudes, what happened to the usual explanation of which resulted in the update?) I noticed this file on my desk, "Old data for Firefox." Is where all my Add-ons went? My presets? And so on?

    Is there a reason to keep this file, and if so what could I be able to use him?

    Thank you very much
    BAB

    You recently updated Firefox? Which will cause the folder "Old Firefox data" appears on the desktop. The "old firefox data" is basically old data of Firefox, as its name suggests. You don't need, but you can use as a return to the top if you wish, although it is highly unlikely that you need or like it. Check out this thread for more details. This issue is not related to the update of firefox.

    Have a great day!

    Jon

    I don't remember if this issue has much to do on what it can be used for, but basically, it can be used as a back up. The thread I posted instructions on how to view your current profile data.

  • How to get the old data 6 months from the current date?

    Hi friends,

    I have a table which includes historical data, which are having more than 1 years old data. The historical table gets updated once a week. My requirement is that I should get the latest data from the week of each month for 6 months according to the current data. I use oracle 10g.

    Can you please someone help in this.

    Thanks in advance

    SELECT last_day (ADD_MONTHS (TRUNC (SYSDATE, 'mm'),-LEVEL))-7 start_dt.
    LAST_DAY (ADD_MONTHS (TRUNC (SYSDATE, 'mm'),-LEVEL)) end_dt
    OF THE DOUBLE
    CONNECT BY LEVEL<=>

    change as a result, I have provided you the start and end dates for your logic...

  • Request for the old data that does not correspond to new data within a given period

    Hi all

    The reports that I need to create one for all employees who were going from one Department to another within a given period. The way I ran this report in Reportsmith (taken from our old system) was to compare the dept field from the start date to the dept in the end date field and it gives me these associate who had moved. I had to do it this way b/c dept changes can occur using several different types of actions (change to Surv, promotion, etc.), none of them exclusive to only change dept. We now use Oracle HRMS and I need to create this report even with this system using SQL.

    Does anyone know how to compare the data between two different dates and shoot those who do not match? Your help will be GREATLY appreciated!

    Best regards,

    Yasmin E. Alberto
    HRIS analyst
    [email protected]

    Hello

    Here is an example of an INSERT statement that may be relevant to this issue:

    INSERT INTO emp_action (empno,   action_date,                           deptno)
                    VALUES     (7902,    TO_DATE ('2009-06-18, 'YYYY-MM-DD'),   10);
    

    If someone wants to help you, in doing anything more than guess, then that person probably will need create tables that are similar to yours (but much smaller).
    To do this, they can issue instructions CREATE TABLE to the tables, the INSERT commands to fill (put data in) the tables.
    The tables invloved in this problem are probably simple, so if I can see some INSERT statements, I can probably write instructions CREATE TABLE myself and save you the trouble.

    For more info on INSERT, see the [Manual of the SQL language | http://download.oracle.com/docs/cd/B28359_01/server.111/b28286/statements_9014.htm#sthref8944]

    If you compare the deptno to a row of a table to the previous line, you can use the analytic LAG, something like this:

    WITH     got_prev_deptno  AS
    (
         SELECT     empno
         ,     action_date
         ,     deptno
         ,     LAG (deptno) OVER ( PARTITION BY  empno
                                     ORDER BY         action_date
                          )   AS prev_deptno
         FROM     action_table
    )
    SELECT     *
    FROM     got_prev_deptno
    WHERE   deptno         != prev_deptno
    AND     action_date >= TO_DATE ('2009-01-0'1, 'YYYY-MM-DD')
    AND     action_date <  TO_DATE ('2009-03-01', 'YYYY-MM-DD')
    ;
    

    Like all functions, the OFFSET is described in the [Manual of the SQL language | http://download.oracle.com/docs/cd/B28359_01/server.111/b28286/index.htm#I].

    Published by: Frank Kulash, June 18, 2009 11:53
    Originally missed a few quotes.

  • BlackBerry Smartphones wiping on my device memory - can anyone access the old data?

    I just wiped my 8700 device to switch to someone else to use. I'm afraid that previous confidential data could still be found - can anyone tell if the wiping device certainly erases all data for good?

    Data are not available.  However, there is a feature called "content protection" that will rub clean memory when a reset is performed.  He must wipe it several hours instead of several minutes.  This function prevents a person to remove the chip from physical memory and reading through other methods.  If the data is super sensitive, so this could be something to consider to have active on the device.  But for all purposes useful, no one can read the data after a wipe.

  • 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.

  • Cleaning of the process?

    I would like to clean all the process data used at the end of the process (IE in the last component of the workflow)

    String values are deleted by using NomDeLaVariable = "" expression.

    How to clear the XFAForm variables & XML variables?

    PS: I use component value defined as the last activity in the workflow

    Thank you

    Nith

    for xfaForm, try to set the empty string data type data items

    «"/ process_data/xfaFormVar/Data ="»

    «"/ process_data/xfaFormVar/TemplateUrl ="»

    See http://livedocs.adobe.com/livecycle/8.2/wb_help/000523.html

    For the xml var, think you can simply assign an empty string.

    Scott

Maybe you are looking for