This project has moved and is read-only. For the latest updates, please go here.

How to determine JetSetSystemParameter values

Mar 24, 2016 at 9:22 PM
Is there an easy way to determine the list of parameters that need to be set with JetSetSystemParameter given just the database path?

I'm working with reading/writing to a database that I didn't create... so I need to know:
TempPath, LogFilePath, SystemPath, AlternateDatabaseRecoveryPath, CircularLog, LogFileSize to match whatever the original author has required.

Do I just have to poke around and find *chk, *log files, etc to infer these settings?
Jun 5, 2016 at 9:50 AM
Yep, you have to poke around in most cases. Some applications might store these paths in registry.
If you only want to read a clean DB, you only need to know page size, which can be infered from the DB file.