Collection of fields and records which store data

A field is an area in a fixed or known location in a unit of data such as a record, message header, or computer instruction that has a purpose and usually a fixed size. In some contexts, a field can be subdivided into smaller fields. Here are some examples:

1) In a database table, a field is a data structure for a single piece of data. Fields are organized into records, which contain all the information within the table relevant to a specific entity. For example, in a table called customer contact information, telephone number would likely be a field in a row that would also contain other fields such as street address and city. The records make up the table rows and the fields make up the columns.

2) In a form that you fill out on a Web site, each box that asks you for information is a text entry field.

3) In the header of a variable-length transmission unit, a two-byte subfield in the header (which is really a field itself) could identify the length in bytes of the message.

This was last updated in September 2005

Dig Deeper on Oracle database administration

  • Collection of fields and records which store data
    compound

    Collection of fields and records which store data

    By: Robert Sheldon

  • Collection of fields and records which store data
    Counter Mode with Cipher Block Chaining Message Authentication Code Protocol (CCMP)

    Collection of fields and records which store data

    By: Rahul Awati

  • Collection of fields and records which store data
    fixed wireless

    Collection of fields and records which store data

    By: Solomon Ndungu

  • Collection of fields and records which store data
    Find and lock down lax Windows share permissions

    Collection of fields and records which store data

    By: Adam Bertram

Data is usually organized  as collection of Fields, Records and Files. What are these terms?

  • Field-It is defined as a unit of meaningful information about an entity like date of flight, name of passenger, address etc.
  • Record– It is a collection of units of information about a particular entity. Passenger of an airplane, an employee of an organization, or an article sold from a store.
  • File-A collection of records involving a set of entities with certain aspects in common and organized for some particular purpose is called a file. For example collection of records of all passengers.

Collection of fields and records which store data

There are three file organizations to understand the relationship between Fields, Records and Files- sequential, Indexed sequential and relative.

Sequential File

  • In a sequential file, records are stored one after another on a storage device such that accessing any record can be done only after accessing all records stored before it.
  • A sequential file is physically placed on a storage device by storing the sequence of records in adjacent locations on a track. If the file is stored in a direct access storage device like drum and the file is larger than the amount of space on a track, then the records are placed on adjacent tracks. The basic operations to be performed on a sequential file are read, write and update.
  • Some operating systems provide file-accessing facilities which allow a file to be extended by writing records after the last stored record. It also allows forward and backward movement of pointer that points to the current record of the file without reading or writing.

Indexed Sequential File

  • A file organization where the records can be accessed directly as well as sequentially is called indexed sequential file. The capability of directly accessing a record based on a key can only be achieved if the external storage device supports this type of access i.e. magnetic drums and disks.
  • Index is a sequential file which contains index as its record. Index files contain two fields for each file i.e. a Key field and a pointer pointing to some record in the main file. To find a specific field in main file, index is searched for the key value required. The pointer related to key field searches the record at the location it points to.
  • Index sequential file has the advantage that the search time is reduced but maintains the sequential nature of file. To make this type of file organization more efficient multiple levels of index are used. Lower level indexes are the sequential file and its higher level is used as its index file.

Relative Files

  • A file organization where the records are ordered by their relative key is called relative file. The relative key is record number that represents the record location relative to where the file starts. If the first record in the file has a relative record number of 6, the hundrendth record has a relative record number of 106. The relative files have the advantage of having records that can be of fixed length or variable length.
  • The relative files can have the storage of records sequentially, randomly, or dynamically. If a relative files is accessed or stored sequentially, the ordering is meant to organize the relative record numbers.

Which of the following is a collection of fields which store data?

A collection of related data is called Database. A database is a data structure that stores organized information. Most databases contain multiple tables, which may each include several different fields.

What are records and fields in database?

A record: Contains specific data, like information about a particular employee or a product. A field: Contains data about one aspect of the table subject, such as first name or e-mail address. A field value: Each record has a field value.

What is data field and records give some examples?

Simple examples of data fields include weight, color, date, sales, averages, member ID, promotional code, status, file type, keyword, and rainfall. Any piece of information that can be used to describe an object, event, or idea can be a data field.

What is a field in data structure?

A field is an area in a fixed or known location in a unit of data such as a record, message header, or computer instruction that has a purpose and usually a fixed size. In some contexts, a field can be subdivided into smaller fields.