Data 1
Data 1
Appendices to the report contain supporting information with the details needed by a
A report may be used by anyone who has to implement, understand or refer the design
to solve a problem.
The report is written as though the client is new to the project because that is the best
ORGANISATION OF DATA FILES
A file is a named structure that holds related data and can be stored on various secondary
storage devices. Since the data can be organized in different ways, there are various
organization types available for files.
File Organization refers to the logical relationships among various records that constitute
the file, particularly with respect to the means of identification and access to any specific
record. In simple terms, Storing the files in certain order is called file Organization.
Some File Organizations are Sequential File Organization, Random File Organization,
Indexed-sequential File Organization and Serial File Organization.
SEQUENTIAL FILE ORGANIZATION
•It is the most common type of file. In this type of file.
•A fixed format is used for record.
•All records are of the same length.
•Position of each field in record and length of field is fixed.
•Records are physically ordered on the value of one of the fields - called the ordering
field.
ADVANTAGES OF SEQUENTIAL FILE ORGANIZATION
• It contains a fast and efficient method for the huge amount of data.
• Files can be easily stored in cheaper storage mechanism like magnetic tapes.
• It is simple in design and does not require much effort to store the data.
• It is used when most of the records have to be accessed like for calculating grades of all
• It will waste time as we cannot jump on a particular record that is required but we have
• Sorted file method takes more time and space for sorting the records.
RANDOM ACCESS FILE ORGANIZATION
• In random or direct access file organization, all records are stored in direct access
storage device (DASD), such as hard disk.
• The records does not need to be in sequence because they are updated directly and
rewritten back in the same location.
• This file organization is useful for immediate access to large amount of information.
• Direct access file helps in online transaction processing system (OLTP) like online
railway reservation system.
• It is expensive.
• More complex structure with greater overhead to point to the next record.
Records are stored randomly on a direct access device such as magnetic disk by a
primary key.
The data can be accessed either sequentially or randomly using the index.
PROS AND CONS OF INDEXED SEQUENTIAL FILE ORGANIZATION
Sequential file and random file access is possible.
It accesses the records very fast if the index table is properly organized. The records can be inserted in the
middle of the file.
Disadvantages
Takes longer time to search the index for the data access or retrieval.
Less efficient in the use of storage space as compared to other file organizations.
HEAP FILE ORGANIZATION
• It is the simplest and most basic type of organization.
• Here, the records are inserted at the file's end. When the records are inserted, it doesn't
require the sorting and ordering of records.
• When the data block is full, the new record is stored in some other block. This new data
block need not to be the very next data block, but it can select any data block in the
memory to store new records.
• In the file, every record has a unique id, and every page in a file is of the same size. It is
the DBMS responsibility to store and manage the new records
HEAP FILE ORGANIZATION
• If we want to search, update or delete the data in heap file organization, then we need
to traverse the data from staring of the file till we get the requested record.
• If the database is very large then searching, updating or deleting of record will be
time-consuming because there is no sorting or ordering of records.
• In the heap file organization, we need to check all the data until we get the requested
record.
HEAP FILE ORGANIZATION
Pros of Heap file organization
• In case of a small database, fetching and retrieving of records is faster than the
sequential record.
• This method is inefficient for the large database because it takes time to search or
modify the record.
• Master data gives detailed information about the things that interact when a transaction occurs.
• Master data is data that remains unchanged over a period of time. It contains information that is
always needed in the same way. Example of Master Data: Name, Address
• Transaction data are business documents which are created using master data ie. sales orders.
• A master file is the main that contains relatively permanent records about particular
items or entries. For example a customer file will contain details of a customer such as
customer ID, name and contact address.
• A transaction file is used to hold data during transaction processing. The file is later
used to update the master file and audit daily, weekly or monthly transactions. For
example in a busy supermarket, daily sales are recorded on a transaction file and later
used to update the stock file. The file is also used by the management to check on the
daily or periodic transactions.
MASTER FILE AND TRANSACTION FILE
DATABASE
You can organize data into tables, rows, columns, and index it to make it easier to find
relevant information.
Database handlers create a database in such a way that only one set of software program
provides access of data to all the users.
The main purpose of the database is to operate a large amount of information by storing,
retrieving, and managing data.
DATABASE
There are many dynamic websites on the World Wide Web nowadays which are handled
through databases. For example, a model that checks the availability of rooms in a hotel.
There are many databases available like MySQL, Sybase, Oracle, MongoDB, Informix,
PostgreSQL, SQL Server, etc.
• Improve business processes. Companies collect data about business processes, such sales,
• They analyze that data to improve these processes, expand their business and grow
revenue.
• Keep track of customers. Databases often store information about people, such as
customers or users. For example, social media platforms use databases to store user
information, such as names, email addresses and user behavior. The data is used to
• Store personal data. Databases can also be used to store personal information. For
example, personal cloud storage is available for individual users to store media, such as
photos, in a managed cloud.
• Multimedia-based databases can now store pictures, video clips, and sound content.
Geographic information systems (GIS) based databases can store and analyze maps,
weather data, and satellite images.
TRANSACTIONAL DATABASE
• Transactional databases enable data to be efficiently and securely read and written. They
power many business processes, including online banking and ecommerce transactions.
read and write individual rows of data very quickly while protecting the integrity of the
operation that can’t be fully completed. Each transaction is handled separately from all
other transactions occurring within the database, ensuring that the stored data remains
processing (OLTP).
These systems contain important properties that help them simultaneously execute
• A Data Warehouse (DW) is a relational database that is designed for query and analysis
rather than transaction processing. It includes historical data derived from transaction
data from single and multiple sources.
A Data Warehouse can be viewed as a data system with the following attributes:
Queries that would be complex in many normalized databases could be easier to build
and maintain in data warehouses.
Data warehousing is an efficient method to manage demand for lots of information from
lots of users.
Data warehousing provide the capabilities to analyze a large amount of historical data.