Thema: Delphi Welche Datenbank

Einzelnen Beitrag anzeigen

Benutzerbild von holliesoft
holliesoft

Registriert seit: 4. Apr 2005
Ort: Gau-Algesheim
250 Beiträge
 
FreePascal / Lazarus
 
#16

Re: Welche Datenbank

  Alt 26. Jul 2007, 18:09
Zitat von mkinzler:
SQLite hat aber das selbe Problem wie FB embedded.
Welches Problem meinst Du konkret? Zugriff übers Netz? Das funktioniert einwandfrei mit SQLite.

Wie gesagt, ich habe eine Anwendung mit SQLite als Datenbank auf der Arbeit am Laufen. Mehrere User können problemlos gleichzeitig lesend auf die DB zugreifen. Das sieht SQLite auch vor, nachzulesen auf SQLite.org.
Das gleichzeitige Schreiben geht nicht.
Zitat von SQLite.org:

Zitat:
Multiple processes can have the same database open at the same time. Multiple processes can be doing a SELECT at the same time. But only one process can be making changes to the database at any moment in time, however.
weiter:

Zitat:
We are aware of no other embedded SQL database engine that supports as much concurrancy as SQLite. SQLite allows multiple processes to have the database file open at once, and for multiple processes to read the database at once. When any process wants to write, it must lock the entire database file for the duration of its update. But that normally only takes a few milliseconds. Other processes just wait on the writer to finish then continue about their business. Other embedded SQL database engines typically only allow a single process to connect to the database at once.
  Mit Zitat antworten Zitat