Configuring the number of open databases

For every temporary database that you create, increment the “open databases” configuration value by one. When a session is assigned a temporary database, the resource representing the database is kept, and marked to be in use so that it cannot be reused during the current session.