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

You also want an ePaper? Increase the reach of your titles

YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.

• Lowest connection value<br />

• Number of connections pulled out of pool<br />

• Number of connections placed in the pool<br />

• Total sum of active connections<br />

Enhancements overview<br />

The following excerpt from a dataserv.lg file shows the summary of the managed connection<br />

activity written when the “-Dsrv qt_debug,cursor” switch is used, plus the standard<br />

messages:<br />

16:32:09 : Standard secondary connection:<br />

16:32:09 : Connection chain 0xbc6e64: num_conns 1<br />

16:32:09 : Connection chain 0xbc6e64: peak_conns 1<br />

16:32:09 : Connection chain 0xbc6e64: high_conns 1<br />

16:32:09 : Connection chain 0xbc6e64: low_conns 0<br />

16:32:09 : Connection chain 0xbc6e64: num_off_conns 1<br />

16:32:09 : Connection chain 0xbc6e64: num_on_conns 1<br />

16:32:09 : Connection chain 0xbc6e64: sum_active 1<br />

16:32:09 : Connection chain 0xbc6e64: Needed Connections: 1, (Needed 4 less<br />

than requested)<br />

16:32:09 : Connection chain 0xbc6e64: Peak Connections: 1, (Peaked at 4 less<br />

than requested)<br />

16:32:09 : Connect: 0x1012398 Stmt: 0x1b95f80 Handle: 0x1011d98 Crc:<br />

1613 Proprty: Statement dropped<br />

16:32:09 : Statement cache (-Dsrv PRGRS_PREPCACHE setting) reuse ratio is 0.<br />

For more in<strong>for</strong>mation on using the qt_debug option to the -Dsrv switch, see Appendix B,<br />

“<strong>Server</strong> Related Command Line Utilities and Startup Parameters.”<br />

Cursor downgrades<br />

Cursor downgrades are monitored by the <strong>Data</strong><strong>Server</strong>, according to the type of cursors in use:<br />

• For firehose cursors, the <strong>Data</strong><strong>Server</strong> counts the number of times a cursor is downgraded,<br />

and writes the count to the log file at the end of the session.<br />

Consider increasing the number of <strong>Data</strong><strong>Server</strong> managed connections if firehose cursors<br />

are frequently downgraded.<br />

• For downgrades of Fast Forward-Only cursors, a message is written to the log file when<br />

the downgrade occurs.<br />

Statement cache<br />

The reuse of the statement cache is calculated as a ratio. Firehose cursors decrease the<br />

probability of a statement being reused. A reuse ratio of 3 indicates that statements are reused<br />

an average of 3 times. Reuse ratios of 3 or higher indicate good utilization of the statement<br />

cache. Reuse ratios less than 1 indicate poor utilization of the statement cache. If your ratio is<br />

less than 1, consider disabling the statement cache with “-Dsrv PRGRS_PREPCACHE,0”. For more<br />

in<strong>for</strong>mation on the PRGRS_PREPCACHE option to the -Dsrv switch, see Appendix B, “<strong>Server</strong><br />

Related Command Line Utilities and Startup Parameters.”<br />

4–7

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

Saved successfully!

Ooh no, something went wrong!