Stories
Slash Boxes
Comments

News for nerds, stuff that matters

Slashdot Log In

Log In

Create Account  |  Retrieve Password

Slimmed Down MySQL Offshoot Drizzle is Built For the Web

Posted by timothy on Wed Jul 23, 2008 08:00 AM
from the now-it-can-be-told dept.
Incon writes "Builder AU reports that Brian Aker, MySQL's director of architecture, has unveiled Drizzle, a database project aimed at powering websites with massive concurrency as well as trimming superfluous functionality from MySQL. Drizzle will have a micro-kernel architecture with code being removed from the Drizzle core and moved through interfaces into modules. Aker has already selected particular functionality for removal: modes, views, triggers, prepared statements, stored procedures, query cache, data conversion inserts, access control lists and some data types."
+ -
story

Related Stories

[+] Interviews: Ask Database Guru Brian Aker 232 comments
Brian Aker is Director of Architecture for MySQL AB. He has also worked on the code (and database) that runs Slashdot, and is well-known in both Apache and Perl circles. Outside of the arcane world of open source "back-end" programming, though, hardly anyone has heard of him. This is your chance to ask Brian (hopefully after looking at his blog and Wikipedia listing) about anything you like, from Perl to database architecture to open source philosophy to upcoming events in Seattle. We'll send Brian 10 of the highest-moderated questions approximately 24 hours after this post appears. His (verbatim) answers will appear late this week or early next week.
[+] MySQL Founder Monty Quits Sun (Or Not) 148 comments
Paul Boutin writes "A reliable source tells Valleywag that MySQL inventor Michael Widenius, better known as Monty, has resigned from Sun. Sun bought Monty's MySQL company in a billion-dollar deal last January. Brian Aker, who forked the Web 2.0-friendly Drizzle SQL database (and former Slashdot engineer!), remains at Sun." Kaj Arnö and Sheeri Cabral share their thoughts.
[+] What an IBM-Sun Merger Might Mean For Java, MySQL, Developers 292 comments
An IBM-Sun merger is a tantalyzing possibility; snydeq writes "Fatal Exception's Neil McAllister suggests that an IBM/Sun merger could crown Big Blue king of enterprise software development. 'Acquiring Sun would make IBM the clear leader in Java, as it would become the caretaker of the open source reference implementation of the JRE,' which, along with GlassFish, would become entry-level gateways to IBM's WebSphere stack. Moreover, MySQL would give IBM's database division a significant entry-level hook, and NetBeans/Eclipse would unify IBM's front against Visual Studio. 'All in all, this move would solidify IBM's role as "the developer company,"' McAllister writes. 'In other words, if this merger goes through and you're an enterprise developer and you're not an IBM customer now, get ready — because you soon will be. Better bring your wallet.'" And blackbearnh writes with a short interview with Brian Aker (who came to Sun as MySQL's director of architecture, and is now the lead for MySQL fork Drizzle) about what life would be like under Big Blue's control.
This discussion has been archived. No new comments can be posted.
The Fine Print: The following comments are owned by whoever posted them. We are not responsible for them in any way.
 Full
 Abbreviated
 Hidden
More
Loading... please wait.
  • by mwilliamson (672411) on Wednesday July 23 2008, @08:01AM (#24302703) Homepage Journal
    Back to a glorified (but uber-fast) filesystem it looks like.
    • by Negatyfus (602326) on Wednesday July 23 2008, @09:00AM (#24303635) Journal
      Of course I haven't RTFA, but what I gather from the summary is simply that they'll be removing these features from the core and making them accessible from modules. Why is that wrong? If you don't use prepared statements in your web application, you don't need to have them in your database server. Unless I missed something...
        • by Sancho (17056) * on Wednesday July 23 2008, @11:22AM (#24306111) Homepage

          Most people could make an argument that any feature is important/easy enough to keep in the core. The truth, though, is that most people use MySQL as a data store. They don't care about data correctness, about views, about advanced features. They just want to be able to store data and look it up again.

          Of course, this is partially because the books on database programming don't stress these features, and such programming has become available to the masses who don't know any better. Real programmers understand the issues and use these features, but then, real programmers probably also understand that modularization can be very useful.

      • Re:Shnizzle (Score:5, Funny)

        by maxume (22995) on Wednesday July 23 2008, @08:28AM (#24303159)

        That's not how that English guy on House talks.

      • Re:Shnizzle (Score:5, Funny)

        by captainjaroslav (893479) on Wednesday July 23 2008, @08:43AM (#24303389)
        Dude, we would never say "arse."
          • Re:Shnizzle (Score:5, Funny)

            by Rary (566291) on Wednesday July 23 2008, @08:59AM (#24303611)

            Your humour depreciates? I guess I'll have to check this thread out in a year or two to see if it's still funny.

              • Re:Shnizzle (Score:4, Informative)

                by Tim C (15259) on Wednesday July 23 2008, @09:07AM (#24303743)

                No, that's "self-deprecation". "Depreciation" is when something loses value.

                  • Re:Shnizzle (Score:4, Informative)

                    by JerkBoB (7130) on Wednesday July 23 2008, @10:47AM (#24305453)

                    google it fool

                    Just admit it... You screwed up. Irrespective of the fact that there is a redirection from "self-depreciation" to "self-deprecation" in wikipedia, they are not synonyms.

                    Deprecate [merriam-webster.com]: v, play down, belittle, disparage, etc.

                    Depreciate [merriam-webster.com]: v, to lower in estimation or esteem, to lower the price or value of, etc.

                    They are similar words. They both share the "de-" prefix, meaning "away, off, reverse, remove". After that, they have nothing in common, other than a similar spelling.

                    The etymology of deprecate comes from the latin de- precari, "to pray against", which somehow morphed into the current usage of "to belittle", or "to make obsolete".

                    The etymology of depreciate comes from the latin de- pretium, "lowered price".

                    Your insistence that wikipedia is authoritative on this somehow just makes you look even more silly. Especially on /., where amateur linguists and grammar nazis roam unfettered. :P

      • Re:Shnizzle (Score:5, Funny)

        by ruiner13 (527499) on Wednesday July 23 2008, @09:14AM (#24303861) Homepage
        Go have a fag while sitting on the bonnet of a Bobbie car, wanker.
  • by Jimmy King (828214) on Wednesday July 23 2008, @08:05AM (#24302781) Homepage Journal

    This is stupid. Removing prepared statements and access control lists? Don't we have enough trouble with people writing insecure web apps when we provide them with the tools easily make them secure?

        • by bingo_cannon (779085) on Wednesday July 23 2008, @08:55AM (#24303573)
          Umm..errrr! Drizzle will have a micro-kernel architecture with code being removed from the Drizzle core and moved through interfaces into modules. Akers has already selected particular functionality for removal: modes, views, triggers, prepared statements, stored procedures, query cache, data conversion inserts, access control lists and some data types."
  • Drizzle? (Score:5, Funny)

    by CheeseTroll (696413) on Wednesday July 23 2008, @08:06AM (#24302803)

    Fo' shizzle!

    • Re:Drizzle? (Score:5, Funny)

      by krkhan (1071096) on Wednesday July 23 2008, @08:14AM (#24302957) Homepage
      In other news, PostgreSQL releases sprinkle, SQLite releases Rivulet while Oracle defies all conventions and releases Hailstorm.

      Microsoft, of course, was busy "revolutionizing" the look-n-feel of MS Access.
  • No views?! (Score:5, Insightful)

    by qoncept (599709) on Wednesday July 23 2008, @08:08AM (#24302851) Homepage
    I can't imagine what logical reason there is for removing views, unless queries are removed too. Then I'd see where he's really going with this.

    And removing stored procedures seems to be more accomidating to the way developers actually write rather than the way they should. Just think how great it will be when all of the processing on every web page is done by php rather than in the database!
    • Re:No views?! (Score:4, Interesting)

      by ghoti (60903) on Wednesday July 23 2008, @08:42AM (#24303365) Homepage

      Which is exactly what the majority of CMSs do today. They treat the DB as dumb storage, and make very little use of its capabilities.

      • by Alpha830RulZ (939527) on Wednesday July 23 2008, @09:07AM (#24303749)

        Which has the unfortunate side effect of making the application portable across DBMS's.

        I'm just sayin'...

        • by KingSkippus (799657) * on Wednesday July 23 2008, @09:20AM (#24303935) Homepage Journal

          A lot of people think MySQL is great, but a lot of these same people have never worked on a "real" database that provides true ACID compliance, has powerful stored procedures, and instead of providing too many choices only have sensible options that all preserve data integrity.

          That's because most of these people are writing their applications to be cross-platform applications, or at least with the intention of them being cross-platform at some point without re-writing the whole thing. If you don't know that you're going to be hitting against a DMBS that provides true ACID compliance and that has powerful stored procedures, it's probably a good idea not to depend on those features for critical functionality.

          Also, you're forgetting who most of the databases we're talking about are aimed at: hobby or small-scale web developers. If you're writing something like Joomla! or phpBB or MediaWiki or whatever, it's pretty safe to assume that the people who are using your software won't have access rights to create things like powerful stored procedures (that, if written poorly, can <censored> up everyone using that database) even if they are supported by your DBMS. Such is the nature of $4.99 a month hosting plans; you typically don't get much more than INSERT and DELETE and SELECT.

          Frankly, MySQL is a lot greater than what 99% of users use it for. Drizzle is targeted at 80% or so of those 99% to provide an even faster and better back-end. If your application is such that it needs features that aren't supported by Drizzle or even MySQL, by all means, use whatever it is you need. But really, I don't see much use in basically telling people, "You're not using it right!" when it does exactly what they want it to.

            • Ask yourself WHY, (Score:4, Insightful)

              by encoderer (1060616) on Wednesday July 23 2008, @12:52PM (#24307885)

              It's funny how, 6-7 years ago people were talking about hitting 1 million hits per day. In 2008, with our quad-core Ghz-pounding monsters, most popular sites are actually serving less traffic per box than we did back in the day, because nobody cares to optimize anymore.

              Ask yourself WHY that is.

              It's simple: Hardware is MUCH cheaper today than it ever was before, and it'll be even cheaper tomorrow.

              You know what ISN'T cheaper? Software developers.

              It makes a lot more sense to optimize for the DEVELOPER than it does to optimize for the machine.

              I can add another web server for $5000. Adding a developer is at least an order of magnitude more expensive.

  • Oh man. (Score:4, Interesting)

    by Hero Zzyzzx (525153) <dan@ g e e k u p r i s i ng.com> on Wednesday July 23 2008, @08:09AM (#24302857) Homepage

    One man's "superfluous" is another man's key feature. No views? No prepared statements? Holy carp. Isn't MySQL crippled enough as it is?

    At first glance it's hard for me to see where Drizzle would fit where SQLite doesn't.

    • Re:Oh man. (Score:4, Interesting)

      by ricebowl (999467) on Wednesday July 23 2008, @08:44AM (#24303391)

      I realise that this is hugely off topic, but is there any chance anyone can highlight the benefits of prepared/stored statements? I've been trying to read around on the subject but it seems to be hard to pin down the benefits, and then I come across this: http://www.tonymarston.net/php-mysql/stored-procedures-are-evil.html [tonymarston.net], which offers an insight, but seems moderately biased against it "because he's never bothered with it yet, why bother with it now. And get off my lawn!"

      Thanks for any help with this...

      • Re:Oh man. (Score:5, Informative)

        by corbettw (214229) <corbettwNO@SPAMyahoo.com> on Wednesday July 23 2008, @09:01AM (#24303651) Homepage Journal

        One of the big reasons they're popular is security. Without stored procedures, to allow a program (or the programmer who wrote it) access to a given data set, you'd have to grant it SELECT privileges on the table(s) containing that data. With a stored procedure, you just grant it permission to run that procedure, which might only return a subset of the data in the table(s).

        Quick example: you have two tables, employees and employee_reviews. The employee table contains a unique ID, the employee's name, their salary, their start date, and other data. The employee_reviews has a foreign key linked to the employee's unique ID, the score for their latest review, and the text of the review. Without using stored procedures, to provide access to a given program to display the employee's name and the text of the review, it would need SELECT access on both tables; that exposes the employee's salary, which (we'll assume for this example) violates company policy.

        With a stored procedure, though, you don't have this dilemma. The procedure would just select the appropriate columns and return them. This protects the employee's privacy and abiding by company policies.

      • Re:Oh man. (Score:5, Informative)

        by hanshotfirst (851936) on Wednesday July 23 2008, @09:07AM (#24303735)
        Prepared Statements:
        * You can avoid SQL injection (improved security)
        * You can use "bind variables" (improved DB performance, improved security - see above)

        Stored Procedures:
        * You can write a transaction API in the database, and leave all that "ghastly" SQL out of your Java/PHP/languageOfChoice.
        * Your data will outlive the cool-hip-language-of-the-day. Keeping that transaction API in the database means you don't have to rewrite all the data access/business rules when you want to change languages for your application.
        There are more reasons, but these are the big ones.
      • Re:Oh man. (Score:5, Informative)

        by Mr. Shiny And New (525071) on Wednesday July 23 2008, @09:15AM (#24303867) Homepage Journal

        You need to keep in mind the difference between a Prepared Statement and a Stored Procedure.

        A Stored Procedure is a function stored in the database that you call from the application. There are pros and cons, which I won't go into here. Personally I don't like them but I can see why some people love them.

        A Prepared Statement, however, is the most useful tool you can use to protect yourself from SQL injection and every program should use them all the time. If there were a way to get rid of NON-prepared statements I think that'd be the right thing to do but I'd never use a DB that didn't support prepared statements. Let me illustrate the difference (Java-like pseudo-code):


        Connection con = getConnection();
        Statement stmt = con.createStatement("Select * from users where username = '" + username + "' and password = '" + password + "');
        ResultSet rs = stmt.executeQuery();

        PreparedStatement pstmt = con.prepareStatement("Select * from users where username = ? and password = ?"); // bind parameters
        pstmt.setString(1, username);
        pstmt.setString(2, password);
        ResultSet rs = pstmt.executeQuery();

        The PreparedStatement example looks like more code to write, and it is (But you can write utility functions to simplify this if you want).
        But there are two advantages:
        1. You can re-use the PreparedStatement if you need to run the query more than once with different parameters and this saves processing.
        2. The bound parameters are automatically converted internally to parameters so that the SQL doesn't have to parse the parameters themselves. This protects you from SQL injection. If the query above had been used in the application's login module, anyone could log in if they typed in the administrator's username and the password ' OR 1 = 1; --

        The reason is that in the first example the password contains SQL code. The SQL parser can't tell the difference between your parameter (the password) and the code because you passed it in as all one string. In the second case the parser sees that there is a variable and binds the value to that variable during execution of the statement. The variable isn't parsed as code.

        Someone reading this is probably thinking "Just escape the parameters manually!", which helps, but by always using prepared statements and binding parameters you will never miss a parameter or have to worry about bugs in the escaping routine (PHP's mysql module has had several bugs in those routines).

        I can't stress this benefit of prepared statements enough. It is so critical that we don't hire people at my company who don't understand this problem.

      • Re:Oh man. (Score:5, Insightful)

        by rasilon (18267) on Wednesday July 23 2008, @09:17AM (#24303895) Homepage

        He seems to have a tendency to represent the worst possible uses of various things as typical usage, and ignore a number of useful things.

        For example, he claims that the security uses of stored procedures have been replaced by role based access control. That's incorrect. If you want to audit changes to a table using RBAC then the user not only needs access to the audit table but must always update it themselves. A user could easily cover up changes by simply omitting the audit row, or adding false data. The use of triggers and stored procedures can enforce the audit, and protect it from malicious update.

        His claim that triggers are a bad idea because a novice DBA once disabled them on a production database, not realising that they existed, is just silly. The fix is to ensure that people get a clue before they get superuser access! Triggers are a standard part of every big modern database, and a standard part of any training program.

        I could go on, but I don't really fancy debunking every silly thing people write about databases...

    • Re:Oh man. (Score:5, Insightful)

      by Jellybob (597204) on Wednesday July 23 2008, @08:53AM (#24303537) Journal

      At first glance it's hard for me to see where Drizzle would fit where SQLite doesn't.

      Anywhere you need concurrent access - SQLite is not designed as a high performance database, it's designed as a simple to implement, single file database.

  • by Anonymous Coward on Wednesday July 23 2008, @08:11AM (#24302887)

    ...reinvented, but with security flaws. Awesome!

  • by maz2331 (1104901) on Wednesday July 23 2008, @08:11AM (#24302889)

    Uh, doesn't removing the query cache run counter to the goals of making it fast?

    • Re: (Score:3, Informative)

      by Foofoobar (318279)
      Well yes and no. I have always told people never to use query cache except when they absolutely need it as it can quickly become overused. But it is extremely useful for small amounts of data that don't change often but get called ALOT! And without it, you are correct, it is definitely something that will be sorely missed by people who know what they are doing.
  • SQLite? (Score:4, Interesting)

    by Anonymous Coward on Wednesday July 23 2008, @08:15AM (#24302961)

    I always thought SQLite did a perfect job of filling in the space between the need for a full blown database and the weight it adds to the server setup. SQLite, as its name suggests, is very lightweight. Where exactly will Drizzle fit in?

  • by kahei (466208) on Wednesday July 23 2008, @08:18AM (#24303027) Homepage

    Finally, with even views removed, MySQL can move toward its original dream of having *no* features at all -- *no* separation of interface from implementation, *no* referential integrity, *no* bundling of logic with data to ensure data integrity, *no nothing*!

    After a period in the wilderness, during which versions 4 and 5 added hated so-called 'features' and 'functionality', we are now finally returning home.

    I look forward to Drizzle version 2 in which pesky 'tables', 'columns' and most of all the fancy and pointless 'select' statement are removed.

    Seriously, no *views*?

    So, what we actually have here is a thin wrapper around InnoDB. If Sun have turned MySQL primarily into a quick-start wrapper for their own product, that's actually pretty clever.

    • Re: (Score:3, Informative)

      InnoDB (and BDB for that matter) is owned by Oracle.
    • Yep - it sounds like the Assembly Language version of a DB, built for massive speed but requiring very careful programming to avoid crashes.

      Sometimes that's just what you need. Sometimes it's exactly the worst possible approach.

      I say let the problem requirements decide which to use.

  • by hardburn (141468) <hardburn@wump u s -cave.net> on Wednesday July 23 2008, @08:21AM (#24303069)

    Proof that when MySQL originally added those materials, they still didn't know why they were important. Some of these aren't even going to slow you down much. Prepared statements can speed you up in some cases.

    In this state, it occupies a spot that SQLite does just fine.

  • by nvivo (739176) on Wednesday July 23 2008, @08:24AM (#24303103)

    a database project aimed at powering websites with massive concurrency as well as trimming superfluous functionality from MySQL ... Akers has already selected particular functionality for removal: modes, views, triggers, prepared statements, stored procedures, query cache, data conversion inserts, access control lists and some data types."

    I have been developing for the web during the past years and that's why MySQL has been off my list for serious development for some time in favor of Postgresql. It took about a decade to implement basic features like views and foreign keys that even Access 2.0 had in 93. Even sqlite has views for god sake!

    Today, even for the most simple projects I cannot think about not using views, stored procedures, and triggers. Not because there is no way to do the job, but because they are important for organization, security, data integrity, etc.

    It is like they have no idea that web sites are getting more complicated, and more and more data is involved everyday. I can't think of someone creating a big website with massive concurrency using this. Sounds more like an alternative to Sqlite for very simple tasks.

  • by psbrogna (611644) on Wednesday July 23 2008, @08:27AM (#24303151)
    Now if we could just get a hiearchical data model and associated standards based query language at the same time (XML, xquery, xupdate, etc) it truly would be Christmas come early. The potential of a FOSS, production ready NXDB is intoxicating (Exist-db, Monet, etc. are sooo close).
  • by drinkypoo (153816) <martin.espinoza@gmail.com> on Wednesday July 23 2008, @08:50AM (#24303485) Homepage Journal
    If you're going to pull out all the functionality, why not just use sqlite? I personally use an InnoDB setup so I can use Drupal's "related content" module so I won't be switching, but the next drupal is reputed to use sqlite as a backend and if I weren't using this feature I'd go to that. Simpler, lighter. Always present with PHP5.
  • All for it (Score:5, Interesting)

    by spinkham (56603) on Wednesday July 23 2008, @09:01AM (#24303649)

    From my point of view, this is MySQL finally embracing their target market.
    These features are great and important, but if you're doing small scale web programming through a framework that uses an ORM, or just very simple SQL, why not slim the program down?
    If you want real database features, you probably shouldn't be using MySQL in the first place in my opinion.

  • by jellomizer (103300) on Wednesday July 23 2008, @09:04AM (#24303699)

    This shows a big problem.
    Most people don't understand rational databases. As most colleges CS programs don't even touch SQL except for perhaps as an elective. There is a huge knowledge and a lot of miss use of SQL. They treat JOINs and Views as advanced features while they are actually still very quite basic features. Because of this a lot of people use SQL as a replacement for reading a flat file poorly designed with duplicated data, no indexing etc... etc... etc...
    These features that seem to make it seem slow actually improve speed, for a lot of cases. eg. a View that takes 1 second to load could take 2 seconds total for the application to select 5 or 6 different tables then try to use logic to put the information together as the application say php or python are a higher level language then a C/c++ written database server. Also there is the additional coding time as it is much easier to reuse or extend on views then to modify code. So yes using a complex view or stored procedure will slow down the database server however if it doesn't slow down the database server it will often end up slowing down the web server instead. being the Web Server is end user facing its speed espectially for usually fast to load simple pages that are use most often are more important then waiting the little extra time for the database to get back from your complex or large request.

  • by mlwmohawk (801821) on Wednesday July 23 2008, @09:35AM (#24304177)

    Sorry, it is incomprehensible that this sort of project would be started.

    The problem with MySQL, to BEGIN WITH, is that it doesn't support enough SQL or the SQL it does support well enough, to construct efficient queries. What ends up happening is that you move your "data logic" to your application and out of your database. This means the database handles simpler queries, but returns more data. While these simple queries appear faster, they hit more data on the disk and actually cause the system to become I/O bound.

    "Real" databases handle the "data logic" close to the data and can estimate the most efficient access to the data needed, thus REDUCING the I/O bottleneck, making more complex queries more efficient than simple queries. CPU time is virtually free with respect to data access.

    Every time I see some Java, PHP, or .NET guy go off about MySQL being faster, I just shake my head. Data access is a real science grounded in math and the physical realities of actual computers and storage devices. A "good" database has YEARS of research and unless you are a god (and you are not) it will be very hard for you to beat it.

    I've been in the business for about 28 years and I don't understand why software developers have this blind spot about databases. Maybe it is a "not written by me" attitude, but I just don't get it. A "good" database has so many facilities to make your data access efficient and fast as hell. Yet, most developers that I have to direct, simply refuse to learn about databases, specifically SQL. They go out of their way to write elaborate functionality in their language of choice that could have been constructed in a moderately interesting SQL query, that could be wrapped in a function and been more efficient.

    The "drizzle" product is just another avoidance of an important semester of computer science that people don't want to understand and will ultimately create even more poorly designed web sites.

    • by hostyle (773991) * on Wednesday July 23 2008, @08:10AM (#24302873)

      Why would anyone in their right mind set up a Web/SQL platform using MS products?

      My name is Maximus Decimus^W^WBill Gates, ex-commander of the Armies of Redmond, General of the MS Legions, loyal servant to the true emperor, Steve Ballmer. Father of a murdered operating system. Husband of a bloated Office Productivity Suite. I shall have my vengeance, in this web or the next.

    • by MBGMorden (803437) on Wednesday July 23 2008, @08:24AM (#24303113)

      Why would anyone in their right mind set up a Web/SQL platform using MS products?

      You'd be surprised. Our web team recently got on an "I love MS!" kick for some reason. They'd been on Linux for years but a lot of the new/shinny buzzword stuff that they wished to install wanted Active Directory, IIS, and other non-sense. Because the Linux setup didn't lend itself well to installing all that proprietary stuff, and because they convinced themselves (somehow) that the most popular software is always the most insecure anyways (so Apache being the most popular webserver is the most insecure), they switched to Windows + IIS (+MySQL, but SQL Server is being pushed hard) to host the website.

      Now I've even had pressure to convert my servers from Linux to Windows where possible to "standardize".

      On a more on-topic note though, I'm not sure where this leaves MySQL itself. As a "real" database, it naturally can't compare to SQL Server or Oracle, but even competing in the free segment, PostgreSQL blows it away. Traditionally MySQL was just the toy database for non-critical stuff that you wanted speed out of (and little else). If Drizzle accomplishes that, then I don't see a real place for the mainline MySQL anymore. Drizzle if you want speed, PostgreSQL if you want features/stability, and Oracle if you gots money to spend.

      • by CastrTroy (595695) on Wednesday July 23 2008, @08:52AM (#24303515) Homepage
        The thing is, is that not everybody needs a full ACID compliant transactional database. All that stuff tends to slow down the whole database. It would be much nicer for many people to just have a simple non-transactional database. Think about how many web apps are out there that don't use transactions, and have not need for them. Many applications would benefit from increased speed over increased transactional capabilities.

        On another note, what's with the lack of hosting services providing PostgreSQL? I would love to use it, at least for some projects, but the fact that it's not available on many hosts makes it quite a hard decision to make. I don't want to pick up another hosting provider, or switch over all my stuff just to use a different database.
      • by tobiasly (524456) on Wednesday July 23 2008, @09:07AM (#24303751) Homepage

        Traditionally MySQL was just the toy database for non-critical stuff that you wanted speed out of (and little else). If Drizzle accomplishes that, then I don't see a real place for the mainline MySQL anymore. Drizzle if you want speed, PostgreSQL if you want features/stability, and Oracle if you gots money to spend.

        The thing that people always seem to discount when comparing MySQL to PostgreSQL is community mindshare and comfort level. That's why it's called a LAMP stack. If products always won on technical merits, 90% of PCs would run OS/2 instead of Windows.

        I'll admit, even though I "know" that PG is supposed to be a better database, anytime I'm starting a new web app I go for MySQL. It's what most of the frameworks and toolkits support first and/or best. It's what more tech support guys at the web hosting companies are familiar with. Plus MySQL has *much* better GUI tools than PG.

        If both products were starting from scratch, then yeah maybe PG would have a good shot. But MySQL isn't bad enough, and PG isn't better enough, to make me or others like me feel like switching. I'm not comfortable with the PG toolset because I'm not familiar with it, and I have better things to do with my time than learn it, because for me the perceived potential benefit isn't worth it.

        Of course, none of this is to say that Sun won't f*ck up MySQL enough to make me change my mind...

        • by GooberToo (74388) on Wednesday July 23 2008, @09:24AM (#24304003)

          If both products were starting from scratch, then yeah maybe PG would have a good shot. But MySQL isn't bad enough, and PG isn't better enough, to make me or others like me feel like switching.

          And that's the problem. Because people don't try it, you don't realize how much better PostgreSQL really is. It really is more "better enough". ;) Until you give it an honest try, you really don't realize what you're missing out on.

        • by ducomputergeek (595742) on Wednesday July 23 2008, @10:24AM (#24305045) Homepage

          I used to do the same thing, reach for MySQL for web applications first simply because there are more hosting companies supporting MySQL for a large number of reasons. I reached for PostgreSQL for intranet or business application where clients could use the features, but maybe could not afford or wanted to spend the money on SQL Server or Oracle. But in the last couple years, I've noticed more hosting companies offering PG support as well. However this changed for me in the past six months when SUN purchased MySQL.

          But SUN buying MySQL and then not really having any what I would call "firm plans" on what they were going to do with it was enough for me to look at PostgreSQL as the db of choice for the latest application I was hired to develop. At this point, PG development seems to be more of a known quantity.

          I could be wrong and Sun might create something that is absolutely amazing and the best. thing. ever. But until then, I'll stick with what I know till something better comes along.

    • by nvivo (739176) on Wednesday July 23 2008, @08:27AM (#24303145)

      Why would anyone in their right mind set up a Web/SQL platform using MS products?

      Because it is reliable, easy to develop, implement and support?

    • Re: (Score:3, Informative)

      stuff like sqlite, berkeley db, and sql server compact edition already serve this purpose well. an actual server on a mobile device would be far too expensive.