An alternative to using a database to store data is to use what are known as flat files. These are basically text files that are stored on your server that you can use to store your data, change, manipulate and generally use how you want. Although I'd recommend you use a database, you can use PHP's file processing system. There are 3 steps to writing data to a file: # Open the file (create if doesn't already exist) # Write data to the file # Close the file There are also 3 steps to reading data in a file: # Open the file (if cannot be opened, generate an errror) # Read the data # Close the file
what are the advantages of database management approach to the file processing approach Give examples to illustrate your answer
•Database approach: approach whereby a pool of related data is shared by multiple application programs; offers significant advantages over traditional file-based approach
laleo
Database Approach vs. Traditional File ProcessingSelf contained nature of database systems (database contains both data and meta-data).Data Independence: application programs and queries are independent of how data is actually stored.Data sharing.Controlling redundancies and inconsistencies.Secure access to database; Restricting unauthorized access.Enforcing Integrity Constraints.Backup and Recovery from system crashes.Support for multiple-users and concurrent access.
The Database Approach has four common characteristics. These are: Self-describing nature, support multiple user view of data, share the data and multiple user transaction processing and insulation between data and data abstraction.
The advantages of Cost and Risk Database Approach include being personalized and specialized. It also involves conversion costs and management cost.
The database approach offers several advantages over the file processing approach. Firstly, databases provide a central repository for data storage, allowing for better data organization and easier access. Secondly, databases allow for efficient data retrieval and manipulation through query languages, enabling users to extract relevant information quickly. Lastly, databases offer data integrity and security features, ensuring that data is protected from unauthorized access or modification.
Advantages to database approach to storing includes everything is in the same place, you can store data tightly and employees can easily retrieve the information. When everything is stored somewhere else, it takes too long to retrieve the information.
1. More Complexity 2. More difficult to recover from a failure 3. More expensive
The traditional approach to data management typically involves manual record-keeping in physical files or documents. In contrast, the database approach uses digital databases to store, organize, and retrieve data efficiently. Databases allow for structured data storage, easy data manipulation, and improved data security compared to traditional methods.
One advantage of having a database management system is the fact that it can store a lot of information about customers. Another advantage is the fact that businesses can easily secure these systems while they secure their other systems.
One of the advantages of a relational database model is that the broken keys and records and the data complexity are usually simplified. The disadvantage of the relational database model is that it requires sophisticated processing power which is very costly.