| MySQL vs MSSQL [message #143] |
Thu, 07 September 2006 06:59  |
geelwortel Messages: 25 Registered: September 2006 |
Junior Member |
|
|
Hi Everyone
I'm new to DBA so I want to ask a couple of questions about MySQL vs MSSQL.
1) In MSSQL you have something called checkpoints. Checkpoints is used by the server as a maintanance tool to apply data and tidy up the database. Do MySQL have an equivelant and can you switch this off?
2) MySQL V4 vs V5. Wich of these servers are the fastest and most reliable.
3) MySQL V4/5 vs MSSQL 2000/2005. Which of these server will be the best to run a local server with +- 100 user with +- 7 db and a total of 10 - 15 Gigs of data(Cost should not influence the answer).
4) Skip Locking. I see this in all the my.cnf files. What does it do?
5) ODBC Drivers. On version 3.51.12 of the MySQL ODBC Drivers connecting to a V5 server the wait time for a connection is +- 10 - 20 seconds. On V3 it's immediate. Why would this happen and what can we do to fix this?
Thank you for your help and this cool site.
Andrew
|
|
|
|
|
| Re: MySQL vs MSSQL [message #147 is a reply to message #146 ] |
Thu, 07 September 2006 08:44   |
Peter Messages: 405 Registered: August 2006 |
Senior Member Super Guru |
|
|
1) No MyISAM doesn not have checkpoints. Checkpoints are simply form of flushing some of the dirty buffers and logs and appropriate mark so database servers know how to recover in case of crash. Again it does not apply to MyISAM.
2) This is still to broad details. It is important up to query level. Certain queries are faster on 4.1 certain on 5.0 depending on which optimizations apply etc.
If you've been running with MySQL I would suggest you to have a closer look at what are your problems and how they can be fixed with MySQL. Moving to other database is serious step.
4) skip-locking simply means MySQL does not use OS file locking functions while locking the tables. MyISAM Still has table clocks and you can't do much with it. If you want to run long running queries and do updates at the same time you may found Innodb working better for you.
5) I can't tell from glance view. I would check if it is only ODBC issue or if it happens during standard connection as well and when look at process list during this stalling connection. Good chances are you need to enable --skip-name-resove option.
Peter Zaitsev, MySQL Performance Expert
MySQL Performance Blog - http://www.mysqlperformanceblog.com
MySQL Consulting http://www.mysqlperformanceblog.com/mysql-consulting/
|
|
|
|
|
|
| Re: MySQL vs MSSQL [message #152 is a reply to message #151 ] |
Thu, 07 September 2006 10:34  |
Peter Messages: 405 Registered: August 2006 |
Senior Member Super Guru |
|
|
In MySQL 3.23 you need to use MySQL-Max to get Innodb.
You also need to adjust configuration settings.
innodb_flush_logs_at_trx_commit is one of such settings.
Deadlock handling means - with any transaction engine there is chance of deadlocks which do not happen with MyISAM so you might need to handle these in your application.
Peter Zaitsev, MySQL Performance Expert
MySQL Performance Blog - http://www.mysqlperformanceblog.com
MySQL Consulting http://www.mysqlperformanceblog.com/mysql-consulting/
|
|
|