Greg Hains Posted August 14, 2007 Posted August 14, 2007 Hi. Is it possible to invoke these commands/routines from within a script - thus keeping the database fairly tidy automatically? Greg
Vaughan Posted August 14, 2007 Posted August 14, 2007 No, apart from the "Save a Copy As..." command. There has been some doubt cast upon these commands. Because they work on the *current* file there has been a suggestion made that they may in fact worsen data corruption if any exist in the file.
gdurniak Posted August 14, 2007 Posted August 14, 2007 yes, the current thinking is that the File Maintenance options probably should never be used. FileMaker no longer finds them beneficial. This was confirmed at DevCon this year. greg
Greg Hains Posted August 14, 2007 Author Posted August 14, 2007 This feedback leads me to believe I shouldn't use them. They looked encouraging because the file was smaller and still worked. Deceiving. Thanks guys. Greg
Søren Dyhr Posted August 14, 2007 Posted August 14, 2007 May one ask as to why this urge have occured? If say it's normalization you're after isn't it usually a scripted matter, rather the opposite. I would say pretty large solutions easily can be carried around on a USB-dongle/stick. If the attempt to make a compressed copy, is a desire to make the thingy more agile, is the answer perhaps not what you wish to hear - namely you have designed with an inadequate relational structure. I apologize the mercy-less question here, what is you field/table ratio?? Know that filemaker intellectuals have toyed with: http://www.fmforums.com/forum/showtopic.php?tid/175168/fromsearch/1/hl/ginko/tp/1/ But your desires for spreadsheet'ish behaviours like in this thread: http://www.fmforums.com/forum/showtopic.php?tid/187093/post/251951/hl//fromsearch/1/ Doesn't suggest that ginko'ing is arriving in one of your solutions immidiately. BTW the answer to your 4 unanswered questions in that could be found by reading this thread: http://www.fmforums.com/forum/showtopic.php?tid/176396/post/204083/hl//fromsearch/1/ --sd
Tori Mitchell Posted August 14, 2007 Posted August 14, 2007 Oh gee... I can't remember exactly which order optimize puts the file in but compact definitely removes the data 'holes' put in by deletion from a solution. This *will* reduce the size of the file but may not be a good option due to the fact that it leaves no room for inserts. Thus, if you modify the contents of a data object to beyond the current allocated storage, it will have to shuffle quite a few bits around to get the new data placed. Optimize simply puts the file back in the proper order after a number of r/w/d operations. It's not a bad thing to use but... *shrug*. Once again, this info is from FMDC this year... filtered through my shoddy memory.
gdurniak Posted August 15, 2007 Posted August 15, 2007 the theory is, that "corruption" is often due to mis-labeled file "blocks", or bad block "pointers". Since "File Maintenence" is designed to shuffle blocks around, it tends to make any problem in the file completely irreparable if you subscribe to FileMaker's Tech Talk, search for "damaged files weber", to find a very long, and interesting thread on this, from last March and yes, we never did really answer the original question, but it's not a good idea anyway greg
Vaughan Posted August 15, 2007 Posted August 15, 2007 "... we never did really answer the original question" Oi! "No, apart from the "Save a Copy As..." command."
gdurniak Posted August 16, 2007 Posted August 16, 2007 Vaughan, sorry about that! (if we awarded points, you would get them) greg
Vaughan Posted August 16, 2007 Posted August 16, 2007 LOL I was only pulling your chain. "if we awarded points, you would get them" Cool. I've still got my five stars from the "old" Forums. : (The joke was that I had ten stars when everybody else was limited to just five.)
Recommended Posts
This topic is 6309 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 accountSign in
Already have an account? Sign in here.
Sign In Now