This article provides some configuration support for implementation and maintenance of a MS SQL database for SystemWeaver.
Ensure Stable Connection
To avoid unwanted consequences (e.g.,corrupt data) caused by the SystemWeaver server attempting to continue to run during network outages, etc., the server will shut down and must be started again if the environment is unstable. To avoid such restarts, it is of extreme importance that the connection between the SystemWeaver server and the MS SQL database server be kept stable.
Tip: To guarantee a stable connection, consider using an SQ Lite database.
When clients perform Write operations, the SystemWeaver server must connect to the MS SQL server Because it is external, i.e., resides on a different server than the SystemWeaver server application, there will be latency. Keep this in mind when determining the location of the MS SQL server in relation to the SystemWeaver server.
Max Text Replication Size
The max text repl size option specifies the maximum size (in bytes) of text, ntext, varchar(max), nvarchar(max), varbinary(max), xml, and image data that can be added to a replicated column or captured column in a single INSERT, UPDATE, WRITETEXT, or UPDATETEXT statement. The default configuration for this setting in MS SQL is 65536. Consider increasing this size if users will be adding data in excess of that.
To avoid server stops due to attempts to save too large of an amount of data to a text or image column in MS SQL, be sure to upgrade to a newer version of Microsoft ODBC Driver for SQL Server, e.g., Microsoft® ODBC Driver 13 for SQL Server® - or later. There is a Check max blob size tool in the swDatabaseManager utility to test importing large data. To test, click the button. You do not need sole access to the database.
Blob size is OK:
Blob size is too large to handle: