Record in sys.aud$ can be deleted directly?

We start with Oracle 11 g of August 2011, I am not aware of the audit trail is turned on by default. I'll try to set up the schedule jobs to purge the audit trail regularly, before that, I will not keep track more than a month ago. Can I just delete the record by timestamp? Is - this ntimestamp #?

The last_arch_timestamp is used by the procedure, but must be set manually by the ADMINISTRATOR. You may have another procedure set it progressively.

Hemant K Collette

Tags: Database

Similar Questions

  • Delete records from sys.aud$ stored procedure

    We have a stored procedure that attempts to move the records from the table of sys.aud$ to a history table (in order to keep sys.aud$ to a more reasonable size, I guess - full disclosure, I have not written this proc). Base flow is:
    Select count (*) in the number of lines of sys.aud$
    If {(rowcount > 1000)
    copy all rows in sys.aud$ in the history table
    remove from sys.aud$
    }

    I says this proc used to work perfectly in a troubled past (I'm new on the client) but now has not worked for a while. When we try to compile the proc, we get the error
    "table or view does not exist", and the line is the "deletion of sys.aud$. The line "select count (*) from sys.aud$ ' seems to cause no problems, but the proc does not compile as is. If I comment out the line "remove from sys.aud$", however, the proc compiles very well.

    Confusingly, if I log in as the same account that owns this proc, I can run both the count (*) select from sys.aud$ AND remove clauses sys.aud$ with no complaint at all (by modifying slightly to work with 1 single record at a time, of course), but I can't seem the same to compile in a stored proc.

    I guess that it is related permissions? Can someone point me to the permissions of the owner needs to be able to remove from sys.aud$ in a stored procedure? Or is there something else that needs to be done here? Pointers much appreciated.

    Thank you.

    956928 wrote:
    We have a stored procedure that attempts to move the records from the table of sys.aud$ to a history table (in order to keep sys.aud$ to a more reasonable size, I guess - full disclosure, I have not written this proc). Base flow is:
    Select count (*) in the number of lines of sys.aud$
    If (rowcount 1000 >) {}
    copy all rows in sys.aud$ in the history table
    remove from sys.aud$
    }

    I says this proc used to work perfectly in a troubled past (I'm new on the client) but now has not worked for a while. When we try to compile the proc, we get the error
    "table or view does not exist", and the line is the "deletion of sys.aud$. The line "select count (*) from sys.aud$ ' seems to cause no problems, but the proc does not compile as is. If I comment out the line "remove from sys.aud$", however, the proc compiles very well.

    Confusingly, if I log in as the same account that owns this proc, I can run both the count (*) select from sys.aud$ AND remove clauses sys.aud$ with no complaint at all (by modifying slightly to work with 1 single record at a time, of course), but I can't seem the same to compile in a stored proc.

    I guess that it is related permissions? Can someone point me to the permissions of the owner needs to be able to remove from sys.aud$ in a stored procedure? Or is there something else that needs to be done here? Pointers much appreciated.

    Thank you.

    acquired through ROLE privileges are NOT applicable within the named PL/SQL procedures.

    GRANT DELETE ON SYS. AUD$ ;

  • Hiberfil.sys and pagefile.sys - I can't delete

    Hello
    I have a computer laptop tecra s3 and after a fresh install of XP restore cd, I noticed that 4 GB of my C partition are 2 files:
    (1) C:\hiberfil.sys (around 2 GB)

    All my C partition is 12.5 GB because of the small HDD (80 GB), so I really need the extra space.
    Hiberfil I looked on the internet and this is the info of the RAM when I activate the Hibernate to close Notepad. I've ever used this function and in any case, it is disabled, there nothing on the hibernation in Control Panel-> Power Options, and when I want to activate stop-> hibernation, I can't because it is faded and I can't select it. So obviously this file I need, it's a hidden file system: how to remove it? I tried already the folder option-> view the file and I have uncheked Hide protected operating system files, but still I can not remove it.

    (2) C:\pagefile.sys (around 2 GB)
    This file is the virtual memory that XP uses of my HARD drive as ram memory, I currently have 2GB of RAM.
    If I reduce the amount of this virtual memory settings, what will happen to XP? He's going to become increasingly slow?
    This laptop is important because I use it on my work place, so... I really need to work properly :)

    Thank you, hope you have time for me soon :)

    If you disable Hibernation in the Power Options (and the Toshiba Power Saver), you should be able to delete that file. If you can't, try to delete it in Mode without failure. From the start to access the Windows boot to Windows Startup menu, press F8.

    Windows requires a swap file to work properly, so you should not delete the pagefile.sys file. If you do, it will be created again anyway.

    PS. SD cards are cheap these days, so you can use a 16 GB SD card to store your files if the HARD drive is running out of space.

    Use CCleaner (google is your friend) to delete unnecessary files from the HARD drive and clean the registry.

  • Despite compact records later, I can't delete imported files

    Trying to consolidate email accounts in thunderbird for winxpsp3. With the import feature, I tried to import
    emails to outlook express and choose "all." Well, it has imported everything on my logical disk as a record of e-mail and now I can't delete them. They reappear once I deleted some of them on the next boot or install,
    Java will not erase of it at all. Why it has imported no records email and or in any case can I get rid of these file directories once anmd for all. I even uninstall on 4 different and same versions messed up the folder tree appears always. I would really like to keep usng thunderbird, but it's maddening.

    I stumbled upon the answer... somehow the program had used my drive D:\ logical for local folders "nobody," rather than looking in the D drive for mail folders. It is under this directive wide she added each file D that I got under local folders and couldn't delete all files in the local folders. It wasn't until I have change D to something more specific than ubiquitous inapplicable records finally went and could stay deleted.

  • Hi there, I been using MacBook Air and IPad2 for awhile. Recently, I lost my MacBook Air and am interested open ICloud to check my folder/old records. Can I get directions to the opportunity to see my files in I have the cloud.

    Hi there, I been using MacBook Air and IPad2 for awhile. Recently, I lost my MacBook Air and am interested open ICloud to check my folder/old records. Can I get directions to the opportunity to see my files in I have the cloud.

    I hope that you are not in a surprise but a MacBook Air not backup to iCloud. It can record data in iCloud drive (if you saved it specifically to this place) and can synchronize Photos, Contacts, etc to iCloud if you had set it to do. You can use any computer and connect to https://www.icloud.com/ to see what is stored. I hope this is good news and that it contains what you hope.

  • Webroot security found a file that is a threat to my system. Serial.sys Can I delete this file and download a new serial.sys or is this a file I do not have?

    My malwarebites program keeps blocking a signal out to various websites... When I installed and ran the program of webroot it detected the file serial.sys as a threat similar to my system.  I'm assuming that this file is probably infected.  I guess my first question is whether or not, it is a necessary file?

    If it is can I delete and download a new serial.sys?

    Thank you very much

    Hi John Sw140,.

    Microsoft Windows serial should be located in the folder C:\Windows\System32\drivers . This file serial.sys is safe and should not be considered a threat to the computer. The serial.sys process is part of Microsoft Windows and should not be removed or prevented from loading at each loading Windows. This could cause errors or Windows to stop working.

  • can I delete email on mac accounts and retain their remaining icloud?

    can I delete email on mac accounts and retain their remaining icloud?

    I'm looking forward clean my OSX and I wondered if I delete accounts on mac, along withh records, etc., do I still have access to them in Icloud. (I don't know which way the sync works)

    Unless the e-mail accounts are based icloud.  That is to say, they end in @icloud.com, then without removing the Mac not keep them in iCloud because they are not in first place.

    You should always be able to access through their respective clients to Web Mail however.

    If they are based iCloud.com, then Yes you can remove form Mac and they are accessible via http://icloud.com by logging into each account there.

  • I can't delete cookies after update from version 9.0.1, also the opening, I have 2 new cookie files that disappear at the close of FF.

    I have uninstalled/reinstalled 9.0.1, is the same thing. Check my profile, cookies.sqlite is if FF is closed or uninstalled. When installed and opened, I have 2 new files, wal - cookies.sqlite and cookies.sqlite - shm, as well as of cookies.sqlite. Is this the reason why I can't delete cookies? Also, I and enabled AdBlock Plus and the navigation of private life. After update, I can't post anything in support of FF (this is my 4th attempt, Safari finally used to post) and files under Tools, as clear history are accessible, I shouldn't have a history to remove.

    (1st edition)
    Ok. I reinstalled FF 9.0.1 Safari, but not directly from Mozilla. I used CNet, now things work as they should. I have no cookies listed, except those I want. Private browsing does not work correctly. However, I still have these 2 additional cookie files; -wal-shm.

    (2nd edition)
    I spoke too soon. After accessing sites that I frequent, the 'ad' cookies are back (adbright, realmedia, 247realmedia) and cookies from the site are eliminated, only not here, spent. Now I can't connect to anything and am back to Safari to access the Support Forum of FF. Have I not a bug? Someone please help, I'm desperate, I hate IE, Safari, Chrome, etc. They have neither the level of ad and pop elimination - up that Firefox has; and they don't have the level of customization that Firefox has. 2 additional cookie - wal-shm files, are always there when FF is open and disappeared again the closure of FF. One last thing, I noticed, I have a request of support for Chrome file in my library. The cookie file Chrome could interfere with the FF cookies? I do not think, I have Safari, as well, and no browser has ever interfaced with each other before.

    (3rd edition)
    I have uninstalled/reinstalled FF, all my modules and also tried to delete the cookies.sqlite document in the FF profile file, nothing happens. I counted, there are 14 sites listed in preferences > privacy > pane show Cookies (no pun intended) and they are all sites of "ad". These sites are also listed as sites blocked in Adblock Plus. Until a person pick up, I give up, I don't know what else to do. He there was that the only time that cookies were gone pane show Cookies, every other time I have uninstalled/reinstalled anything, they were still there. So, until someone can help me, I'm stuck. The only thing I did is removed altogether-profile file. It's the last thing I want to do, unless I can save my favorites somewhere to return after reinstalling. If this is not corrected in the next few days, I can just try, too.

    I think I solved my problem. I activated the safemode, then activated each Add on, one at a time, reboot FF between each activation. I don't have the add-on TACO. I hope this is the end. Thank you for your response. I appreciate it.

    Little puzzle, this particular post was not the first in which I posted this question. However, it is the only one that I thought was actually posted on the forum. The first two attempts, I thought had not displayed. Today, there are all the posts with the same problem. So, I really thank Mozilla for their patience and all the people who have taken the time to read this and the other two positions. I apologize for the repeated messages. I really didn't know that they had been posted because I couldn't find their afterwords to edit with my attempts to fix this problem.

  • I have sync all my photos on my laptop to my phone, but now I can't delete photos on my phone? And its blocked my memory up how do I remove them all?

    I have an iphone 6. Which i can't download anything, or use my app whats that my phone is in full use because I sync all my photos on a laptop

    That's right, synchronize the photos can not be delete directly your phone connect to iTunes and unsync them.

    do the opposite of this Sync photos from your computer to your device via iTunes - Apple Support iOS

  • I can't delete emails on my output of microsoft express.

    Can't delete emails from box and box removed from my exit Express 6.

    Spend most of your messages out of the Inbox and move the messages you want to record off deleted items, and sent items. Locate the OE message store and then close OE.
     
    Tools | Options | Maintenance | Store folder will reveal the location of your Outlook Express files. Note the location and navigate on it in Explorer Windows or, copy and paste in start | Run.
     
    In Windows XP, the files of user OE (DBX and WAB) are by default marked as hidden. To view these files in Windows Explorer, you must enable Show hidden files and folders under start | Control Panel | Folder Options icon | Opinion, or in Windows Explorer. Tools | Folder options | View.
     
    With OE closed, find the Deleted Items.dbx and Sent Items.dbx files and delete them. New files will be created automatically when you open OE.
     
    Compact all folders as described below.
     
     
     
    To avoid this in the future:
     
    Do not archive mail in the receipt or sent items box. Create your own user-defined folders and move messages you want to put in them. Empty the deleted items folder daily. Although the dbx files have a theoretical capacity of 2 GB, I recommend all a 300 MB max for less risk of corruption.
     
    Information on the maximum size of the .dbx files that are used by Outlook Express:
    http://support.Microsoft.com/?kbid=903095
     
    After you're done, followed by compacting your folders manually while working * off * and do it often.
     
    Click Outlook Express at the top of the the folder tree so no folders are open. Then: File | Work offline (or double-click on work online in the status bar). File | Folder | Compact all folders. Don't touch anything until the compacting is completed.
     
    Disable analysis in your e-mail anti-virus program. It is a redundant layer of protection that devours the processors and causes a multitude of problems such as time-outs and account setting changes. Your up-to-date A / V program will continue to protect you sufficiently. For more information, see:
    http://www.oehelp.com/OETips.aspx#3
  • How can I delete a corrupted file that prevents me from backup of my hard drive?

    I can't back up my drive hard because when I try to copy, the copy of windows feature explore hangs up and stops when it hits the corrupted file. I can't delete, move, copy, or modify attrubutes on file and no program do not use. Back to zero does not solve the problem. How can I force windows to delete this file so that I can back up my hard drive? The corrupted file is a video. AVI file.

    Try the freeware "Unlocker" program  It has a pretty good track record, deleting files with this error message.

    HTH,
    JW

  • I can not delete messages in Outlook Express 6.0

    Everything worked fine until I started my 'sent box' deletion. There where a lot of messages in there and I was remove from groups of 10 people or more. Some of them had more away in each group. I came to one who has had multiple (I had sent photos). It's where he hung up.

    I moved what I wanted to keep and have used Items.dbx, inbox.dbx, Outbox.dbx, sent, and Deleted Items.dbx, etc..

    All the these are empty now and are in the trash, but still I can't delete messages. I can move their correct. I can receive and send okay

    One who had the photos, I recovered and put in its own box again. I used the .dbx to delete again as well but still does not work

    OE closed when you removed the dbx files? It must be.
     
    Spend most of your messages out of the Inbox and move the messages you want to record off deleted items, and sent items. Locate the OE message store and then close OE.
     
    Tools | Options | Maintenance | Store folder will reveal the location of your Outlook Express files. Note the location and navigate on it in Explorer Windows or, copy and paste in start | Run.
     
    In Windows XP, Win2K & Win2K3 the OE user files (DBX and WAB) are by default marked as hidden. To view these files in Windows Explorer, you must enable Show hidden files and folders under start | Control Panel | Folder Options icon | Opinion, or in Windows Explorer. Tools | Folder options | View.
     
    With OE closed, find the Deleted Items.dbx and Sent Items.dbx files and delete them. New files will be created automatically when you open OE.
     
    Compact all folders as described below.
     
    To avoid this in the future:
     
    Do not archive mail in the receipt or sent items box. Create your own user-defined folders and move messages you want to put in them. Empty the deleted items folder daily. Although the dbx files have a theoretical capacity of 2 GB, I recommend all a 300 MB max for less risk of corruption.
     
    Information on the maximum size of the .dbx files that are used by Outlook Express:
    http://support.Microsoft.com/?kbid=903095
     
    After you're done, followed by compacting your folders manually while working * off * and do it often.
     
    Click Outlook Express at the top of the the folder tree so no folders are open. Then: File | Work offline (or double-click on work online in the status bar). File | Folder | Compact all folders. Don't touch anything until the compacting is completed.
     
    Disable analysis in your e-mail anti-virus program. It is a redundant layer of protection that devours the processors and causes a multitude of problems such as time-outs and account setting changes. Your up-to-date A / V program will continue to protect you sufficiently. For more information, see:
    http://www.oehelp.com/OETips.aspx#3
  • I can't delete some messages

    After trying to send an email with attachments to photo, I received a message that the file was too big and e-mail could not be delivered.  I can't delete this notification message.

    Welcome & thank you for your comments.

    If you have additional problems:

    1. move all the messages you want to keep out folders, sent items and deleted items, and in other local OE folders you have created for archiving (backup) of such messages.

    1B. move 99% of your messages in your Inbox folder to other folders the of OE, too.

    2. Note the location of the store of your identity (http://www.insideoe.com/files/store.htm#storemain).

    2B. turn on "Show hidden folders and files" via start | Control Panel | Folder options | View (cf. http://www.bleepingcomputer.com/tutorials/tutorial62.html).

    3. close OE.

    4. in Windows Explorer, navigate to your storage folder, find & delete the files Outbox.dbx, Sent Items.dbx and Deleted Items.dbx.

    ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

    To avoid such problems in the future, comply with the following restrictions:

    N ' not use Inbox or sent items to archive messages.  Move them to local folders created for this purpose.

    -Empty the deleted items folder daily.

    -Frequently perform a manual compact of all OE while records that "work offline".  More on http://www.insideoe.com/files/maintain.htm

    -Do not cancel automatic compacting, where it would happen and do not try to close OE via Manager tasks or stop your Automatic compaction machine can take place.

    -Disable e-mail scanning in your antivirus application.  It can cause corruption (i.e., loss of messages) and offers no additional protection:

    Why you don't need your anti-virus to scan your email
        http://thundercloud.NET/infoave/tutorials/email-scanning/index.htm

  • Why, all of a sudden, can't delete some messages in the Inbox of outlook express

    in the last week, I can't delete some messages from my outlook inboxof express. There is no constant to reason

    Spend most of your messages out of the Inbox (if you can), and move the messages you want to record off deleted items and sent items. Locate the OE message store and then close OE.

    Tools | Options | Maintenance | Store folder will reveal the location of your Outlook Express files. Note the location and navigate on it in Explorer Windows or, copy and paste in start | Run.

    In Windows XP, Win2K & Win2K3 the OE user files (DBX and WAB) are by default marked as hidden. To view these files in Windows Explorer, you must enable Show hidden files and folders under start | Control Panel | Folder Options icon | Opinion, or in Windows Explorer. Tools | Folder options | View.

    With OE closed, find the Deleted Items.dbx and Sent Items.dbx files and delete them. New files will be created automatically when you open OE.

    Compact all folders as described below.

    To avoid this in the future:

    Do not archive mail in the receipt or sent items box. Create your own user-defined folders and move messages you want to put in them. Empty the deleted items folder daily. Although the dbx files have a theoretical capacity of 2 GB, I recommend all a 300 MB max for less risk of corruption.

    Information on the maximum size of the .dbx files that are used by Outlook Express:
    http://support.Microsoft.com/?kbid=903095

    After you're done, followed by compacting your folders manually while working * off * and do it often.

    Click Outlook Express at the top of the the folder tree so no folders are open. Then: File | Work offline (or double-click on work online in the status bar). File | Folder | Compact all folders. Don't touch anything until the compacting is completed.

    Disable analysis in your e-mail anti-virus program. It is a redundant layer of protection that devours the processors and causes a multitude of problems such as time-outs and account setting changes. Your up-to-date A / V program will continue to protect you sufficiently. For more information, see:
    http://www.oehelp.com/OETips.aspx#3

  • Help! -I can't delete messages in my Inbox in Outlook Express 6

    Hello.
    I can't delete messages in my Inbox in Outlook Express 6. An idea

    1. move all the messages that you want to keep out of the folders Inbox, sent items and deleted items and in other local OE folders have created you for archiving (backup) of such messages.

    2. Note the location of the store of your identity (http://www.insideoe.com/files/store.htm#storemain).

    2B. turn on "Show hidden folders and files" via start | Control Panel | Folder options | View (see http://www.bleepingcomputer.com/tutorials/tutorial62.html).

    3. close OE.

    4. in Windows Explorer, navigate to your storage folder, find & delete the files Inbox.dbx, Outbox.dbx, Sent Items.dbxand Deleted Items.dbx.

    5 empty the trash.

    ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

    To avoid such problems in the future, comply with the following restrictions:

    N ' not use Inbox or sent items to archive messages.  Move them to local folders created for this purpose.

    -Empty the deleted items folder daily.

    -Frequently perform a manual compact of all OE while records that "work offline".  More on http://www.insideoe.com/files/maintain.htm

    -Do not cancel automatic compacting, where it would happen and do not try to close OE via Manager tasks or stop your Automatic compaction machine can take place.

    -Disable e-mail scanning in your antivirus application.  It can cause corruption (i.e., loss of messages) and offers no additional protection:

    Why you don't need your anti-virus to scan your email
        http://thundercloud.NET/infoave/tutorials/email-scanning/index.htm

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

    In this forum, you will find some support for Outlook Express: http://answers.microsoft.com/en-us/windows/forum/windows_xp-networking

Maybe you are looking for

  • My iPhone 6 more used to turn past the Apple logo

    I get the Apple, date and time, and the shot then it restarts again if I try to drag.

  • To use the iphone 6s in INDIA buy other countries

    Hi team, Can you please let me know if I can use iphone 6s in India if I will buy it in other countries? Thank you Gwenaëlle

  • Search Google "hook" after two words

    I had this problem with my Droid X of the day 1. Gingerbread and Froyo updates have not solved the problem. I 'suggested matches"disabled in my Google account profile. Whenever I enter a second word, it "hangs" for as long as 30 seconds before I can

  • combining two tables

    Hello I have a while loop that runs trough each case in a box structure. Each of these cases produced a 1 d table. How can I combine these tables in a 2d array. An attempt with two cases is attempted in the attached diagram. The problem is it seems t

  • Windows 7 HP miniature.

    Hi guys,. A small question (I think), but still concerns me however. The thumbnail for my tool Diagnostics HP on my Windows 7 Desktop, recently placed under the HP Logo to a white page with a small box containing images colored inside (as pictured).