View previous topic :: View next topic |
Author |
Message |
rado -
Joined: 14 Apr 2004 Posts: 67
|
Posted: Thu Aug 19, 2004 8:26 am Post subject: Why database why not simply file- database? |
|
|
A PHP beginer question?
Why there is so much noise on databases? What is the point? Since soon or later everything is recorded in files, why not directly bypass the database like MySQL and record the information on file. File-database.
Why not file-database? It is simple, faster and more pro-like probably?
Any help to solve that mystery? |
|
Back to top |
|
 |
mrblue -
Joined: 24 Feb 2004 Posts: 27
|
Posted: Thu Aug 19, 2004 4:01 pm Post subject: |
|
|
well Mysql is faster than using a file-database and its more sucure! also its smaller all info that goes into a mysql database is compressed. _________________ WolframHartLA - Angel Forums and general sci-fi |
|
Back to top |
|
 |
aprelium-beta -
Joined: 24 Jun 2004 Posts: 383
|
Posted: Thu Aug 19, 2004 4:09 pm Post subject: Re: Why database why not simply file- database? |
|
|
rado,
With a simple data file, you cannot have multiple accesses to the database without running into synchronization and consistency issues. Imagine that two programs (or instances of the script) are writing to the same file, it may be corrupted. That's why file based databases disappeared in the late 80s (DBase and its clones worked that way, but they were only able to handle a single user accessing the database at the same time => not good for today's uses.) _________________ Beta Testing Team
Aprelium - http://www.aprelium.com |
|
Back to top |
|
 |
rado -
Joined: 14 Apr 2004 Posts: 67
|
Posted: Thu Aug 19, 2004 6:57 pm Post subject: |
|
|
Ok - multiple accesses is the thing. And more speed. |
|
Back to top |
|
 |
|