Slashdot Mirror


MySQL A Threat to Bigwigs?

Disoculated writes "Is MySQL a threat to bigwigs? is the question asked in CNN's technology section. The article notes that MySQL is running perhaps 20% of the web databases but its revenue is merely 0.02%... yet the company is still making money and putting out an excellent product. Is this a sign that the database market is in for a drastic change? Of course, there's no mention of PostgreSQL or mSQL, but I guess that's typical."

41 of 426 comments (clear)

  1. Version 4 Will Tell by Daveman692 · · Score: 5, Insightful

    It all boils down to how MySQL 4 is looked upon. Big sites already use MySQL, as seen here, but will version 4 have enough features, be robust enough, and provide the support to convince those running things such as Oracle to switch.

    1. Re:Version 4 Will Tell by letxa2000 · · Score: 5, Insightful
      I think the issue is that MySQL is very adequate for 99% of all users including most large enterprises and certainly most websites. Even if it is adequate for only 90% of them it's a huge threat to the big guys. There will always be a niche for the big guns that handle huge databases with many, many simultaneous updates. But that's a small fraction of the total universe of database installations and I don't think it's enough for the big guys to continue to be profitable.

    2. Re:Version 4 Will Tell by RevAaron · · Score: 4, Interesting

      Considering the way MySQL is (ab)used, flat text files, serialized data structures/objects or XML files would be very adequate and just as convenient for what 30-40% of what MySQL is used for. Mind you, they would be sufficient for what 30-40% of the big boys of enterprise databases are usually used for, but they're often applied when they're actually needed.

      That isn't to say that I am against using databases, but the overhead of MySQL is often pretty absurd for very simple dynamic websites (hell, a lot of kinds of dynamic web sites) and desktop apps managing a relatively small amount of information. If a DB was integrated into the OS as the preferred method of storing data, with the overhead paid for across many apps in increased convenience, it'd be worth it. But why the hell should I need to install MySQL just to maintain a list of todos and contacts? Look on Freshmeat- there is a torrent of applications using MySQL for managing small amoutns of data, both web and desktop apps.

      It's too bad most Linux developers aren't interested in doing something really forward-thinking. If there was a DB integrated into the OS, and apps encouraged to use it, with avenues of data management made easily available to the user, computing could be actually pushed ahead by Linux. But not today, and probably nor ever.

      Oh yes, my point: most of these apps would do fine with a flat file or (if one must get fancy) an XML file to manage this data.

      --

      Working toward a usable PDA environment in the spirit of Newton OS: Dynapad
    3. Re:Version 4 Will Tell by walt-sjc · · Score: 4, Insightful

      Let me expand on that :-)

      The bottom line is that Oracle (and other enterprise DBs like MSSQL, DB2) have enterprise features that MySQL (and other open source DB's) just don't have, and probably won't have for Years. It's more than just the ability to scale, and raw performance on simplistic tables.

      Most everyone is very much aware of MySQL and other open source solutions are great for certain types of applications, but horrible for others.
      That said, many enterprise users use Oracle in cases where MySQL would be much more cost effective, and probably better performing as well.

    4. Re:Version 4 Will Tell by RevAaron · · Score: 4, Informative

      BeFS didn't do it. BeFS had attributes, which was a definate step in the right direction.

      The Newton OS did it, with an object database. Down the line, other PDA OSes did it as well- Palm OS and the Helio's VT-OS both provided a database as the only means of data persistence. The Palm OS and VT-OS DB systems are quite a bit more restricted than the Newton OS's OODB or the theoretical system-wide relational DB we're discussion.

      Dynapad (my PDA OS/OE) take an approach similar to the Newton OS with an system-wide object database.

      --

      Working toward a usable PDA environment in the spirit of Newton OS: Dynapad
    5. Re:Version 4 Will Tell by the+eric+conspiracy · · Score: 5, Informative

      MySQL is very adequate for 99% of all users including most large enterprises and certainly most websites.

      I used to be a big fan of MySQL, mostly because it was moderately capable and free. Now that I have tried Postgres though there is no way I would go back.

      Yes, version 4 will be an improvement, BUT it is still missing many key features like views, triggers, full outer joins, update with subselect, that are already present in Postgres, and the fact is I've been using the features that MySQL is promising for the future for a year and a half now.

      The following site does a very good comparison between the feature sets of MySQL, Oracle and Postgres.

      http://det-dbalice.if.pw.edu.pl/det-dbalice/docu me nts/all/html/db_compare/db_compar_chp01.html

    6. Re:Version 4 Will Tell by RevAaron · · Score: 5, Interesting

      I don't specifically mean the kernel. That would seem a bit unnecesary, unless it provided a pretty big boost in performance and was universally used by applications and the system alike to make it worthwhile.

      The point would be for a unified model of data format, access and storage. No more file format worries. Empowering users to manage and manipulate their data. Easy sharing between apps on the same machine, over the network, across platforms.

      The important change isn't in capability but in the way of doing things. Since I do not mean stuck in the kernel when I say OS integration, I simply mean that it would be a core part of the OS used by all applications. Instead of files as we know them. This could be provided by an existing user-space solution, but until there is some standardization the benefits wouldn't really materialize. E.g., it doesn't matter if MySQL is installed on this Linux box on my desk if none of the applications use it.

      --

      Working toward a usable PDA environment in the spirit of Newton OS: Dynapad
    7. Re:Version 4 Will Tell by rycamor · · Score: 4, Informative
      Yes, version 4 will be an improvement, BUT it is still missing many key features like views, triggers, full outer joins, update with subselect, that are already present in Postgres, and the fact is I've been using the features that MySQL is promising for the future for a year and a half now.

      Not to mention column and table constraints, stored procedures, extensible datatypes, user-defined operators, query rewrite rules, and schema and domain support.
    8. Re:Version 4 Will Tell by SamBeckett · · Score: 4, Funny

      I put on my databases this morning. The dog kept on biting my databases. After I got home this evening, I took off my databases and they were stinky. Luckily, I had some spare databases around to wash them with.

    9. Re:Version 4 Will Tell by Arethan · · Score: 4, Informative

      Actually, this is an interesting point, but it isn't as valid as you make it out to be. There is absolutely no good reason to embed an RDBMS into an operating system. Not at the level that you are referring to anyways. If you mean filesystem attributes, then that is a different fish, but making a database part of an OS is a bit much.

      XML and flat files are good for data that does't change very often, and are only ever edited by a single user. (XML is also a good way to feed data fram a database into an application) Beyond that, they are pretty useless. They require far too much time on the developer's part when data within given contraints are needed, and coordinating updates between multiple processes can easily turn into a nightmare. Not to mention scalability. XML can get pretty large, and due to the non-indexed nature of the data, it can take a long time to read through it all looking for what you need. For many applications, using a database just makes sense.

      The whole point of an app using a database is to offload the storage specifics onto another program. I applaude the developers of these "MySQL (ab)using programs" for making the decision to focus on their products features and stability, rather than on how they will store their records. Besides, once you install MySQL (or Postgres) once, then it is there for all of your DB dependant apps to use.

      Not to mention the fact that MySQL 4 has standalone features that make your argument pretty moot. Any application can link in the MySQL core at build time, and will be able to have it's own MySQL databases separate from any active system wide MySQL instance. This gives developers an SQL storage system, without requiring the user to install a database on their own. It just comes bundled with the app, and when the app loads, the MySQL core is loaded right along with it.

      I'll keep using databases for storage, and flat files for configuration data, thanks though! ;)

  2. I think PostgreSQL is more of a threat by srn_test · · Score: 5, Interesting

    We used to use mySQL, but moved to postgreSQL for performance reasons, and we're glad we have.

    On the postgreSQL general mailing list, people rarely talk about mySQL anymore (let along mSQL). It's (mySQL) is generally regarded as a good alternative to the Berkeley DB stuff (i.e. non-relational), whereas postgreSQL these days gets lots of traffic from Oracle people wanting to go somewhere cheaper.

    Oracle mustn't be happy, I'd think.

    1. Re:I think PostgreSQL is more of a threat by j3110 · · Score: 4, Interesting

      I agree.

      I've developed my last application for MySQL. Everytime the server looses power, I have to ssh into client's servers and tell them how much data they've lost (repair table). It's not a happy time, and buy a UPS is not reassuring (most have them, accidentally bumping power switches/knocking cables loose still happens).

      InnoDB doesn't have this problem, but then again, it has buggy key problems on all of my servers. Sometimes it can't find a record that is there (often this is worse than just loosing the record... you can't create a duplicate). I have to periodically rebuild the index on inno, so I scrapped it too.

      I've used postgreSQL before, and it seems MUCH more robust. It can be a little slower on certain queries, but I'll sleep better after my clients are ported over. I also get updatable views, custom objects, sub-selects, embedded procedures (in a variety of languages), transactions, cross table deletes/updates, and speed when I take advantage of key clustering and these other features rather than hacked solutions for sub-select. I've seen people select "delete from table a where bid=\""+b.id+"\"" from b where c=3 into outfile d; then run mysql -u user -p d

      Sure vacuum could be automatic when there is a great degree of fragmentation, but those are scratches compared to the gaping holes in MySQL like ACID compliance. I've looked at version 4, and it changes the queries so much that I would have to port my app to version 4. It's best I go another route than be disappointed again.

      It sure does help Oracle migrants that pgplsql is about the same as Oracle's plsql :)

      --
      Karma Clown
    2. Re:I think PostgreSQL is more of a threat by maraist · · Score: 4, Insightful

      Actually in 7.3 you can finally drop columns, fwiw.

      I don't know about MySQL 4, but the biggest problem is that MySQL seemed to emphasise speed over robustness.. Large scale benchmarking in the 3-tree caused corrupted databases. postgres has had a journal for a little bit now (don't know how long though). Plus postgres's version-based rows allows for some really high performance parallel transaction control.

      It all comes down to what you are really trying to do.. If you're willing to lose a day's worth of work, and you're not going to have more than a couple dozen simultaneous connections, then MySQL is probably good for you.

      Perhaps 4 has allowed MySQL to catch up with Postgres / surpase it, but it's had too murky a history for a lot of businesses who rank data-integrity number 1.

      --
      -Michael
    3. Re:I think PostgreSQL is more of a threat by leonbrooks · · Score: 4, Insightful
      You can't import from a backup made by a different verion of Postgres.

      I can. I have, many times.

      The older version I was using was trying to parse the comment marks (---).

      The command-line psql segfaults.


      These lead me to suspect that your implementation was broken. I've never seen them happen.

      not being able to delete a column, or change a column type.

      ALTER TABLE [ ONLY ] table [ * ] ALTER [ COLUMN ] column { SET DEFAULT value | DROP DEFAULT }

      ALTER TABLE [ ONLY ] table [ * ] RENAME [ COLUMN ] column TO newcolumn


      I am always changing a column type to varchar(x) and pruning garbage off it (eg dollar signs and commas) and then converting it back to a numeric (double) field.

      Hey, what? You can't store dollar signs and garbage in an integer or float, you shouldn't be trying to feed that to your db in the first place! If you want to do that kind of thing, amidst a `live' table is not the place for it: use a temp table and do it properly. Whis is probably why the PostgreSQL people didn't implement it.

      I'd rather wait for MySQL to add the one thing I'm actually waiting for: stored procedures

      I hope you've got a lifespan like Methuselah's, then. PostgreSQL does stored procedures in a variety of languages already. Your post does sound like a BASIC programmer grunting and squealing when presented with a real language that insists on him doing stuff like decalring variables, and has scoping etc, forcing him to do `work' (actually investing in manageability) that he didn't have to do before - at least, not up front and in small doses.

      --
      Got time? Spend some of it coding or testing
    4. Re:I think PostgreSQL is more of a threat by synx · · Score: 4, Insightful

      it happens, i work for a major company, and due to a wiring error and a mistake made by power techs, major switches and about 20 servers went down, taking out some major production systems.

      So no matter what happens, your database will eventually fail and lose power. Even if the power is 100%, the db software and/or OS will crash.

      And yes, oracle crashes :-) And hard. But it comes back up cleanly, which is the important part.

  3. Re:If MySQL was just a bit more user-friendly... by drudd · · Score: 5, Insightful

    Have you ever looked at MySQL's online documentation? It's wonderful...

    Fully indexed, with user comments... I often find new techniques while searching for something completely unrelated. I think the great documentation is one of the reasons why MySQL has taken off, it's just so easy to learn.

    Doug

    --
    Venn ist das nurnstuck git und Slotermeyer? Ya! Beigerhund das oder die Flipperwaldt gersput!
  4. That depends... by dasmegabyte · · Score: 4, Interesting

    A lot of the viability of any product is based on who is selling it as part of an end to end solution. More and more developers are doing this with MySQL, but most of these developers are doing it for relatively low end applications. The "high class" consutlants and developers will be using DB2 and MS SQL forever, because a) they're told to do so by the people who can fire them b) they're used to it, and used to touting its glory c) they have a ton of tools for it.

    Furthermore, there are some applications that just don't make any sense to switch. An example is government databases. I'm working right now with a state government database written on top of Sybase, and i don't think it's ever going to move off of Sybase unless the company tanks. There's actually three pages of (somewhat unfounded) explanations as to why it can't be ported to MS SQL. Mostly bullshit about WACOM SQL being incompatible with Transact (which begs the question, why not just use Transact in the first place when MS' and Sybase' version are about 80% similar). Can you imagine the developers, who have big enough egos to include three pages of MS SQL Server bashing in their docs, redoing their whole bloated app just so it can run on a free environment? Lord no! Not to mention the cost to taxpayers, who have already footed massive bonds to pay the usually high up front costs for software. Think they're going to pay a hundred k for some developers to rewrite everything in a free environment when they could just pay a few thousand for a Sybase license?

    Do I think that truly open minded (some would say wise) development houses looking to cut costs on new systems are going to go MySQL? Absolutely. But there'll always be a place for the behemoth server app, not because it's better, but because it's PERCEIVED as better.

    --
    Hey freaks: now you're ju
  5. Re:Ethical obligation? by ccady · · Score: 4, Informative

    Sorry.

    The GPL, one of the licenses under which MySQL is distributed, states that if you re-distribute it, you are also required to share the changed source code.

    My complaint was that the article was imprecise. If a company changes, but does not re-distribute MySQL, they are under no obligation at all, ethical or legal. If they re-distribute it then they are under a legal obligation to share their changes to anyone who uses it (not just MySQL AB).

    --
    J'aime mieux les méchants que les imbéciles, parce qu'ils se reposent. -- Alexandre Dumas
  6. "Ethically Obliged"? by Landaras · · Score: 4, Informative
    From the article:

    Anybody can download the product for free and use it for whatever they want, but in so doing they become ethically obliged to share any modifications with the company.


    The GPL does not merely give you an ethical obligation to share your modifications with anyone you distribute them to. It gives you a legal obligation. Until shown otherwise by a court, the GPL is legally binding. As such, stating that the (presumably only) obligation that someone modifying the code has in an ethical one furthers the outdated notion that all pieces of Open Source Software are amateur projects that are only held together by people who choose to donate their time for whatever higher reason. Not that there is anything wrong with volunteering your skills, but there are major businesses investing time and money in OSS.

    From a business standpoint, OSS is legitimate. It would be nice if CNN reported it that way.

    Note: I contacted CNN.com regarding this when they first posted the article. Predictably, I have not yet received a response.
    1. Re:"Ethically Obliged"? by RevAaron · · Score: 4, Insightful

      I don't think the writer was confused in that the GPL is legally binding rather than ethically binding. That is, the GPL only legally requires you to redistribute your code if you pass out/sell the binary, not if you make the changes for your in-house setup. However, if I am a business using a heavily modified version of MySQL, adding tons of great features that make it a real player with real enterprise databases- but not sharing or selling the binary, there is still an ethical obligation- not a legal one, pressure from the community at large to share your changes. You see it all the time in the Linux community in especial.

      That is how I read that statement, and from that standpoint, the author is correct.

      --

      Working toward a usable PDA environment in the spirit of Newton OS: Dynapad
  7. Reason why PostgreSQL or mSQL weren't mentioned by ciurana · · Score: 4, Insightful

    From the posting:

    Of course, there's no mention of PostgreSQL or mSQL, but I guess that's typical.

    This article has all the signs of being the effort of MySQL's PR firm. Nothing wrong with that; they didn't mention PostgreSQL or other OSS databases because their desired outcome is to increase awareness of MySQL, not the others.

    Cheers!

    E
    --
    http://eugeneciurana.com | http://ciurana.eu
  8. web databases != database market by Misha · · Score: 4, Insightful

    you probably won't find too many databases on the 'net that need the kind of performance some commercial brands give. so i wouldn't say the drastic change is coming, unless companies start putting their payroll records for the web to see.

    our company actually puts mysql onto websites, but no client comes (at least for us) and says 'can you replace my blah-blah db version blah point blah with mysql'. we usually put mysql as a replacement for product databases, forums, etc. which previously were stored in text files or worse. and we usually do this for clients who simply can't afford anything and haven't invested into updating their site in 1-2 years. if they can afford it, they usually already know what they want, and it usually doesn't come free in a cvs snapshot.

    --



    I was thinking of how to intentionally fail my drug test... It would make a good memoir story someday.
  9. Re:postgres, schmostgres... by the+eric+conspiracy · · Score: 4, Insightful

    Even auto incrementing IDs in Postgres are annoyingly difficult compared to MySQL...

    Nah, they actually make much more sense in Postgres than they do in MySQL because you can access them using a standard query rather than some bozo non-standard driver extension as in MySQL.

    The problem with MySQL is that the lack of basic functionality like triggers, subselects, foreign keys makes it a total PITA except for the simplest applications. Sure you can write code that works around the implementation limitations, but WHY should I have to reinvent something over and over that should BE PART OF THE DATABASE?

    You may think this stuff is esoteric, and not needed for the average blog or even e-commerce site, but that's baloney. FKEYS *ARE* needed for just about *ANY* database application except the most trivial - ie. an address book.

    MySQL - forget it - it just isn't competitive with other free databases out there.

  10. Mindshare by arvindn · · Score: 4, Insightful

    MySQl being more popular than Postgres has a lot to do with mindshare than product quality. Take me, for instance. I set up apache for the first time a month ago, and I wanted a db server for some things. I had heard of both MySQL and Postgres, but I had been bombarded with the words "LAMP" and MySQL guide/tutorial/howto so many times in the past that my first thought was to give MySQL a try. I found it was already installed on my machine, had lots of documentation, and had no learning curve - no complaints at all. So, Postgres didn't even get a fair consideration from me. Of course, you might say that newbies and students like me don't count, but keep in mind that I might become a database admin some day, at t which point I would have a lot more experience with MySQL than Postgres...

  11. transactions by nemeosis · · Score: 5, Insightful

    MySQL is good for certain applications, where you only read data, and don't write too much data. This works out especially well for most web sites, since they serve information, but doesn't necessarily allow too much information to be posted by the user.

    Lots of message boards on the web use MySQL as their database, because even though people are uploading comments, the amount of data that they upload isn't all that much. Slashdot for example, a popular discussion could prompt 500 messages to be posted in 15 minutes, but still, that's not that much information.

    The key word here is transactions, the constant reading/writing, downloading/uploading of information on a massive scale, where each occurence is audited. And I think that's where MySQL has its weakness. PostgreSQL is supposed to be a bit slower, but it takes transactions into account. Red Hat's database software runs on the PostgreSQL engine specifically because of this.

    Banking and finance applications require this accountability, because it's just that important. Websites don't need that accountability and overhead, which is why MySQL shines for web servers.

  12. Missinfg Features by juergen · · Score: 5, Insightful

    As long as MySQL doesn't conform to all of ACID, it won't be used by serious players. So all those who use Oracle etc. and need a real RDBMs won't even try to switch. There was a lengthy discussion (or should I say ranting) over this in user comments in the online MySQL manual, but it looks like they removed that. Here's the best link I could find: Manual/ACID.

    All those who can live with less, well, IMHO having these features still makes development of sound applications so much easier it pays off having it. PostgreSQL has most of Oracles features, conforms fully to ACID, costs the same or less as MySQL (nothing, compared to MySQL which is virtually useless free without the commercial table handlers), and there are some companies supporting it too.

    In my experience an application which does correct error checking and handles faults etc. is not faster in MySQL than in most other DBs, just harder to write. And there are alternatives to PostgreSQL, if you don't like it.

    Jürgen Strobel

  13. It depends on what you want to do by vinyl1 · · Score: 4, Interesting

    I work at a heavy-duty Oracle shop. I would say that Oracle has gone way beyond being just a database vendor, in that they provide a complete--but proprietary--environment. Since I haven't needed to use many of their features in the past, I had never realized how complex their software is.

    I can't believe MySQL doesn't even have subselects yet. I've been living on subselects and 'connect by' for years. I never did like PL/SQL all that much, but it does allow you to run complex programs over the network without creating high traffic. And SQLNet does make things a lot easier. The whole thing is kind of like a database flavor of Unix, with its own world of commands, scripting tools and permissions.

    As for Oracle's 'fancy' products, like Express, Forms, the OID, Portal, and Workflow, they are serious attempts to extend the database principles into a generalized suite of enterprise-level business tools. They are a little too cutting-edge for my taste, but you won't find anything like this in a non-proprietary product.

  14. Re:I wonder who mysql steals marketshare from? by Billly+Gates · · Score: 4, Informative

    Sure.

    Look here and here. Both of these websites mention what postgreSQL (and Oracle)offers that mysql is lacking as well as how to migrate to PostgreSQL. Keep in mind I am not a database administrator or do I consider myself a sql guru. I only use them to write web enabled apps as a hobby and not in a corporate environment.

    However it was rumoured that postgreSQL lacked real backup tools to fix a corrupt database. I believe this might of been fixed but was an issue 3 years ago. This is the only downside I see. Both Mysql and Oracle have tools to fix such a problem. Maybe someone who is reading this who is more familiar with administering databases can comment on this.

  15. Why not mySQL? by Anonymous Coward · · Score: 5, Interesting
    Philip Greenspun wrote a short and excellent article on ACID compliance. The article is 3 years old, yet mySQL still has problems as they developers don't seem to believe that ACID is important. Open ACS on "Why Not mySQL"

    mySQL is, unfortunately, a SQL interface to a bunch of files based on various index sequential access methods. It gets its speed by ignoring transactions, triggers, stored procedures and other things that, when your company is successful, will need in its database. mySQL's replication is also not guaranteed and when its spotty, it doesn't tell you.

    The open source DB community is a powerful force with a lot of potential and a lot of success. That success is in markets where transactions are low and/or not critical to the customer.

    mySQL and others need to ensure that they have these features:

    • stored procedures (implementation outside of the A in ACID aren't complete - perl, java, python, etc)
    • Referential integrity, foreign keys, transactions
    • hot backups where you don't have to take the database down to get a backup with guaranteed integrity.
    • reliable replication (argue away, only shareplex, NT SQL server & Sybase have it today)
    • sub selects
    • temp tables
    • function based indicies
    • automatic partitioning
    • rollback (true rollback w/transactions)
    • triggers
    • block and row level locking. A select on a 50 million row table shouldn't lock the table.
    • joins that do not lock tables due to full table scans
    There are a lot of good reasons for using mySQL as a platform to begin the development of a project. For personal use, it's hard to beat! If you are a professional in a company that needs to support real clients with real data with real guarantees, spend your money on a real database.

    Where do you want to spend your R&D money? On your product or on the database that does most of the things you need, but not all of the things you need. Don't you want to spend your time building the product that pays your salary and makes your customers happy? Why spend time on the database, just buy something that works.

    One more thing, a not unreasonable architecture for a database driven application is:

    • UI layer
    • Business rule/application layer
    • Application Programming Interface
    • Stored procedures (potentially hundreds)
    • Database
    Good luck.
  16. No. It isn't. by philovivero · · Score: 5, Insightful

    MySQL is not a threat to the bigwigs, because they compete in different realms. MySQL is a threat to filesystem-storage and BerkeleyDB.

    PostgreSQL is a threat to the bigwigs, however.

    This is not to say it won't change. MySQL apparently is trying to implement features that would make it compete with real relational databases, but last I heard, views weren't on the list, so I'm not holding my breath.

    Other OSS projects that may be a big threat include SAP DB (used to be Adabas D) and... uh... right. There you go. Reply if you're a real DBA and think there's another competitor in the space of true relational RDBMSs. Hint: If you think MySQL could be on the list, you're not thinking of industrial strength databases.

  17. Surprised.... by PrimeNumber · · Score: 4, Interesting

    I am frankly surprised that MS SQL Server was ranked along oracle and DB2 as a 'high end' DB. Anyone who has had to work with it usually disagrees!

    Personally I have seen SQL server most on small/medium size business environments. Any large 'enterprise' sized business deserves what they get if they are dumb enough to rely MS SQL server. Look what happened to Bank Of Americas ATMS when the last MS virus du jour made its rounds.

    I think MySQL is the best bet to reduce Microsofts share of the DB market. Oracle is better, but small business isn't willing to fork out that kind of cash, especially in this economy. MySQL is especially perfect for the small business web site, and with Microsoft irrationally increasing subscribtion fees and forcing upgrades, a good percentage of their customers will be running into the open arms of MySQL/Postgres.

  18. Re:MySQL vs "bigwigs" by jonr · · Score: 4, Informative
    What idiot marked this as "Insightful"? Let me make a bullet list:
    • You can find lots of documents online at oracle, but I guess you didnt care
    • Speed, MySQL is speedy, because it doesn't have to do anything
    • Again, no refirental integry (OOps, I didn't mean to change that foreign key, now I don't know what it pointed too, my database is corrupt! AAARG!)
    • Rollbacks are not fancy stuff, they are essential to a real database
    • Hardware levels? Ok, go back to your parents basement
    With Oracle you can choose: speed, security.
    Mysql: Speed. Only.
    Mysql is like a dragster, fast but no control.
    Next time you want to start karmawhoring, at least pretend that you know what you are talking about.
  19. My Story by SloWave · · Score: 5, Interesting

    A couple years ago I started a large hardware conversion project for a major telco. One of the requirements was a fairly large database to support real time call processing. I had already told the customer that I would only do the job if it was on a non-Microsft platform so I didn't need to worry about them wanting SQL Server. However, since they were a large telco I assumed that they wanted a well know commercial product so I proposed either Oracle or Informix - their preference. Their director of DP said something like "it's too bad we can't use MySQL" since they were using it for some smaller applications, unknown to me. My next comment was "do you want to use MySQL?". The answer was "yes, provided it could do the job". I said "I will make it do the job". Now it's been about two years and MySQL has almost faded into the background. It just runs, unlike my experiences with Oracle and Informix where you have to constantly administer them. That's my personal experience, your mileage may vary depending on your skill and attitude.

  20. Not really by The+Man · · Score: 5, Insightful
    mySQL is appropriate for upwards of half of all web applications, and could easily own that half of the market. However, that doesn't mean it constitutes a serious threat to the large proprietary database vendors, because that half of the applications are mostly using one or more of:
    • Microsoft Access
    • Flat files
    • XML files
    • Static content
    • Client-side scripting
    • A large-scale database being drastically underutilized
    to perform their various functions. In most cases, those functions would be faster, easier to implement, and simpler to manage using mySQL.

    For applications with these types of functions, which do not include complex queries, large transaction volumes, rigorous reliability including transaction log backups, recovery, replay, and replication, mySQL represents a major force. Unfortunately for mySQL and those who would have it take over the world, there's not much money available for those applications. Therefore, expect to see mySQL's installed base continue to increase while its revenue-based market share remains small.

    For applications which do require features and levels of reliability and capability not offered by mySQL, postgres is the only serious freely-available contender. Even so, postgres is also somewhat less capable than Oracle or DB/2 and will be confined to the middle tier of applications - those which require better reliability and scalability than mySQL can provide but for which funding is scarce. Postgres probably does represent a serious threat to Microsoft's SQL Server, if only because Postgres is platform-independent and supports platforms which can scale beyond anything Windows can run on. Both are otherwise middle-tier products which are not and will never be taken seriously by the largest and most demanding database users.

    Who are those users? Banks, government agencies, stock exchanges, payroll and records processing firms, insurance companies, large multi-site call centers, and other huge-scale enterprises. The top proprietary databases offer capabilities that do not yet exist in the Free Software world. For these users, who are less than 1% of all customers but which represent maybe 80% the revenue in the market, there is no substitute. These customers will stay with their existing solutions - Oracle, IBM, Sybase - until the systems running them give out. Then they'll call that company's professional services department and offer them a few million more to upgrade the system. That's the way it works. The system has to be attacked one customer at a time, an expensive and time-consuming process consisting of many lunches, legal bribes, and unrealistic promises.

    I think the answer to whether mySQL is a significant threat to dominate the market economically is pretty obvious. Even if mySQL moves up to the middle tier to compete with Postgres and MSSQL and is installed in every application for which it is suitable, the product would still command less than 10% of the revenue in the market.

    What a silly question.

  21. Apples and Oranges by SatanicPuppy · · Score: 4, Insightful

    I don't know why people insist on comparing MySQL and Oracle. Oracle is huge and bloated, but it runs pretty quick, and is chock full of the sort of features you need if quadruple redundancy and data integrity are a must. If I'm working for a company that can afford the licensing, I'm Oracle all the way...There is no commercial product that really compares.

    On the other hand, if I'm dealing with a company that can't toss around the kind of money that you have to have for an Oracle DB, MySQL is my number one choice. I can slap the GUI of my choice on it, take care of data security with a hard backup and pocket a few grand of pure profit that I didn't have to spend on liscensing. You can argue Postgres, but I've never run into a case where I couldn't work around those features that haven't been implemented in MySQL yet.

    The one thing I can't stand is when someone suggests: "I can't afford Oracle, so lets' go with a MSSQL database." That's like, I can't afford a space shuttle, and a ferarri isn't good enough for me, so I'm going to buy this million dollar llama instead because 1000 marketing agents can't be wrong, right?"

    It has all the same feautres as Oracle, it's just that the features in Oracle WORK.

    Just my .0363160 Bulgarian Leva worth

    --
    ad logicam Claiming a proposition is false because it was presented as the conclusion of a fallacious argument.
  22. Re:I wonder who mysql steals marketshare from? by Hrunting · · Score: 4, Informative

    Look here [webtechniques.com] and here [sitepoint.com]. Both of these websites mention what postgreSQL (and Oracle)offers that mysql is lacking as well as how to migrate to PostgreSQL.

    The first article was written in September 2001. The second article was written in October 2001. The person who replied to your post cited an article from 2000, almost three years ago. The PostgreSQL vs. MySQL argument would be a whole lot more interesting if the articles cited were actually relevant to newer versions of both databases. It would also be great if they were more than just, "Hey, look, I got my inefficient bulletin board working a little better under database XYZ."

    The best database is the one that has the features you need, the performance you desire, at a price you're willing to pay.

  23. MySQL is ACID by Imperator · · Score: 4, Interesting

    MySQL does have transaction support and is fully ACID-compliant--iff you use the InnoDB table type. This also allows you to use foreign key constraints. However, it's not as fast as MyISAM and doesn't support certain features (e.g. fulltext indexing).

    In my (informal) tests MySQL/InnoDB is less than half the speed of MySQL/MyISAM but still about 50% faster than PostgreSQL for simple and small tasks. That said, PostgreSQL has more features than MySQL and I still prefer it for most tasks.

    --

    Gates' Law: Every 18 months, the speed of software halves.
  24. Other open-source dbms by pspinler · · Score: 5, Informative

    that have received little comment so far:

    * Firebird (ne: Borland Interbase)
    * SAP-DB (ne: Adabas-D)

    Both are good, high quality, commercial or formally commercial products released under an open source license. (interbase public license and GPL respectively)

    Further, SAP-DB has excellent commerical support available from SAP, the company, at or better than the same level of responsiveness as, say, Oracle support.

    Both are fantastic, enterprise level full ACID RDBMS's with all the great management features a heavy duty shop could want:

    * online backups,
    * transaction logs,
    * restore to point in time
    * subselects, views, rules/triggers, procedures, etc.
    * great storage management

    Check 'em out.

    -- Pat

    --
    The biggest problem with communication is the illusion that it has occurred
  25. Re:Have a look at SAP DB before talking about thos by Aussie · · Score: 4, Insightful
    SAP DB [sapdb.org] is free, open source and GPL. It also has all the best big-guy features. Not many people seem to know about it - it certainly has small mind-share. But it is the real stuff - miles ahead of MySQL.

    But for some reason people ignore it. Is it because it is created by a company and not a group ? Or is it that everybody has already chosen their favorite free DB and won't look at others ?


    Sure beats me.
  26. MySQL is appropriate, even for small stuff by crucini · · Score: 4, Informative

    I disagree with the idea that small projects should use flat files or XML in place of MySQL. First of all, the flat file only looks good while there seems to be a single entity in the system - let's say person. It rapidly turns into a convoluted mess when a second entity rears it's head - let's say a person can have multiple cars. Second, many applications end up developing reporting requirements that were not envisioned in the original design. That's what makes relational databses great - ad hoc reporting.

    Another way to put it - as the application grows in complexity, more functionality will be added to the data store as the programmers painfully rediscover all the challenges which real databases have already conquered. Of course MySQL doesn't cover all of those, like ACID, but it covers most. Look at the amount of effort that went into MySQL, Postgres and Oracle - it's huge.

    Of course, you may be thinking of simpler applications than I am. If the data can legitimately be represented by one table, with no denormalization, then I agree a database may be overkill.

  27. MySQL AB comments by martenmickos · · Score: 5, Informative

    Great discussions on this thread! We are reading them carefully to learn what we can do better.

    Let me just comment on the overall impact of having such articles appear on Fortune.com and CNN.com:

    The article is indeed the result of PR work done by MySQL AB, but the value of it will benefit the entire free software / open source community. We need to get many more business articles out there, so let's be happy about this one, and let's produce more of them!

    Although this very article mentions MySQL only, please have a look at other articles where we at MySQL AB consistently mention the other open source databases. Here are two such articles on prominent business-focused sites (one of which, incidentally, is powered by MySQL):

    http://www.open-mag.com/01943583279.htm

    http://www.alwayson-network.com/comments.php?id= A2 44_0_1_0_C

    Our ambition is not to be a threat to bigwigs per se, but to make superior database software available AND affordable to all. With your help we can do it.

    Marten Mickos
    CEO, MySQL AB