Changeset 679

Show
Ignore:
Timestamp:
08/18/07 13:29:21 (1 year ago)
Author:
ioguix
Message:

Fin de l'introduction

Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • materials/advocacy/trunk/Why_PostgreSQL_Instead_of_MySQL.txt

    r678 r679  
    123123// version they were written against, and it may require a sort of porting effort to take advantage of the modern MySQL 
    124124// features. 
     125Un autre sujet qui sort du cadre de ce document est qu'un nombre plus important d'applications choisissent MySQL comme 
     126base de données plutôt que PostgreSQL, et ceci est certainement un facteur d'influence important sur le choix de la 
     127base la plus adaptée à une situation particulière. Le travail pour ajouter un support PostgreSQL à plusieurs  
     128applications populaires peut-être mené en adaptant les logiciels. Une chose que vous devez considérer lorsque vous 
     129étudiez comment les applications utilisent MySQL est si elles sont initialement destinées aux versions antérieures à 
     1305.0, elles pourraient alors ne plus être compatibles avec les nouvelles fonctionnalités comme le mode strict ajouté 
     131dans cette version. Si cela est le cas, de telles applications pourraient être limitées aux capacités des plus vieilles 
     132versions pour lesquelles elles ont été écrites et pourraient demander un effort d'adaptation pour profiter des 
     133fonctionnalités modernes de MySQL. 
     134 
    125135// Reliability 
     136Fiabilité 
     137 
    126138// Data Integrity 
     139Intégrité des données 
     140 
    127141// Before version 5.0, MySQL well deserved its reputation for allowing inconsistent data to be inserted into the 
    128142// database. Guaranteeing Data Integrity with MySQL 5.0 explains the issues with older MySQL versions, and how they may 
     
    131145// necessarily enforced by the server. 
    132146 
    133 PostgreSQL has always been strict about making sure data is valid before allowing it into the database, and there is no way for a client to bypass those checks. 
    134 Transactions and the Database Engine Core 
     147// PostgreSQL has always been strict about making sure data is valid before allowing it into the database, and there is 
     148// no way for a client to bypass those checks. 
     149 
     150// Transactions and the Database Engine Core 
     151 
    135152The database core that gave MySQL its original reputation for speed is MyISAM. This engine has excellent read performance and its parser is very efficient for straightforward queries, which combine to make it very fast in read-intensive applications like web applications involving simple SELECTs. However, it is commonly known that MyISAM is more vulnerable to data corruption than most serious database applications would tolerate, and after a crash there may be a substantial delay while it rebuilds its indexes before the server can restart. Furthermore, it does not support foreign keys or transactions that would allow the database to have ACID properties. MyISAM also has issues dealing with concurrent reads and updates, since it only provides table level locking. 
    136153