cancel
Showing results for 
Search instead for 
Did you mean: 

Mobilink: 1 row(s) were ignored in uploading data into table SYNC_OPTIONS

Former Member
0 Kudos
2,332

Hello,

I have a consolidated database - Oracle/Mobilink Server and remote database - SQL Anywhere/Mobilink Client running on two different machines. When I check the Mobilink logs, it says the below:

I. 2017-02-21 07:47:25. <8115> Request from "Dbmlsync 16.0.2043" for: remote ID: 69d3ac9f-a59d-4dad-8256-61e1d56ecdf5                                                                                           , user name: 0101, version: ML_R1
I. 2017-02-21 07:47:25. <8115> The current synchronization is using a connection with connection ID 'SID 18, SERIAL# 739'
I. 2017-02-21 07:47:25. <8115> COMMIT Transaction: Begin synchronization
I. 2017-02-21 07:47:25. <8115> 1 row(s) were ignored in uploading data into table SYNC_OPTIONS
I. 2017-02-21 07:47:25. <8115> COMMIT Transaction: Upload
I. 2017-02-21 07:47:25. <8115> COMMIT Transaction: Prepare for download
I. 2017-02-21 07:47:25. <8115> Sending the download to the remote database
I. 2017-02-21 07:47:25. <8115> COMMIT Transaction: Download
I. 2017-02-21 07:47:25. <8115> COMMIT Transaction: End synchronization
I. 2017-02-21 07:47:26. <8115> Synchronization complete

I have 3 questions:

  1. Why I am getting the message '1 row(s) were ignored in uploading data into table SYNC_OPTIONS'
  2. I have manually inserted a record in one of the tables in consolidated database but it is not reflecting in my remote database. What do I need to check?
  3. SYNC_OPTIONS in remote database has around 25rows but in consolidated database it is blank.

I am doing a POC on SAP TARS and have just started learning mobilink and sql anywhere.

Please help.

Accepted Solutions (0)

Answers (1)

Answers (1)

regdomaratzki
Product and Topic Expert
Product and Topic Expert

The answers to all your questions will be sorted out by understanding the synchronization scripts that have been written for the SYNC_OPTIONS table at the consolidated database.

Do you know how to look at the synchronization scripts in the consoldiated database using either Sybase Central or by querying the MobiLink system tables in the Oracle consolidated database?

Reg

Former Member
0 Kudos

Thanks Reg.

I am not very pro about Mobilink system tables but from the scripts it looks like only download_cursor and download_delete_cursor have been written for SYNC_OPTIONS table.

I looked into ML_SUBSCRIPTION table, it says the last upload time '21-FEB-17 11.05.28.893000000 PM' and the last_download_time '21-FEB-17 07.13.06.000000000 AM' (the current time in my machine is 21-FEB-17 11:13 PM).

What tables do I need to query?

regdomaratzki
Product and Topic Expert
Product and Topic Expert

If you are querying the consolidated database directly, connect to the consolidated database using the same user that the MobiLink Server uses to connect, and execute the following SQL :

select * from ml_table_scripts where table_name = 'SYNC_OPTIONS'

You will likely see a number of scripts defined :

  • upload_insert
  • upload_update
  • upload_delete
  • download_cursor
  • download_delete_cursor

The first three determine the SQL that will be executed against the consolidated if an operation (insert/update/delete) from the remote is sent up. The last two determine the SQL statements that will generate result sets that are the data (or data to delete) that will be downloaded to the reote database.

It's probably going to be difficult to answer your question if you don't know whether data on this particular table is supposed to synchronize up and/or down.