13.01.2013 Views

OpenEdge Data Management: DataServer for Microsoft SQL Server

OpenEdge Data Management: DataServer for Microsoft SQL Server

OpenEdge Data Management: DataServer for Microsoft SQL Server

SHOW MORE
SHOW LESS

Create successful ePaper yourself

Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.

Chapter 4: Additional Features to Enhance <strong>Data</strong><strong>Server</strong> Per<strong>for</strong>mance<br />

Considerations when using ODBC connection pooling and <strong>Data</strong><strong>Server</strong><br />

connection management<br />

When both ODBC connection pooling and <strong>Data</strong><strong>Server</strong> connection management are<br />

enabled, set the number of managed connections to a value that covers the required<br />

number of connections <strong>for</strong> a typical application. Reuse of the managed connections<br />

takes precedence over ODBC connection pool connections. The ODBC connection<br />

pool is then an overflow handler <strong>for</strong> connections required beyond the capacity of the<br />

managed connections. This configuration ensures that there is little risk of having a<br />

negative impact on per<strong>for</strong>mance by downgrading to a Fast Forward-Only server-side<br />

cursor in the mainline transaction-oriented connection. For more in<strong>for</strong>mation on<br />

monitoring the per<strong>for</strong>mance of your connection pool, see the “Monitoring cursor and<br />

connection use” section on page 165.<br />

ODBC Connection Pooling<br />

ODBC connection pooling is managed by the ODBC driver manager, external to the<br />

<strong>Data</strong><strong>Server</strong>. The size of the pool grows and contracts dynamically based on demand<br />

and time-out intervals. The upper limit to the pool size is limited only by memory and<br />

other server resource constraints. The <strong>Data</strong><strong>Server</strong> retrieves connections out of the<br />

externally managed pool. ODBC connection pooling is maintained with the<br />

CONNECTION_POOLING option to the -Dsrv connection parameter. ODBC connection<br />

pooling is enabled by default.<br />

Disable ODBC connection pooling with the following syntax:<br />

Syntax<br />

-Dsrv CONNECTION_POOLING,0<br />

Note: To take advantage of ODBC connection pooling in the <strong>Data</strong><strong>Server</strong>, you must<br />

rebuild your schema holder. However, if your schema holder was built be<strong>for</strong>e<br />

<strong>OpenEdge</strong> Version 10.0B, contact Technical Support <strong>for</strong> in<strong>for</strong>mation about<br />

how to proceed.<br />

162 <strong>OpenEdge</strong> <strong>Data</strong> <strong>Management</strong>: <strong>Data</strong><strong>Server</strong> <strong>for</strong> <strong>Microsoft</strong> <strong>SQL</strong> <strong>Server</strong>

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!