Connecting to a Microsoft SQL Server Database
Use the Microsoft SQL Server connection to connect to a Microsoft SQL Server database from a UNIX or Linux machine.
Configuring SSL Authentication through ODBC
You can configure SSL authentication for Microsoft SQL Server through ODBC using the DataDirect New SQL Server Wire Protocol driver.
1. Open the odbc.ini file and add an entry for the ODBC data source and DataDirect New SQL Server Wire Protocol driver under the section [ODBC Data Sources].
2. Add the attributes in the odbc.ini file for configuring SSL.
The following table lists the attributes that you must add to the odbc.ini file when you configure SSL authentication:
Attribute | Description |
---|
EncryptionMethod | The method that the driver uses to encrypt the data sent between the driver and the database server. Set the value to 1 to encrypt data using SSL. |
ValidateServerCertificate | Determines whether the driver validates the certificate sent by the database server when SSL encryption is enabled. Set the value to 1 for the driver to validate the server certificate. |
TrustStore | The location and name of the trust store file. The trust store file contains a list of Certificate Authorities (CAs) that the driver uses for SSL server authentication. |
TrustStorePassword | The password to access the contents of the trust store file. |
HostNameInCertificate | Optional. The host name that is established by the SSL administrator for the driver to validate the host name contained in the certificate. |
Configuring Custom Properties for Microsoft SQL Server
You can configure custom properties for Microsoft SQL Server to improve bulk load performance.
1. Launch the PowerCenter client and connect to Workflow Manager.
2. Open a workflow and select a session that you want to configure.
3. Click the Config Object tab.
4. Change the value of the Default Buffer Block size to 5 MB. You can also use the following command: $INFA_HOME/server/bin/./pmrep massupdate -t session_config_property -n "Default buffer block size" -v "5MB" -f $<folderName>
To get optimum throughput for a row size of 1 KB, you must set the Buffer Block size to 5 MB.
5. Click the Properties tab.
6. Change the Commit Interval to 100000 if the session contains a relational target.
7. Set the DTM Buffer Size. The optimum DTM Buffer Size is ((10 x Block Buffer size) x number of partitions).