on 2015 Aug 11 8:15 AM
Hi,
I have a rather complex download_delete cursor. It contains a lot of SQL joins and performance isn't optimal on the consolidated db. I would like to simplify this, but this would result in fetching records (for deletion) that have never been downloaded to the remote database. Is this a problem for Mobilink?
Thanks !
Request clarification before answering.
This will create more data in the download stream (since the primary key of the rows that don't exist will also be sent) and will also result in the MobiLink client executing a "delete from table where pkey=X" for rows that don't exist at the remote when it applies the download stream. This means the time to write the download stream to the wire will be longer, and the time to apply the download stream at the remote will also be longer.
You should test whether the performance gains from the re-write of the download_delete_cursor are worth the extra time needed to write more data to the stream and apply the download.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Since dbmlsync silently deletes rows rather than throwing a hissy fit exception for a foreign key violation, it's hard to believe that it would object to an operation that returns a warning (SQLCODE 100 Row not found)...
...but it's still worth testing.
This is all I know...
Unbundling Computing at The University of Waterloo
This in 1984 commemorates the sale of WATSOFT Products, by UW, to WATCOM. After the purchase of WATSOFT, the fortunes of WATCOM developed an international market. A little over ten years later, the company was acquired by the US-based firm Powersoft for $48 million. A year later Powersoft was purchased by Sybase of California, the world's sixth largest computer software company
User | Count |
---|---|
68 | |
15 | |
12 | |
7 | |
7 | |
4 | |
4 | |
4 | |
4 | |
3 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.