Sign in to follow this  
Followers 0
UltimateTech

Can I use MirrorSync with Externally Stored container fields?

9 posts in this topic

Hi There,

 

I have a database that my company uses for inspections. It is running very successfully, syncing data between iPads and the main database using MirrorSync. All of the initial difficulties we experienced have been fixed and for the most part, we have a very smooth solution.

 

The problem I have now is the database size. During an inspection, we need to take photos of non compliant items. As the sites are quite large, there could be up to 700 tenancies in any one site, and in each of those tenancies, there may be anything up to 7 non compliant items. As you can imagine this makes the database expand very very quickly, and it is currently sitting at 5.5Gb  :hmm:

 

What I want to be able to do is move all of the container fields to external storage. The only problem is, if I do this, I am not sure that MirrorSync will still sync all of the data. How would i best handle this situation to make sure I can still sync the required images and still manage to keep the size of the actual database file down?

 

 

Share this post


Link to post
Share on other sites

There are a couple of general options, without knowing your specific use case

 

1) Start filing closed jobs to an external storage, that way you can run your operational database as pr today

2) Use super container, not sure how this will sync

3) Use web viewer with some selv made system, I have between 500GB - 1TB of data in such a repository, will require access

4) Others?

Share this post


Link to post
Share on other sites

On the server side, you can simply switch to externally stored containers, and everything will continue to work for all of your existing offline users - they won't be able to tell the difference, and MirrorSync doesn't care either way.

 

You may run into an issue when distributing new offline files, however. Let me ask a few questions:

1) Are your offline users running a copy of the server file, or have you created a separate mobile file for them to use?

2) If it's a copy of the server file, are you distributing an empty clone, or a full copy of the server file?

Share this post


Link to post
Share on other sites

Hi Jesse,

 

I am distributing a full clone of the database to the offline users.

 

Cheers

Share this post


Link to post
Share on other sites

When you say a "full clone", can you clarify that? Do you mean a copy of the database will all records, or a copy of the database with no records?

Share this post


Link to post
Share on other sites

Hi Jesse,

 

I mean a full clone of the database at that present time with all records, including photos that are in containers. This is why it is such a big issue. the database is far too large to be used effectively on a regular basis from the iPad running a remote database.

 

I need a way to store the photos externally on the server, but I also need the ability to sync the photos that are taken on the iPad on site as these make up part of the inspection. 

 

does that make sense?

Share this post


Link to post
Share on other sites

Yes, I understand now. I was confused because typically the word "clone" implies that it's empty (no records).

 

There is an extra step that needs to happen any time you're copying a FileMaker database with externally stored container fields to an iOS device. This is a FileMaker requirement, not a MirrorSync one. We've documented the process here: 

 

http://docs.360works.com/index.php/MirrorSync_advanced_topics#Does_MirrorSync_sync_external_container_fields.3F

Share this post


Link to post
Share on other sites

Ahhh lol, I wasn't aware that a clone was an empty database. Apologies for the confusion.

 

I will go through the info in the link you provided and test it out. See how I go :-)

 

Thanks

Share this post


Link to post
Share on other sites

Sorry Jesse, Just going through that info, and I have a question. If the self contained file has all data available to it, does this mean that the file will have all of the container field files written into the actual self contained database?

 

If this file will have all of the data stored internally, would it not work out to be the same size on the iPad?

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!


Register a new account

Sign in

Already have an account? Sign in here.


Sign In Now
Sign in to follow this  
Followers 0

  • Similar Content

    • By dsivaa
      Hello,
      I am getting an error while sync,
      "Last sync failed: com.prosc.sync.AbortException: Failure while recording changes from FileMaker Server 192.168.8.150/sync_Information: java.sql.SQLException: IO error: position 13016373"
      Is it possible to skip this one particular table in MirrorSync sync to test the other tables?
    • By Charles Delfs
      If I wanted to script a mobile device update process, is it possible to directly access the download link and not have to go through the intermediate trigger page?.
      I would like to grab a copy of the hosted file and insert it into a container.
      Currently hitting the download link returns the "Download file is ready and should automatically start downloading now." Then later a JS forced download. 
      C
    • By Charles Delfs
      My use case is such that mobile users need some records that have containers. The hub has containers stored externally. 
      Deploying to the mobile device breaks the container. Triggering the Server side record will 'refresh' the mobile container and display its contents (after a sync)
      Can I force a table (or found set) to sync from the server to the mobile device WITHOUT forcing those images to download to all the other mobile devices?.
      Each iPad will have its own set of records. What are some options here? Am I forced to tickle the containers server side forcing a download or any device that would normally download them?
      Is there a way to force a download of just this one table and not affect the others? or the modTimeStamp?
       
      cheers
    • By calebruth
      I tried to install MirrorSync 3.17 today on a MacOS with 10.12.3 and FMS 15.0.3.308. The installer is hanging at about 80% progress at "Running package scripts..."
      Is there an installer log file that I can examine?
      In addition I noted in the docs the restriction against multiple users sharing the same file on the same device:
      http://docs.360works.com/index.php/MirrorSync_advanced_topics#Can_I_share_a_device_among_multiple_users.3F
      I am wondering about the details of this restriction and is it possible for multiple users to share the same db file on the same device if there is no record filtering or record-level access features enabled?
    • By 360Works
      We have recently released versions 3.14 - 3.16 of MirrorSync with improvements for recovery mode, high-volume syncs, and rebuilding sync data. Overall, the reliability of MirrorSync has greatly improved, and the speed of SQL and server-to-server syncs have increased significantly! 
       
      Immediately after the release of 3.14 and 3.15, we were able to identify and fix a few quirks resulting in an even more reliable version with 3.16. 
       
      In 3.16, we even added a few additional features including the ability to pre-populate databases for server-to-server syncs with non-FileMaker databases, faster initial syncs, and new support for re-importing a new configuration over an existing one, which is very useful in a vertical market solution deployment. 
       
      This is a free update for current users. For those new to MirrorSync, the server license is free and ships with one free configuration of FileMaker Pro or FileMaker Go syncing with FileMaker Server and one free device allowance. All additional configurations and devices are available for purchase. 
       
      MirrorSync can sync between any combination of FileMaker Pro, FileMaker Go, FileMaker Server, SQL database (MySQL, Oracle, SQL Server, or any database that supports JDBC), Salesforce, and Amazon RedShift. To download the current version, please visit the MirrorSync product page
       
      For a complete list of changes, please visit our MirrorSync changelog