Data deletion policy?

I have just a qustion?

If you have a small database (only about 20 tables and) and you need to remove some orphan data (approximately 300 records) that are not visible in the production of front end application. What is the best plan of attack?

Production data has been copied on the dev and test environments.


You create your deletion scripts, have a programmer to validate routines before run test and dev, run the scripts to ensure that they remove the records of test and dev after it is complete document 5 scripts, results expected and actual results for each of the 6 tables then put in a change management folder before you actually run the scripts in production?

running scripts in Oracle sql developer 2.1
front end is PeopleTools 8.49
Oracle 10g

you need to remove some orphan data (approximately 300 records) that are not visible in the production of front end application.
Production data has been copied on the dev and test environments.

Write a delete and check the script.
Complete documentation, find the appropriate time when it can be run in production
Test & he check in Dev environment.
Move the script to production.
Backup database
Run it in production
Check.
Complete change

Tags: Database

Similar Questions

  • Archive deletion policy journal

    Hello everyone,

    I configured the custody of data with oracle 11g with 2 databases on hold.

    I use rman in one of the servers (stb1) Eve to make backups.

    Can sb help me how to configure rman to delete archive logs when it is applied to all the sleep AND when they are backed up at least once in the reserve where the backups are performed.

    Thank you

    Hello

    You can run the command to do this below. The test that it can work.

    that you do not use FRA, oracle will not delete archives automatically

    in primary education

    RMAN > CONFIGURE ARCHIVELOG DELETION POLICY APPLIED TO ALL STANDBY;

    Standby mode

    When you do a backup

    RMAN > CONFIGURE ARCHIVELOG DELETION POLICY NONE;

    DELETE archivelog until 'sysdate-2/24' time saved 1 time to the device type sbt;

    Standby mode when you just want to apply:

    RMAN > CONFIGURE ARCHIVELOG DELETION POLICY NONE;

    DELETE archivelog until 'sysdate-2/24;

    If some records are not applied, those who will not be deleted... you can test

    Thank you

  • I would like to delete policy, top stories, stories recommended, a trend of stories for you page on new app

    I would delete policy, top stories, stories recommended, new trends for you page on the news application? Please get what he was better before we can remove it

    Hello, fredym1!

    Thank you for joining the communities Support from Apple! Looks like you're wanting to customize the news application in the section for you. That's a big question! Read this article with the steps to use news on your iPad, iPhone or iPod touch. More precisely:

    Customize for you

    Add themes and channels that interest you in the section Explore to your Favorites. This allows new decide what kind of stories you show for you.

    To display the list of channels and topics you follow, tap on Favorites.  If you subscribe to a channel, there is a separate section in the Favorites for your subscriptions. You can also sort the bookmarks by name, visited recently, or most visited. Just tap Favorites at the top of the screen, then choose how you want to sort them.

    You want quick access to headlines? Learn how to Add the new app to your Widgets on your iOS device.

    Add a subject or a channel

    1. Tap Explore the bottom of the screen.
    2. Browse the categories, channels and topics that interest you.
    3. When you find a channel or a topic you want to add, click on .

    Looking for a specific topic or channel? Click the Search tab and enter what you are looking for. You can also add a topic or a channel, you are looking for to your Favorites. Just type in next to the search results.

    Remove a theme or a channel

    1. Go to your Favorites.
    2. Tap on edit.
    3. Type in the upper right corner of the string or the topic you want to delete.

    You can also cut a channel to avoid stories appear in your feed you.

    See you soon!

  • What is the Mozilla user data retention policy unique identifier?

    I read recently in the privacy policy of FF that an ID unique browser is sent to Mozilla with an IP address whenever the browser checks the updates:

    "This function sends also potentially personal information to Mozilla in the form of your IP address and a cookie that contains a unique numeric value to distinguish various Firefox installs."

    http://www.Mozilla.org/en-us/legal/privacy/Firefox.html

    This feature can potentially, provide a list complete IP addresses and sites that a user used to access the Internet, Mozilla. Can you please clarify your data retention policy? In other words, how long are the IP address or other identifier stored on your servers?

    Hello! I'm chime of the Mozilla Privacy team.

    For RFT pings, we don't hold anything in FHR > 6 months (180 days). That answer your question? Here is a link to the info - it's under "how enable or disable sharing of data".

    https://support.Mozilla.org/en-us/KB/Firefox-health-report-understand-your-browser-perf

  • Cipher.exe to overwrite the data deleted in Windows works with Windows Vista?

    Cipher.exe to overwrite the data deleted in Windows works with Windows Vista? He worked under Windows 2000, but not sure about Vista!  Otherwise Vista contains a command to clean free space HDD?

    Hello

    you need 3 of third party programs to clean free hard drive space

    For your question:

    always check the compatibility of vista programs on the link below

    http://www.Microsoft.com/Windows/compatibility/Windows-Vista/default.aspx

    If a program is compatible with vista you can try right click on the setup.exe, and then selecting run as administrator

    It is not compatible with vista, you can try running it in a previous operating system mode

    This does not work for all programs

    read the information below

    http://www.howtogeek.com/HOWTO/Windows-Vista/using-Windows-Vista-compatibility-mode/

  • Suddenly the column Date deleted to the trash has been replaced by the update

    original title: Recycle bin sort order problem

    Suddenly the Date deleted in Recycke Bin column was replaced by update.  I am more able to sort items deleted in the trash by deleted date.

    Suddenly the Date deleted in Recycke Bin column was replaced by update.  I am more able to sort items deleted in the trash by deleted date.

    Open the Recycle Bin > menu toolbar ( not ) see > sort by > more > scroll to find Date removed,click on it > move the button to the upper right then move Date removed upward > OK

    For the benefits of others looking for answers, please mark as answer suggestion if it solves your problem.

  • ARCHIVELOG deletion policy vs v$ flash_Recovery_Area_usage - delicate...

    Hi all

    Reading of

    http://docs.Oracle.com/CD/E11882_01/backup.112/e10643/rcmsynta016.htm#RCMRF121

    DELETE ARCHIVELOG ALLconsiders that the deletion of archived newspaper policy


    Reading on archivelog deletion policy

    Only newspapers in the field of quick recovery can be deleted automatically by the database.
    When the deletion policy is set on NONE , RMAN considers archived redo log files as eligible for deletion if they meet both of the following


    -The archive redo logs, whether in or outside of it, fast recovery area have been transferred to remote required destinations specified byLOG_ARCHIVE_DEST_n


    -Log redo archived in the area of fast recovery, files have been saved at least once to the disk or SBT or newspapers are obsolete according to the backup retention policy.

    The esteem newspapers backup retention policy obsolete If newspapers are needed by a guaranteed restore not point and that newspapers are not required by Flashback Database

    =======================================================

    LOG_ARCHIVE_DEST_1 Q1) is configured to use 'db_recovery_file_dest' and archivelogs are kept here-> I have meet the #1 condition?

    Q2) I have a retention policy recovery backup window 1 day and I haven't done ANY backup at all yet. I don't have a flashback database, or doesn't I created a ganrantee restore point - I meet the #2 condition?


    Q3) I am able to issue "delete archivelog all ', what does that say I satisfy the condition #1 and #2 and the archivelogs are eligible for deletion?

    Q4) if above is a Yes, and with newspapers in fast recovery area may be removed automatically-> why is he in V$ FLASH_RECOVERY_AREA_USAGE, 'PERCENT_SPACE_RECLAIMABLE' always show 0 for the log archiving?

    I thought that the space which are recyclable are files that are eligible for deletion
    ?

    Kind regards

    Noob

    So, this giving some more thought and reading the documentation again. I conclude the following:

    The confusion might be in the context of "eligible for deletion" and management of automatic space of files inside the fast recovery area.

    If the Archivelog deletion policy is set to 'none', then delete archivelog all the will remove all archivelogs, without worrying. Otherwise, the archivelogs policy are not deleted.

    According to the documentation:


    DELETE ARCHIVELOG ALL considers only the deletion of archived newspaper policy and does not take into account the configured retention policy.

    Everything under "eligible for deletion" applies to the space management FRA, who considers the RMAN retention policy and, as far as I understand it, also believes the Archivelog deletion policy when it is not set to 'none '.

    Archive redo log deletion policy is set to NONE by default. In this case, RMAN considers archived redo log files in the recovery area as eligible for deletion if they fulfill the following two conditions:

    • The archived redo logs, whether in the flash recovery area or outside of it, have been transferred to the required remote destinations specified by LOG_ARCHIVE_DEST_ n .
    • Archived recovery logs have been saved at least once to the disk or SBT or newspapers are obsolete according to the backup retention policy.

    Regarding your recoverable space issue... If you have access to MOS, I suggest to see Doc ID 315098.1.

    What I take from this document, is that archivelogs are included in the column SPACE RECUPERABLE if the free space of FRA becomes less then 15% and the archivelogs are not required by the current backups. Or, archivelogs were saved and not deleted.

  • RMAN delete policy has not worked and not delete outdated backup

    Hi all

    I am facing a problem this obsolete backup is not delete unwanted backup.

    I used to take level 0 once weekly and cumulative incremental in 3 times a day.

    I have 2 TB hard drive, every week, I used the backup from command remove obsolete based file can delete based on my redundancy strategy 1.

    The previous week it works fine and deleted obsolete backup based on the deletion policy. but this week when I try to use the delete obsolete command, it is not removed and the hard drive is always full and I couldn't take later backup.

    It's live server, I need to take the free space on the hard drive. Please help me.

    You will find details of error that I met in the log file.

    output channel: C1

    output channel: C2

    RMAN-00571: ===========================================================

    RMAN-00569: = ERROR MESSAGE STACK FOLLOWS =.

    RMAN-00571: ===========================================================

    RMAN-03002: failure of backup so archivelog command at 05/05/2015 10:57:14

    ORA-19502: write error on file 'G:\RMAN\AWSPROCESS\BACKUP\AWSPROCESS\BACKUPSET\2015_05_05\O1_MF_NNND1_TAG20150505T090032_BNJGC9RR_. BKP", the number of block 7227648 (block size = 8192)

    ORA-27070: async read/write failed

    OSD-04016: error queuing an asynchronous i/o request.

    S/O-error: (OS 112) there is not enough space on the disk.

    Your backup on May 02 is not a valid backup, then you can try something like:

    RMAN > delete database backup completed after 'sysdate-6 ";

  • All the members (but 1) are removed from the entity dimension in planning and deployed to essbase. -What are the data deleted in essbase so? / The data can be restored by restoring the entity dimension?

    All the members (but 1) are removed from the entity dimension in planning and deployed to essbase.

    -What are the data deleted in essbase so?

    The data can be restored by restoring the entity dimension? EPMA the entity dimension is still in tact.

    It is unclear what exectly arrived, but looks like a change was made in the dimension entity planning (not EPMA) and then deployed (successfully).

    In essbase, we see that the entity dimension has only one member left for the appropriate plan types, as in the planning.

    If you remove members and then push that yes the essbase data is deleted, if you need back then you will need to go back to your restore process.

    See you soon

    John

    http://John-Goodwin.blogspot.com/

  • What ArchiveLog deletion policy will activate

    Hi all

    I know when archive political deletion log turn on?


    Configure the policy to delete archivelog saved 2 times to the disk.

    Do above mean that delete archivelog backed up twice?


    Thanks for your help.

    The deletion policy specifies what archivelogs are eligible for deletion. In your example, the archivelogs, who were backed up 2 times on the disk (and not band).

    Deletion occurs when files in the FRA use all available space (depending on configuration), and the database recover space in order to store the new files - for example the new archivelogs.

  • CONFIGURE ARCHIVELOG DELETION POLICY

    Hi all

    In this context:

    CONFIGURE ARCHIVELOG DELETION POLICY TO SAVE 2 TIMES TO THE DISK.

    I tell rman to consider the already saved archivelogs twice to be obsolete.

    I can then delete using:

    backup database more archivelog entry remove

    or manually as in

    cross-checking of backup;

    remove obsolete;

    My question is this: why would you wait until newspapers are saved twice? Why save twice on the drive?

    In my case, I saved them outside of the FRA and the FRA. I understand the process to remove them, I'm just not sure about the meaning of the "n TIMES" retention policy

    Thank you.

    11.2.0.2

    DA

    Hey Dan,

    Save your archivelogs twice is purely an exercise in belts and suspenders.

    So unless you have two backups RMAN will not remove the archivelog, you will get a warning of something like 'need to create another backup expiration deletion.

    Purely belts and suspenders and nothing more, in the case where a copy of one of the archivelogs is corrupt or something.

  • RMAN archivelog deletion policy

    Hello

    I use 10 g on RHEL 4.8 64 bit 2.

    If I use the RMAN > "" backup database archivelog all delete all entries '; " It removes archiving of all locations logs after backup

    If this command obeys the retention-log archiving strategy or let say if I have something like below.

    CONFIGURE ARCHIVELOG DELETION POLICY TO BACKED UP 2 TIMES ON SBT.


    Thank you
    Vijay

    Fabienne wrote:
    If I say backup - archivelog all delete all entries: RMAN removes all archivelogs of all destinations of the archive after backup and retention policy applies to newspapers that have been backed up on TAPE or on DISK?

    remove all entries, will remove all SOURCES of backups after performing the backup.

    CONFIGURE ARCHIVELOG DELETION POLICY TO BACKED UP 2 TIMES ON SBT.

    In your case, RMAN backs up archivelogs for band and then remove all sources of archivelog backups.

    http://download.Oracle.com/docs/CD/B19306_01/backup.102/b14192/bkup003.htm

  • Enterprise remote data deletion

    Hello everyone, I'm still new in the it field. I got a year ago, with a degree of general partners of a school local tech. I'm currently studying for my Windows 8 cert. I read an e-book and came across remote deletion of corporate data. I was talking to a colleague who is interested and wants to learn more. I'm doing some research on this subject. What I understand users can use their smartphone or laptop and connect to the network/domain to access the data. If the laptop or the phone goes missing, we can use this tool to remotely wipe the device or temporarily to make the data on the device unusable. I understand that RBDR is using Exchange ActiveSync to management along with Active Directory for authentication. Many of our customers use Office 365, so everything is done in the cloud. I have done a lot of research on Google but have not found much RBDR except that it is. Can someone help me understand this tool or point me to a good article that explains a bit more in depth about how this works.

    Any help is very appreciated. I'd like to understand what this tool and how it works.

    Thank you.

    Brandon

    Removal of remote enterprise data: Allows personal devices to connect to, access and store the business content that can be effectively removed from the device by HIM at a later date, while retaining the personal data intact.

    Selective Windows wipe for the management of data from devices

    http://TechNet.Microsoft.com/en-us/library/dn486874.aspx

    Do a wipe on a Mobile phone remotely

    http://TechNet.Microsoft.com/en-us/library/aa998614 (v = exchg.150) .aspx

    I have earlier recommended that you post on TechNet Forum.  These are specialists who are better able to answer all your questions about RBDR.  You can also try to post questions on this site Office 365.

    http://Office.Microsoft.com/en-us/Office-365-Business/Office-365-small-business-Setup-Center-HA104218051.aspx

  • restore data deleted on partitioned drive

    I accidentally deleted important data (photos and videos) on a partitioned drive (drive F), but I can't find a basket on the partitioned drive. Deleted files are not in the Recycle Bin on drive C. How I could access the trash on this drive or is there another way I can retrieve this important data? Thank you

    Jerome Godin

    Hello

    Check with the manufacturer of cameras they have probably done this before.

    Also check the Piriform Forums and those of the software that you used, if they have forums.

    Recuva - free - recovers files deleted from your Windows computer, Recycle Bin,
    map of the camera digital or MP3 player. And it's free!
    http://www.Piriform.com/Recuva

    Forums - help here
    http://Forum.Piriform.com/

    I hope this helps.

    Rob Brown - Microsoft MVP<- profile="" -="" windows="" expert="" -="" consumer="" :="" bicycle="" -="" mark="" twain="" said="" it="">

  • Custom data retention policy

    Hi all

    Is it possible to set up below the retention to Foglight (5.6.10) policy.

    * Save 10 minutes for 90 days and then purge *.

    Kind regards

    Roshan Varughese

    Hi Roshan,

    You must set all three generations in the custom retention policy to preserve data for 10 minutes.

    Please find the custom in FMS UI retention policy under: management data/servers/server management / retention policy/policy current. Here, select the menu drop-down and click custom.

    Once there you should be able to select 10 minutes for each generation, then purge the data after 3 months. (see image below)

    Keep in mind that political detention is very granular and the size of your database is likely to increase. Also, when you use larger slots in the user interface, the server will have to deal with more values and will add a certain amount of overhead.

    More information in Foglight documentation - creation of custom retention policies.

    Gaston.

Maybe you are looking for

  • Battery 12 cells for DV4?

    Hi all, I have a DV4 and I want to buy a 12 cell battery... Where can I find it on Internet? ... I found one on Newegg, but I don't know if it matches with my laptop... Here is the link http://www.Newegg.com/product/product.aspx?item=N82E16834998044

  • Update Service Pack 2 stops at 100%.

    Hello there, my Windows Vista installation seems to update, but stops abruptly at 100%. It will not move and complete the update, it just stops. I keep the PC, and I had to preform a system reset cause it was still stuck on the "Configuring updates"

  • Problem with a spanning tree Protocol

    Hello I have a problem with the spanning tree Protocol, when I connect a printer on C3560E cisco switch. It's the Show Logging: * 27 sep 18:57:29.451: % SPANTREE-7-PORTDEL_SUCCESS: GigabitEthernet0/8 removed from Vlan 600 * 27 sep 18:57:31.976: % SPA

  • My CD does not open to insert the disc. What should I do?

    I try to open my CD to insert another but it does not open. The green light doesn't even come. What should I do?

  • FDM - a script engine for the specified language cannot be created.

    HelloWhen I try to log into the application of FDM, I get the error message below. FDM - 11.1.1.3 application version. I restarted all services and tried to log in again. But getting same error message.  It was working fine before. Please could you h