• [^] # Re: usine à gaz

    Posté par . En réponse à la dépêche Sauvons MySQL !. Évalué à 2.

    C'est du 1,5 degré, c'est à dire que je ne souhaite évidemment pas que mysql disparaisse ou périclite, mais je trouve dommage que dans certains cas où sqlite serait suffisant et adapté, on ne voit que par mysql.
    Par rapport à l'argument avancé plus bas sur les accès concurrenciels, il est indiqué :
    http://www.sqlite.org/faq.html#q5

    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.

    However, client/server database engines (such as PostgreSQL, MySQL, or Oracle) usually support a higher level of concurrency and allow multiple processes to be writing to the same database at the same time. This is possible in a client/server database because there is always a single well-controlled server process available to coordinate access. If your application has a need for a lot of concurrency, then you should consider using a client/server database. But experience suggests that most applications need much less concurrency than their designers imagine.

    Only wimps use tape backup: real men just upload their important stuff on megaupload, and let the rest of the world ~~mirror~~ link to it