Automatic Checking of Database Structures

In OSS note 521870 SAP recommends to perform a weekly
check of the Database Structures to verify that the
Maxdb database is not corrupt. Unfortunately this
OSS note only describes the manual procedure to
perform this task:
dbmgui -> Check -> Database Structure
Is there any way to easily schedule this also via dbmcli?
The SAP online documentation contains some interesting
information about integrating the check into the CCMS,
here I can see whether the database structure check
was performed recently, but unfortunately I cannot
schedule it
http://dev.mysql.com/doc/maxdb/en/30/5ada6e596211d4aa83006094b92fad/content.htm
All I can find here is to schedule it via DB13,
but unfortunately my SCM 4.1 system is running on
Oracle and I want to check the liveCache on Maxdb,
so I cannot use DB13 for scheduling the check.

Hello Mark,
Central DBA Planning Calendar ::
In the user menu, choose the Central DBA Planning Calendar
(transaction DB13C).
If it is not already there, add your liveCache to the list of systems.
To do this, choose Configuration ® Add System.
System ID: Enter here the liveCache name that you assigned during the
integration of the liveCache (using MaxDB/liveCache System Overview).
Database: Choose SDB/LVC.
Database Release: Choose the liveCache Version in accordance with the      
 version notation .
Select No SAP Basis.
Database Server: Enter the name of the liveCache server.
Connection Name: Enter the name of the database connection.
To switch to a local DBA planning calendar, choose Local Calendar and then
select the system for which you want to edit actions.
Please also review the SAP notes 940420, 521870 ( you already know this note ).
And note 820824 FAQ: MaxDB to find the note for the documentation & more -
For SAP liveCache documentation in English:
http://help.sap.com/saphelp_nw04/helpdata/en/f2/0271f49770f0498d32844fc0283645/frameset.htm
->Database Administration in CCMS: SAP liveCache ->
-> Central DBA Planning Calendar
If you are the official SAP customer, I recommend you to create
the ticket to SAP on 'BC-DB-LVC' queue.
Thank you and best regards, Natalia Khlopina

Similar Messages

  • The database structure has been modified - how to check if it happend?

    Hello,
    I have a question. How to check if the database structure has been modified? I know that there is shown a messagebox after creating table and adding some fields, but sometimes this message appear after some seconds. The problem is that I want to create table and UDO for this table, and until database structure is not modified I got an error message. If I wait and DB strucuture modifies then UDO is creating correctly.
    My question is - does anyone know how to check if database structure has been modified?
    Regards,
    Hmg

    Hi Szymon,
    I guess you are stuck up in a kinda scenario, where in, you will be populating a form with values, before the structure modifies, if this is going to be your problem, I can help you out with a work around.
    In the beginning of the process, before the creation of the UDO or tables, set a boolean value to false, and once all UDO's and Tables are created, only then, should you make it true and only after the boolean becomes true, you should proceed with populating the values from the screen.
    I really ament sure what your problem is, but one of my guys faced this problem, I then, thought even you might have a similar problem.
    Satish.

  • Database structure check

    Hello All,
    In the Live Cache alert monitor for a production system I am getting a red alert for the node "Database Structure Check" The message is "No data consistency check in the last three months"
    Can anyone please let me know if I can schedule the "Check database structure" from the DB Planning Calendar ( LC10 ) in the production system? Does it have any effect on the system performance?  If there is any prerequisite steps that need to done before running the "Check database structure" please let me know.
    The Live Cache version that is currently running is 7.6.02   BUILD 014-123-152-175.
    Thanks and Best Regards,
    Sanjay

    Hello Sanjay,
    you can use the TA DB13 or DB13C for planning the Check Data. But there are also other possibilities to do it. I think all you questions in the FAQ note to the Check Data procedure.
    Please try this link
    https://websmp230.sap-ag.de/sap(bD1kZSZjPTAwMQ==)/bc/bsp/spn/sapnotes/index2.htm?numm=940420&nlang=&smpsrv=
    If it doesn't work you can check the note 940420 directly.
    Best regards,
    Oksana Alekseious

  • Errors in Livecache when running a "check database structure"

    Helleo, i have the following error messages when i do a check database structure of our QA Livecache environment :
    DBA Action starts:
    Timestamp: 20090406141745   Function: cdb   Object: DATABASE
    VERIFY command:
    check data
    VERIFY result:
    ERR
    -24988,ERR_SQL: SQL error
    -9053,〰〰〰〰〰〰〰〰〰〳
    17,Servertask Info: because b01pverify_participant() failed
    10,Job 0 (Check Data) [executing] WaitingT147 Result=OK
    6,b01pverify_participant() failed, Error code 9161 "data_page_corrupted"
    17,Servertask Info: because b01pverify_participant() failed
    10,Job 0 (Check Data) [executing] WaitingT147 Result=OK
    6,b01pverify_participant() failed, Error code 9161 "data_page_corrupted"
    17,Servertask Info: because b01pverify_participant() failed
    10,Job 0 (Check Data) [executing] WaitingT147 Result=OK
    6,b01pverify_participant() failed, Error code 9161 "data_page_corrupted"
    DBA Action ends:
    Timestamp: 20090406141753   State:    Failure
    ANd i have the same result whether i run it from DB13 or from the database managerIs there a way to run the check database with a repair option ? How can i fix this ?
    Thanks for your help.
    Y.
    Edited by: Youssef ANEGAY on Apr 6, 2009 3:59 PM

    > I guess i'll have no choice but to restore the database ...
    Yes - most like that will be the case
    But before you do that, I'd check the hardware also (drivers, firmware, OS patches etc.). If the system is connected to a SAN I would also check the logs of that.
    Markus

  • LiveCache - Alert : Database Structure Check

    Hello....
    Very first....we are early birds on liveCache System, May our questions look nothing..Pl help.
    in LC10 --> LCA --> liveCache Monitoring
    Do you want to branch to the "Open Alerts" display ? ( showing a Pop-UP - When i click yes)
    I see table with following columns.
    Context : MaxDB Monitoring: LCA
    Object Name : Database Structure Check
    Short Name : Last Check Return Code
    Status : ACTIVE
    Alert text : 0002
    Dobule Click :0002)
    (D51\MaxDB Monitoring: LCA\...\Database Structure - C: No method assigned)
    Checked the DB structures as mentioned in the following link
    http://help.sap.com/saphelp_nw04/helpdata/en/30/5ada6e596211d4aa83006094b92fad/frameset.htm
    The check completed in 5 mins
    Attempted to read the log files as mentioned in the following link :
    http://help.sap.com/saphelp_nw04/helpdata/en/30/5ada6e596211d4aa83006094b92fad/frameset.htm
    I saw 5 files got created
    a) Utility Statements
    b) DBA Action log
    c) Database Messages
    d) Database Messages [verbose]
    e) Database Manager Log file
    Really not understood what log file to see, What it did against DB structure is unknown?
    can any one flash a clue.
    We mostly worked on Oracle, unknowingly colored with ORACLE.
    Rgds
    PR

    Hello,
    What is the version of your system?
    What is the SP of the SAP Basis on your system?
    What is the version of the liveCache?
    Please review the SAP notes : 940420 and 521870.
    Did you create the SAP message on this issue?
    Regards, Natalia Khlopina

  • Job Check database structure in a MaxDB

    Good night, I would ask if it is normal that the process of check data structure in a MaxDB database of 220 GB more than 12 hours later to finish?
    what function does this job?
    Thank you very much

    > Good night, I would ask if it is normal that the process of check data structure in a MaxDB database of 220 GB more than 12 hours later to finish?
    This heavily depends
    - on the number of volumes you have (parallelism)
    - on the speed of the I/O subsystem
    > what function does this job?
    it's like doing
    dbmcli -U c db_execute check data
    see also
    Note 940420 - FAQ: Database structure check (VERIFY)
    Markus

  • Monitoring: Return code of last database structure check

    Hi,
    I am setting up monitoring in SolMan for different systems. Does anybody know the u201CAnalysis Methodu201D for node u201CLast Check Return Codeu201D under u201CDatabase Structure Checku201D in MaxDB (path in CCMS: Database -> MaxDB -> Health -> Database Structure Check -> u201CLast Check Return Codeu201D and u201CLast Successful Checku201D? I have tried several, but without success. Is it possible to create analysis methods?
    Thanks!
    Kjell Aarhus
    Edited by: Kjell Aarhus on Jun 24, 2010 1:48 PM

    Case closed.

  • Message: "The database structure has been modified" every time I log to SAP

    Hello,
    "The database structure has been modified. In order to resume this process, all open windows will be closed". Every time I log to one of my companies in SAP Business One this message appears.
    I haven't installed any new addons and made no changes in database structure (and any other user hasn't done any changes), but this message appears always when I log to company for the first time (when I try to log on another user or log to another company there is no message). Can anyone help me with this problem?
    Best regards
    Ela Świderska

    Hi Ela Świderska,
    You may check this thread first:
    UDFs disappeared
    Thanks,
    Gordon

  • DATABASE STRUCTURE HAS BEEN MODIFIED PROBLEM...

    Hi
    I am getting the message " The database structure has been modified " after every 5 minutes.
    Regards

    Hi,
    You may check this thread:
    Message: "The database structure has been modified" every time I log to SAP
    Thanks,
    Gordon

  • MMS Topology Database Structure

    Hello,
    Is there an Appnote out there somewhere that describes the database
    structure for MMS topology? I need to somehow extract the info populated
    by ZSM discovery and port it to our central database in HP openview.
    Cheers,
    Dennis.

    Dennis,
    It appears that in the past few days you have not received a response to your posting. That concerns us, and has triggered this automated reply.
    Has your problem been resolved? If not, you might try one of the following options:
    - Do a search of our knowledgebase at http://support.novell.com/search/kb_index.jsp
    - Check all of the other support tools and options available at http://support.novell.com in both the "free product support" and "paid product support" drop down boxes.
    - You could also try posting your message again. Make sure it is posted in the correct newsgroup. (http://support.novell.com/forums)
    If this is a reply to a duplicate posting, please ignore and accept our apologies and rest assured we will issue a stern reprimand to our posting bot.
    Good luck!
    Your Novell Product Support Forums Team
    http://support.novell.com/forums/

  • Changing database structure

    I have to add a tabel a mailalerttext and link that to mailalertypes which is linked to mailalerts. I had some problems with the selectlists, underneath you will find something that will solve that problem I thought, but it may be easier to solve it simpler, but thats apex stuff.
    If a default user and default applicationcode would exist, it would be possible to use them in the mailalert table which has following colums:
    MAILALERTID,APPLICATIECD,GEBRUIKERID,MAILALERTTYPEID,SENDMAILIND
    gebruikerid means userid.
    The defaultuser and application code would then be used in the mailalerts table and the column mailalertype would be replaced by mailalerttypecode. These are defined they can't change.
    The reason is that if mailalerttext is linked to maillalerts using the mailalertid as the foreign key, then that allows to find the correct text, or select it straightaway by using the mailtextid. All the selects would then be made on the mailalert table.
    The numbers used as default are just those that are free, a default user can be filled in like that in te gebruikers table, and a default application code in the apps table.
    Only the standard user and the mailalerttypecode are important, the standard applicationcode could be used as an extra check but might not be necessary.
    A select could then be made on that applicationcode, that user, that typecode if not found select standarduser and typecode.
    Applicationcode is only filled in to stick to the table definitions. To solve a problem with a select list on a page in apex i think this is overkill, as it requires more changes then does the first solution, It means changing tables, dropping columns adding them, changing triggers, changing code in apex pages, a lot of work.
    But I was wondering if concerning a database structure, starting from scratch this is something that would be considered good, not so good, bad, something to not do ?
    I'm not sure this is the right group, but it isn't strictly apex, and it isn't really sql/plsql either. More database structure.
    I'm just beginning, so i'd like to know your opinions and why it would be bad, or possibly good.
    Message was edited by: Floris Vermeir
    Removed the spelling mistakes.
    Floris

    I'm still not sure I understand your existing data model properly. The following is my interpretation of what I think your're trying to achieve.
    There are four core data tables -
    * APPLICATIONS - holds information relating to the programs you administer
    * MAIL_TEXT - holds boilerplate text for each type of e-mail (I'm assuming this text can be shared across applications)
    * MAIL_TYPES - the different kinds of e-mail alerts which can be sent
    * USERS - holds information about the support staff.
    I think you need two intersection tables
    * APP_MAIL_TYPES - application X uses text Y for e-mails of type Z (candidate key: app id and type id)
    * USER_MAIL_REGS - user Joe gets e-mails of type Z from application X (candidate key: app id, type id and user id)
    NB If the registration is just done against alert type for all apps, then the USER_MAIL_REGS table shoudl intersect USERS and MAIL_TYPES.
    |                      |
    |  applications        |
    |                      |
           |
           |
          /|\
    |                      |                |                      |
    |  app_mail_types      |>---------------|  mail types          |
    |                      |                |                      |
             \|/     |
              |      |
                |      ---------------------------------          
                |                            |
                |                              /|\
    |                      |                |                      |    
    |  mail text           |                |  user_mail_regs      |    
    |                      |                |                      |    
                                             \|/
                                              |
                                                       |
                                            |                      |                       
                                            |       users          |                       
                                            |                      |                       
                                            ----------------------                        I think USER_MAIL_REGS corresponds to your "overview" table. (It's a good idea to use names which convey as much info as possible. I acknowledge the difficulty of doing this in another language). Changing the users' registrations would simply be a matter of inserting or deleting rows from the USER_MAIL_REGS.
    If this doesn't help you then I'm afraid you will need to give me more info. Specifically, what tables you have, the role they play and the relationships between them.
    Cheers, APC

  • Copy database structure but not the data

    I'm looking to create a new version of a database but with completely reloaded data - so I want to retain the database structure but none of the data.
    Is there an easy way (read: without a DBA on staff) to copy an existing database structure - preferably with views and stored procedures - and not take the data along for the ride?
    Thanks in advance for suggestions...!

    My mistake Judith.
    Using Object Explorer, [Right Click] on the database,
    Select [Tasks],
    Then [Generate Scripts...]
    On the first screen, check the 'Script all objects' checkbox.
    You can either save to a file or into a window. When the scripts are finished, go to the top and change the name of the database, then run the scripts.
    That 'should' get you what you want.

  • Database structure : How to design the track system of a railway station

    Dear Oracle experts,
    I'm interested in your opinion about a database design problem.
    I want to design a database which describes e.g. the tracks of trains in
    a big railway station with many switches. What I always know is the position of every switch in my railway station.
    If I know all of the present switch-positions I know automatically where a train which is at a certain position would move.
    In my database I would like to store these pathways and search the pathway of train at a certain position and the present switch positions.
    One problem is that if one of the switches is at a position which leads to a pathway which would the train drive round the next switch the position of the next switch would be uninteresting. Since I have to search the table with my pathways with my set of switch positions I willl have to put datasets for all positions of the circumscribed switch
    into my table.
    Exampel :
    I have 3 switches. If switch 1 is at position 1 switch 2 is circumscribed and the train drives to switch 3. If switch 1 is on position 2 the train drives to switch 2. If switch 2 could have 10 positions then I would have to create datasets for all the 10 positions of switch 2 for all positions of switch 1 although these positions are not always interesting.
    To solve this problem I would like to describe some kind of search tree in my database structure. Does someone of you have an idea how to solve this problem ?
    Best ragards,
    Daniel

    Hirachical is interesting, but you pay a big performance/feature penalty by using it.
    If this is a real train station, then changes probably won't be done on the tracks for a long time, and if so, it's a rare event that your program may not need to be able to handle dynamically?
    If that, then your DB becomes simple ... have a table of tracks coming into the station, and another list of tracks going out. Maybe also "destination tracks" within your station.
    Then simply have a table that takes a source/destination pair of tracks, and then a column for each switch. The column holds the setting of the switch to provide the path between source and destination.
    Then you have a simple and fast query access. It's rather easy to turn the table for reporting if you want a more dynamic query access; but I guess your main need for the system is to ask "what do my switches need to be set at if a train needs to go from point A to point B". If so, a simple table layout as above is going to be your solution. And it's going to be fast and efficient.
    Only if you dynamically want to be able to design the track layout does this become a harder problem. But you could still use the same "construct":
    Table: Destination Pairs
    PairID Number
    FromTrack Number references tracks
    ToTrack Number references tracks
    Table: Switch settings
    SwitchID Number references Switches
    PairID number references Destination Pairs
    SwitchSetting number
    primary key: SwitchID, PairID
    Now your query is a join - but it's possible to simply list all the switch settings on a given pair. No need for hirachical queries.

  • Database structure to DTD.

    Hi,
    I am relatively new to XML,
    so forgive me if ny question sounds trivial.
    We are not in development of the
    a system which be based on the relational
    database and as a side project there should be some xml.
    The thing is that dtd should reflect exactly
    the database structure and I always should be able
    to write xml file to a relational database and back.
    Please understand me correctly, I can't just
    write entire xml file into the database,
    but rather I should be able to parse the xml file and
    put the information in a bunch of tables as ordinary
    number, char and varchar2 fields
    (Forgot to tell I am using Oracle8.0 ).
    Another thing is that the database structure may change
    and I want the dtd to follow this change.
    Is there any package ( freeware or not ) which would
    allow me to synchronze database structure with dtd
    and to write and read data to/from xml without
    need of rewriting the parsing code.
    Thank you very much!
    Michael Larionov.
    null

    Your questions are not trivial and are the subject of at least
    one W3C Working Group - XML Schema. This is in fact why there
    are really no solutions yet that I am aware of for what you are
    asking. DTDs are not extensible nor can they map directly to a
    database schema. Now our iFS solution may deliver most of what
    you are asking through its .typ file registration of a DTD to a
    schema. Check out
    http://www.oracle.com/database/options/ifs.html for more
    information.
    Oracle XML Team
    http://technet.oracle.com
    Oracle Technology Network
    Michael Larionov (guest) wrote:
    : Hi,
    : I am relatively new to XML,
    : so forgive me if ny question sounds trivial.
    : We are not in development of the
    : a system which be based on the relational
    : database and as a side project there should be some xml.
    : The thing is that dtd should reflect exactly
    : the database structure and I always should be able
    : to write xml file to a relational database and back.
    : Please understand me correctly, I can't just
    : write entire xml file into the database,
    : but rather I should be able to parse the xml file and
    : put the information in a bunch of tables as ordinary
    : number, char and varchar2 fields
    : (Forgot to tell I am using Oracle8.0 ).
    : Another thing is that the database structure may change
    : and I want the dtd to follow this change.
    : Is there any package ( freeware or not ) which would
    : allow me to synchronze database structure with dtd
    : and to write and read data to/from xml without
    : need of rewriting the parsing code.
    : Thank you very much!
    : Michael Larionov.
    Oracle XML Team
    http://technet.oracle.com
    Oracle Technology Network
    null

  • Check Oracle database

    Windows Server 2008 64 bits - Oracle 11g 11.02.0
    I had a problem with an application yesterday morning.
    I had error ORA-7445 followed by some deadlocks and then the database went down.
    I restarted the database, and everything works fine. system and performance are ok.
    I've just finished the ADM1 course. The ADM2 will start in September. So I stil need to aquire some experience.
    I don't have any error in alert log file refering to block corruptions.
    The backups are working fine, although I know that backups don't really check this kind of problem.
    And at this moment, I don't have any user complaining about anything.
    In Microsoft SQL databases, I can run checkdb command in order to check if database is ok.
    I'd like to execute a similar command in oracle database in order to check if there is any corruption.
    I know there are some check logical commands available for Oracle.
    But I have no idea about how much they are going to affect my system.
    Could you please give me some suggestions based on your experience ?
    Thanks in advance,
    Ed

    788042 wrote:
    I executed the Data Block Integrity Check, but it was too fast.
    In the end I checked the result :
    Run Name : CHK_0001
    Run Id : 112001
    Check Name : Data Structure Integrity Check
    Mode : MANUAL
    Status : COMPLETED
    Start Time : 2011-08-19 11:43:55.421000 -03:00
    End Time : 2011-08-19 11:43:56.031000 -03:00
    Error Encountered : 0
    Source Incident Id : 0
    Number of Incidents Created : 0
    Please answer some questions :
    1) Is it normal this procedure to execute so fast ? ( less than 1 second ).
    2) For Data Block Integrity Check, I have parameters related to File and Block numbers. If I don't inform anything here.
    does it check all the database blocks ? Does this routine take a long time to finish ?
    Thanks in advance,
    Ed
    bcm@bcm-laptop:~$ dbv
    DBVERIFY: Release 11.2.0.1.0 - Production on Fri Aug 19 10:45:18 2011
    Copyright (c) 1982, 2009, Oracle and/or its affiliates.  All rights reserved.
    Keyword     Description                    (Default)
    FILE        File to Verify                 (NONE)
    START       Start Block                    (First Block of File)
    END         End Block                      (Last Block of File)
    BLOCKSIZE   Logical Block Size             (8192)
    LOGFILE     Output Log                     (NONE)
    FEEDBACK    Display Progress               (0)
    PARFILE     Parameter File                 (NONE)
    USERID      Username/Password              (NONE)
    SEGMENT_ID  Segment ID (tsn.relfile.block) (NONE)
    HIGH_SCN    Highest Block SCN To Verify    (NONE)
                (scn_wrap.scn_base OR scn)          

Maybe you are looking for