BLOBs include the LONG VARCHAR, LONG BINARY, TEXT, and IMAGE data types.
When SQL Remote replicates an INSERT or UPDATE statement, it uses a variable in place of the BLOB value. That is, the BLOB is broken into pieces and replicated in chunks. At the recipient database, the pieces are reconstituted by using a SQL variable and concatenated. The value of the variable is built up by a sequence of statements of the form:
SET var = var || 'more_stuff'; |
The variable makes the size of the SQL statements involving long values smaller, so they fit within a single message.
The SET statements are separate SQL statements, so that the BLOB is effectively split over several SQL Remote messages.
![]() |
Discuter à propos de cette page dans DocCommentXchange.
|
Copyright © 2013, SAP AG ou société affiliée SAP - SAP Sybase SQL Anywhere 16.0 |