How to delete logs?
How to delete logs which are in SLG1.
Regards,
Jeetu
Hi,
You can use transaction SLG2.
If you want do it programmatically then you have to use BAL_DB_DELETE fm (First use BAL_DB_SEARCH to find the logs that you want to delete and use delete fm to delete)
Hope this helps..
Sri
Similar Messages
-
How to delete log files in ACS 3.3
hi guys, does any 1 know how to delete log/accounting files (*.csv) in ACS 3.3 (software version under win2000 server)
kindly let me know, coz i m not able to find any option that allows me to delete themHave you tried shutting down the ACS Service and moving / deleting the file in Windows 2000 Server.
You have to turn on the ACS service after you have deleted the log file. -
How to delete log files in wheel group
Let me start by saying that I've never used the terminal mode on a mac before, and I know nothing about UNIX. But here's my problem:
My MacBook Pro, running OS 10.6, began filling up its boot disk for no apparent reason. I ran Disk Inventory X and found that a group of files had just been created in a folder called "Private" that is in the wheel group, to which I do not have access (I understand that this is a root admin group used by OSX). These files include, among others, a log file that is 20GB and was just created today. Since I can't access this folder as a normal user, how do I delete these files, and how can stop this from continuing to fill up my disk?Open the Console in the /Applications/Utilities/ folder and look at the various log files for an entry or group of entries which is repeated many times. When done, choose Go to Folder from the Finder's Go menu, provide /private/var/log/ as the path, and delete the files as you would any other.
(60027) -
How to delete log file after zipping in batch
**please check my code ... and suggest any changes to be made ... i m able to zipp the logs but not able to delete those logs.........
thanking you...
this is my code....
@echo off
set zip="C:\Program Files\7-Zip\7z.exe"
rem Findout Month, Year and Date
FOR /F "tokens=1,2,3,4 delims=/ " %%A in ('Date /t') do set year=%%D
FOR /F "tokens=1,2,3,4 delims=/ " %%A in ('Date /t') do set month=%%B
FOR /F "tokens=1,2,3,4 delims=/ " %%A in ('Date /t') do set day=%%C
rem Solve problem Year start and adding 0 in month
if %month% EQU 01 (
set month=12
set /a year=%year%-1
) else (
set /a month=%month%-1
if %month% LSS 10 set month=0%month%
rem Set file names for last month file.
set lastmonthfiles=server.log.%year%-%month%-
%zip% -tzip a -y "%lastmonthfiles%.zip" %lastmonthfiles%*
if exist %lastmonthfiles%.zip(
DEL server.log.%year%-%month%-*
) else (
echo file not found
pauseActually it is only the 7Z filemanager that can delete files using the "Move" command and the "Delete after archiving" option.
if EXIST %lastmonthfiles%.zip ( DEL server.log.%year%-%month%-* ) ELSE echo zip not found
¯\_(ツ)_/¯ -
How to delete logs FaceTime on my mac
Hi can someone help me please before i lose my self respect altogether ..i have broken up with my bf and need to delete him from FaceTime to save my self from getting his numb.sad but true..have tried editing his number to something else nothing works...need help people ...ASAP..thanks
How to back it up? On an external hard drive and where can I erase the partition (journaled)
Also wouldn't it just like it is now? I think that the same memory loss(40gb that was meant to be the partition) will disappear from the restored Mac because of the back up now.
I didn't really understand you what exactly I should do -
How to delete logs in audit trail
is it possible to delete entries on the audit trail? Let say for example, i want to delete all the entries for the year 2008, what will be the steps/transactions to use?
thanks in advance for your help.
regards,
markeeHello Markee,
I got your point,
ask your developer to program a small report which would delete content of these tables based on your selection.
Selection could be time interval based on creation date.
For example:
select options: so_date type /SAPSLL/SPLAUD-CRSTP.
DELETE from /SAPSLL/SPLAUD
WHERE CRSTP in so_date
(so_date for example 01.01.2000 - 01.01.2005)
I am not the best developer but i believe this can be done in 5 minutes.
Hope this helps,
Best regards,
Gabriel. -
How to delete old account, I can't log in due to error - This email address is not available for use as an Apple ID. You may already have an Apple ID associated with this address. Please try again or sign in using your existing Apple ID.
All good, I loved with AppStore and now everything seems to be back to normal.
-
How to delete old logs in SAP BI, what is the best way to go?
Hi,
below are the issues we are facing,
when executing infopackage job is not getting triggred into source system.
for activation DSO data it is taking huge time. At the time of seqential read to RSREQDONE table.
I think this is due to huge logs in the staandard tables.
What could be the reson behind this.. and let me know how to delete old logs.
Thanks,
HarishHi,
just carry out RSRV for DSO PSA tables and see if there is inconsistency available there in the PSA table.
see if the change log and PSA deletion is happening regularly..else schedule same in PC
check with basis there are certain jobs which needs to run regularly at certain frequency..
http://www.erphowtos.com/guides-a-tutorials/doc_view/1041-how-to-delete-process-chain-logs-in-sap-bw.html
http://www.erphowtos.com/guides-a-tutorials/doc_view/1040-periodic-maintenance-activities-on-sap-bw-best-practices.html
http://www.sdn.sap.com/irj/scn/go/portal/prtroot/docs/library/uuid/a02ba9e7-bb6f-2c10-09b4-e86b9fcbad41?QuickLink=index&overridelayout=true
Thanks and regards
Kiran -
*HOW TO DELETE THE ARCHIVE LOGS ON THE STANDBY*
HOW TO DELETE THE ARCHIVE LOGS ON THE STANDBY
I have set the RMAN CONFIGURE ARCHIVELOG DELETION POLICY TO APPLIED ON STANDBY; on my physical standby server.
My archivelog files are not deleted on standby.
I have set the CONFIGURE ARCHIVELOG DELETION POLICY TO NONE; # default on the Primary server.
I've checked the archivelogs with the FRA and they are not beign deleted on the STANDBY. Do I have to do something for the configuation to take effect? Like run a RMAN backup?
I've done a lot ofresearch and i'm getting mixed answers. Please help. Thanks in advanced.
JSetting the Policy will not delete the Archive logs on the Standby. ( I found a thread where the Data Guard product manager says "The deletion policy on both sides will do what you want" ). However I still
like to clean them off with RMAN.
I would use RMAN to delete them so that it can use that Policy are you are protected in case of Gap, transport issue etc.
There are many ways to do this. You can simply run RMAN and have it clean out the Archive.
Example :
#!/bin/bash
# Name: db_rman_arch_standby.sh
# Purpose: Database rman backup
# Usage : db_rman_arch_standby <DBNAME>
if [ "$1" ]
then DBNAME=$1
else
echo "basename $0 : Syntax error : use . db_rman_full <DBNAME> "
exit 1
fi
. /u01/app/oracle/dba_tool/env/${DBNAME}.env
echo ${DBNAME}
MAILHEADER="Archive_cleanup_on_STANDBY_${DBNAME}"
echo "Starting RMAN..."
$ORACLE_HOME/bin/rman target / catalog <user>/<password>@<catalog> << EOF
delete noprompt ARCHIVELOG UNTIL TIME 'SYSDATE-8';
exit
EOF
echo `date`
echo
echo 'End of archive cleanup on STANDBY'
mailx -s ${MAILHEADER} $MAILTO < /tmp/rmandbarchstandby.out
# End of ScriptThis uses ( calls an ENV) so the crontab has an environment.
Example ( STANDBY.env )
ORACLE_BASE=/u01/app/oracle
ULIMIT=unlimited
ORACLE_SID=STANDBY
ORACLE_HOME=$ORACLE_BASE/product/11.2.0.2
ORA_NLS33=$ORACLE_HOME/ocommon/nls/admin/data
LD_LIBRARY_PATH=$ORACLE_HOME/lib:/lib:/usr/lib
LD_LIBRARY_PATH=$LD_LIBRARY_PATH:/usr/local/lib
LIBPATH=$LD_LIBRARY_PATH:/usr/lib
TNS_ADMIN=$ORACLE_HOME/network/admin
PATH=$ORACLE_HOME/bin:$ORACLE_BASE/dba_tool/bin:/bin:/usr/bin:/usr/ccs/bin:/etc:/usr/sbin:/usr/ucb:$HOME/bin:/usr/bin/X11:/sbin:/usr/lbin:/GNU/bin/make:/u01/app/oracle/dba_tool/bin:/home/oracle/utils/SCRIPTS:/usr/local/bin:.
#export TERM=linux=80x25 wrong wrong wrong wrong wrong
export TERM=vt100
export ORACLE_BASE ORACLE_SID ORACLE_TERM ULIMIT
export ORACLE_HOME
export LIBPATH LD_LIBRARY_PATH ORA_NLS33
export TNS_ADMIN
export PATH
export MAILTO=?? your email hereNote use the env command in Unix to get you settings.
There are probably ten other/better ways to do this, but this works.
other options ( you decide )
Configure RMAN to purge archivelogs after applied on standby [ID 728053.1]
http://www.oracle.com/technetwork/database/features/availability/rman-dataguard-10g-wp-1-129486.pdf
Maintenance Of Archivelogs On Standby Databases [ID 464668.1]
Tip I don't care myself but in some of the other forums people seem to mind if you use all caps in the subject. They say it shouting. My take is if somebody is shouting at me I'm probably going to just move away.
Best Regards
mseberg
Edited by: mseberg on May 8, 2012 11:53 AM
Edited by: mseberg on May 8, 2012 11:56 AM -
How to delete the temporary files when we log out from ESS
Hello expert,
In my company we are running ESS using ITS server, do you know how to delete the temporary files when we log out from ESS?
Thanks.The temporary files used by ESS. For example paystub pdf file.
-
How to delete archive log files from ASM through Grid Control
Hi
Anybody suggest me how to delete archive log files from ASM through Grid Control.
ThanksIt is important to specify both, the oracle version and os version when posting, so confusions can be avoided.
In this particular case, since you are referring to asm and grid control you could be talking about either 10gR1, 10gR2 or 11gR1; but I strongly suggest you to avoid us to be guessing. In either case, you sould go to the maintenance tab of the target database and program a scheduled 'delete noprompt obsolete;' procedure. This will purge the information stored at the Flash recovery area, which I assume you have declared inside the ASM.
~ Madrid
http://hrivera99.blogspot.com/ -
How to delete Transaction Logs in SQL database
Hi,
Can any one explain me the process how to delete the transcation logs in SQL database.
Thanks
SunilSunil,
Yes you can take online backup in MS SQL server.
The transaction log files contain information about all changes made to the database. The log files are necessary components of the database and may never be deleted. Why you want to delete it?
I am taking any backup, do i need to turn off the SAP server that is running at the moment or can i take it online
There are three main types of SQL Server Backup: Full Database Backup, Differential Database Backup and Transaction Log Backup. All these backups can be made when the database is online and do not require you to stop the SAP system.
Check below link for details
http://help.sap.com/erp2005_ehp_04/helpdata/EN/89/68807c8c984855a08b60f14b742ced/frameset.htm
Thanks
Sushil -
How to delete archive log on standby site
hi
i configured dataguard on 10g. could anyone suggest how to delete archived log on standby site..Hi,
There is no automatic feature out-of-the-box but you have the following views:
1) Shows archive logs transfered:
select sequence#, first_time, next_time from v$archived_log order by sequence#;
2) Shows archive logs applied:
select sequence#, archived, applied from v$archived_log order by sequence#;
If you see your archivelogs applied you can safely remove archive log files from your disk. It is your decision if you keep or delete them completely. -
How to delete archive logs on the standby database....in 9i
Hello,
We are planning to setup a data guard (Maximum performance configuration ) between two Oracle 9i databases on two different servers.
The archive logs on the primary servers are deleted via a RMAN job bases on a policy , just wondering how I should delete the archive logs that are shipped to the standby.
Is putting a cron job on the standby to delete archive logs that are say 2 days old the proper approach or is there a built in data guard option that would some how allow archive logs that are no longer needed or are two days old deleted automatically.
thanks,
C.We are planning to setup a data guard (Maximum performance configuration ) between two Oracle 9i databases on two different servers.
The archive logs on the primary servers are deleted via a RMAN job bases on a policy , just wondering how I should delete the archive logs that are shipped to the standby.
Is putting a cron job on the standby to delete archive logs that are say 2 days old the proper approach or is there a built in data guard option that would some how allow archive logs that are no longer needed or are two days old deleted automatically.From 10g there is option to purge on deletion policy when archives were applied. Check this note.
*Configure RMAN to purge archivelogs after applied on standby [ID 728053.1]*
Still it is on 9i, So you need to schedule RMAN job or Shell script file to delete archives.
Before deleting archives
1) you need to check is all the archives are applied or not
2) then you can remove all the archives completed before 'sysdate-2';
RMAN> delete archvielog all completed before 'sysdate-2';
As per your requirement. -
How to delete old archived logs
hai i am running oracle 9i in archive log mode
my disk is about 90% full
pls tell me how to delete archive logs that are very olderHi Rajeskm,
First of all, archives should not be deleted, depending your backup policie, you can need them in a recovery. But if you want delete them, do:
find <log_archive_dest>/ -name *.rdo (or extention used by you) mtime +<days ago> -exec rm{}\
Explanation:
Find -- The first, and most obvious, use is find's ability to locate old, big, or unused files, or files that you forgot where they are.
mtime -- The mtime--modify time--is the time when the actual contents of a file was last modified. This is the time displayed in a long directoring listing (ls -l).
rm -- Deletes a file without confirmation (by default).
Regards,
Jonathan Ferreira - Brazil
http://www.ebs11i.com.br
Maybe you are looking for
-
WRT54GS v1.0 Drops Connection under Vista, Fix?
Since an upgrade to vista my router has been droping the internet connection at random times, and quite frequently. Sometimes i will be connected for hours, other times it will drop every 5 minutes. This problem did not exist under XP, nor does the n
-
i had purchased a game for my kid, and after he played for a while, there was a message that popped up saying that iCloud backup can not access my account and it has 2 buttons on it, one says ignore, the other says settings, but none of them does any
-
Hi all I have a problem like this. Read a dictionary file . Search such a word which will have letter 'a' as its second letter , then remove the first two letters of the word. Now search the new word in the same dictionary file , if it is found..then
-
I cant receive replies to group text I sent.
Suddenly my iphone doesnt receive group replies from a group I have been using for a long time. I can initiate the group text and they receive it, but I dont get the replies everyone else gets. Please help!
-
Server Error -OSoft Application-
Hi Experts , I am getting eror ,or BPC ecieving error : Server Error in '/OSoft' Application. : No such interface supported (Exception from HRESULT: 0x80004002 (E_NOINTERFACE)).] Reagrds Prabhu