frondoc picture

What is Frontier?
News & Updates

Web Tutorial
Scripting Tutorial
BBEdit Scripting

Mailing Lists
Sample Scripts
Verb Set
Frontier Site Outline


User's Guide
1 2 3 4 5 6
7 8 9 10 11

Apple File Edit
Main Open Suites
Web Window

Menubar Outline
Script Table WP

frondoc picture

Save A Copy

If Frontier slows down when saving changes, you can improve performance using the Save A Copy command.

As a Frontier object database file, Frontier.root, gets older, freed disk blocks are added to an internal list called the "avail list". As this list gets long, disk-based operations can slow down significantly.

You can freshen your database with the Save A Copy command in The File Menu. Choose the command, save to Frontier.root.fresh. Take a short break. When it's finished, quit Frontier, move Frontier.root to a safe place, and rename Frontier.root.fresh to Frontier.root. Relaunch Frontier. Things should run faster now.

You can trash the original Frontier.root. The new one contains all the information in the old one.

If you want to get an idea of the condition of your object database, enter window.dbStats () into the Quick Script window. A report appears in a separate window. The third line in the stats window tells you how many nodes are on the avail list. The fewer the better.

Save A Copy will also compact the file, squeezing out all the unused space between disk blocks. The resulting file will be smaller than the original file.

© Copyright 1996-97 UserLand Software. This page was last built on 5/28/97; 7:07:43 AM. It was originally posted on 10/13/96; 8:35:43 AM. Internet service provided by Conxion.