DOCUMENTATION RESCUE FOR 4D DATA - Viewer


| Welcome to the JCS Web Site | Synopsis | Warning | Version History | Installation |
| Advice for better use of Rescue for 4D Data |
| Menus | Preferences | Navigator | Doctor | Editor | Viewer |
| 4th Dimension™ | Data Structure for 4th Dimension™


Viewer

 

Viewer :

 
Viewer makes it possible to visualize and analyze a data file.
 
The results provided by Viewer can be completely erroneous if the database is damaged and the viewer does not see the damage.
For reasons of speed, Viewer does not perform all the validity tests which Doctor performs. It does not delve deeply into the structure of the records; it only checks the total state.
If the data is seriously damaged, the following message may appear:
 
"I Found Very Big Error In Data File. You must Use Doctor Before Use Viewer.".
 
You might notice some sluggishness when using Viewer. This slowness is caused by Windows™ activating its cache memory. Using the System Monitor, you can see this in the utilization factors of the Windows™ memory. The activation of this cache reduces the performance of Viewer --- as it does for all other applications as well.
 
 
To accelerate the file processing time, you can iconize the window.
 

Analyze the Data File
 
 
The analysis will not be valid if Viewer is stopped by the user or an error occurs before the analysis is completed.
 
To perform the analysis, Viewer needs a certain amount of memory.
This memory, in bytes, is calculated as follows:

(Table Number * 22 * 4) + (((Size of data + 512) / 512) * 4)
 
Ex : Table Number = 50, Size of data = 100 MB.
 
((50 * 22 * 4) + (( (104 857 600 + 512) / 512) * 4) = 823 604 bytes (approximately 800 KB).
 
This memory block is allocated when the analysis begins and and will remain allocated until either a new analysis is begun or the Viewer window is closed.
 
 
 
By default, the analysis is carried out in the Map form. The Map button is selected.
 
In the Map form, each color square represents 512 bytes (512 bytes = four 4D blocks ).
 
Its color (and, thus, its type in Rescue For 4D) is calculated according to the type most representative of these 4 blocks. You may change the color for each type in the Preferences.
 
Example: Say you have 4 Blocks: 3 occupied by the data in the table 3, and 1 occupied by a SRA in table 4.
Rescue for 4D Data will reveal this block as being occupied by table 3.
 
This limitation is due to the memory needs of Viewer. If several Blocks were not gathered, a database of 50 Tables and approximately 100 MB would take approximately 2.4 MB of read-write memory instead of 800 KB (that is to say, three times the original size).
 
Tests were made during the development of Rescue For 4D Data which show that, had we dynamically managed the block size corresponding to the memory and the database size, the performance would have decreased by at least 30%.
 
However, all calculations are made using the real data.
 
To obtain the analysis of the occupation percentage of each type compared to the total size of the data, select the Pie-chart form: .

 
 
 
You may change the color for each type in the Preferences.
 
The percentages given in the pie-chart form are comparisons of the pieces to the total occupied space of the data file.
 
The pie-chart is almost never completely closed. The " hole " represents various headers not entered into the calculation (they are too small to be significant).
  • View in Bar form

To obtain the analysis of the occupation percentage of each type per table, select the Bar form button: .

 
 
 
You may change the color for each type in the Preferences.
 
The values given in the Bar form are real values (in KB). They indicate the values of each type compared to the total space occupied by each table.
 
  • View in Text Form

This mode enables you to have a supplemental data analysis. It provides:
 
 
To obtain the supplemental data analysis, select the Text form button: .

 
 
 

 

 
Save an Analysis
 
 
You can Save the analysis by selecting Save from the File menu.

You can open it with an RTF (RichTextFormat) text editor.


Advanced | Help
| Welcome to the JCS Web Site | Synopsis | Warning | Version History | Installation |
| Advice for better use of Rescue for 4D Data |
| Menus | Preferences | Navigator | Doctor | Editor | Viewer |
| 4th Dimension™ | Data Structure for 4th Dimension™