Results 1 to 3 of 3

Thread: Advise needed on a sync issues between MySQL and a Firebird database.

  1. #1

    Thread Starter
    Member
    Join Date
    Oct 2014
    Location
    Northampton, UK
    Posts
    59

    Advise needed on a sync issues between MySQL and a Firebird database.

    Hi everyone,

    I hope someone can advise me on a slight issue I am having

    I have a central database (MySQL) and my Linux system syncs no problem at all (about 5mins to sync over 13,400 records) but the windows version of my application crashes if to much record data is sent to the local database (firebird 2.5 and 3.0) so to work around this issues we have to sync the data I. Batches (so far we hit 63 batches of 250 records at a time and this can take upto 14mins to sync)

    So does anyone know a better way to sync data from a MySQL database into a firebird database via a vb.net 2008 program

    The system works locally so once then has done all it has to do is to keep any changes synced (and they are seconds on both systems)

    I can post example code if needed

    Thanks

    Andy

  2. #2
    Super Moderator jmcilhinney's Avatar
    Join Date
    May 2005
    Location
    Sydney, Australia
    Posts
    111,221

    Re: Advise needed on a sync issues between MySQL and a Firebird database.

    Quote Originally Posted by AndyGable View Post
    does anyone know a better way
    A better way than what? We don't know what you're doing so we can't know what you might be doing wrong. Also, a crash is an unhandled exception so it's important that we know what that exception is and where it's thrown.
    Why is my data not saved to my database? | MSDN Data Walkthroughs
    VBForums Database Development FAQ
    My CodeBank Submissions: VB | C#
    My Blog: Data Among Multiple Forms (3 parts)
    Beginner Tutorials: VB | C# | SQL

  3. #3

    Thread Starter
    Member
    Join Date
    Oct 2014
    Location
    Northampton, UK
    Posts
    59

    Re: Advise needed on a sync issues between MySQL and a Firebird database.

    Quote Originally Posted by jmcilhinney View Post
    A better way than what? We don't know what you're doing so we can't know what you might be doing wrong. Also, a crash is an unhandled exception so it's important that we know what that exception is and where it's thrown.
    All I get as in an error message is the ide shows a message and says "the stream has refused the information" and that is on the firebird connection.

    What I'm bascilly doing is copying from MySQL database all my product information that is needed for the PoS application to run if the server is offline.

    With Linux I can just do a loop though the entire record set and it works fine but the vb version shows that error message every so often (maybe I'm over doing the insert volume or something)

Tags for this Thread

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  



Click Here to Expand Forum to Full Width