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.

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

4–10<br />

Table 4–1 describes the query-tuning options.<br />

Table 4–1: Query-tuning options (1 of 3)<br />

ARRAY–MESSAGE<br />

NO–ARRAY–MESSAGE<br />

Option Description<br />

Specifies whether the <strong>Data</strong><strong>Server</strong> sends multiple result rows in a<br />

single logical network message, thereby reducing network traffic.<br />

Default: ARRAY–MESSAGE, if the query uses a lookahead cursor.<br />

CACHE–SIZE integer Specifies the size in bytes of the cache used by lookahead cursors.<br />

A larger cache size can improve per<strong>for</strong>mance <strong>for</strong> queries that<br />

return a large number of records because the <strong>Data</strong><strong>Server</strong> might<br />

need fewer <strong>SQL</strong> statements to get the results. This value will<br />

override a cache size specified with -Dsrv QT_CACHE_SIZE.<br />

Minimum: The <strong>Data</strong><strong>Server</strong> always caches at least one record.<br />

Maximum: None.<br />

Default: 30000.<br />

DEBUG EXTENDED<br />

DEBUG <strong>SQL</strong><br />

NO–DEBUG<br />

JOIN–BY–<strong>SQL</strong>DB<br />

NO–JOIN–BY–<strong>SQL</strong>DB<br />

Specifies whether the <strong>Data</strong><strong>Server</strong> should print to the<br />

dataserv.lg file the debugging in<strong>for</strong>mation that it generates <strong>for</strong><br />

a query.<br />

Specify DEBUG <strong>SQL</strong> to print only the <strong>SQL</strong> that the <strong>Data</strong><strong>Server</strong><br />

executes against the ODBC data source.<br />

Specify DEBUG EXTENDED to print additional in<strong>for</strong>mation, such as<br />

cursor statistics.<br />

Specify DEBUG option to override the NO–DEBUG default.<br />

Default: NO–DEBUG.<br />

Specifies whether the <strong>Data</strong><strong>Server</strong> allows its data source to<br />

per<strong>for</strong>m a join (this usually improves per<strong>for</strong>mance).<br />

JOIN–BY–<strong>SQL</strong>DB implies SEPARATE–CONNECTION queries that<br />

include joins.<br />

Default: JOIN–BY–<strong>SQL</strong>DB.<br />

JOIN–BY–<strong>SQL</strong>DB is a compile-time option. A query must be<br />

compiled to use or not use this option.<br />

You can turn off the JOIN–BY–<strong>SQL</strong>DB default globally at compile<br />

time by specifying the <strong>Server</strong> Join (-nojoinbysqldb) startup<br />

parameter when you start an <strong>OpenEdge</strong> session. This parameter<br />

does not override the explicit use of JOIN–BY–<strong>SQL</strong>DB in the<br />

QUERY–TUNING phrase.

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

Saved successfully!

Ooh no, something went wrong!