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.

Troubleshooting<br />

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

8–2<br />

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

your environment. You pass these options as arguments to –Dsrv when connecting to a MS <strong>SQL</strong><br />

<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 logical–name<br />

argument is its logical name, which is defined when you create 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 long as<br />

they identify parameters uniquely.<br />

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

CONNECT statements. You can also specify –Dsrv options in a parameter file, on a program item<br />

command line, or in the Connection Parameters field in the <strong>Data</strong>base Connect dialog box.

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

Saved successfully!

Ooh no, something went wrong!