Solved

Pervasive SQL 10.x ntdbsmgr process using 494Mb system memory

Posted on 2009-04-06
7
796 Views
Last Modified: 2012-06-21
On a customer server (DUal Xeon 3.0 and 3Gb memory), Pervasive SQL 10.x is installed.
The process names ntdbsmgr is according to taskmanager using 494Mb of system memory.

Is there a possibility to reduce the memory ammount in pervasive SQL (PSQL)?

0
Comment
Question by:techneitsolutions
  • 4
  • 2
7 Comments
 
LVL 28

Expert Comment

by:Bill Bach
ID: 24078368
The database takes the memory in order to provide a data cache, which reduces disk I/O, and thus improves database performance.   Before reducing the PSQL cache size, you should look at your database size and decide if this makes sense.  If the sum of the sizes of all of your Btrieve files are only 200MB, then obviously you can shrink the L1 cache size (Cache Allocation) to 200MB and disable L2 cache (Max Microkernel Memory Size).  If your files total 4GB, though, then decreasing the cache will likely impact performance of the database.  

Honestly, with 3GB of RAM, using 0.5GB for the database seems pretty reasonable.  Feel free to set it as low as you want, though.
0
 

Author Comment

by:techneitsolutions
ID: 24078395

Can you describe how:
- i can find en check the db size
- i can set the cache size

thanks,
Pieter
0
 
LVL 28

Expert Comment

by:Bill Bach
ID: 24078447
>>- i can find en check the db size
Look for your database files.  These are defined by the application developer, and could have ANY extension, though they usually have an extension of BTR, MKD, DAT, FIL, or the like.  When in doubt, run the Pervasive Monitor program while users are in the application and look at the Microkernel/Active Files screen. Then, look at these files in the OS and sum up their sizes.

>>- i can set the cache size
Start/Run/PCC.  On the Welcome Screen, click on the link for Configure Local Engine.  Go to the Performance Tab.  The aforementioned settings will be there.  After changing them, restart the engine (or just reboot, if that's easier).  See the Help/Documentation screen in the PCC for more complete details on each of the settings.
0
Microsoft Certification Exam 74-409

Veeam® is happy to provide the Microsoft community with a study guide prepared by MVP and MCT, Orin Thomas. This guide will take you through each of the exam objectives, helping you to prepare for and pass the examination.

 

Author Comment

by:techneitsolutions
ID: 24084405
I found some *.BTR files with the monitor application. Those are located in the folder that the clients use and take up about 5 Gb.

In attach the detail settings of the performance and memoery usage tabs.


perf1.jpg
perf2.png
0
 
LVL 28

Expert Comment

by:Bill Bach
ID: 24086416
You can certainly decrease memory usage, at the possible expense of performance. Its your call.
0
 
LVL 28

Accepted Solution

by:
Bill Bach earned 500 total points
ID: 24291039
My first reply was the correct way to decrease the memory usage - by decreasing the engine settings that allocate memory.
0

Featured Post

Free Tool: Postgres Monitoring System

A PHP and Perl based system to collect and display usage statistics from PostgreSQL databases.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

This article explains all about SQL Server Piecemeal Restore with examples in step by step manner.
Using SQL Scripts we can save all the SQL queries as files that we use very frequently on our database later point of time. This is one of the feature present under SQL Workshop in Oracle Application Express.
Video by: Steve
Using examples as well as descriptions, step through each of the common simple join types, explaining differences in syntax, differences in expected outputs and showing how the queries run along with the actual outputs based upon a simple set of dem…
Polish reports in Access so they look terrific. Take yourself to another level. Equations, Back Color, Alternate Back Color. Write easy VBA Code. Tighten space to use less pages. Launch report from a menu, considering criteria only when it is filled…

830 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question