SlideShare uma empresa Scribd logo
1 de 12
FILOR FILE ORGANIZATION INTRODUCTION
FILE DESIGN The study of file structures involves the investigation of the data structures used to organize a large collection of data into one or more external files that are stored on secondary storage devices. FILE - is a collection of related data Example: payroll file
FILE ORGANIZATION -refers to the way in which records are stored in an external  file - refers to the data structures used for organizing the data FOUR COMMON FILE ORGANIZATIONS  1. Sequential 2. Random 3. Indexed sequential 4. Multikey
SEQUENTIAL FILE ORGANIZATION - records are written consecutively  - file are stored in ascending or descending order according to a key field. ADVANTAGE: - easier to maintain than other organizations – especially in terms of adding and deleting records RANDOM FILE ORGANIZATION - implies a predictable relationship between the key used to identify an individual record and that record's location in an external file.
INDEXED SEQUENTIAL FILE ORGANIZATION combines sequential access and ordering with the capabilities of random access. TWO PARTS OF INDEXED SEQUENTIAL FILE: 1. A collection of records stored in contiguous locations within blocks in a relative file and ordered by a key field. 2. An index (a hierarchical structure of record keys and relative block numbers) to the file of ordered records.
MULTIKEY FILE ORGANIZATION allows access to a data file by several different key fields. Example: Library file that requires access by author and by subject matter and title. Multikey organization is being implemented using B-trees.
DATA FILE TYPES 1. Master file 2. Transaction file 3. Table file 4. Report file 5. Control file 6. History file
MASTER FILE contains records of permanent data that are updated by adding, deleting, or changing  Example: Payroll master file contains an employee's social security number, the rate pay, marital status, number of exemptions claimed, and year-to-date deductions and earnings. TRANSACTION FILE contains records of changes, additions, and deletions made to a master file.
TABLE FILE consists of a table of data, such as a price list, a tax rate table, or some other form or reference data that is static and is referenced by one of the other type of files. REPORT FILE contains information that has been prepared for the user. CONTROL FILE is small and contains information concerning a particular maintenance run, such as the date of the run; the number of master records read, added, deleted, and written; and the number of transaction records read, processed and in error
HISTORY FILE consists of all the backup master files, transaction files, and control files from past runs.
FILE CHARACTERISTICS 1.  Activity of a file is a measure of the percentage of existing master records changed during a maintenance run. 2.  Volatility of a file is a measure of the number of records added and deleted compared to the original number of records.
FILE MANIPULATION 1.  Queries involve searching a file for records containing certain values in particular key fields. 2.  Merging

Mais conteúdo relacionado

Mais procurados

File organization continued
File organization continuedFile organization continued
File organization continuedchesterking12
 
File Organization
File OrganizationFile Organization
File OrganizationManyi Man
 
File organisation in system analysis and design
File organisation in system analysis and designFile organisation in system analysis and design
File organisation in system analysis and designMohitgauri
 
File organization in database
File organization in databaseFile organization in database
File organization in databaseAfrasiyab Haider
 
File organization and introduction of DBMS
File organization and introduction of DBMSFile organization and introduction of DBMS
File organization and introduction of DBMSVrushaliSolanke
 
File organization and indexing
File organization and indexingFile organization and indexing
File organization and indexingraveena sharma
 
Report blocking ,management of files in secondry memory , static vs dynamic a...
Report blocking ,management of files in secondry memory , static vs dynamic a...Report blocking ,management of files in secondry memory , static vs dynamic a...
Report blocking ,management of files in secondry memory , static vs dynamic a...NoorMustafaSoomro
 
Fileorganization AbnMagdy
Fileorganization AbnMagdyFileorganization AbnMagdy
Fileorganization AbnMagdyMohamed Magdy
 
Ch 17 disk storage, basic files structure, and hashing
Ch 17 disk storage, basic files structure, and hashingCh 17 disk storage, basic files structure, and hashing
Ch 17 disk storage, basic files structure, and hashingZainab Almugbel
 
Chapter 11 - File System Implementation
Chapter 11 - File System ImplementationChapter 11 - File System Implementation
Chapter 11 - File System ImplementationWayne Jones Jnr
 

Mais procurados (20)

File organisation
File organisationFile organisation
File organisation
 
File organization continued
File organization continuedFile organization continued
File organization continued
 
itft-File design
itft-File designitft-File design
itft-File design
 
File Management
File ManagementFile Management
File Management
 
File organization
File organizationFile organization
File organization
 
File Organization
File OrganizationFile Organization
File Organization
 
Handling computer files
Handling computer filesHandling computer files
Handling computer files
 
File organisation in system analysis and design
File organisation in system analysis and designFile organisation in system analysis and design
File organisation in system analysis and design
 
File organization
File organizationFile organization
File organization
 
File organization in database
File organization in databaseFile organization in database
File organization in database
 
File organization and introduction of DBMS
File organization and introduction of DBMSFile organization and introduction of DBMS
File organization and introduction of DBMS
 
File organization and indexing
File organization and indexingFile organization and indexing
File organization and indexing
 
Report blocking ,management of files in secondry memory , static vs dynamic a...
Report blocking ,management of files in secondry memory , static vs dynamic a...Report blocking ,management of files in secondry memory , static vs dynamic a...
Report blocking ,management of files in secondry memory , static vs dynamic a...
 
Fileorganization AbnMagdy
Fileorganization AbnMagdyFileorganization AbnMagdy
Fileorganization AbnMagdy
 
Ch 17 disk storage, basic files structure, and hashing
Ch 17 disk storage, basic files structure, and hashingCh 17 disk storage, basic files structure, and hashing
Ch 17 disk storage, basic files structure, and hashing
 
file management
file managementfile management
file management
 
Chapter 12.pptx
Chapter 12.pptxChapter 12.pptx
Chapter 12.pptx
 
Chapter 11 - File System Implementation
Chapter 11 - File System ImplementationChapter 11 - File System Implementation
Chapter 11 - File System Implementation
 
File management
File managementFile management
File management
 
Chapter13
Chapter13Chapter13
Chapter13
 

Semelhante a Lecture #1 Introduction

imr504 classification and filing system week 4
imr504 classification and filing system week 4imr504 classification and filing system week 4
imr504 classification and filing system week 4Ahmad Shahir Mohamed Jalil
 
File System in Operating System
File System in Operating SystemFile System in Operating System
File System in Operating SystemMeghaj Mallick
 
Application portfolio development.advadisadvan.pptx
Application portfolio development.advadisadvan.pptxApplication portfolio development.advadisadvan.pptx
Application portfolio development.advadisadvan.pptxAmanJain384694
 
File organization in database
File organization in databaseFile organization in database
File organization in databaseAfrasiyab Haider
 
file system in operating system
file system in operating systemfile system in operating system
file system in operating systemtittuajay
 
Model of file system
Model of file systemModel of file system
Model of file systemIshucs
 
imr504 classification and filing system week 2
imr504 classification and filing system week 2imr504 classification and filing system week 2
imr504 classification and filing system week 2Ahmad Shahir Mohamed Jalil
 
File Management in Operating System
File Management in Operating SystemFile Management in Operating System
File Management in Operating SystemJanki Shah
 
overview of storage and indexing BY-Pratik kadam
overview of storage and indexing BY-Pratik kadam overview of storage and indexing BY-Pratik kadam
overview of storage and indexing BY-Pratik kadam pratikkadam78
 
Archives&information world 5651
Archives&information world 5651Archives&information world 5651
Archives&information world 5651hinasardar2
 
Degonto file management
Degonto file managementDegonto file management
Degonto file managementDegonto Islam
 
Module03
Module03Module03
Module03susir
 
Data base management
Data base management Data base management
Data base management MiXvideos
 

Semelhante a Lecture #1 Introduction (20)

imr504 classification and filing system week 4
imr504 classification and filing system week 4imr504 classification and filing system week 4
imr504 classification and filing system week 4
 
File System in Operating System
File System in Operating SystemFile System in Operating System
File System in Operating System
 
Files Management
Files ManagementFiles Management
Files Management
 
Application portfolio development.advadisadvan.pptx
Application portfolio development.advadisadvan.pptxApplication portfolio development.advadisadvan.pptx
Application portfolio development.advadisadvan.pptx
 
File Management
File ManagementFile Management
File Management
 
File organization in database
File organization in databaseFile organization in database
File organization in database
 
DBMS (UNIT 5)
DBMS (UNIT 5)DBMS (UNIT 5)
DBMS (UNIT 5)
 
file system in operating system
file system in operating systemfile system in operating system
file system in operating system
 
Model of file system
Model of file systemModel of file system
Model of file system
 
imr504 classification and filing system week 2
imr504 classification and filing system week 2imr504 classification and filing system week 2
imr504 classification and filing system week 2
 
File Management in Operating System
File Management in Operating SystemFile Management in Operating System
File Management in Operating System
 
overview of storage and indexing BY-Pratik kadam
overview of storage and indexing BY-Pratik kadam overview of storage and indexing BY-Pratik kadam
overview of storage and indexing BY-Pratik kadam
 
Files
FilesFiles
Files
 
Files
FilesFiles
Files
 
Chapter12
Chapter12Chapter12
Chapter12
 
Archives&information world 5651
Archives&information world 5651Archives&information world 5651
Archives&information world 5651
 
Degonto file management
Degonto file managementDegonto file management
Degonto file management
 
File Systems
File SystemsFile Systems
File Systems
 
Module03
Module03Module03
Module03
 
Data base management
Data base management Data base management
Data base management
 

Mais de Don Bosco BSIT

Probability and statistics (frequency distributions)
Probability and statistics (frequency distributions)Probability and statistics (frequency distributions)
Probability and statistics (frequency distributions)Don Bosco BSIT
 
Probability and statistics (basic statistical concepts)
Probability and statistics (basic statistical concepts)Probability and statistics (basic statistical concepts)
Probability and statistics (basic statistical concepts)Don Bosco BSIT
 
Factors in assembling personal computer
Factors in assembling personal computerFactors in assembling personal computer
Factors in assembling personal computerDon Bosco BSIT
 
Summative Report: 1st Consultative Curriculum Dev Oct. 20-21
Summative Report: 1st Consultative Curriculum Dev Oct. 20-21Summative Report: 1st Consultative Curriculum Dev Oct. 20-21
Summative Report: 1st Consultative Curriculum Dev Oct. 20-21Don Bosco BSIT
 
Data communication basics
Data communication basicsData communication basics
Data communication basicsDon Bosco BSIT
 
Data communication basics
Data communication basicsData communication basics
Data communication basicsDon Bosco BSIT
 
SYSAD323 Virtualization Basics
SYSAD323 Virtualization BasicsSYSAD323 Virtualization Basics
SYSAD323 Virtualization BasicsDon Bosco BSIT
 
Shell Scripting Structured Commands
Shell Scripting Structured CommandsShell Scripting Structured Commands
Shell Scripting Structured CommandsDon Bosco BSIT
 
Jedi Slides Intro2 Chapter12 Advanced Io Streams
Jedi Slides Intro2 Chapter12 Advanced Io StreamsJedi Slides Intro2 Chapter12 Advanced Io Streams
Jedi Slides Intro2 Chapter12 Advanced Io StreamsDon Bosco BSIT
 
V Communication Error Detection And Correction
V  Communication Error Detection And CorrectionV  Communication Error Detection And Correction
V Communication Error Detection And CorrectionDon Bosco BSIT
 
Iv The Telephone And Multiplex Systems
Iv  The Telephone And Multiplex SystemsIv  The Telephone And Multiplex Systems
Iv The Telephone And Multiplex SystemsDon Bosco BSIT
 
Iii Data Transmission Fundamentals
Iii  Data Transmission FundamentalsIii  Data Transmission Fundamentals
Iii Data Transmission FundamentalsDon Bosco BSIT
 
Ii Communications Channel
Ii   Communications ChannelIi   Communications Channel
Ii Communications ChannelDon Bosco BSIT
 
I Introduction To Data Communications
I  Introduction To Data CommunicationsI  Introduction To Data Communications
I Introduction To Data CommunicationsDon Bosco BSIT
 
Secondary Storage Device Magnetic Tapes
Secondary Storage Device  Magnetic TapesSecondary Storage Device  Magnetic Tapes
Secondary Storage Device Magnetic TapesDon Bosco BSIT
 
Fundamental File Processing Operations
Fundamental File Processing OperationsFundamental File Processing Operations
Fundamental File Processing OperationsDon Bosco BSIT
 

Mais de Don Bosco BSIT (20)

Probability and statistics (frequency distributions)
Probability and statistics (frequency distributions)Probability and statistics (frequency distributions)
Probability and statistics (frequency distributions)
 
Probability and statistics (basic statistical concepts)
Probability and statistics (basic statistical concepts)Probability and statistics (basic statistical concepts)
Probability and statistics (basic statistical concepts)
 
Factors in assembling personal computer
Factors in assembling personal computerFactors in assembling personal computer
Factors in assembling personal computer
 
Alumni response
Alumni responseAlumni response
Alumni response
 
Summative Report: 1st Consultative Curriculum Dev Oct. 20-21
Summative Report: 1st Consultative Curriculum Dev Oct. 20-21Summative Report: 1st Consultative Curriculum Dev Oct. 20-21
Summative Report: 1st Consultative Curriculum Dev Oct. 20-21
 
8085 op codes
8085 op codes8085 op codes
8085 op codes
 
Data communication basics
Data communication basicsData communication basics
Data communication basics
 
Data communication basics
Data communication basicsData communication basics
Data communication basics
 
Research Primer
Research PrimerResearch Primer
Research Primer
 
Os Virtualization
Os VirtualizationOs Virtualization
Os Virtualization
 
SYSAD323 Virtualization Basics
SYSAD323 Virtualization BasicsSYSAD323 Virtualization Basics
SYSAD323 Virtualization Basics
 
Shell Scripting Structured Commands
Shell Scripting Structured CommandsShell Scripting Structured Commands
Shell Scripting Structured Commands
 
Jedi Slides Intro2 Chapter12 Advanced Io Streams
Jedi Slides Intro2 Chapter12 Advanced Io StreamsJedi Slides Intro2 Chapter12 Advanced Io Streams
Jedi Slides Intro2 Chapter12 Advanced Io Streams
 
V Communication Error Detection And Correction
V  Communication Error Detection And CorrectionV  Communication Error Detection And Correction
V Communication Error Detection And Correction
 
Iv The Telephone And Multiplex Systems
Iv  The Telephone And Multiplex SystemsIv  The Telephone And Multiplex Systems
Iv The Telephone And Multiplex Systems
 
Iii Data Transmission Fundamentals
Iii  Data Transmission FundamentalsIii  Data Transmission Fundamentals
Iii Data Transmission Fundamentals
 
Ii Communications Channel
Ii   Communications ChannelIi   Communications Channel
Ii Communications Channel
 
I Introduction To Data Communications
I  Introduction To Data CommunicationsI  Introduction To Data Communications
I Introduction To Data Communications
 
Secondary Storage Device Magnetic Tapes
Secondary Storage Device  Magnetic TapesSecondary Storage Device  Magnetic Tapes
Secondary Storage Device Magnetic Tapes
 
Fundamental File Processing Operations
Fundamental File Processing OperationsFundamental File Processing Operations
Fundamental File Processing Operations
 

Último

Unit-V; Pricing (Pharma Marketing Management).pptx
Unit-V; Pricing (Pharma Marketing Management).pptxUnit-V; Pricing (Pharma Marketing Management).pptx
Unit-V; Pricing (Pharma Marketing Management).pptxVishalSingh1417
 
Activity 01 - Artificial Culture (1).pdf
Activity 01 - Artificial Culture (1).pdfActivity 01 - Artificial Culture (1).pdf
Activity 01 - Artificial Culture (1).pdfciinovamais
 
SOC 101 Demonstration of Learning Presentation
SOC 101 Demonstration of Learning PresentationSOC 101 Demonstration of Learning Presentation
SOC 101 Demonstration of Learning Presentationcamerronhm
 
Towards a code of practice for AI in AT.pptx
Towards a code of practice for AI in AT.pptxTowards a code of practice for AI in AT.pptx
Towards a code of practice for AI in AT.pptxJisc
 
1029-Danh muc Sach Giao Khoa khoi 6.pdf
1029-Danh muc Sach Giao Khoa khoi  6.pdf1029-Danh muc Sach Giao Khoa khoi  6.pdf
1029-Danh muc Sach Giao Khoa khoi 6.pdfQucHHunhnh
 
How to Create and Manage Wizard in Odoo 17
How to Create and Manage Wizard in Odoo 17How to Create and Manage Wizard in Odoo 17
How to Create and Manage Wizard in Odoo 17Celine George
 
Fostering Friendships - Enhancing Social Bonds in the Classroom
Fostering Friendships - Enhancing Social Bonds  in the ClassroomFostering Friendships - Enhancing Social Bonds  in the Classroom
Fostering Friendships - Enhancing Social Bonds in the ClassroomPooky Knightsmith
 
General Principles of Intellectual Property: Concepts of Intellectual Proper...
General Principles of Intellectual Property: Concepts of Intellectual  Proper...General Principles of Intellectual Property: Concepts of Intellectual  Proper...
General Principles of Intellectual Property: Concepts of Intellectual Proper...Poonam Aher Patil
 
Single or Multiple melodic lines structure
Single or Multiple melodic lines structureSingle or Multiple melodic lines structure
Single or Multiple melodic lines structuredhanjurrannsibayan2
 
HMCS Max Bernays Pre-Deployment Brief (May 2024).pptx
HMCS Max Bernays Pre-Deployment Brief (May 2024).pptxHMCS Max Bernays Pre-Deployment Brief (May 2024).pptx
HMCS Max Bernays Pre-Deployment Brief (May 2024).pptxEsquimalt MFRC
 
Holdier Curriculum Vitae (April 2024).pdf
Holdier Curriculum Vitae (April 2024).pdfHoldier Curriculum Vitae (April 2024).pdf
Holdier Curriculum Vitae (April 2024).pdfagholdier
 
Introduction to Nonprofit Accounting: The Basics
Introduction to Nonprofit Accounting: The BasicsIntroduction to Nonprofit Accounting: The Basics
Introduction to Nonprofit Accounting: The BasicsTechSoup
 
Food safety_Challenges food safety laboratories_.pdf
Food safety_Challenges food safety laboratories_.pdfFood safety_Challenges food safety laboratories_.pdf
Food safety_Challenges food safety laboratories_.pdfSherif Taha
 
Graduate Outcomes Presentation Slides - English
Graduate Outcomes Presentation Slides - EnglishGraduate Outcomes Presentation Slides - English
Graduate Outcomes Presentation Slides - Englishneillewis46
 
UGC NET Paper 1 Mathematical Reasoning & Aptitude.pdf
UGC NET Paper 1 Mathematical Reasoning & Aptitude.pdfUGC NET Paper 1 Mathematical Reasoning & Aptitude.pdf
UGC NET Paper 1 Mathematical Reasoning & Aptitude.pdfNirmal Dwivedi
 
How to Give a Domain for a Field in Odoo 17
How to Give a Domain for a Field in Odoo 17How to Give a Domain for a Field in Odoo 17
How to Give a Domain for a Field in Odoo 17Celine George
 
Key note speaker Neum_Admir Softic_ENG.pdf
Key note speaker Neum_Admir Softic_ENG.pdfKey note speaker Neum_Admir Softic_ENG.pdf
Key note speaker Neum_Admir Softic_ENG.pdfAdmir Softic
 
Micro-Scholarship, What it is, How can it help me.pdf
Micro-Scholarship, What it is, How can it help me.pdfMicro-Scholarship, What it is, How can it help me.pdf
Micro-Scholarship, What it is, How can it help me.pdfPoh-Sun Goh
 
Basic Civil Engineering first year Notes- Chapter 4 Building.pptx
Basic Civil Engineering first year Notes- Chapter 4 Building.pptxBasic Civil Engineering first year Notes- Chapter 4 Building.pptx
Basic Civil Engineering first year Notes- Chapter 4 Building.pptxDenish Jangid
 
Salient Features of India constitution especially power and functions
Salient Features of India constitution especially power and functionsSalient Features of India constitution especially power and functions
Salient Features of India constitution especially power and functionsKarakKing
 

Último (20)

Unit-V; Pricing (Pharma Marketing Management).pptx
Unit-V; Pricing (Pharma Marketing Management).pptxUnit-V; Pricing (Pharma Marketing Management).pptx
Unit-V; Pricing (Pharma Marketing Management).pptx
 
Activity 01 - Artificial Culture (1).pdf
Activity 01 - Artificial Culture (1).pdfActivity 01 - Artificial Culture (1).pdf
Activity 01 - Artificial Culture (1).pdf
 
SOC 101 Demonstration of Learning Presentation
SOC 101 Demonstration of Learning PresentationSOC 101 Demonstration of Learning Presentation
SOC 101 Demonstration of Learning Presentation
 
Towards a code of practice for AI in AT.pptx
Towards a code of practice for AI in AT.pptxTowards a code of practice for AI in AT.pptx
Towards a code of practice for AI in AT.pptx
 
1029-Danh muc Sach Giao Khoa khoi 6.pdf
1029-Danh muc Sach Giao Khoa khoi  6.pdf1029-Danh muc Sach Giao Khoa khoi  6.pdf
1029-Danh muc Sach Giao Khoa khoi 6.pdf
 
How to Create and Manage Wizard in Odoo 17
How to Create and Manage Wizard in Odoo 17How to Create and Manage Wizard in Odoo 17
How to Create and Manage Wizard in Odoo 17
 
Fostering Friendships - Enhancing Social Bonds in the Classroom
Fostering Friendships - Enhancing Social Bonds  in the ClassroomFostering Friendships - Enhancing Social Bonds  in the Classroom
Fostering Friendships - Enhancing Social Bonds in the Classroom
 
General Principles of Intellectual Property: Concepts of Intellectual Proper...
General Principles of Intellectual Property: Concepts of Intellectual  Proper...General Principles of Intellectual Property: Concepts of Intellectual  Proper...
General Principles of Intellectual Property: Concepts of Intellectual Proper...
 
Single or Multiple melodic lines structure
Single or Multiple melodic lines structureSingle or Multiple melodic lines structure
Single or Multiple melodic lines structure
 
HMCS Max Bernays Pre-Deployment Brief (May 2024).pptx
HMCS Max Bernays Pre-Deployment Brief (May 2024).pptxHMCS Max Bernays Pre-Deployment Brief (May 2024).pptx
HMCS Max Bernays Pre-Deployment Brief (May 2024).pptx
 
Holdier Curriculum Vitae (April 2024).pdf
Holdier Curriculum Vitae (April 2024).pdfHoldier Curriculum Vitae (April 2024).pdf
Holdier Curriculum Vitae (April 2024).pdf
 
Introduction to Nonprofit Accounting: The Basics
Introduction to Nonprofit Accounting: The BasicsIntroduction to Nonprofit Accounting: The Basics
Introduction to Nonprofit Accounting: The Basics
 
Food safety_Challenges food safety laboratories_.pdf
Food safety_Challenges food safety laboratories_.pdfFood safety_Challenges food safety laboratories_.pdf
Food safety_Challenges food safety laboratories_.pdf
 
Graduate Outcomes Presentation Slides - English
Graduate Outcomes Presentation Slides - EnglishGraduate Outcomes Presentation Slides - English
Graduate Outcomes Presentation Slides - English
 
UGC NET Paper 1 Mathematical Reasoning & Aptitude.pdf
UGC NET Paper 1 Mathematical Reasoning & Aptitude.pdfUGC NET Paper 1 Mathematical Reasoning & Aptitude.pdf
UGC NET Paper 1 Mathematical Reasoning & Aptitude.pdf
 
How to Give a Domain for a Field in Odoo 17
How to Give a Domain for a Field in Odoo 17How to Give a Domain for a Field in Odoo 17
How to Give a Domain for a Field in Odoo 17
 
Key note speaker Neum_Admir Softic_ENG.pdf
Key note speaker Neum_Admir Softic_ENG.pdfKey note speaker Neum_Admir Softic_ENG.pdf
Key note speaker Neum_Admir Softic_ENG.pdf
 
Micro-Scholarship, What it is, How can it help me.pdf
Micro-Scholarship, What it is, How can it help me.pdfMicro-Scholarship, What it is, How can it help me.pdf
Micro-Scholarship, What it is, How can it help me.pdf
 
Basic Civil Engineering first year Notes- Chapter 4 Building.pptx
Basic Civil Engineering first year Notes- Chapter 4 Building.pptxBasic Civil Engineering first year Notes- Chapter 4 Building.pptx
Basic Civil Engineering first year Notes- Chapter 4 Building.pptx
 
Salient Features of India constitution especially power and functions
Salient Features of India constitution especially power and functionsSalient Features of India constitution especially power and functions
Salient Features of India constitution especially power and functions
 

Lecture #1 Introduction

  • 1. FILOR FILE ORGANIZATION INTRODUCTION
  • 2. FILE DESIGN The study of file structures involves the investigation of the data structures used to organize a large collection of data into one or more external files that are stored on secondary storage devices. FILE - is a collection of related data Example: payroll file
  • 3. FILE ORGANIZATION -refers to the way in which records are stored in an external file - refers to the data structures used for organizing the data FOUR COMMON FILE ORGANIZATIONS 1. Sequential 2. Random 3. Indexed sequential 4. Multikey
  • 4. SEQUENTIAL FILE ORGANIZATION - records are written consecutively - file are stored in ascending or descending order according to a key field. ADVANTAGE: - easier to maintain than other organizations – especially in terms of adding and deleting records RANDOM FILE ORGANIZATION - implies a predictable relationship between the key used to identify an individual record and that record's location in an external file.
  • 5. INDEXED SEQUENTIAL FILE ORGANIZATION combines sequential access and ordering with the capabilities of random access. TWO PARTS OF INDEXED SEQUENTIAL FILE: 1. A collection of records stored in contiguous locations within blocks in a relative file and ordered by a key field. 2. An index (a hierarchical structure of record keys and relative block numbers) to the file of ordered records.
  • 6. MULTIKEY FILE ORGANIZATION allows access to a data file by several different key fields. Example: Library file that requires access by author and by subject matter and title. Multikey organization is being implemented using B-trees.
  • 7. DATA FILE TYPES 1. Master file 2. Transaction file 3. Table file 4. Report file 5. Control file 6. History file
  • 8. MASTER FILE contains records of permanent data that are updated by adding, deleting, or changing Example: Payroll master file contains an employee's social security number, the rate pay, marital status, number of exemptions claimed, and year-to-date deductions and earnings. TRANSACTION FILE contains records of changes, additions, and deletions made to a master file.
  • 9. TABLE FILE consists of a table of data, such as a price list, a tax rate table, or some other form or reference data that is static and is referenced by one of the other type of files. REPORT FILE contains information that has been prepared for the user. CONTROL FILE is small and contains information concerning a particular maintenance run, such as the date of the run; the number of master records read, added, deleted, and written; and the number of transaction records read, processed and in error
  • 10. HISTORY FILE consists of all the backup master files, transaction files, and control files from past runs.
  • 11. FILE CHARACTERISTICS 1. Activity of a file is a measure of the percentage of existing master records changed during a maintenance run. 2. Volatility of a file is a measure of the number of records added and deleted compared to the original number of records.
  • 12. FILE MANIPULATION 1. Queries involve searching a file for records containing certain values in particular key fields. 2. Merging