Quantcast
Channel: Primavera Online Interaction » PMDB
Viewing all articles
Browse latest Browse all 92

prim20967:How to control the size of the Primavera Project Management (PMDB) log file from increasing in size, disproportionately large, when using MS SQL server

$
0
0
Solution ID: prim20967
How to control the size of the Primavera Project Management (PMDB) log file from increasing in size, disproportionately large, when using MS SQL server
Status: Reviewed
Version(s): 2.x, 3.x, 4.0, 4.1, 5.0



Problem: How to control the size of the Primavera Project Management (PMDB) log file from increasing in size, disproportionately large, when using MS SQL server 2005 ?
Problem: How to prevent the size of the Project Management (PMDB) log file from increasing too dramatically when using MS SQL server ?
Fact: MS SQL Server
Problem: MSSQL Log file is very large
Problem: Event Code:  GSQLE-3126-2 when logging into Project Management
Problem: General SQL error: log file for Database is full when logging into Project Management
Problem: PMDB Log File is too big
Problem: recovery model or recovery mode
Problem: Log file is growing too quickly
Problem: Database log file is much bigger than the data file
Cause: If the database log file is significantly bigger than the database data file, or the log file is growing disproportionately faster than the data file, it may be that the ‘recovery model’ specified on the database is set to ‘Full’.
Fix:

By default the ‘Recovery model’ value should be set to ‘Simple’.



  1. Launch MS SQL Server 2005 Management Studio.

  2. Right-click on the database and select ‘properties’.

  3. Select the ‘Options’ page.

  4. Select ‘Simple’ from the ‘Recovery model’ drop-down list:

         



  1. Click ’OK’.

  2. Close the Management Studio.

  3. Go to start, (Settings), Control Panel, Administrative Tools, Services

  4. Stop and Restart SQL SERVER to insure changes will take effect.

         

Fix: By default the ‘recovery model’ value should be set to ‘simple’.

  1. Launch MS SQL Server 2000, Enterprise Manager.

  2. Right-click on the database and select ‘properties’.

  3. Select the ‘Options’ tab.

  4. Select ‘Simple’ from the ‘Recovery model’ drop-down list:


     

  5. Hit ‘OK’.

  6. Close Enterprise Manager.

  7. Launch Settings, Control Panel, Administrative Tools, Services

  8. Stop and Restart MSSQLSERVER to verify settings will take effect.

        

Note:  It is acceptable for the Database Administrator to change this to ‘full’ recovery, as long as a plan to deal with the expanding log file is also implemented.


For information on how to shrink the LOG file, see:


Solution ID: 200363104250 ”How to shrink the SQL log file for Project Management?”


Viewing all articles
Browse latest Browse all 92

Trending Articles