Logs are filling up disk space

Dear all
i am facing a problem in my database
the database is in archive log mode and continuous archiving of log is filling up the disk space
please let me know what should i do so that at the end of activity there should be no complaints of logs filling up
i wil ensure the big disk space
please let me know what kind of administration i have to do with this issue ...

hello Sagar
when you use RMAN for backup you can set RETENTION POLICY for window of day or redundancy for example
RMAN> CONFIGURE RETENTION POLICY TO RECOVERY WINDOW OF 3 DAYS;
or
RMAN> CONFIGURE RETENTION POLICY TO REDUNDANCY 3;
and when you backup use "BACKUP ... PLUS ARCHIVELOG" for example
BACKUP DEVICE TYPE sbt
DATABASE PLUS ARCHIVELOG;
it cause that RMAN when backup your database , backup your archived logs too ;
and about that two first CONFIGURE command
first command cause backupfiles and archived log files that backuped up before than 3 days signed obsolete in V$BACKUP_FILES view
(you can query the V$BACKUP_FILES view and check the OBSOLETE column)
second command cause backupfiles and archived log files that backuped up 3 times signed obsolete in V$BACKUP_FILES view
and if you use "DELETE OBSOLETE ..." command in RMAN it delete obsolete files
and your archived logs that backued up and are obsolete will be delete
AND you can use DBMS_SCHEDULER for synchronize this routine
Message was edited by: khosravi
khosravi

Similar Messages

  • Mail logs filling up disk space: why? ok to delete?

    Computer spec’s: 2GHz Mac Mini with 4GB of RAM and a 250GB flash storage. I am running OS 10.9.5 and Mail 7.3.
    Problem: My storage has been mysteriously filling up, with about 200 GB in “other” in “about this Mac.” I would delete files and then it would fill up again. Using WhatSize, I determined that Mail logs took up 107GB, with two files accounting for most of this (details below).
    Questions: Is it safe to delete Mail logs? Why are some so big? Why are dates so random? Can I prevent large mail logs in the future?
    In Library/Containers/com.apple.mail/Data/Library/Logs, here are the dates and size of the largest files named in format: [long stream of numbers and letters]=imap.gmail.com.txt
    July 15: 55.8 GB
    Sept 3: 47.17 GB
    Aug 6: 5.43 GB
    Aug 6 3.64 GB
    Then there are six files between 312GB and 867.2 GB and many others named in the above format and multiple files named in this format: [date]_GmailDelete.log dating back to May 21.
    Thank you for your help.

    Hi, I'm having a very similar trouble but I do not use Gmail. I have several mail accounts, essentially from 2 mail server providers (hosting and registrar companies), most accounts in IMAP but some still in POP.
    I'm on a PowerBook pro, retina 15 mid 2012, 2.7 Ghz Intel Core i7, with 750 Gb SSD disk", running OS X Yosemite 10.10.2
    Since one week I experience the same problem, disk space filling up without appearant reasons. In the Data/Library/Logs/Mail I have 541 files (!!), some of them very huge. I have deleted a 75 Gb file and another of 13Gb, but I still have files from more than 9Gb (ten file obver 1Gb).
    I have changed passwords in my accounts and even to access my hosting proividers. But no changes.
    Deleting the huge files in the Logs doesn't seem to affect Mails except the fact that I have to enter all POP / IMAP and SMTP passwords :-(
    In the logs, the hugest files are "2015-03-18_IMAPMailboxSyncEngine.log", 2mail.mydomainname-d44f367b-6650-4ddf-9cc6-4fe08822ab6c.txt", "2015-03-21_SocketStreamEvents.log", "137778C8-7690-48F3-877E-48D400322117-mail.mydomainename.txt", and I have plenty like that.
    The question is, where the problemn comes from ??
    When deleting the log files ... the problem is not solved because it continues to filling it with new logs, again ..
    Thank you for your assistance and help.

  • T-SQL for finding the unused tables which are consuming maximum disk space.

    Hi,
    Need help in writing a T-SQL that can return me the unused or least used tables in a database and are consuming a lot of disk space.
    Thanks  

    Refer
    http://gallery.technet.microsoft.com/SQL-List-All-Tables-Space-baf0bbf9
    create table #TableSize (
    Name varchar(255),
    [rows] int,
    reserved varchar(255),
    data varchar(255),
    index_size varchar(255),
    unused varchar(255))
    create table #ConvertedSizes (
    Name varchar(255),
    [rows] int,
    reservedKb int,
    dataKb int,
    reservedIndexSize int,
    reservedUnused int)
    EXEC sp_MSforeachtable @command1="insert into #TableSize
    EXEC sp_spaceused '?'"
    insert into #ConvertedSizes (Name, [rows], reservedKb, dataKb, reservedIndexSize, reservedUnused)
    select name, [rows],
    SUBSTRING(reserved, 0, LEN(reserved)-2),
    SUBSTRING(data, 0, LEN(data)-2),
    SUBSTRING(index_size, 0, LEN(index_size)-2),
    SUBSTRING(unused, 0, LEN(unused)-2)
    from #TableSize
    select * from #ConvertedSizes
    order by reservedKb desc
    drop table #TableSize
    drop table #ConvertedSizes
    --Prashanth

  • Cisco IronPort S170 Access Logs are filling up the HDD

    We have a Cisco IronPort S170.
    The access logs have filled the HDD to 91%
    The device is taking a serious performance hit.
    It now takes 5 minutes per click if I'm lucky.
    I have accessed the device via FTP and am about to copy off all of our AccessLogs.
    Once this is completed is there a way to wipe only the accesslogs from the device?
    Via FTP the transactions seemed to be read only
    I was looking through the CLI, but wasn't sure which command to use.
    Thanks,
    Brian

    When you FTP to the device, and CD to the appropriate directory path - are you not able to mdel the files?  Are you accessing the appliance via FTP as an admin level user?
    -Robert

  • SQL Logs filling up disk space

    Hi there,
    On my DEV SQL Server - suddenly the logs have been filling up space so quickly - this morning I increased 10 GIGs and now it is full again just in a few hours.
    What action should I take?
    - Is it okay to switch Recovery Model from Full to Simple? (It is DEV server)
    - Anything else?
    Thanks.

    Hi frob,
    For development databases, if you don’t care that if recent data changes are lost, you can change the recovery model from full to simple. Then shrink the transaction log file to a reasonable size, below is a example for you, please note that you can't shrink
    it below its original size.
    USE AdventureWorks2012;
    GO
    -- Truncate the log by changing the database recovery model to SIMPLE.
    ALTER DATABASE AdventureWorks2012
    SET RECOVERY SIMPLE;
    GO
    -- Shrink the truncated log file to 1024 MB.
    DBCC SHRINKFILE (AdventureWorks2012_Log, 1024);
    GO
    Additionally, there are other options resolving the issue that SQL Server  log file grows out of control as follows.
    • Backing up transaction logs frequently.
    • Adding a log file on a different disk.
    • Completing or killing a long-running transaction.
    Reference:
    Troubleshoot a Full Transaction Log
    SQL Server Runaway Transaction Logs
    Managing the SQL Server Transaction Log: Dealing with Explosive Log Growth
    Thanks,
    Lydia Zhang

  • Temp files filling up disk space

    Hi,
    I am not sure what or why this this is happening, but the /tmp folder on our servers keep getting filled up with some XMLP files:
    -rw-r--r-- 1 applmgr system 1178869 Sep 22 01:15 /tmp/xdo1190423730343.fo
    -rw-r--r-- 1 applmgr system 1266343936 Sep 22 02:15 /tmp/xdo1190423733448.tmp
    -rw-r--r-- 1 applmgr system 351109678 Sep 22 02:15 /tmp/xdo1190423733555.pla
    -rw-r--r-- 1 applmgr system 993159 Sep 22 02:02 /tmp/xdo1190426572262.fo
    -rw-r--r-- 1 applmgr system 215040000 Sep 22 02:15 /tmp/xdo1190426575027.tmp
    -rw-r--r-- 1 applmgr system 69623808 Sep 22 02:31 /tmp/xdo1190426575162.pla
    Any idea what is causing this? Or how can this be prevented?
    We are on 11.5.9 and using XMLP 5.5
    Thanks,
    Ashish
    Message was edited by:
    Ashish Srivastava

    Could somebody explain
    What are scalable features and how do we turn them off?
    One time I had a very bad experience with these files.
    File got created and its size was more than 65GB 'carzy!!'
    it hang up whole system,every thing worked fine after deleating this file.
    They get created,dont know how and why??
    Are we missing something..?? or
    Are we supposed to turn off something..??
    Any ideas!!
    thanks
    ss

  • Filling up disk space

    Hi,
    I have removed "keeps original" and yet Adobe Revel Library is still greatly weighing down my computer.
    What can I do to remedy the situation?
    Thanks,
    Rosebud5624

    Hi Vanya,
    Looking at your account it looks like you purchased from Apple. If that is correct, you'll want to be sure to turn off auto-renewal of your subscription. The following are 2 links that will help you with that:
    http://support.apple.com/kb/HT4098?viewlocale=en_US&locale=en_US
    http://helpx.adobe.com/revel/kb/enable-disable-auto-renewal-subscriptions.html
    If you are requesting a refund all subscription payments and reimbursements are handled by Apple. Please contact Apple iTunes Store Support:
    http://www.apple.com/support/itunes/contact/
    Kind regards,
    Glenyse

  • Low disk space in recovery disk (d) drive in window 8.1

    I continue to receive the subject warning. I have never added any files to D, but I have 32.3 MB free of 25.5 GB. I have Administrator privilrges but am unable to view the files on D. When I click on recovery, I get an HP warning.

    Hi @pjd10 
    I grasp that you are a low disk space error on recovery D.  I regret that you are having that difficulty.
    Here is a link to HP PCs - Error: Low Disk Space. You are running out of disk space on Recovery (Windows 8) that should guide you to resolving this issue.
    Best of Luck!
    Sparkles1
    I work on behalf of HP
    Please click “Accept as Solution ” if you feel my post solved your issue, it will help others find the solution.
    Click the “Kudos, Thumbs Up" on the bottom right to say “Thanks” for helping!

  • CSA MC insufficient disk space

    Hello!
    There is a little problem - low disk space on CSA MC machine. Shrinking database doesn't help. And backups store on anouther logical disk so they don't take free space.
    As I understand the way is to "move" all CSA MC database to anouther machine by reinstalling CSA MC with "Remote Database" option. Am I right? So is there different ways to move CSA MC database files without reinstalling product?
    Thank you,
    Ann

    To free Up Disk Space on CSA MC (Insufficient Disk Space Event)
    Use the following procedure to shrink your database files and log files and increase the amount of free disk space on your CSA MC system. If your CSA MC event log contains an "insufficient disk space" message, this is an appropriate procedure for freeing up space.
    Delete old log files and old CSA MC database files
    Step 1 Stop the CSA MC and agent services.
    From a command prompt window, type the following commands:
    net stop Cisco Security Agent
    net stop Cisco Security Agent MC
    Step 2 Access the CSCOpx\CSAMC\db and CSCOpx\CSAMC\cfg folders and delete old database files with names such as: csamc.mdf.Vm.n.0.ddd, csamc_log.ldf.Vm.n.0.ddd, csamc_volatile_data.ndf.Vm.n.0.ddd.
    Caution DO NOT delete files csamc.mdf, csamc_log.ldf and
    csamc_volatile_data.ndf. (Files with no old version number suffixes.)
    Step 3 Access the CSCOpx\CSAMC\log directory and delete old log files of the form csamc.nnn.
    Step 4 Start the CSA services. From a command prompt window, type the following commands:
    net start Cisco Security Agent
    net start Cisco Security Agent MC

  • BI EHP1 Disk space assumption

    We do not have proper inputs for BI sizing right now , as an average assumption for data storage size with EHP1 we are considering the disk space as follow on Windows 2008 with Oracle.
    BI DEV : ABAP SID and JAVA SID on same box : 200 GB
    BI QAS : ABAP SID and JAVA SID on same box : 400 GB
    BI PRD : ABAP SID and JAVA SID on same box :550 GB
    At BI DEV and BI QAS we are planning to have EP in future also..Please advice if you feel the disk size is quite less...considering the EHP1 ...
    i have read in note that EHP1 will take 50 GB of space ...?
    Regards
    Edited by: indian tiger on Jul 13, 2010 2:10 PM

    please advice..
    Regards

  • System logs filling up ALOT of disk space!

    My syslogs are filling up my entire hdd space.
    I checked top and it is constantly running at around 25% CPU.
    These are the 3 offending logs being written:
    everything.log
    kernel.log
    messages.log
    I did a tail -f on all 3 files, and these are repeatedly loop, seems like a kernel issue:  -> tail -f output: http://pastebin.com/m43e12d7e
    Any idea how I can remedy this?
    Thanks!

    apparently this is something to do with cx88, which appears to be a tv tuner driver. don't know why it's logging so verbosely though, looks like interrupt requests or something. anyway i guess one thing to do is make sure you have the right options for the card in /etc/modprobe.d/. I think there are some good v4l wikis out there that explain how to do this

  • Song tracks are not downloaded properly from iTunes Store: they are not added to the playlists, and eat disk space

    Hi,
    Yesterday I wanted to upgrade my wife's iPhone (5, 16 GB) from iOS 7.0.6 to iOS 7.1.
    She had only 500 MB of free space, and 1.9 GB was needed, so I decided to temporarily remove a number of songs from her music library.
    After this operation there was 2 GB free, and the upgrade went successfully.  After the upgrade there was still 2 GB free.
    Then I wanted to download the songs again, and here something went wrong:
    I went to iTunes Store > More > Purchased > Music, and clicked on "Download all".
    When the download process was completed, there was about 500 MB free space, but I noticed that some of the tracks, and even a complete album, were actually not in the playlists; in another album only one of the 30 tracks or so was downloaded.  So I went again into iTunes Store > More > Purchased > Music, and indeed some of the tracks were still marked as "to download", with a little cloud in front of them.
    When I tried to click on one of these little clouds to download a given track, the track seemed to be downloaded, but as soon as the download was finished the little cloud reappeared again, and the track wasn't added to the playlists.
    I tried to repeat that process a few times, until I noticed that there was now only 90 MB of free space.
    I then tried to download one more track that was 10 MB large, and after this there was only 80 MB of free space.
    So it seems that the tracks are indeed downloaded (and downloaded again if I click again on the little cloud) in a place where they use disk space without being otherwise accessible.
    What can I do to:
    1. download the tracks correctly so that they appear in the playlists?
    2. clean up the space that was wasted?
    Many thanks in advance!

    Depending upon what country that you are in (music can't be re-downloaded in all countries) then try deleting the incomplete tracks from your iTunes library and redownload them via the Purchased link under Quick Links on the right-hand side of the iTunes store home page on your computer's iTunes : re-downloading.
    If you aren't in a country where you can re-download music or if they re-download in the same state then try the 'report a problem' link from your purchase history : log into your account on your computer's iTunes via Store > View My Account and you should then see a Purchase History section with a 'see all' link to the right of it ; click on that and you should see a list of your purchases ; find those tracks and use the 'Report a Problem' link and fill in details about the problem (iTunes support should reply within, I think, 24 to 48 hours).
    Some people have had a problem with the 'report a problem' link (it's been taking people to this site on a browser instead of showing a form in iTunes) - if it does that to you then try contacting iTunes support via this page : http://www.apple.com/support/itunes/contact/- click on Contact iTunes Store Support on the right-hand side of the page.

  • Why XI keeps filling disk space

    Hi guru,
    I have installed XI 7.0 and upgrade to SP11. just after the successfully upgrade to SP11, I check the disk and there is 8G space. 2 monthes passed, now only 200M space left. I then deactviate all adapter and no message is processing by XI, but XI still keeps filling disk space, I want to know why.
    besides, could you tell me normally what components are filling disk space. AE? IS? SLD?.....

    Hi, Chen
    Well, usually J2EE stack's logs have maximum size limit. So, it
    is not the reason.
    Regarding ABAP stack, for some reason, ABAP's dev traces grows
    over GB sometimes.
    So, could you check under the folder /usr/sap/<SID>/DVEBMGS00/work and
    trace files?
    Good Luck
    Sejoon

  • Archivelogs filling up the disk space - Oracle 11g

    Oracle Database 11g on RHEL4
    This morning the Archivelogs were filling up the disk space at a very high rate (1.3G in 5 Mins). For now it has stopped. Please assist!
    dallinux161 oraedw ccedw > ls -ltr
    total 1373164
    -rw-r----- 1 oraedw oinstall 48893440 Mar 27 08:37 o1_mf_1_4300_4wss5yhx_.arc
    -rw-r----- 1 oraedw oinstall 48605184 Mar 27 08:38 o1_mf_1_4301_4wss6my1_.arc
    -rw-r----- 1 oraedw oinstall 49446400 Mar 27 08:38 o1_mf_1_4302_4wss75hn_.arc
    -rw-r----- 1 oraedw oinstall 48287232 Mar 27 08:38 o1_mf_1_4303_4wss7m8k_.arc
    -rw-r----- 1 oraedw oinstall 49149952 Mar 27 08:39 o1_mf_1_4304_4wss8b53_.arc
    -rw-r----- 1 oraedw oinstall 49004032 Mar 27 08:39 o1_mf_1_4305_4wss8ylc_.arc
    -rw-r----- 1 oraedw oinstall 49296896 Mar 27 08:39 o1_mf_1_4306_4wss9p47_.arc
    -rw-r----- 1 oraedw oinstall 48710144 Mar 27 08:40 o1_mf_1_4307_4wssbb54_.arc
    -rw-r----- 1 oraedw oinstall 47826944 Mar 27 08:40 o1_mf_1_4308_4wssbwq7_.arc
    -rw-r----- 1 oraedw oinstall 47920128 Mar 27 08:40 o1_mf_1_4309_4wssc4l5_.arc
    -rw-r----- 1 oraedw oinstall 47898112 Mar 27 08:40 o1_mf_1_4310_4wssccrl_.arc
    -rw-r----- 1 oraedw oinstall 47805440 Mar 27 08:40 o1_mf_1_4311_4wssck9v_.arc
    -rw-r----- 1 oraedw oinstall 47805440 Mar 27 08:40 o1_mf_1_4312_4wsscqbs_.arc
    -rw-r----- 1 oraedw oinstall 48220672 Mar 27 08:41 o1_mf_1_4313_4wssd0xl_.arc
    -rw-r----- 1 oraedw oinstall 48555008 Mar 27 08:41 o1_mf_1_4314_4wssd7f9_.arc
    -rw-r----- 1 oraedw oinstall 48971776 Mar 27 08:41 o1_mf_1_4315_4wssdghz_.arc
    -rw-r----- 1 oraedw oinstall 48506880 Mar 27 08:41 o1_mf_1_4316_4wssdo87_.arc
    -rw-r----- 1 oraedw oinstall 47821824 Mar 27 08:41 o1_mf_1_4317_4wssdvg3_.arc
    -rw-r----- 1 oraedw oinstall 47821824 Mar 27 08:41 o1_mf_1_4318_4wssf1wx_.arc
    -rw-r----- 1 oraedw oinstall 47805440 Mar 27 08:41 o1_mf_1_4319_4wssf8g3_.arc
    -rw-r----- 1 oraedw oinstall 47804416 Mar 27 08:41 o1_mf_1_4320_4wssfgf8_.arc
    -rw-r----- 1 oraedw oinstall 49128960 Mar 27 08:41 o1_mf_1_4321_4wssfn29_.arc
    -rw-r----- 1 oraedw oinstall 49092096 Mar 27 08:42 o1_mf_1_4322_4wssft4f_.arc
    -rw-r----- 1 oraedw oinstall 49487360 Mar 27 08:42 o1_mf_1_4323_4wssg0nb_.arc
    -rw-r----- 1 oraedw oinstall 48568320 Mar 27 08:42 o1_mf_1_4324_4wssg7h7_.arc
    -rw-r----- 1 oraedw oinstall 47837696 Mar 27 08:42 o1_mf_1_4325_4wssgg1x_.arc
    -rw-r----- 1 oraedw oinstall 48565248 Mar 27 08:42 o1_mf_1_4326_4wssgnhw_.arc
    -rw-r----- 1 oraedw oinstall 47838720 Mar 27 08:42 o1_mf_1_4327_4wssgttg_.arc
    -rw-r----- 1 oraedw oinstall 47844864 Mar 27 08:42 o1_mf_1_4328_4wssh107_.arc
    dallinux161 oraedw ccedw > du -sh
    1.3G .

    Anand... wrote:
    Hi..
    1. Check what is going on in the database.Seems like some huge dml process are going on.
    2. You can increase the redo logfile size.Currently its around 48MB, incresae it to 100MB.While he probably should increase his redo log size, that will have zero impact on the amount of disk space consumed by the archivelog files. If the OP is generating 1gb/min of redo, he will consume 1gb/min of disk space for archivelogs. It may be with 1 ea. 4gb file every 4 minutes or 1 ea. 256mb files every 15 seconds, but it still comes out the same in the end. Redo file size influences how often a log switch occurs and the size of the individual archivelog files, but it has no bearing on the amount of redo that has to be archived over a given period.
    >
    Anand

  • In Shared services, Log Files taking lot of Disk space

    Hi Techies,
    I have a question. Its like the Logs in BI+ in Shared Service Server is taking lot of Disk space about 12 GB a day.
    Following files are taking more space
    Shared Service-Security-Client log ( 50 MB )
    Server-message-usage Service.log ( About 7.5 GB )
    why this is happening. Any suggestions to avoid this.
    Thanks in Advance,
    Sonu

    Hi Techies,
    I have a question. Its like the Logs in BI+ in Shared Service Server is taking lot of Disk space about 12 GB a day.
    Following files are taking more space
    Shared Service-Security-Client log ( 50 MB )
    Server-message-usage Service.log ( About 7.5 GB )
    why this is happening. Any suggestions to avoid this.
    Thanks in Advance,
    Sonu

Maybe you are looking for

  • Parameter index move while executing PL/SQL stored procedure/function

    Hello, community. Have a question for you. It looked like very easy to write some small JDBC-wrapper to handle stored procedure/functions call for Oracle. Here is the code snippet of it: import java.io.Serializable; import java.sql.CallableStatement;

  • Can't sign into Folio Builder CS6.

    Hi. I have been strugling with this issue all day. I am currently on Adobe Indesign CS6 (Not the cloud version) and I installed Adobe Folio Builder successfully. Everything works fine except that I cannot sign into folio builder. When I click on the

  • Are Loops possible in Adobe forms? like smartforms

    Hi, I am trying to print out multiple printouts using adobe forms. I was able to accomplish this by smartforms.Can we do this in adobe forms? Any ideas? Rgds Vara Edited by: Vara K on Feb 16, 2009 5:36 PM

  • SO36 Auto forwarding Address

    Hi Experts,      Is there any way or report or FM available to read SO36 Autoforwarding address of all the SAP Users ?      If it is not maintained properly then workflow notification mails are not going to external email ids.      If possible how ca

  • How do you add "VIP" list to mail?

    How do you create the "VIP" list in mail?