Copyright © 1998 The California Institute of Technology
All rights reserved.

Table fileTypes

Last update on April 13, 1998
Send questions, comments and corrections to DBA

Select one of these links to go to an overview page
| Database | Tables | Stored Procedures | Triggers |


Database:feiOwner:dboObject:fileTypes

Description

    Lists information about the types of files in the system. Each file type is associated with a single FEI server whose feiServerIdx value is present in the record. Each file in the files table is associated with one of the file types listed in this table. Access roles are also associated with file types through the ftIdx value. See also feiServers and files.

    The value of spaceReserved is not used by FEI servers. It must be supplied so system administrators know how much room to allocate for files of the specified type. Also, FEI servers do not update spaceUsed. This can be done manually from time to time using the information in the file system or in the files table.

Columns

    NameDatatypeDescription
    ftIdxnumeric(6) not nullA unique ID for each file type. Used when joining with other tables. Also used by the server.
    namevarchar(30) not nullThe file type name.
    hostvarchar(30) not nullThe name of the machine where the file directory is located.
    directoryvarchar(128) not nullThe directory where files of this type are placed.
    spaceReservedint not nullThe number of megabytes reserved for files of this type in the file system.
    spaceUsedsmallint not nullThe number of megabytes used by files of this files of this type
    fileFormatvarchar(10) nullThe format of the file: i.e., text, tiff, VICAR, etc.
    proprietaryTimedatetime nullWhen specified, files modified after this date and time are proprietary. You must have both get and proprietary capabilities to retrieve them.
    compressionTypevarchar(20) nullIf files of this type are compressed, this denotes the compression alrorithm used.
    feiServerIdxnumeric(3) not nullThe ID of the server that manages this type of file. See the feiServers table.
    missiontinyint not nullThe ID of the mission with which this file type is associated. Missions ID's are defined in dba.dbo.missions. If the file is associated with a mission, this value is 0.
    DEFAULT 0
    descriptionvarchar(255) nullA description of the file type. People not familiar with the mission find this helpful.
    crcFlagbit not nullIf CRC's are to be computed whenever a file of this type is transfered, the value is 1. Otherwise, it's 0.
    encryptFlagbit not nullIf files of this type are to be encrypted when transfered, the value is 1. Otherwisse, it's 0.
    modifieddatetime not nullThe date and time this record was created or last modified. On update, set automatically by a trigger.
    DEFAULT getdate()

Indexes

  • unique clustered on primary key fileTypesPK (ftIdx)
  • unique nonclustered fileTypesFK1 (name)
  • nonclustered fileTypesFK2 (feiServerIdx)

Related Views

Related Stored Procedures

Triggers