mysql vs postgresql for a small scale e-commerce business by: bhalchandra
TRANSCRIPT
MySQL Vs PostgreSQLMySQL Vs PostgreSQLfor a small scale for a small scale
E-Commerce BusinessE-Commerce Business
By: BhalchandraBy: Bhalchandra
xyz.comxyz.com
Animated books for kids.Animated books for kids. Interactive content.Interactive content. Targeted marketTargeted market
– Public LibrariesPublic Libraries– SchoolsSchools– IndividualsIndividuals
xyz.comxyz.com
Data Storage RequirementsData Storage Requirements– Multimedia content.Multimedia content.– Tables for Customer Details, Order Tables for Customer Details, Order
Details, Favorites, Visitor browser Details, Favorites, Visitor browser behavior.behavior.
Comparison CriteriaComparison Criteria
Licensing Policy.Licensing Policy.– MySQL MySQL
GPLGPL CommercialCommercial
– PostgreSQLPostgreSQL BSDBSD
Supported operating systems.Supported operating systems.– Windows, Unix, LinuxWindows, Unix, Linux– 32 Bit/ 64 Bit32 Bit/ 64 Bit
Comparison CriteriaComparison Criteria
Supported Programming Supported Programming languages and interfaces.languages and interfaces.– C/ C++, JAVA, Python, Ruby and C/ C++, JAVA, Python, Ruby and
other.other. Database Upper Limits.Database Upper Limits. Data Integrity.Data Integrity.
– PostgreSQL PostgreSQL Data Integrity enforcement Must.Data Integrity enforcement Must.
– MySQLMySQL Data Integrity enforcement Optional.Data Integrity enforcement Optional.
Comparison CriteriaComparison Criteria
Database Engines.Database Engines.– MySQLMySQL
MyISAMMyISAM InnoDBInnoDB OtherOther
– PostgreSQLPostgreSQL IntegralIntegral
Comparison CriteriaComparison Criteria
SQL SupportSQL Support– MySQL and PostgreSQLMySQL and PostgreSQL
Both Support subset of SQL 92 and SQL Both Support subset of SQL 92 and SQL 9999
Stored Procedures, Triggers, Stored Procedures, Triggers, ViewsViews– MySQL and PostgreSQLMySQL and PostgreSQL
Both Support Procedures, triggers and Both Support Procedures, triggers and Views.Views.
Comparison CriteriaComparison Criteria
LockingLocking– PostgreSQLPostgreSQL
Row Level locking and MVCCRow Level locking and MVCC
– MySQLMySQL InnoDB Engine supports row level InnoDB Engine supports row level
locking and MVCClocking and MVCC MyISAM Supports Table level locking.MyISAM Supports Table level locking.
Comparison CriteriaComparison Criteria
Transactional DDL.Transactional DDL. Replication.Replication. Database Backup.Database Backup.
Comparison CriteriaComparison Criteria
Speed.Speed. Ease of administration.Ease of administration. Support.Support.
ConclusionConclusion
The differences between both The differences between both these databases are narrowing, these databases are narrowing, still MySQL is a better choice as of still MySQL is a better choice as of now.now.
ReferencesReferences
http://www.postgresql.org/docs/tehttp://www.postgresql.org/docs/techdocs.83chdocs.83
MySQL Deserves a Double Take, MySQL Deserves a Double Take, Reuven Learner, Linux Journal Reuven Learner, Linux Journal Archive, Volume 2007, Issue 156 Archive, Volume 2007, Issue 156 (April 2007) P.18(April 2007) P.18
Open-source databases, Part II: Open-source databases, Part II: PostgreSQL, Reuven Learner, PostgreSQL, Reuven Learner, Linux Journal archive, Volume Linux Journal archive, Volume 2007 , Issue 157 (May 2007) 2007 , Issue 157 (May 2007) P.16P.16
ReferencesReferences
Surfing the Net for Software Surfing the Net for Software Engineering Notes, Mark Engineering Notes, Mark Doernhoefer, ACM SIGSOFT Software Doernhoefer, ACM SIGSOFT Software Engineering Notes archiveEngineering Notes archiveVolume 31 , Issue 5 (September Volume 31 , Issue 5 (September 2006) P6-152006) P6-15
Open-source Open-source databases,Part3;choosing a databases,Part3;choosing a database, Reuven Learner, Linux database, Reuven Learner, Linux Journal Archive,Volume 2007, Issue Journal Archive,Volume 2007, Issue 158 (June 2007) P.17158 (June 2007) P.17
ReferencesReferences
Research Paper, Comparison of Research Paper, Comparison of the Enterprise Functionalities of the Enterprise Functionalities of Open Source Database Open Source Database Management Systems, Fabalabs Management Systems, Fabalabs Software GmbH, Honauerst. 4 A-Software GmbH, Honauerst. 4 A-4020 Linz4020 Linz
U.S. Department of Education, U.S. Department of Education, Institute of Education Sciences Institute of Education Sciences Public Libraries in the United Public Libraries in the United States: Fiscal Year 2004States: Fiscal Year 2004Library Statistics ProgramLibrary Statistics Program
ReferencesReferences
www.postgresql.org.www.postgresql.org. www.mysql.comwww.mysql.com
Thank You…Thank You…