MAXDB Log Question

Our company is using NetWeaver release 7.1, the database is MAXDB, recently found to cause the system to slow down hard disk space exception
In D: \ sapdb \ data \ wrk \ EPP \ path, found that many EPP_LOG_Auto.xxx files, each file is nearly 700MB, 2 files a day increased
Ask the EPP_LOG_Auto.xxx the file is about? Contents include what? It can be deleted?

These are log backups.
If you don't know about them, deleting them is the worst you can do!
Please do your homework!
Check the MaxDB documentation at http://maxdb.sap.com/documentation .
Check the MaxDB Expert sessions that explain most of what every DBA should understand at http://maxdb.sap.com/training .
Check my mini blog series if you're already a DBA for Oracle systems and just don't know the whereabouts with MaxDB (search for blogs named "Mind the gap").
regards,
Lars

Similar Messages

  • Maxdb log mode

    hello experts,
          I need to change the log mode which is in "overwrite mode"
        currently. and increase LOG_IO_QUEUE size.
       how can i do it.
       our maxdb version is 7.6 and O/S linux 2.6.16
       plz suggest steps .
    thanks and regards

    Dear Kavitha,
    -> Please review the SAP notes::
                    869267        FAQ: MaxDB LOG area
         <  "35. Can the log area be overwritten cyclically without having to make a log backup?"
            "52. How large should the LOG_IO_QUEUE be when configured? " >
                 719652     Setting initial parameters for liveCache 7.5 or 7.6
                 819641     FAQ: MaxDB Performance
         If you are SAP customer, you are able to read the SAP notes.
    -> The MAXDB documentation also give you answers on the reported questions::
                http://maxdb.sap.com/documentation/ -> Open the SAP MaxDB 7.6 Library
                 ->  Glossary
              "Changing the Values of Database Parameters" at
                      http://maxdb.sap.com/doc/7_6/9b/e6dc41765b6024e10000000a1550b0/content.htm
              "Log Queue"
                    http://maxdb.sap.com/doc/7_6/23/c806c81e20f946a59a421e01c42c3b/content.htm
             < The new value of the LOG_IO_QUEUE parameter will be activated only after
                the database will be restarted from offline mode. >
              "Displaying and Changing Database Parameters" using DBMGUI tool at
                    http://maxdb.sap.com/doc/7_6/84/d8d198570411d4aa82006094b92fad/content.htm
    -> Please pay attention ::
          "Automatic overwrite of the log area without log backups is NOT    
               recommended for production operation. Since no backup history exists 
               for the following changes in the database, you cannot track transactions
               in the case of recovery. "    
          Run dbm command 'param_getexplain LOG_IO_QUEUE'.
              May be the log devspaces can be moved to a faster disk, to accelerate the physical log I/O.
    -> What is the version of the database? < Please also give the patch and build number >
         Why do you need to change the log mode which is in "overwrite mode"
          and increase the value of the database parameter LOG_IO_QUEUE?
    Thank you and best regards, Natalia Khlopina

  • Steps to empty SAPDB (MaxDB) log file

    Hello All,
    i am on Redhat Unix Os with NW 7.1 CE and SAPDB as Back end. I am trying to login but my log file is full. Ii want to empty log file but i havn't done any data backup yet. Can anybody guide me how toproceed to handle this problem.
    I do have some idea what to do like the steps below
    1.  take databackup (but i want to skip this step if possible) since this is a QA system and we are not a production company.
    2. Take log backup using same methos as data backup but with Log type (am i right or there is somethign else)
    3. It will automatically overwrite log after log backups.
    or should i use this as an alternative, i found this in note Note 869267 - FAQ: SAP MaxDB LOG area
    Can the log area be overwritten cyclically without having to make a log backup?
    Yes, the log area can be automatically overwritten without log backups. Use the DBM command
    util_execute SET LOG AUTO OVERWRITE ON
    to set this status. The behavior of the database corresponds to the DEMO log mode in older versions. With version 7.4.03 and above, this behavior can be set online.
    Log backups are not possible after switching on automatic overwrite. Backup history is broken down and flagged by the abbreviation HISTLOST in the backup history (dbm.knl file). The backup history is restarted when you switch off automatic overwrite without log backups using the command
    util_execute SET LOG AUTO OVERWRITE OFF
    and by creating a complete data backup in the ADMIN or ONLINE status.
    Automatic overwrite of the log area without log backups is NOT suitable for production operation. Since no backup history exists for the following changes in the database, you cannot track transactions in the case of recovery.
    any reply will be highly appreciated.
    Thanks
    Mani

    Hello Mani,
    1. Please review the document u201CUsing SAP MaxDB X Server Behind a Firewallu201D at MAXDB library
    http://maxdb.sap.com/doc/7_7/44/bbddac91407006e10000000a155369/content.htm
               u201CTo enable access to X Server (and thus the database) behind a firewall using a client program such as Database Studio, open the necessary ports in your  firewall and restrict access to these ports to only those computers that need to access the database.u201D
                 Is the database server behind a Firewall? If yes, then the Xserver port need to be open. You could restrict access to this port to the computers of your database administrators, for example.
    Is "nq2host" the name of the database server? Could you ping to the server "nq2host" from your machine?
    2. And if the database server and your PC in the local area NetWork you could start the x_server on the database server & connect to the database using the DB studio on your PC, as you already told by Lars.
    See the document u201CNetwork Communicationu201D at
    http://maxdb.sap.com/doc/7_7/44/d7c3e72e6338d3e10000000a1553f7/content.htm
    Thank you and best regards, Natalia Khlopina

  • Basic log question

    Just trying out backintime. I put it in crontabs and append to a log file. So far so good, but I don't get time or date of the last entry. Here the crontab entry:
    */45 * * * * backintime -b >>/tmp2/backintime/messages.log
    Question: Do I have to fiddle around with the code of backintime to get more info or can I do something in the crontab entry?

    > Hm, comparing stuff takes a long time
    <gasp> With rsync if you don't change the contents much it shouldn't take more than a minute ... If you have a million tiny files it may take more but I guess you would like your backups to run perfectly, so you'd better check what's wrong.
    BTW: Although Dillon's cron supports 'every n minutes' you may want to check '45 * * * *'. Are you using the "stock" Arch cron or some other one?
    Last edited by karol (2009-12-18 15:37:02)

  • New at MaxDB, elementary questions

    Dear all,
    I have some elementary questions on MaxDB running on Windows platform. I had it installed as part of a Content Server Installation. I have a lot of experience with Oracle and I am trying to relate what I know on Oracle to MaxDB
    1. I want to schedule automatic periodic data backups ( say daily at 20:00 ). Can this be done from the database Manager? If not, how is it possible on Windows
    2. I have already scheduled Autolog Backups but I am not sure what the significance of this is: Is this the equivalent of the "Archive mode" in Oracle or the equivalent of the "Archive Log backup (brarchive)" in Oracle?
    3. Why do I have to deactivate the automatic log backup in order to take a manual log backup?
    4. I do not understand the concept of the parallel medium(s). Why back up on a parallel medium ?
    Many thanks
    Andreas

    Lars,
    Brilliant, thank you very much for this! Rewarded the points
    Andreas

  • MAXDB Log Shipping

    Hi folks,
    we had working log shipping scripts which automatically copy log backups to the standby server. We had to interrupt the log backups (overwrite mode set during EHP installation) and now after a full backup and restore the log restores do not work, please see the log below (the last two lines).
    The log file =42105
    FirstLogPage=5233911
    LastLogPage=6087243
    Database UsedLogPage=5752904
    I would expect the restore to work since Database log page is within the range of the first and last log pages of the log backup file.
    Is this not the case? How should it work when re-establishing the log shipping?
    Mark.
    Find first log file to apply
    FindLowestLogNo()
    File: log_backup.42105
       File extension is numeric '42105'
       LogNo=42105
    FindLowestLogNo()
    LogMin=42105 LogMax=42105
    Execute Command: C:\sapdb\programs\pgm\dbmcli.exe -n localhost -d ERP -u SUPERDBA,Guer0l1t0 db_admin & C:\sapdb\programs\pgm\dbmcli.exe -n localhost -d ERP -u SUPERDBA,Guer0l1t0 medium_label LOG1 42105
    [START]
    OK
    OK
    Returncode               0
    Date                     20110308
    Time                     00111416
    Server                   saperpdb.rh.renold.com
    Database                 ERP
    Kernel Version           Kernel    7.7.06   Build 010-123-204-327
    Pages Transferred        0
    Pages Left               0
    Volumes                  
    Medianame                
    Location                 F:\log_shipping\log_backup.42105
    Errortext                
    Label                    LOG_000042105
    Is Consistent            
    First LOG Page           5233911
    Last LOG Page            6087243
    DB Stamp 1 Date          20110209
    DB Stamp 1 Time          00190733
    DB Stamp 2 Date          20110308
    DB Stamp 2 Time          00111415
    Page Count               853333
    Devices Used             1
    Database ID              saperpdb.rh.renold.com:ERP_20110209_210432
    Max Used Data Page       
    Converter Page Count     
    [END]
    LogNo=42105 FirstLogPage=5233911 LastLogPage=6087243 (UsedLogPage=5752904)
    WARNING: Log file not yet applied but NOT the first log file. Either sequence error or first log file is missing/yet to arrive

    Hello Birch Mark,
    the recovery with intialization is the correct step to recreate the shadow database.
    What has to be done before:
    Source database:
    SA)Activate the database logging.
    SB) Create the complete databackup
    SC)  Set the aoutolog on or create the logbackup,
        the first logbackup after completedatabackup created => check the backup history of the source database.
    Shadow database:
    ShA) Run the recovery with initialization or use db_activate dbm command, see more details in the MAXDB library,
        I gave you references in the my reply before.
    ShB) After the restore of the complete databackup created in step SB) don't restart the database in the online.
             Keep the shadow database in admin or offline < when you run execute recover_cancel >.
            Please post output of the db_restartinfo command.
       ShC) You could restart the logbackups recovery created in SC), check the backup history of the source database which logbackup will be first to recover.
    Did you follow those steps?
    There is helpful documentation/hints at Wiki:
    http://wiki.sdn.sap.com/wiki/display/MaxDB/SAPMaxDBHowTo
    ->"HowTo - Standby DB log shipping"
    Regards, Natalia Khlopina

  • Accessing Server Logs Question

    I'm working on converting an old ASP application to a Java one, and have some questions.
    The customer wants a semi-sophisticated auditing system built in to the application, but I'm not sure OAS can provide the same level of detailed logs that IIS did (at least, not without a JNI DLL somewhere).
    One of the reports requested, "Client Errors", wants to output the following fields:
    - Requested File
    - Error Code
    - Total Requests
    - Client Description
    - Error Description
    - Win32 Description
    There are about 2 dozen other reports, as well.
    The questions:
    1. Can OAS log this sort of information in an extended w3c log format (Win32 Description might not be possible without JNI)?
    2. How is the best way for the application to get to these logs? (I currently envision a regular job running to read the log into a database table)
    Sorry if these are dumb questions. Any help would be appreciated.

    Each Report Server has a log in which it record each time a report is run.

  • Application Logging questions, SLG0

    Hello all,
    I have a couple of generic questions I would like to ask the users of this forum.
    1.  The people that are using application logging, in what types of situations do you use this functionality, interface programming, updating custom tables, etc.?
    2.  People that are aware of this functionality and are not using it, why are you not using it?
    SAP help documentation has pretty good information about the different function modules that are part of this product. 
    Thanks
    Bruce

    Hi Bruce;
       As part of the SAP's AII (Auto-ID) production, we use SLG1 extensively because that is where all of the application errors are stored by the system when it processes inbound or outbound messages.
       The biggest pro is that it consolidates all of the logging information; the biggest con is that it is hard to search through all that information for a particular message, unless the document number is part of the message.  It can be a challenge to find a particular log entry when there can be upwards of 2,500 in one day.
    Cheers,
    John

  • "rescue and recovery" and "swshare" log question

    I am currently analzying logs from "rescue and recovery" and "swshare" program and notice SMA.log and capture.sma in particular. I want to verifiy what do each of those 2 logs mean. does one mean the data that was successfully backed up and the other one means what was restored to the machine? the restore.log contains a specific date, was that the date the data was restored to the machine?
    Thanks in advance!!!

    The logs gets created automatically and have the information of the particular task which is completed or processed.
    Best Regards,
    Tanuj
    Did someone help you today? Press the star on the left to thank them with a Kudo!
    If you find a post helpful and it answers your question, please mark it as an "Accepted Solution".! This will help the rest of the Community with similar issues identify the verified solution and benefit from it.
    Follow @LenovoForums on Twitter!

  • Java.util.logging question

    'Lo all -
    I'm new to Java, so bear with me on this question - I'm sure it has a simple answer.
    I am using the following code to create a new Logger object:
    public class TAGLogging {
        private Logger oLog;
        private FileHandler oLogFile;
        private String sLoggingFolder = "AppLogs";
        private String sFormattedDateTime = String.format("%1$tY%1$tm%1$td_%1$tH%1$tM%1$tS",Calendar.getInstance());
        private String sCallingClass = new Throwable().fillInStackTrace().getStackTrace()[1].getClassName();
        private String sCallingMethod = new Throwable().fillInStackTrace().getStackTrace()[1].getMethodName();
        /** Constructors */
        public TAGLogging(String sLogFileName) throws IOException {
            this.initialSetup(sLogFileName);
        public TAGLogging() throws IOException {
            String sLogFileName = sLoggingFolder + File.separator + sFormattedDateTime + ".xml";
            this.initialSetup(sLogFileName);
        /** Methods */
        private void initialSetup(String logFileName) throws IOException {
            oLogFile = new FileHandler(logFileName);
            oLog = Logger.getLogger(sCallingClass);
            oLog.addHandler(oLogFile);      
            oLog.setLevel(Level.ALL);
        }Everything is being logged correctly to the /AppLogs/yyyymmdd_HHMMSS.xml file. The problem is that there is another file that is being created in my home directory, which incidentally, is not where the program is located. The name, java01.log, matches the default logging.properties file set up, but I have removed all that and changed the file to the following (minus all the comments):
    handlers= java.util.logging.FileHandler
    .level= INFO
    java.util.logging.FileHandler.level = ALL
    java.util.logging.FileHandler.limit = 50000
    java.util.logging.FileHandler.count = 1
    java.util.logging.FileHandler.formatter = java.util.logging.XMLFormatter
    java.util.logging.ConsoleHandler.level = INFO
    java.util.logging.ConsoleHandler.formatter = java.util.logging.SimpleFormatter
    The java01.log file contains the exact same contents as the file I am purposely logging to, the AppLogs/yyyymmd_HHMMSS.xml one.
    Does anyone have any clue what is causing this file to get created, and if so, how do I stop it?
    Message was edited by:
    malakh

    Man, I REALLY hate to do this, but it looks like I may be forced to work around it instead of fixing the issue. I'll have to add some code to manually remove the java01.log file when it's done writing to it.
    Navy - Turns out that Log4j is pretty much the same thing as java.util.logging, except on steroids. It is almost identical syntactically, just has more options and more flexibility than JUL.

  • Aironet 1140 connection and log questions

    Hi Cisco gurus,
          Recently we decided to change the name of one of our Aironet 1140 AP's. Everything was great for a few days then, for some reason, nobody was able to connect to it. They would all recieve timeout messages when they would connect. A quick reset solved the problem, but I'm curious if there was an actual reason to why it didn't allow users to connect in case it happens again.
         Which brings me to my next question, how do you set the AP clock so that the event logs display the proper date and time? I'm sure I overlooked something, but I can't find out how to set the proper date and time.
    Thank you in advance.

    conf t
    serv time d d s l
    serv time l d s l
    sntp service
    !  Set the timezone
    clock timezone WORD
    clock summer-time WORD recurring

  • Basic Capturing/logging question

    For capturing footage, I usually hit the Capture "Now" option, and then label the clip after it's captured.
    However when I do this, the actual file just gets labeled as "Untitled" in the folders on the computer.
    How do I label a clip while it's actually being captured in FCP? Do I capture with the Capture "Clip" option?
    Like I said, very basic question, but would help me out immensely. Thanks.

    shocker11 wrote:
    The Capture Now thing I'm getting now. However, I'm still getting confused for this logging and then batch capturing deal. I hit "set marker" for each of my in and out points on where I want to capture, however, it doesn't seem to log it into the "log window" correctly.
    You log clips not by placing markers in an extended clip, but by setting In and Out points for smaller clips. Once you've determined where you'd like your clip to begin, press I. When you know where you'd like the clip to end, press O. Then press F2 to Log Clip.
    Not to be snarky - because I really hate it when folks get told to read the manual - but this really is one of those times where skimming through the relevant sections of the manual will answer all of your questions. So you might want to give that a shot, since that's the best step-by-step that I've seen.

  • Tacacs+ accounting log question

    I have a tacacs server running for accounting purpose only (so I use local authentiation). So I can collect all accounting logs only.
    This is a snapshot for accounting part.
    Tacacs accounting logs
    <102> 2014-02-23 10:20:22 [10.254.1.2:22823] 02/23/2014 10:20:22 NAS_IP=10.254.1.x Port=443 rem_addr=10.254.50.129 User= brian Flags=Stop task_id=57 cmd=perfmon interval 10 service=shell elapsed_time=0
    <102> 2014-02-23 10:23:51 [10.254.1.2:58167] 02/23/2014 10:23:51 NAS_IP=10.254.1.x Port=0 rem_addr=10.254.50.129 User=brian Flags=Stop task_id=58 cmd=configure term service=shell elapsed_time=0
    <102> 2014-02-24 07:06:31 [10.254.1.2:19784] 02/24/2014 07:06:31 NAS_IP=10.254.1.x Port=443 rem_addr=10.254.51.166 User=mike Flags=Stop task_id=59 cmd=perfmon interval 10 service=shell elapsed_time=0
    <102> 2014-02-24 07:07:53 [10.254.1.2:19254] 02/24/2014 07:07:53 NAS_IP=10.254.1.x Port=0 rem_addr=10.254.51.166 User=mike Flags=Stop task_id=5a cmd=configure term service=shell elapsed_time=0
    As you can see, I can't see any command lines, such as show int ip b.   I can see all routers and switches logs, but ASA logs shows only like above. No mather what commands I used, it only shows above logs. Do i miss something? I like to capture all commands lines when users use ASDM because we use always ASDM.
    I used Free tacacs+ server, not ACS.
    Thanks for your time.

    Hi Patrick,
    In the ACS View Reports (Monitoring & Reports >     Reports >     Catalog >     AAA Protocol) you can select the
    radio button and by selecting 'Run' on the bottom run a specific query. Without that by default you will see only a report from one day.
    For the 2nd question, yes the ACS View is designed to store that information, however if needed you can send the logs to an external syslog server or perfrom regular backups of the ACS View database.
    Kind regards,
    Pawel

  • Firewall activity on event log question

    Hi, i have recently noticed that my event log lists a lot of IN: ACCEPT [57] Connection opened and closed events at strnage hours of the day when nobody is even awake using the home internet such as 5am.
    When i checked the location of some of the ip address's some of them are in locations in the world such as Guatemala and Mexico
    Would anybody be able to tell me why these events are taking place?
    Many Thanks.

    just the firewall do its job nothing to worry about
    If you want to say thanks for a helpful answer,please click on the Ratings star on the left-hand side If the reply answers your question then please mark as ’Mark as Accepted Solution’

  • MAXDB log volume size

    Hi
    I am offloading the content in DMS_CONT1_CD1 table (size 320GB) from ECC system to Content Server based on Maxdb database using Program RSIRPIRL(note 389366). I have installed maxdb instance with 18 data volumes of each 18GB each on content server.
    I am not sure how much size should I allocate for log volumes for 320GB database to avoid log full situation during content offload? Content sever will be running with LOG WRITING ON.
    Unix team will take the backup with TSM tool after offload is completed.
    Is it advisable to put database on LOG OVERWRITE MODE for large data transfer? Please advice.

    > I am offloading the content in DMS_CONT1_CD1 table (size 320GB) from ECC system to Content Server based on Maxdb database using Program RSIRPIRL(note 389366). I have installed maxdb instance with 18 data volumes of each 18GB each on content server.
    > Is it advisable to put database on LOG OVERWRITE MODE for large data transfer? Please advice.
    Yes, you might use this feature for your data loading.
    All you've to keep in mind here is that if the data load fails in between, you've to restore the content server database to the state before the loading started (there is no automatic resume-functionality available in the data loader).
    A nice option to use here is the MaxDB Snapshot.
    Just take a backup and a snapshot right before starting to load the data.
    In case the database crashes in-between the data load and there is some physical damage to the data volumes, you can use the backup to restore the database.
    In case of less severe problems, where you just want to start over the load, you can easily restore the snapshot (which is done in seconds) and restart the data load.
    For the log volume size - most customers just go by one log volume of 1GB.
    For a content server (and most other applications) that's enough by far and, due to the way MaxDB handles log data and volumes, there is no advantage in having multiple log volumes!
    So stick with one as it keeps things easy.
    regards,
    Lars

Maybe you are looking for

  • Family Sharing - Unable to turn on Ask to Buy

    I have been attempting to setup my daughters iPhone 5 to use Family Sharing.  I have the invite sent and accepted on her phone.  However, When i try to activate the "ask to buy" function from my phone on her account I get the following message Has an

  • Ipad 2 music not playing correctly through ipod dock

    When I connect my ipad 2 using the ipod dock in my car, there is a LOT of background noise when listening to the music. It almost sounds like a soft static. It doesn't do this for my ipod or my iphone. I have checked, and the cable is correctly plugg

  • Condition Category in M/06.

    Hi, I knew the delivery cost in PO can not be changed if a partial GR has happened against the PO. But, based on one user's input, I changed the condition category as F (It was B) for a freight condition in M/06 and did a test cycle. I created a PO,

  • Premier Elements 4.0

    Hello I am running Adobe Premier Elements 4 on Vista home premium. I have made several videos but recently made a video about driving. I wish to 'mask' or 'cover' the number plates of the vehicles in the videos so that they are not identifiable. Can

  • Printer cant connect to web services.

    Directly on the printer I went to the web services icon, agreed to terms, enabled auto updating and get "unable to connect to web services" I already have it connected to my network and it does have internet access. I dont understand why it cant conn