Вы находитесь на странице: 1из 12

Access versus MS-SQL ServerComparacin de Base de Datosn La seleccin de Access versus SQL Server depende de la cantidad de trfico que

usted espera recibir en su sitio. Se aconseja usar MS-SQL Server Database para los sitios con trfico medio/alto. Ventajas de la Base de Datos Access ALa Base de Datos Access es fcil de usar y mantener, y, todas las compaas de alojamiento windows la soportan. Es bastante ms barata que el SQL Server tanto en software como en alojamiento. Desventajas de la Base de Datos Access La base de datos Access tiene una restriccin de tamao de 2GB, as que si planea desarrollar una base de datos grande con mucha informacin, tablas y usuarios, mejor use MS-SQL Server. Con relacin a la velocidad de los datos, el acceso comenzar a disminuir si la base de datos alcanza los 500mg. El acceso multiusuario a una base de datos MS Access se vuelve lento si coinciden 5 usuarios simultneos. La Base de Datos Access trabaja bien con una carga baja/media, pero tiende a fallar cuando maneja mucho trfico. Los sitios web que tienen ms de 20 usuarios simultneos tendrn grandes dificultades con Access. Ventajas de MS-SQL Server Database El SQL Server Database prcticamente no tiene una restriccin de tamao y soporta cientos de usuarios simultneos. Tiene un desempeo mucho mayor (desde tres veces ms rpido) y no disminuye cuando maneja alto trfico o una base de datos grande. Desventajas de MS-SQL Server Database El software y el alojamiento de MS-SQL Server son ms caros que los de Access. La mayora de las empresas de alojamiento no soportan SQL-Server.

SQL Server 2000 vs Access 2000


Alexander Chigrik chigrik@mssqlcity.com

Introduction
Often people in newsgroups ask about some comparison of Microsoft SQL Server and Microsoft Access. In this article, I compare Microsoft SQL Server 2000 with Microsoft Access 2000 regarding hardware and software requirements, price, features and products limits.

Platform comparison
SQL Server 2000 only works on Windows-based platforms, including Windows 9x, Windows NT, Windows 2000 and Windows CE. Microsoft Access 2000 can be installed under the following operation systems: Microsoft Windows 95, Windows 98, Windows 98 Second Edition, Windows Millennium Edition (Windows Me), Windows NT 4.0 with Service Pack 6 (SP6), Windows 2000, or Windows XP or later.

Hardware requirements

To install SQL Server 2000, you should have the Intel or compatible platforms and the following hardware: Hardware Processor Memory Requirements Pentium 166 MHz or higher 32 MB RAM (minimum for Desktop Engine), 64 MB RAM (minimum for all other editions), 128 MB RAM or more recommended

270 MB (full installation), 250 MB (typical), 95 MB (minimum), Hard disk space Desktop Engine: 44 MB Analysis Services: 50 MB minimum and 130 MB typical English Query: 80 MB Microsoft Access 2000 is included in the Professional and Developer Editions of Microsoft Office 2000, but can be purchased separately also. If you install Access 2000 with other Office 2000 products, the hardware requirement can be increased in comparison with the single Access 2000 installation. To install Microsoft Access 2000, you should have the following hardware: Hardware Processor Requirements Pentium 75 MHz or higher 8 MB of RAM required for Access 2000, plus 4 MB of RAM for each application running simultaneously, plus memory for the operation system: Memory 16 MB of RAM for Windows 95 or Windows 98 32 MB of RAM for Windows Me or Windows NT 64 MB of RAM for Windows 2000 128 MB of RAM for Windows XP

Hard disk space Access 2000 requires over 30 MB of hard disk space

Software requirements
SQL Server 2000 comes in six editions: Enterprise, Standard, Personal, Developer, Desktop Engine, and SQL Server CE (a compatible version for Windows CE) and requires the following software: Operating System Windows CE Windows 9x Windows NT 4.0 Workstation with Service Pack 5 Windows NT 4.0 Server Enterprise Edition No No Standard Edition No No Personal Edition No Yes Developer Edition No No Desktop Engine No Yes SQL Server CE Yes No

No

No

Yes

Yes

Yes

No

Yes

Yes

Yes

Yes

Yes

No

with Service Pack 5 Windows NT 4.0 Server Enterprise Edition with Service Pack 5 Windows 2000 Professional Windows 2000 Server Windows 2000 Advanced Server Windows 2000 DataCenter Windows XP Professional

Yes

Yes

Yes

Yes

Yes

No

No Yes

No Yes

Yes Yes

Yes Yes

Yes Yes

No No

Yes

Yes

Yes

Yes

Yes

No

Yes No

Yes No

Yes Yes

Yes Yes

Yes Yes

No No

In comparison with SQL Server 2000, Microsoft Access 2000 does not have any editions. Access 2000 can be installed under the following operation systems: Microsoft Windows 95, Windows 98, Windows 98 Second Edition, Windows Millennium Edition (Windows Me), Windows NT 4.0 with Service Pack 6 (SP6), Windows 2000, or Windows XP or later.

Price comparison
SQL Server 2000 is currently available under two licensing options: Processor license. Server/per-seat client access license (CAL). The processor license requires a single license for each CPU in the computer running SQL Server 2000 and includes unlimited client access. You can buy this license when you do not know the number of the clients (for example, if your users will connect to SQL Server 2000 through the internet). This license usually is cheaper than Server/Per-Seat CAL when there are many users connected to SQL Server databases. The Server/per-seat client access license (CAL) requires a license for the server and the licenses for each client device. You can use this licensing option when the customers do not need access beyond the firewall and the number of clients is low (for example, 10-20 users for SQL Server 2000 Standard Edition or 30-40 users for SQL Server 2000 Enterprise Edition). Licensing Options Processor Server/Per-Seat CAL SQL Server 2000 Standard Edition $4,999 per processor with 5 CALs - $1,489 SQL Server 2000 Enterprise Edition $19,999 per processor with 25 CALs - $11,099

with 10 CALs - $2,249 Microsoft Access 2000 like Office 2000 is no longer available at retail for individual purchases. Microsoft Access 2002 and Office XP can be purchased now. The process of obtaining a previous version of a Microsoft product is called "downgrading". Downgrade rights apply to volume license customers only. This is the current price for Microsoft Access 2002. Because Access 2002 is included in the Professional and Developer Editions of Microsoft Office XP, the prices of the Office XP Professional Edition and Office XP Developer Edition are also included. Products Microsoft Access 2002 Office XP Developer Edition New User Price $339 $799 Upgrade Price $109 $329 $549

Office XP Professional Edition $579

Features comparison
Microsoft Access 2000 falls into the desktop category and works best for individuals and workgroups managing megabytes of data. In comparison with SQL Server 2000, Access uses file-server architecture, rather than client-server architecture. Access 2000 has many restrictions in comparison with SQL Server 2000 and cannot be used in the case you want to build stable and efficient system with many concurrent users. Some SQL Server 2000 and Access 2000 restrictions: Feature SMP support Tables Triggers Procedures User-defined functions Views Access 2000 Not Supported Relational tables Not Supported Not Supported Not Supported Not Supported SQL Server 2000 Supported Relational tables, Temporary tables AFTER triggers, INSTEAD OF triggers Microsoft T-SQL statements Scalar functions, Inline table-valued functions, Multistatement table-valued functions Supported Supported Recovery to last backup, recovery to the point of failure, recovery to a specific point in time Supported

Transaction logging Not Supported Recovery Recovery to last backup

Integration with Not Supported Windows NT security

SQL Server 2000 and Access 2000 limits

Some SQL Server 2000 and Access 2000 products limits: Feature database size objects in a database user name length password length table name length column name length index name length Number of concurrent users columns per table table size number of indexes in a table number of columns in an index bytes per row number of tables in a query nested subqueries number of enforced relationships SQL statement size SQL Server 2000 1,048,516 TB 2,147,483,647 128 128 128 128 128 1024 250 16 8060 256 32 253 65,536 * Network packet size (4 KB, by default) 32,768 20 14 64 64 64 255 32 10 2000 32 255 50 32 approximately 64,000 Access 2000 2 GB plus linked tables size

limited by available memory 255 limited by available storage 1 GB

columns per SELECT statement 4096

Conclusion
If you need to make a scalability, security, and robustness system, you should use SQL Server instead of Access. Because Access 2000 does not support atomic transactions, it does not guarantee that all changes performed within a transaction boundary are committed or rolled back. SQL Server is integrated with Windows NT security, but Access is not. Access 2000 databases cannot be restored to the point of failure, when SQL Server databases can be. This makes administering Access 2000 databases more expensive than administering SQL Server 2000 databases. So, you should use Access 2000 database, only when you need to store a small amount of data in a single user (or few users) environment, or when you have very low resources, such as memory or disk. In other case, use MSDE or SQL Server.

http://www.microsoft.com/sqlserver/2005/en/us/licensing.aspx SQL Server Vrs My SQL http://www.mssqlcity.com/Articles/Compare/sql_server_vs_mysql.htm

SQL Server 2000 vs MySQL version 4.1


Alexander Chigrik chigrik@mssqlcity.com Introduction Platform comparison Hardware requirements Software requirements Performance comparison TPC tests Price comparison Features comparison T-SQL vs MySQL dialect SQL Server 2000 and MySQL v4.1 limits Conclusion Literature

Introduction
Often people in newsgroups ask about some comparison of Microsoft SQL Server and MySQL. In this article, I compare SQL Server 2000 with MySQL version 4.1 regarding price, performance, platforms supported, SQL dialects and products limits.

Platform comparison
SQL Server 2000 only works on Windows-based platforms, including Windows 9x, Windows NT, Windows 2000 and Windows CE. In comparison with SQL Server 2000, MySQL version 4.1 supports all known platforms, including Windows-based platforms, AIX-based systems, HP-UX systems, Linux Intel, Sun Solaris and so on.

Hardware requirements
To install SQL Server 2000, you should have the Intel or compatible platforms and the following hardware: Hardware Processor Requirements Pentium 166 MHz or higher

Memory

32 MB RAM (minimum for Desktop Engine), 64 MB RAM (minimum for all other editions), 128 MB RAM or more recommended

270 MB (full installation), 250 MB (typical), 95 MB (minimum), Hard disk space Desktop Engine: 44 MB Analysis Services: 50 MB minimum and 130 MB typical English Query: 80 MB MySQL version 4.1 is not so powerful as SQL Server 2000 and uses less hardware resources. To install MySQL version 4.1, you should have near 32 Mb RAM and near 60 Mb hard disk space. The general MySQL version 4.1 installation does not require additional CPU resources.

Software requirements
SQL Server 2000 comes in six editions: Enterprise, Standard, Personal, Developer, Desktop Engine, and SQL Server CE (a compatible version for Windows CE) and requires the following software: Operating System Windows CE Windows 9x Windows NT 4.0 Workstation with Service Pack 5 Windows NT 4.0 Server with Service Pack 5 Windows NT 4.0 Server Enterprise Edition with Service Pack 5 Windows 2000 Professional Windows 2000 Server Windows 2000 Advanced Server Windows 2000 DataCenter Windows XP Enterprise Edition No No Standard Edition No No Personal Edition No Yes Developer Edition No No Desktop Engine No Yes SQL Server CE Yes No

No

No

Yes

Yes

Yes

No

Yes

Yes

Yes

Yes

Yes

No

Yes

Yes

Yes

Yes

Yes

No

No Yes

No Yes

Yes Yes

Yes Yes

Yes Yes

No No

Yes

Yes

Yes

Yes

Yes

No

Yes No

Yes No

Yes Yes

Yes Yes

Yes Yes

No No

Professional MySQL version 4.1 comes in two editions: Standard Max The Standard edition are recommended for most users and contains general MySQL features. The Max edition includes additional features such as the Berkeley DB storage engine, OpenSSL support, user-defined functions (UDFs), and BIG_TABLE support. MySQL version 4.1 requires the following software: Platform Windows-based Sun Solaris FreeBSD Mac OS X HP-UX Solaris 8 (SPARC) FreeBSD 4.x (x86) Mac OS X v10.2 HP-UX 10.20 (RISC 1.0), HP-UX 11.11 (PA-RISC 1.1 and 2.0), HP-UX 11.11 (PA-RISC 2.0, 64-bit only) AIX 5.1 (RS6000), AIX 4.3.2 (RS6000), AIX 4.3.3 (RS6000) QNX 6.2.1 (x86) SGI Irix 6.5 Dec OSF 5.1 (Alpha) Operating System Version Windows 95/98/NT/2000/XP/2003

AIX-Based QNX SGI Irix Dec OSF

Performance comparison
It is very difficult to make the performance comparison between SQL Server 2000 and MySQL version 4.1. The performance of your databases depends rather from the experience of the database developers and database administrator than from the database's provider. You can use both of these RDBMS to build stable and efficient system. However, it is possible to define the typical transactions, which used in inventory control systems, airline reservation systems and banking systems. After defining these typical transactions, it is possible to run them under the different database management systems working on the different hardware and software platforms.

TPC tests
The Transaction Processing Performance Council (TPC.Org) is independent organization that specifies the typical transactions (transactions used in inventory control systems, airline reservation systems and banking systems) and some general rules these transactions should satisfy. The TPC produces benchmarks that measure transaction processing and database performance in terms of how many transactions a given system and database can perform per unit of time, e.g., transactions per second or transactions per minute.

The TPC organization made the specification for many tests. There are TPC-C, TPCH, TPC-R, TPC-W and some old tests, such as TPC-A, TPC-B and TPC-D. The most popular test is the TPC-C test (OLTP test). At the moment the article was wrote, SQL Server 2000 held the second position in the TPC-C by performance results. See Top Ten TPC-C by Performance Version 5 Results At the moment the article was wrote, SQL Server 2000 held the top TPC-C by price/performance results. See Top Ten TPC-C by Price/Performance Version 5 Results MySQL does not participate in TPC-C tests, they make their own benchmark tests. These tests are not independent, but if you interesting, see this link: The MySQL Benchmark Suite

Price comparison
SQL Server 2000 is currently available under two licensing options: Processor license. Server/per-seat client access license (CAL). The processor license requires a single license for each CPU in the computer running SQL Server 2000 and includes unlimited client access. You can buy this license when you do not know the number of the clients (for example, if your users will connect to SQL Server 2000 through the internet). This license usually is cheaper than Server/Per-Seat CAL when there are many users connected to SQL Server databases. The Server/per-seat client access license (CAL) requires a license for the server and the licenses for each client device. You can use this licensing option when the customers do not need access beyond the firewall and the number of clients is low (for example, 10-20 users for SQL Server 2000 Standard Edition or 30-40 users for SQL Server 2000 Enterprise Edition). Licensing Options Processor Server/Per-Seat CAL SQL Server 2000 Standard Edition $4,999 per processor with 5 CALs - $1,489 with 10 CALs - $2,249 SQL Server 2000 Enterprise Edition $19,999 per processor with 25 CALs - $11,099

The MySQL version 4.1 is Dual Licensed. Users can choose to use the MySQL software as an Open Source/Free Software product under the terms of the GNU General Public License or can purchase a standard commercial license from MySQL AB. See MySQL Support and Licensing The MySQL v4.1 Server commercial license is per database server (single installed MySQL binary). The price comparisons below were based on the MySQL Licensing Prices from MySQL AB. Number of licenses Price per copy (EUR) Price per copy (USD)

1 .. 9 10 .. 49 50 .. 99 100 .. 249 250 .. 499 500 +

440.00 315.00 255.00 195.00 155.00

495.00 360.00 290.00 220.00 175.00 ask for quote, sales@mysql.com

Features comparison
Both SQL Server 2000 and MySQL version 4.1 support the ANSI SQL-92 entry level and do not support the ANSI SQL-92 intermediate level. In the Features comparison section of this article, I want to make the brief comparison of the Transact-SQL with MySQL dialect and show some SQL Server 2000 and MySQL version 4.1 limits.

T-SQL vs MySQL dialect


The dialect of SQL supported by Microsoft SQL Server 2000 is called Transact-SQL (T-SQL). The dialect of SQL supported by MySQL version 4.1 is called MySQL dialect. Transact-SQL dialect is more powerful language than MySQL dialect. This is the brief comparison of T-SQL and MySQL dialect: Feature Views Triggers Stored Procedures User-defined functions Foreign Keys Cursors Arrays T-SQL General Views, Indexed Views, Distributed Partitioned Views AFTER triggers, INSTEAD OF triggers T-SQL statements Scalar functions, Inline table-valued functions, Multistatement table-valued functions Supported Supported Not Supported MySQL dialect Not Supported Not Supported Not Supported C, C++ external libraries Supported for only InnoDB tables Not Supported Supported

SQL Server 2000 and MySQL v4.1 limits


Here you can find some SQL Server 2000 and MySQL version 4.1 limits: Feature column name length index name length table name length 128 128 128 SQL Server 2000 64 64 64 MySQL v4.1

max indexes per table index length max index column length columns per index max char() size max varchar() size max blob size max number of columns in GROUP BY max number of columns in ORDER BY tables per SELECT statement max columns per table max table row length longest SQL statement constant string size in SELECT

250 900 900 16 8000 8000 2147483647 Limited only by number of bytes (8060) Limited only by number of bytes (8060) 256 1024 8036 16777216 16777207

32 1024 255 16 1048543 1048543 1048543 64 64 31 2599 65534 1048574 1048565

Conclusion
It is not true that SQL Server 2000 is better than MySQL version 4.1 or vice versa. Both products can be used to build stable and efficient system and the stability and effectiveness of your applications and databases depend rather from the experience of the database developers and database administrator than from the database's provider. But SQL Server 2000 has some advantages in comparison with MySQL version 4.1 and vice versa. The SQL Server 2000 advantages: SQL Server 2000 holds the top TPC-C performance and price/performance results. SQL Server 2000 is generally accepted as easier to install, use and manage. Transact-SQL is more powerful language than MySQL dialect.

The MySQL version 4.1 advantages: MySQL version 4.1 supports all known platforms, not only the Windowsbased platforms. MySQL version 4.1 requires less hardware resources. You can use MySQL version 4.1 without any payment under the terms of the GNU General Public License.

This is from MySQL version 4.1 documentation: MySQL Server was designed from the start to work with medium size databases (10-100 million rows, or about 100 MB per table) on small computer systems.

Literature

1. SQL Server 2000 Books Online 2. MySQL 4.1 Downloads 3. Features Available in MySQL 4.1 4. The MySQL Benchmark Suite 5. GNU General Public License 6. MySQL Support and Licensing 7. MySQL Licensing Prices 8. Top Ten TPC-C by Performance Version 5 Results 9. Top Ten TPC-C by Price/Performance Version 5 Results

Вам также может понравиться