|
Home > Archive > SQL Anywhere Mobile > June 2005 > create ASA remote database out of consolidated database
You are viewing an archived Text-only version of the thread.
To view this thread in it's original format and/or if you want to reply to
this thread please [click here]
| Author |
create ASA remote database out of consolidated database
|
|
| Eric Verhorstert 2005-06-09, 7:24 am |
| I am trying to make a remote database out of a consolidated database.
The scheme of the remote database should be parallel in structure to the
scheme of the consolidated database. The database has about 300 tables.
In all our tables is a identifier company_id and in some tables (about
200) the identifier user_id.
After the remote database is created synchronisation should work as
follows:
The tables with the identifier user_id are changed in the remote
database and should be uploaded to the consolidated database. The tables
with no user_id are changed in the consolidated database and should be
downloaded to all remote databases.
User_id is a number from 1 til 999. So we could have a maximum of up to
999 remote databases.
Creating the remote database I made a publication with all tables and
all columns included in the consolidated database (and yes, I have a
copy). I did not use the where clause. Then I created a mobilink user.
When I create the remote database for user 1 the data should be
extracted from tables with the column user_id in it where user_id = 1
and all the data from the tables without column used_id. For user 2 the
same except of course that user_id = 2. etc.
Should I make for each user a seperate publication and add for each
table the where clause or what is the best way to continue or perhaps
start again?
Thanks
Eric
| |
| Breck Carter [TeamSybase] 2005-06-09, 7:24 am |
| The download_cursor scripts SELECT from the consolidated table with
whatever WHERE clause is required to select rows the currently
synchronizing remote database needs. The MobiLink user name is passed
as a string parameter to the script. If you use your "user id" value
as the MobiLink user name (CREATE SYNCHRONIZATION USER on the remote)
then life becomes simpler when writing the consolidated scripts.
With many installations the first synchronization is used to initially
populate the remote database. The last download datetime (also passed
to download_cursor scripts as a parameter) is initially set to a very
old value so download_cursor WHERE clauses can use it to select all
rows only on the first sync, and recently-changed rows on later syncs.
This is called "Timestamp-based synchronization" in the Help.
Breck
On 9 Jun 2005 01:59:05 -0700, Eric Verhorstert
<eric.verhorstert@farm.nl> wrote:
>I am trying to make a remote database out of a consolidated database.
>
>The scheme of the remote database should be parallel in structure to the
>scheme of the consolidated database. The database has about 300 tables.
>In all our tables is a identifier company_id and in some tables (about
>200) the identifier user_id.
>
>After the remote database is created synchronisation should work as
>follows:
>The tables with the identifier user_id are changed in the remote
>database and should be uploaded to the consolidated database. The tables
>with no user_id are changed in the consolidated database and should be
>downloaded to all remote databases.
>User_id is a number from 1 til 999. So we could have a maximum of up to
> 999 remote databases.
>
>Creating the remote database I made a publication with all tables and
>all columns included in the consolidated database (and yes, I have a
>copy). I did not use the where clause. Then I created a mobilink user.
>When I create the remote database for user 1 the data should be
>extracted from tables with the column user_id in it where user_id = 1
>and all the data from the tables without column used_id. For user 2 the
>same except of course that user_id = 2. etc.
>
>Should I make for each user a seperate publication and add for each
>table the where clause or what is the best way to continue or perhaps
>start again?
>
>Thanks
>
>Eric
--
SQL Anywhere Studio 9 Developer's Guide
Buy the book: http://www.amazon.com/exec/obidos/A...7/risingroad-20
bcarter@risingroad.com
RisingRoad SQL Anywhere and MobiLink Professional Services
www.risingroad.com
| |
| Eric Verhorstert 2005-06-09, 11:24 am |
| I forgot to tell that all databases are ASA 9.0.????
Ok, so I read in the newsgroups that the publication is NOT used in the
consolidated database but only in the remote database. So, now I still
do not understand how to create the remote database out of the
consolidated database.
Is the only thing I have to do write the download_cursor script for each
table (about 300) and can I then run a program that creates the remote
database out of the consolidated database?
If I write all the download_cursor scripts, can I easily export and
import them to another database (als ASA same structure but other client).
Thanks to all the people spending the time on helping me.
Thanks,
Eric
Breck Carter [TeamSybase] wrote:
> The download_cursor scripts SELECT from the consolidated table with
> whatever WHERE clause is required to select rows the currently
> synchronizing remote database needs. The MobiLink user name is passed
> as a string parameter to the script. If you use your "user id" value
> as the MobiLink user name (CREATE SYNCHRONIZATION USER on the remote)
> then life becomes simpler when writing the consolidated scripts.
>
> With many installations the first synchronization is used to initially
> populate the remote database. The last download datetime (also passed
> to download_cursor scripts as a parameter) is initially set to a very
> old value so download_cursor WHERE clauses can use it to select all
> rows only on the first sync, and recently-changed rows on later syncs.
> This is called "Timestamp-based synchronization" in the Help.
>
> Breck
>
>
> On 9 Jun 2005 01:59:05 -0700, Eric Verhorstert
> <eric.verhorstert@farm.nl> wrote:
>
>
>
>
> --
> SQL Anywhere Studio 9 Developer's Guide
> Buy the book: http://www.amazon.com/exec/obidos/A...7/risingroad-20
> bcarter@risingroad.com
> RisingRoad SQL Anywhere and MobiLink Professional Services
> www.risingroad.com
| |
| Reg Domaratzki \(iAnywhere Solutions\) 2005-06-09, 11:24 am |
| There's a program called mlxtract you can use on an ASA consolidated
database, but to use it you need to define publications and synchronization
users on the consolidated. Personally, I never use it.
I've attached a simple batch file I use to automate testing of MobiLink. It
uses a template SQL file to create the remote databases. To use the
scripts, unzip the contents of the zip file into an EMPTY directory (I'm not
kidding, make sure it's empty), open a DOS prompt, CD into the directory
where the files exist, make sure ASA9 is in your path, and type "mlrep".
The batch file will create the consolidated database (including schema and
synchronization scripts), start the MobiLink server, creates the remote
databases, then perform the first synchronization for each of the remote
databases. It will over write a DSN called "cons_90" just in case you
already have a DSN with that name on your system. The batch file is
repeatable. If you run it a 2nd time, it will clean up all files from the
previous run and start from scratch again.
To learn how it's done, first look at the mlrep.bat file to see the steps
taken, and then look at cons.sql and rem.sql to figure out how the
consolidated and remote databases are created. Note that the entire admin
table synchronizes, but only a subset of the data in the Parent and Child
tables are synchronized from the consolidated based on the user_id column.
This is done with the download_cursor, not with publication definitions.
--
Reg Domaratzki, Sybase iAnywhere Solutions
Sybase Certified Professional - Sybase ASA Developer Version 8
Please reply only to the newsgroup
iAnywhere Developer Community : http://www.ianywhere.com/developer
iAnywhere Documentation : http://www.ianywhere.com/developer/product_manuals
ASA Patches and EBFs : http://downloads.sybase.com/swx/sdmain.stm
-> Choose SQL Anywhere Studio
-> Set "Platform Preview" and "Time Frame" to ALL
"Eric Verhorstert" <eric.verhorstert@farm.nl> wrote in message
news:42a804d9$1@foru
ms-1-dub...
> I am trying to make a remote database out of a consolidated database.
>
> The scheme of the remote database should be parallel in structure to the
> scheme of the consolidated database. The database has about 300 tables.
> In all our tables is a identifier company_id and in some tables (about
> 200) the identifier user_id.
>
> After the remote database is created synchronisation should work as
> follows:
> The tables with the identifier user_id are changed in the remote
> database and should be uploaded to the consolidated database. The tables
> with no user_id are changed in the consolidated database and should be
> downloaded to all remote databases.
> User_id is a number from 1 til 999. So we could have a maximum of up to
> 999 remote databases.
>
> Creating the remote database I made a publication with all tables and
> all columns included in the consolidated database (and yes, I have a
> copy). I did not use the where clause. Then I created a mobilink user.
> When I create the remote database for user 1 the data should be
> extracted from tables with the column user_id in it where user_id = 1
> and all the data from the tables without column used_id. For user 2 the
> same except of course that user_id = 2. etc.
>
> Should I make for each user a seperate publication and add for each
> table the where clause or what is the best way to continue or perhaps
> start again?
>
> Thanks
>
> Eric
begin 666 ml9basic.zip
M4$L#! H``@```,%9R"A?-O>4- ```#0````+````8V]N;F
5C="YB871S=&%R
M="!D8FES<6QC("UC(")E;F<]8V]N<SMD8FX])3$[=6ED/61B83MP=V0]<W%L
M(@T*4$L#!!0````(`/-:R3($0%]:( 8``/H5```(````8V]N<RYS<6S%6%ES
MVS80?I9G_!_V362JI%*<=MI17$>5&%M3A4ID*6V?.#0)27!(@@6I*&[3_]Y=
M@ =T^%+2UA,[)+#8\\,>3'WIQRQG$I)5[$D6BYQEW>.CXZ.,Y2#2G(L$TM55
MQ(-GYY&X\B,O]'/ _RL^8QT,XA79W'VG((F3
JB2CT(K'(D*XY=IN*;R"9GS-
M'AACS!*SCHX9/3\2RT>!)SA:H4<CF_BK*8:'D@K_*!4_P>,R2'%+)8U_>
MP =VT\+CI%2CT?CHRV#I2^ND;=-JY&>Y%XN0SSD+H?[)><RRW(_32D:U<GQD
MFVH6LG,6IT*2/$-OKR^2. 5J;;QI0J%]J!5LZ2;'V\
IN45>L=&X(E"SZ !:\"
M$0$YI#ENMJ#ITI]^TP9
UT+ 8K%):"TI^]I;F6M&WOB1OH8*E[:E:P:.5HQN/
M<?0J8U(=KGS=>?Z#_6^&0!O27_(H5(X.Z.E@_7?-!\GF#!<#EA7NVF,-G+3A
M2^WI3YS>U(&WDW'?&<PF#LQ&%WX21LR14L@B1./95/'S`W6?J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6N56+]@F(K/O<4!#@JJ!$R%2$T<`0F:J1,>#4;&9>]3Y?RQJ6CL!!D%T
M7L3*A486Y5>P''%&F!SXC,NV:DSE.^7NW>!^"#Z#HDX#15%&EV"*09#+F]MK
MX)7I]&[!S:=4/@Y7$_CA(0IQ/^*O_XS=J%CU<C^L8V].!FT,0^ [DE2'`(VA
M+K9($J)7L1+O`K2$*SJ
<D!]O-%A8-5R"F#+2G!+-7"QF+KZBX96+56J8M9S,
M9YKJSDRCNJ*<,([?H%+++GQD9*C5O@>E"N6:<DGFT;J^ZFA>:?45ST)IT/&H
M6+TSD-+S7)'%Y? EDF\;L:Y'1TD$1DU!5ZV
^M=-7!64X<S9Y9^<(U_RQ)U5?4
MOW- @J$_=E:5#U]6LF=4]V4;
AM'7'@>Z.,H[#%/BQ>#LU,8O0SI=Q]WDH#D0#
M?P-02P,$% `"``@`)4M\+UA#,W1/````4 ````D```!S>6YC:"YB870-QCL*
M@# 0!<!>\ Z/0"I9(77(84Q61,Q/L_YNKU--D^D0L$^QO3F `M2<%Q=*;I9]
M=MK8<V7'?K+U9M?VJ !*%?] UP`JT&:41T ;^NX#4$L!`A0`"@`"````P5G(
M*%\V]Y0T````- ````L``````````0`@`/^!`````&-O;FYE8W0N8F%T4$L!
M`A0`% ````@`\UK),@1 7UH@!@``^A4```@`````
`````0`@`+:!70```&-O
M;G,N<W%L4$L!`A0`% `" ``@`K4I\+UGKG486`@``
'P8```D``````````0`@
M`/^!HP8``&UL< F5P+F)A=%!+`0(4`!0``
@`(`+-*?"_1&8%#'@,``&D(```'
M``````````$`( "V@> (``!R96TN<W%L4$L!`A0`% `"``@`)4M\+UA#,W1/
M````4 ````D``````````0`@`/^!(PP``'-Y;F- H+F)A=%!+!08`````!0`
%
+`!(!``"9# ``````
`
end
| |
| Breck Carter [TeamSybase] 2005-06-09, 8:24 pm |
| FWIW mlxtract is deprecated.
On 9 Jun 2005 08:26:50 -0700, "Reg Domaratzki \(iAnywhere Solutions\)"
<FirstName.LastName@ianywhere.com> wrote:
>There's a program called mlxtract you can use on an ASA consolidated
>database, but to use it you need to define publications and synchronization
>users on the consolidated. Personally, I never use it.
>
>I've attached a simple batch file I use to automate testing of MobiLink. It
>uses a template SQL file to create the remote databases. To use the
>scripts, unzip the contents of the zip file into an EMPTY directory (I'm not
>kidding, make sure it's empty), open a DOS prompt, CD into the directory
>where the files exist, make sure ASA9 is in your path, and type "mlrep".
>The batch file will create the consolidated database (including schema and
>synchronization scripts), start the MobiLink server, creates the remote
>databases, then perform the first synchronization for each of the remote
>databases. It will over write a DSN called "cons_90" just in case you
>already have a DSN with that name on your system. The batch file is
>repeatable. If you run it a 2nd time, it will clean up all files from the
>previous run and start from scratch again.
>
>To learn how it's done, first look at the mlrep.bat file to see the steps
>taken, and then look at cons.sql and rem.sql to figure out how the
>consolidated and remote databases are created. Note that the entire admin
>table synchronizes, but only a subset of the data in the Parent and Child
>tables are synchronized from the consolidated based on the user_id column.
>This is done with the download_cursor, not with publication definitions.
--
SQL Anywhere Studio 9 Developer's Guide
Buy the book: http://www.amazon.com/exec/obidos/A...7/risingroad-20
bcarter@risingroad.com
RisingRoad SQL Anywhere and MobiLink Professional Services
www.risingroad.com
| |
| Eric Verhorstert 2005-06-10, 3:24 am |
| What is deprecated??
Looking in the dictionary is says: Gods judgement
Is that what you mean????
Breck Carter [TeamSybase] wrote:
> FWIW mlxtract is deprecated.
>
> On 9 Jun 2005 08:26:50 -0700, "Reg Domaratzki \(iAnywhere Solutions\)"
> <FirstName.LastName@ianywhere.com> wrote:
>
>
>
>
> --
> SQL Anywhere Studio 9 Developer's Guide
> Buy the book: http://www.amazon.com/exec/obidos/A...7/risingroad-20
> bcarter@risingroad.com
> RisingRoad SQL Anywhere and MobiLink Professional Services
> www.risingroad.com
| |
| Eric Verhorstert 2005-06-10, 3:24 am |
| Running this batch file i receive the message:
Error in file "rem.sgl" at table 81
Column 'publication_id' in table SYSSYNC' cannot be null
What should I change?
Reg Domaratzki (iAnywhere Solutions) wrote:
> There's a program called mlxtract you can use on an ASA consolidated
> database, but to use it you need to define publications and synchronization
> users on the consolidated. Personally, I never use it.
>
> I've attached a simple batch file I use to automate testing of MobiLink. It
> uses a template SQL file to create the remote databases. To use the
> scripts, unzip the contents of the zip file into an EMPTY directory (I'm not
> kidding, make sure it's empty), open a DOS prompt, CD into the directory
> where the files exist, make sure ASA9 is in your path, and type "mlrep".
> The batch file will create the consolidated database (including schema and
> synchronization scripts), start the MobiLink server, creates the remote
> databases, then perform the first synchronization for each of the remote
> databases. It will over write a DSN called "cons_90" just in case you
> already have a DSN with that name on your system. The batch file is
> repeatable. If you run it a 2nd time, it will clean up all files from the
> previous run and start from scratch again.
>
> To learn how it's done, first look at the mlrep.bat file to see the steps
> taken, and then look at cons.sql and rem.sql to figure out how the
> consolidated and remote databases are created. Note that the entire admin
> table synchronizes, but only a subset of the data in the Parent and Child
> tables are synchronized from the consolidated based on the user_id column.
> This is done with the download_cursor, not with publication definitions.
>
| |
| Breck Carter [TeamSybase] 2005-06-10, 7:24 am |
| I'm sorry... "deprecated" is a pompous (and inadequate) word
developers sometimes use instead of admitting the truth: "we strongly
suggest you use some other technique because, for some unspoken and
possibly frivolous reason, this feature *may* be removed in the
future... we're not saying when, and it is up to you to figure out
what the "other technique" might be because we're not telling." <g>
You can also get a tshirt with a slightly different definition of
"deprecated" <g>...
http://www.80stees.com/products/Mon...-shirt_fart.asp
Breck
On 9 Jun 2005 23:21:50 -0700, Eric Verhorstert
<eric.verhorstert@farm.nl> wrote:
[color=darkred]
>What is deprecated??
>
>Looking in the dictionary is says: Gods judgement
>
>Is that what you mean????
>
>Breck Carter [TeamSybase] wrote:
--
SQL Anywhere Studio 9 Developer's Guide
Buy the book: http://www.amazon.com/exec/obidos/A...7/risingroad-20
bcarter@risingroad.com
RisingRoad SQL Anywhere and MobiLink Professional Services
www.risingroad.com
| |
| Reg Domaratzki \(iAnywhere Solutions\) 2005-06-10, 7:24 am |
| What os are you running this on?
Are you using some special shell, or just "command/cmd" ?
I don't get any errors when I run this using the XP or Win2K command shell.
--
Reg Domaratzki, Sybase iAnywhere Solutions
Sybase Certified Professional - Sybase ASA Developer Version 8
Please reply only to the newsgroup
iAnywhere Developer Community : http://www.ianywhere.com/developer
iAnywhere Documentation : http://www.ianywhere.com/developer/product_manuals
ASA Patches and EBFs : http://downloads.sybase.com/swx/sdmain.stm
-> Choose SQL Anywhere Studio
-> Set "Platform Preview" and "Time Frame" to ALL
"Eric Verhorstert" <eric.verhorstert@farm.nl> wrote in message
news:42a94321@forums
-2-dub...[color=darkred]
> Running this batch file i receive the message:
>
> Error in file "rem.sgl" at table 81
> Column 'publication_id' in table SYSSYNC' cannot be null
>
> What should I change?
>
> Reg Domaratzki (iAnywhere Solutions) wrote:
synchronization[colo
r=darkred]
It[color=darkred]
not[color=darkred]
and[color=darkred]
the[color=darkred]
steps[color=darkred]
admin[color=darkred]
Child[color=darkred]
column.[color=darkred]
| |
| Eric Verhorstert 2005-06-13, 7:24 am |
| Windows XP Professional 2002 Service Pack 2
Dell Pentium IV 2,8 GHz 512 Mb
ASA 9.0.2.3131
I go to the dos prompt (%SystemRoot%\system
32\cmd.exe).
Here is the output:
MobiLink Stop Server Utility Version 9.0.2.3131
Unable to find MobiLink Server with name "<default>"
Adaptive Server Anywhere Erase Utility Version 9.0.2.3131
Erasing database file "cons\cons.db"
Erasing transaction log file "cons\cons.log"
Adaptive Server Anywhere Erase Utility Version 9.0.2.3131
Erasing database file "rem1\rem1.db"
Erasing transaction log file "rem1\rem1.log"
Adaptive Server Anywhere Erase Utility Version 9.0.2.3131
Erasing database file "rem2\rem2.db"
Erasing transaction log file "rem2\rem2.log"
C:\testmob\*.*. Weet u het zeker (J/N)? y
C:\testmob\*.*. Weet u het zeker (J/N)?
Adaptive Server Anywhere Data Source Utility Version 9.0.2.3131
User Data Source "cons_90" written to registry.
1 bestand(en) gekopieerd.
1 bestand(en) gekopieerd.
1 bestand(en) gekopieerd.
Adaptive Server Anywhere Transaction Log Utility Version 9.0.2.3131
"cons\cons.db" was using no log file
"cons\cons.db" is using no log mirror file
"cons\cons.db" is now using log file "cons.log"
Transaction log starting offset is 0000000000
Transaction log current relative offset is 0000000000
Adaptive Server Anywhere Transaction Log Utility Version 9.0.2.3131
"rem1\rem1.db" was using no log file
"rem1\rem1.db" is using no log mirror file
"rem1\rem1.db" is now using log file "rem1.log"
Transaction log starting offset is 0000000000
Transaction log current relative offset is 0000000000
Adaptive Server Anywhere Transaction Log Utility Version 9.0.2.3131
"rem2\rem2.db" was using no log file
"rem2\rem2.db" is using no log mirror file
"rem2\rem2.db" is now using log file "rem2.log"
Transaction log starting offset is 0000000000
Transaction log current relative offset is 0000000000
MobiLink User Utility Version 9.0.2.3131
ODBC: [Sybase][ODBC Driver][Adaptive Server Anywhere]Column
'last_upload_time' not found (ODBC State = 42S22, Native error code = -143)
The MobiLink system table 'ml_user' is missing column 'last_upload_time'
MobiLink User Utility Version 9.0.2.3131
ODBC: [Sybase][ODBC Driver][Adaptive Server Anywhere]Column
'last_upload_time' not found (ODBC State = 42S22, Native error code = -143)
The MobiLink system table 'ml_user' is missing column 'last_upload_time'
Reg Domaratzki (iAnywhere Solutions) wrote:
> What os are you running this on?
> Are you using some special shell, or just "command/cmd" ?
>
> I don't get any errors when I run this using the XP or Win2K command shell.
>
|
|
|
|
|