[mapguide-users] Berkeley DB Configuration File

Steve Dang steve.dang at autodesk.com
Tue Jun 10 14:38:08 EDT 2008


Just in case someone would like to know ...

Here is an example of how the content of a DB_CONFIG file would look like:

set_lock_timeout         10
set_txn_timeout          10

Where each of the above lines has the format NAME VALUE. One or more whitespace characters are used to delimit the two parts of the line, and trailing whitespace characters are discarded.
You may have a DB_CONFIG file (with the same or different content) at one or more locations of your repositories, e.g.:

..\Repositories\Library\
..\Repositories\Site\
..\Repositories\Session\

Please note that the timeouts are in microseconds and the default values are 0.

Steve.

From: mapguide-users-bounces at lists.osgeo.org [mailto:mapguide-users-bounces at lists.osgeo.org] On Behalf Of Steve Dang
Sent: Monday, June 09, 2008 8:06 PM
To: MapGuide Users Mail List
Subject: RE: [mapguide-users] Berkeley DB Configuration File

No, I haven't and don't. Some information on how to overwrite the lock and/or transaction timeouts:

http://www.oracle.com/technology/documentation/berkeley-db/db/api_c/env_set_timeout.html

Steve.

From: mapguide-users-bounces at lists.osgeo.org [mailto:mapguide-users-bounces at lists.osgeo.org] On Behalf Of Rock Beans
Sent: Monday, June 09, 2008 2:24 PM
To: MapGuide Users Mail List
Subject: Re: [mapguide-users] Berkeley DB Configuration File

Have you had the need to change the time out settings yourself or do you know of anyone that has done it? Any info on this topic would be great.

The Rock

On Mon, Jun 9, 2008 at 12:12 PM, Steve Dang <steve.dang at autodesk.com<mailto:steve.dang at autodesk.com>> wrote:

MG does not expose any BDB configuration settings in the severconfig.ini file. And yes, the DB_CONFIG file may be used to overwrite the default values of these settings.



Steve.



From: mapguide-users-bounces at lists.osgeo.org<mailto:mapguide-users-bounces at lists.osgeo.org> [mailto:mapguide-users-bounces at lists.osgeo.org<mailto:mapguide-users-bounces at lists.osgeo.org>] On Behalf Of Rock Beans
Sent: Monday, June 09, 2008 10:26 AM
To: MapGuide Users Mail List
Subject: [mapguide-users] Berkeley DB Configuration File



Has anyone done anything with timeout settings using a Berkeley DB configuration file? Is there a better way to increase timeout settings? I did not see anything in the serverconfig.ini file.

I've never tried this, but Berkeley DB can support a configuration file:

http://www.oracle.com/technology/documentation/berkeley-db/db/ref/env/db_config.html

http://www.oracle.com/technology/documentation/berkeley-db/db/api_c/env_list.html

It's possible that maybe one of the default parameters could be increased.





The Rock



_______________________________________________
mapguide-users mailing list
mapguide-users at lists.osgeo.org<mailto:mapguide-users at lists.osgeo.org>
http://lists.osgeo.org/mailman/listinfo/mapguide-users

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.osgeo.org/pipermail/mapguide-users/attachments/20080610/7be63dc7/attachment.html


More information about the mapguide-users mailing list