Home >Common Problem >The difference between logical structure and physical structure of files
The difference between the logical structure and the physical structure of a file:
Logical structure: refers to the form in which a file appears in front of the user. Physical structure: refers to the storage form of files on file storage.
There are two forms of logical structure:
①Record file (with structured file).
②Character stream file (without structured file), also It is called streaming file.
Physical structure: The so-called physical structure of the file system refers to the arrangement shape of the hard disk magnetic particles when the data is stored on the hard disk.
The form of the physical structure:
①Continuous file structure
②Concatenated file structure
③Index file structure
④Hash file structure.
The above is the detailed content of The difference between logical structure and physical structure of files. For more information, please follow other related articles on the PHP Chinese website!