613-518-1166 info@zimdatabases.com

ZIM Language Reference

ZIMXTEND (File Extender)

< All Topics

Extends a database file.

Syntax

ZIMXTEND [filename type [-v]]

ZIMXTENW [filename type [-v]]

Note: To execute the ZIMXTEND command in Zim for Windows at the operating system command line, you must enter the command name as zimxtenw.exe. However, to execute the ZIMXTEND command for text console processing and scripting, you must enter the command name as zimxtend.exe.

Parameters

filename

 

The disk file name of the EntitySet or relationship to be extended. Use the Object Browser administrative utility to determine the names. If omitted, ZIMXTEND prompts for this information.

 

type

 

Can be
+r
Reports the number of free 1K pages that are available in the file.
f=n
Extends the file so that it has at least n free 1K pages.
x=n
Extends the file, adding n new, free 1K pages.
If omitted, ZIMXTEND prompts for this information.

 

-v

 

This option, if used, suppresses progress messages.

 

Comments

ZIMXTEND extends an EntitySet, or a relationship with fields, by appending the requested number of kilobytes.

Normally, files are extended as space is required for data, or indexes, or both, to grow. But a slow growth pattern can cause the file to become extremely fragmented on the disk, slowing access to the file. By pre-allocating disk space, you can reduce occurrences of this problem.

To use the graphical version, activate the Administrative Utilities icon in the Zim program group. When the window containing the utilities opens, activate the File Extender icon and complete the dialog box appropriately.

Example

zimxtend zim0123 x=20

The preceding command extends the file zim0123 by 20K bytes.

 

Was this article helpful?
0 out Of 5 Stars
5 Stars 0%
4 Stars 0%
3 Stars 0%
2 Stars 0%
1 Stars 0%
How can we improve this article?
Table of Contents