Jump to content
Claris Engage 2025 - March 25-26 Austin Texas ×

This topic is 3030 days old. Please don't post here. Open a new topic instead.

Recommended Posts

Posted

I guess the script is written for backwards compatibility but if we could guarantee FMP15 Server/Client would the sync perform better if it was using the Truncate Table function?

Even have it in a loop iterating thru table instead of having to switch context even, and reduce script steps. 

  • Like 1
Posted

There are very few cases in MirrorSync when we delete all the records on a device, and only during certain initial sync scenarios - so it would have no benefit for the vast majority of the time.

Where were you thinking about using it?

Posted

No plans just scrolling thru the script saw the steps and just thought candidate for new function ;)

 

Posted

For what it's worth, you get this behavior for free if all the requirements are met. FM does a quick check to see if it can do this to increase performance. That check involves looking for and open/locked records, any cascading deletes or dependencies in the schema, and if you are in a found set of all records. If all conditions are met, it will functionally truncate the table for you, saving a load of time :)

  • Like 1

This topic is 3030 days old. Please don't post here. Open a new topic instead.

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
×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use.