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

Posted on 2009-04-06
Medium Priority
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)?

Question by:techneitsolutions
  • 4
  • 2
LVL 29

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.

Author Comment

ID: 24078395

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

LVL 29

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.
A proven path to a career in data science

At Springboard, we know how to get you a job in data science. With Springboard’s Data Science Career Track, you’ll master data science  with a curriculum built by industry experts. You’ll work on real projects, and get 1-on-1 mentorship from a data scientist.


Author Comment

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.

LVL 29

Expert Comment

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

Accepted Solution

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

Featured Post

Free Tool: Port Scanner

Check which ports are open to the outside world. Helps make sure that your firewall rules are working as intended.

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.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

Join & Write a Comment

In this article, we’ll look at how to deploy ProxySQL.
How much do you know about the future of data centers? If you're like 50% of organizations, then it's probably not enough. Read on to get up to speed on this emerging field.
This lesson discusses how to use a Mainform + Subforms in Microsoft Access to find and enter data for payments on orders. The sample data comes from a custom shop that builds and sells movable storage structures that are delivered to your property. …
Hi, this video explains a free download that you can incorporate into your Access databases, or use stand-alone for contact management. Contacts -- Names, Addresses, Phone Numbers, eMail Addresses, Websites, Lists, Projects, Notes, Attachments…

624 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