Re: OT - Re: IS it possible to connect to a MySQL database in asp?
From: Aaron Bertrand [MVP] (aaron_at_TRASHaspfaq.com)
Date: 05/10/04
- Previous message: Aaron Bertrand [MVP]: "Re: ASP DSN-less connection to Access"
- In reply to: ben h: "OT - Re: IS it possible to connect to a MySQL database in asp?"
- Messages sorted by: [ date ] [ thread ]
Date: Mon, 10 May 2004 03:10:40 -0400
> what rdbms features doesn't it have? I'm not a dba in any way so maybe
> you'll need to dumb down response :)
For the free/unrestricted versions of MySQL (e.g. not including MaxDB etc),
these features are either unsupported, minimally/unacceptably supported, or
only supported in certain versions/configurations (e.g. I believe
transactions are supported with MySQL/InnoDB).
- views
- stored procedures
- triggers
- subqueries (sub-selects, derived tables)
- outer joins
- referential integrity
- transactions/rollbacks
- failover/clustering support
- scheduling / messaging / alerts
- snapshots
MySQL documentation and advocates would have you believe that these things
are not important. You might argue that some of these features aren't
strictly necessary for an RDBMS, only a DBMS. And that is possibly true
(e.g. there are always workarounds for subqueries) but they are still
features that I feel are very important in building a scalable and
maintainable database solution.
MySQL scalability comes into question quite often. One of MySQL's
"features" is that it locks the entire table for an insert, so if you have
an insert-heavy system, there goes performance. Not only do you block other
inserts, but you also block updates and selects. For small web sites it is
probably fine, but if you visit sites like SlashDot, and you have seen it
down, then you're already aware of how MySQL performs under heavy load.
I also read an article once (phpbuilder, maybe?) where the author stated
that MySQL often runs fine for 30-60 days and then just dies for no reason.
He stated that people compile the MySQL engine statically to avoid this, or
schedule a task to restart MySQL once a month.
-- Aaron Bertrand SQL Server MVP http://www.aspfaq.com/
- Previous message: Aaron Bertrand [MVP]: "Re: ASP DSN-less connection to Access"
- In reply to: ben h: "OT - Re: IS it possible to connect to a MySQL database in asp?"
- Messages sorted by: [ date ] [ thread ]
Relevant Pages
|