Quantcast
Channel: Primavera Online Interaction » Exception
Viewing all articles
Browse latest Browse all 111

prim29487:How to validate PMDB / MMDB 5.0 database schema?

$
0
0
Solution ID: prim29487
How to validate PMDB / MMDB 5.0 database schema?
Status: Reviewed
Version(s): 5.0



Problem: How to validate a PMDB / MMDB 5.0 database schema?
Problem: Are there any tools available to test a database?
Problem: How to run the schema validation utility?
Problem: How to validate a database schema?
Fix: NOTE FOR USERS OF “5.0″ PRODUCTS: Versions of the ValSch.exe included with Contractor 5.0, Primavera 5.0 Service Pack 2 and myPrimavera Service Packs 1 and 2 have a known issue where results of the ValSch.exe scan are not displayed in the results window.  If your database has been installed with any of those versions please see the following bulletin before proceeding:

prim39574 - ”Schema Validation test only displays exception count.”

NOTE: The schema validation utility requires admuser to have full DBA rights to function with an Oracle database. If logging in with ‘admuser’ (to Oracle) and Schema Validation crashes, please ask the Database Administrator to make sure that ‘admuser’ is assigned the DBA Role.



For version 5.0 databases with any service pack installed or for users without access to the Primavera 5.0 CD’s:

  1. Download the following file: P5database.zip

    These files are the database files for 5.0 SP4/5 but the Schema validation utility is backwards compatible.
     

  2. Unzip the file to a location on a local hard drive.
     

  3. Open Windows Explorer and navigate to the \database folder created inside the folder used in Step 2.
     

  4. Refer to the steps below, begin with Step 3.

If using the Validate Schema tool from Primavera 5.0 base release CD’s:



  1. Insert: “CD 1″.
     

  2. Open: Windows Explorer and navigate to following subfolder on CD 1:  \install\database
     

  3. Run: ValSch.exe
     

  4. Select the correct RDBMS type (Oracle, SQL Server or Interbase)
     
        


     

  5. Complete the Login dialog box.  The Username and Password are the schema owner (Oracle default is Admuser, SQL default is Privuser).  Click: Connect
     

  6. Set the schema preferences:

    Select the correct schema type.  (‘PM’ vs ‘MM’)

    IMPORTANT: Use the pull-down menu to set the ‘Choose Schema’ selection. 
    This would be
    identical to the ’Database Version Label is’ value. 
     



  7. Click: Run
Fix: Any missing objects returned by the schema validation utility need to be corrected by your database administrator. Contact Primavera Support for assistance with restoring any missing objects.
Fix: See also: Solution ID: prim58617 ”How to validate  PMDB / MMDB 6.0 database schema?”

Viewing all articles
Browse latest Browse all 111

Trending Articles