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 8: Troubleshooting<br />

Tuning your environment with the –Dsrv startup parameter<br />

The <strong>Data</strong><strong>Server</strong> (–Dsrv) startup parameter allows you to use special <strong>Data</strong><strong>Server</strong><br />

options to tune your environment. You pass these options as arguments to –Dsrv when<br />

connecting to a MS <strong>SQL</strong> <strong>Server</strong> database.<br />

There are two versions of the syntax, as follows:<br />

Syntax<br />

CONNECT data-source-name -ld logical-name -dt MSS<br />

-Dsrv arg1,val1 -Dsrv arg2,val2 -Dsrv arg3,val3...<br />

Syntax<br />

CONNECT data-source-name -ld logical-name -dt MSS<br />

-Dsrv arg1,val1,arg2,val2,arg3,val3...<br />

In this syntax:<br />

• The schema holder is already connected.<br />

• The data–source–name argument is the name of the data source and the<br />

logical–name argument is its logical name, which is defined when you create<br />

your schema image.<br />

• You pass the options as the argn,valn pairs.<br />

Here is an example of how to use the CONNECT statement with the –Dsrv parameter:<br />

CONNECT mssql_db -ld mydb -U x -P y<br />

-Dsrv qt_debug,EXTENDED<br />

-Dsrv PRGRS_IDBUF,100<br />

-Dsrv PRGRS_MINBUF,10000<br />

-Dsrv MAX_R,10000.<br />

Note that MAX_R is an abbreviation of MAX_ROWS. You can abbreviate option names as<br />

long as they identify parameters uniquely.<br />

Both the syntax statements and the example show the use of the –Dsrv startup<br />

parameter in CONNECT statements. You can also specify –Dsrv options in a parameter<br />

file, on a program item command line, or in the Connection Parameters field in the<br />

<strong>Data</strong>base Connect dialog box.<br />

320 <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!