Slashdot Mirror


MySQL A Threat To The Big Database Vendors?

geekinexile writes: "Bloomberg is running a story on the growth of MySQL as an alternative to the big commercial database systems." The story mentions PostgreSQL as well, and presents a generally positive view of both.

469 comments

  1. LAMP by EricBoyd · · Score: 2, Redundant

    Linux + Apache + MySQL + PHP

    It's the ultimate Free Software combo... and it powers StumbleUpon just fine, thank you!

    --
    augment your senses: http://sensebridge.net/
    1. Re:LAMP by blinov2000 · · Score: 0

      what y http://www.rokf.ru/articles/7850.shtml?1620

    2. Re:LAMP by defile · · Score: 2

      P less commonly means Perl and Python.

      And L can sometimes mean FreeBSD.

      But otherwise, Sun has J2EE, Microsoft has .NET, we've got LAMP.

    3. Re:LAMP by (startx) · · Score: 1

      yes, I use FAMP on my server, but it just doesn't sound as cool as LAMP...maybe that's because it's not a word.

    4. Re:LAMP by Anonymous Coward · · Score: 0

      Your site is down, I think your BSD died.

    5. Re:LAMP by gimpboy · · Score: 2

      yeah i prefer LAPP

      linux, apache, postgresql, and perl :)

      but that's just me..

      --
      -- john
    6. Re:LAMP by Anonymous Coward · · Score: 0

      I just heard a cry as your brain cells bit the dust as well.

      Thank you,
      -The English Troll

  2. right. by r00tarded · · Score: 2

    sourceforge just bailed on opensource databases and ill bet ya all bloomberg's money that story came out of an oracle or sql server db.
    mysql/postgres have their place, but oracle is not running scared just yet.

    1. Re:right. by DeepZenPill · · Score: 1

      It may just be a matter of time though. One could have said the same thing about apache when it started becoming popular. The growing success of open source on webservers already for the OS and httpd just makes mysql and postgres look more and more promising.

    2. Re:right. by foonf · · Score: 2

      Apache superceded another open-source program, NCSA httpd, which was the first serious http server (it began as a patch against the ncsa daemon, hence "a patchy" webserver). Paraphrasing your comment, you could say that the subsequent growth of commercial web servers like IIS, Zeus and Sun iPlanet make Oracle and MS SQL server look more promising.

      --

      "(Man) tries to live his own life as if he were telling a story. But you have to choose: live or tell." --Sartre
    3. Re:right. by Anonymous Coward · · Score: 0

      NCSA also bailed out of the web server game which is one reason almost all NCSA servers moved to Apache.

  3. challenge? by Anonymous Coward · · Score: 0

    How can a challenge occure when the market for MYSQL is in the range of "Free" and the market for IBM, et al, is in the 6-figure range? Do they think I'm going to be able to afford something from the big DB vendors? Do I think the DB vendors will ever be able to offer the personal user anything?

    This seems like a bunch of nothing. There's no challenge because the two markets are completely different.

    1. Re:challenge? by ergo98 · · Score: 1

      In this case the article specifically talks about Yahoo running mySQL, and they're supposedly looking at eliminating some other jobs currently filled by an Oracle DB with a wider deployment of MySQL.

      Having said that, I think that is absolutely ludicrous. PostgreSQL is a serious database system, but, regardless of future potential, mySQL is not. Reading about it running the Yahoo Financial site says more about the quality of the Yahoo Financial site than it does about the quality to the mySQL DBMS.

    2. Re:challenge? by gmack · · Score: 3, Insightful

      Yahoo is using it for exactly what it's good at: Running websites. Why does it worry you they run their fintantial site? I cam't imagine why that needs something high end. Data comes in one way and gets read many times and that's the sort of use MySQL's raw speed will blow both postgres and oarcle away at.

      If it was on something that needed replication, or writes were the common case I could see a problem. But I doubt either is true in this case. Instead it looks like it's being used for an application tht it will handle well.

      Yahoo is only being smart; the high end databases
      comsume a lot of resources and shouldn't be used where they aren't needed. It would be foolish to run the entire company on a single vendor's software.

    3. Re:challenge? by Tablizer · · Score: 3, Insightful

      (* Having said that, I think that is absolutely ludicrous. PostgreSQL is a serious database system, but, regardless of future potential, mySQL is not. Reading about it running the Yahoo Financial site says more about the quality of the Yahoo Financial site than it does about the quality to the mySQL DBMS. *)

      You don't even know what their requirements are! Don't bash something until you see the requirements and environment it will be in. mySQL tends to favor read-intensive activities but is a little weak on write-intensive and transaction stuff.

      Perhaps their needs are mostly reading. Maybe some other system dumps the data into mySQL once every midnight, and people query on it all day with little writing.

      The point is that you are prematurely dismissing something without looking into specifics.

      It is rarely X is always bad and Y is always good. Things have various strong points and weakpoints.

      You are acting like a PHB.

    4. Re:challenge? by Wavicle · · Score: 5, Interesting

      Data comes in one way and gets read many times and that's the sort of use MySQL's raw speed will blow both postgres and oarcle away at.

      I disagree, every test I've ever done or read in the last 3 years, postgres is as fast or faster than MySQL (using reasonable sized data not "100 test records"). Do you have a link to a benchmark on recent versions of each (without magic 3rd party patches)?

      --
      Education is a better safeguard of liberty than a standing army.
      Edward Everett (1794 - 1865)
    5. Re:challenge? by delta407 · · Score: 3, Informative
      mySQL tends to favor read-intensive activities but is a little weak on write-intensive and transaction stuff.

      Agreed. I use MySQL in a few different production environments, and it works great -- speed is good (even on old, old hardware) and the flexibility is excellent (different formats on a per-table basis). However, I find the SQL implementation somewhat lacking.

      UNION support is a little late -- why did it take until 4.0.0 to implement? Furthermore, the lack of subselects makes everyday activities such as multi-table UPDATEs a little arcane. (Read the "it can't be done this way" comments on the bottom to see what I mean. AFAIK the only solution is to create a new table, do an INSERT ... SELECT on your source tables, DROP the first table, and rename the temporary table. Very, very icky.)

      MySQL also lacks triggers and views -- views are kind of handy, but if given subselects, can usually be done without. Triggers, though, give one a way to enforce logic (say, relational integrity), which would be very nice to have.

      Oh well. I really would like to have my cake, but I guess I'll settle for eating it...
    6. Re:challenge? by mrobinso · · Score: 1

      > ... every test I've ever done or read in the
      > last 3 years, postgres is as fast or faster
      > than MySQL

      Do you have a link to any benchmark or paper you've run or read that substantiates this? Just one maybe? Thought not. Hell, even the pg guys know better than to say something so silly.

      Seriously, a slow news-day at Bloomberg (read: a lame article with no meat) eq flamewars at slashdot. More rants from anal DBAs scrambling to rationalize their 7 digit budgets. ZZZzzzz.

      Let's sum up shall we?

      MySQL
      Fast. Free. Easy. Lacks features.

      PostgreSQL
      Slow. Free. Difficult. Better feature set.

      Oracle/DB2...
      Slow. Expensive. Very difficult. Feature-rich.

      There you go.
      Grovel for your jobs based on that.

      --
      -- Karma whore? You betcha. --
    7. Re:challenge? by Tablizer · · Score: 2

      Furthermore, the lack of subselects [mysql.com] makes everyday activities such as multi-table UPDATEs [mysql.com] a little arcane. (Read the "it can't be done this way" comments on the bottom to see what I mean.

      I couldn't find that message. Could you possibly supply a slashdot URL? Thanks.

    8. Re:challenge? by bovinewasteproduct · · Score: 2


      MySQL
      Fast. Free. Easy. Lacks features.

      PostgreSQL
      Slow. Free. Difficult. Better feature set.


      Damn, where does all of this FUD keep coming from? PostgreSQL is not much slower than MySQL in the single digit user area and blows it away once you start updating/inserting and get alot of users hitting the DB.

      5 to 10% slower is not slow. Yes, 3 or 4 years ago it was, but not now. 7.3 (in CVS), will kick some serious butt..

      BWP

    9. Re:challenge? by mrobinso · · Score: 1

      Don't know where all the FUD comes from, but I /can/ tell you this.

      I have a box sitting right here with mysql-4.02 and posgresql-7.2 running on it. Athlon 750, .5g ram, Redhat-7.2. I have the USDA SR14 Nutrient database stored in both. I wrote a small app to pull stuff out of the tables [the main table comprised of about 400k rows, each with a dozen or so fields of mixed types] in a way regular folks could use. I ran a script on both that essentially simulated about 60 concurrent connections, running mostly selects, and finishing off by updating a couple of different type columns in /every/ row.

      The mysql port runs great.
      The psql port runs so slow I didn't bother releasing it.

      Not sure where you got your '10% slower' idea from, but I have a real-world case staring me in the face saying mysql is fast and postgres is slow. Noticeably. Visibly. Substantially.

      Benchmark rhetoric + $0.90 = Tim Hortons.

      --
      -- Karma whore? You betcha. --
    10. Re:challenge? by schon · · Score: 2

      Benchmark rhetoric + $0.90 = Tim Hortons.

      I'm confused.. first you say that you have "real-world case" saying something, then you say that it's not worth anything. (You posted benchmark rhetoric, then you posted that benchmark rhetoric isn't worth anything.)

      FWIW, I've used both, and for simple inserts/retrieves (which seems to be what you're using it for) MySQL is faster (which it should be, as that's what it was designed for).. but for real world DB use - complex retrieves, views, many multiple users - Postgres blows it away.

    11. Re:challenge? by bovinewasteproduct · · Score: 2

      Is your PostgreSQL database tuned?
      Have you vacuum analayzed the database since you loaded it?
      Do you have indexes on the proper columns?
      Have you checked for any SQL gotchas?
      How much shared mem does Pg have? Sort mem?

      This type of statement comes up a couple of times a week on the mailing lists. It sounds more like an untuned database more than anything else. If PostgreSQL was that slow NO ONE would use it!

      Lets see some real world open source site examples:
      Is SourceForge slow? (Pg)(Only the mailing lists are DB2 right now)
      Is PHPbuilder slow? (Pg)

      Most likely they have more than 400k rows, 12 columns and 60 users at a time. What does this tell you?

      BWP

    12. Re:challenge? by Anonymous Coward · · Score: 0

      >Is your PostgreSQL database tuned?
      >Have you vacuum analayzed the database since
      >you loaded it?
      >Do you have indexes on the proper columns?
      >Have you checked for any SQL gotchas?
      >How much shared mem does Pg have? Sort mem?

      Obviously when you posted the nonsense about pgsql only being 10% slower, you weren't factoring in all this crap either.

      mrobinso posted *real* results.
      The truth hurts.
      Get over it.

    13. Re:challenge? by mrobinso · · Score: 1

      > mrobinso posted *real* results.

      Well, the type of results I mentioned was only to highlight the differences in speed performance between the two. Frankly I like postgres and use it for some stuff, and use mysql for other stuff. I see the gap between mysql and postgres closing as well. MySQL continues to develop its feature-set, and postgres is getting way better speed-wise.

      Getting back to the original post though, I doubt either pg or mysql with ever pose a serious threat to the big systems. They may gnaw at them for a bit, but that's about it.

      The article mentioned in the original post was a worthless piece of fluff that ended in a doozy of a thread here. Go figure. ;)

      Mike

      --
      -- Karma whore? You betcha. --
    14. Re:challenge? by DeathToBill · · Score: 1

      My major objection to both of them is that my latest 'default install' of Oracle 9.0.1 was well over 1Gig. Go figure how that much stuff can be necessary.

      --
      Slashdot - News for Nerds, Stuff that Matters, in ISO-8859-1 Has just realised that beta makes this signature redundant
    15. Re:challenge? by delta407 · · Score: 2
      I was referring to the following comments on the UPDATE page:

      Simone Sagheddu: I'm a new user and so I'm not very expert using mysql. The problem i have is this: "UPDATE table1 INNER JOIN table2 ON table1.fieldname=table2.fieldname SET table1.fieldname = table2.fieldname" generate error 1064: "You have an syntax error in....". Does MySQL support Join using UPDATE keyword?

      And:
      Carl Furst: What about natural join updates?? If I have two tables and I want to put the value of one fields into another of the same type (tinytext can go into varchar, char and ints can go into blobs or tiny ints etc) couldn't I say something like this???

      update table_name set table1.field1=table2.field2 where table1.key=table2.key

      this would make life soooo much easier. I know this can't be done in 3.22.23 can it be done in 3.23.23??
  4. Why don't they use dBase IV... by Anonymous Coward · · Score: 2, Insightful

    PostgreSQL is a serious competitor, but MySQL is not. Everytime someone slobbers off about how MySQL is the greatest thing since sliced bread, what they really are doing is yelling "I AM IGNORANT! I AM A FOLLOWER!". I'm not kidding. The basic database functionality missing from MySQL (though always "coming soon") absolutely KILL it in any credible comparison.

    This is a dumb article, because what they're really saying is "These morons could have gotten by with Windows 95 and the ODBC dBase IV driver as their, err, relational database driver, so they used that instead of Oracle".

    1. Re:Why don't they use dBase IV... by Stinson · · Score: 1

      yeah, but some people dont need most of the crap that Oracle or MS throws in

    2. Re:Why don't they use dBase IV... by jbolden · · Score: 1

      I think you are wrong. I use Oracle on Solaris for serious databases.

      But I also do a lot of quick and dirty databases, something like: build in access in a few hours, it needs to support 1/2 dozen users at the same time so ODBC link out one or two variable tables in mysql, done.

    3. Re:Why don't they use dBase IV... by Anonymous Coward · · Score: 0
      PostgreSQL is a serious competitor, but MySQL is not. Everytime someone slobbers off about how MySQL is the greatest thing since sliced bread, what they really are doing is yelling "I AM IGNORANT! I AM A FOLLOWER!". I'm not kidding



      Perhaps you have no clue... neither mysql or postgresql are compeditors of large DB's... tell me how to perform a hotbackup on postgres, you must have only played with toy databases, as a real db must run 24/7.

    4. Re:Why don't they use dBase IV... by shoppa · · Score: 2
      This is a dumb article, because what they're really saying is "These morons could have gotten by with Windows 95 and the ODBC dBase IV driver as their, err, relational database driver, so they used that instead of Oracle".

      Most applications don't need relational abilities at all. Simple key-value databases like BerkeleyDB meet the needs of probably 99% of applications.

    5. Re:Why don't they use dBase IV... by vitus · · Score: 1

      There is interesting trend in modern IT when people
      use software full of features they don't need
      and don't ever bother to learn.

      To type one-page letter they use Word or OpenOffice.org, which have all the features of
      destkop publishing system. To keep couple of hundreds records they demand fullblown RDBMS.

      Popularity of mySQL means that people become more
      realistic. If they don't need RDBMS, they use mySQL. Even if it is not faster, it is simplier
      to understand.

    6. Re:Why don't they use dBase IV... by Misuta+Supakulo · · Score: 1
      It is you who demonstrate your cluelessness. Products are used for purposes. If a product can fulfill the purpose it is used for then it is a useful product. End of story.

      Your argument is equivalent to saying that compact cars are useless, that they cannot transport people from one place to another because they have no 4 wheel drive, no turbo charger, no chrome plated cup holders, no automatic headlight wipers, no 6 disc CD changer. Such an argument is, of course, patently idiotic. Whether a feature is necessary or unnecessary is determined by use, not by design. If a feature is not used then it is, by definition, unnecessary. Unused, nnecessary features do not make a product better. Comprende?

      Guess what smart guy, not every use of database functionality requires the utmost in database technology. MySQL does have many shortcomings in some areas as a database, but it also has many assets. There is a very large number of, as it turns out, very common database needs that do not require databases more sophisticated than MySQL. MySQL's robust basic feature set, good basic performance characteristics, and low TCO make it a perfect match for a nearly endless list of applications.

      No, using MySQL in a situation where MySQL is a perfectly suitable choice is not ignorant, it is common sense and good business sense besides. Using a product that is massive overkill and that is vastly more expensive when MySQL would have worked fine is, however, grossly ignorant and a display of very poor business sense.

      --

      --
      He lied to us through song. I hate when people do that!
    7. Re:Why don't they use dBase IV... by rand.srand() · · Score: 1

      My company has two database applications that drive it. One is a multimillion dollar Oracle Financials implementation that handles the billing, GL, and payroll interfaces. The other is a multithousand dollar in-house PHP/MySQL app that handles all the sales tracking, inventory, history, and reporting.

      Which database has more uptime? Faster response? Most flexible to our business needs?

      I have a hard time feeling "ignorant" or as a "follower" when the kind of success we've had takes place. We evaled several other databases (including running the app out of the Oracle database, PostgreSQL) but the MySQL option worked best.

      We walked in skeptics... we designed the app and schema around the limitations. After a year we built some consistancy checks that scanned the database content for problems, and that was the biggest waste of programming time so far on the project.

      Now, I'd never try to build a financials app using MySQL in its current incarnation. But when someone goes on about how MySQL is good for nothing, I have sit back and think about how a database that has driven the business for two years and hasn't had even a minute of unscheduled downtime in that time is at all flawed for the application we're using it.

    8. Re:Why don't they use dBase IV... by Anonymous Coward · · Score: 0
      I love how a theme started and then everyone was falling over themselves to state the same thing in a different way in a futile attempt at looking original.

      In any case, "smart guy", my specific point was that the article was dumb because it ISN'T supplanting Oracle where Oracle is generally used, but rather in the very low end that could be filled by dBase IV (hence, it's no different from saying "Company uses Microsoft Access instead of Oracle : Is Oracle doomed?????" (MS Access being out for many years before mySQL).

      Using a product that is massive overkill and that is vastly more expensive when MySQL would have worked fine is, however, grossly ignorant and a display of very poor business sense.


      You're a mortard. Nice job totally missing the point to show that you're a clueless mySQL cheerleader.
    9. Re:Why don't they use dBase IV... by Anonymous Coward · · Score: 0
      It is you who demonstrate your cluelessness. Products are used for purposes. If a product can fulfill the purpose it is used for then it is a useful product. End of story.
      You have provided the most convincing argument against Linux on the desktop I have ever heard. Linux may be slightly more stable, but its office productivity solutions and myriad of apps are so primitive compared to the Windows offerings, that no matter how open its source or how high its uptime, these features are not necessary and so do not make it a good product.
    10. Re:Why don't they use dBase IV... by Anonymous Coward · · Score: 0
      After a year we built some consistancy checks that scanned the database content for problems, and that was the biggest waste of programming time so far on the project.
      I hear your argument, and it sounds similar to this argument: "Why should I make backups. I haven't lost any data yet, so it would be a waste of time!"
    11. Re:Why don't they use dBase IV... by letxa2000 · · Score: 4, Insightful
      Everytime someone slobbers off about how MySQL is the greatest thing since sliced bread, what they really are doing is yelling "I AM IGNORANT! I AM A FOLLOWER!". I'm not kidding.

      You might not be kidding, but you also don't know what you're talking about.

      MySQL is the greatest thing since sliced bread for those that find that it DOES THE JOB. MySQL has done everything I need it to for my applications and does it fast. I run several websites using MySQL and it works great. I wouldn't even THINK of using SQL Server, Oracle, or any commercial software instead. In fact, the MyPhpAdmin intetrace is much BETTER than what I had to deal with when I worked with SQL Server 6.5--the last version of SQL Server I've had the misfortune to use.

      Many of the features that make the big commercial databases are bloat for many of us. I prefer not to use stored procedures--keep the data in the database and the program in the program. I don't like triggers, especially during the development process. I'd rather have a subroutine that does everything that needs to be done rather than rely on a database (and tie myself to it) to trigger certain actions. I'm not fond of database-enforced relationship constraints. I'd rather my code insert the right data than have the databse reject a transaction with an error because something went wrong.

      Sure, if you are Citibank and have a dozen offices around the country that all write their own scripts that modify the same data underneath then you might need stored procedures, triggers, and constraints to make sure no-one messes up the data. But for 95% of the database applications, stored procedures, triggers, and even constraints are bloat. If I can SELECT, INSERT, DELETE, and UPDATE, MySQL serves my needs.

      You also seem to be missing the point. The U.S. Government is already using MySQL successfully. It has never crashed (in the case cited by the article). Yahoo is already using it and is thinking about migrating the rest of the site to it. Last I checked, Yahoo is one of the highest-traffic site on the web. I don't think they'd make a decision like this without some real investigation. If MySQL is good enough to even be considered by Yahoo, it's definitely good enough for 99.9% of the websites out there--despite your well-informed, expert opinion. I personally believe Yahoo's decision has a little more weight than soem rant by an anonymous coward on Slashdot.

      Oracle and SQL Server might have their place on 0.1% of the databse applications out there. But, believe me, they aren't going to be able to run a profitable business on that 0.1% of the database market. And the rest of the market CAN consider MySQL. Or, in the case of your relgion, PostgreSQL.

    12. Re:Why don't they use dBase IV... by Misuta+Supakulo · · Score: 1

      What's your point? We're talking about MySQL. As it so happens I use Windows for my workstation machines. Because, in my experience, it is generally the best tool for the job.

      --

      --
      He lied to us through song. I hate when people do that!
    13. Re:Why don't they use dBase IV... by Misuta+Supakulo · · Score: 1
      You miss the point again. Most people who buy Oracle don't need Oracle. Yes, if MySQL was to try to compete with Oracle head-to-head in the small niche where Oracle is needed then MySQL would have no chance, because it doesn't meet the requirements of that niche. But that niche is enormously smaller than Oracle's market. Simply put, there are a lot of applications for which Oracle is used that would be just as well serviced by MySQL. And that is where MySQL can compete with Oracle.

      Additionally, I fail to see how seeking cost effective products that fit needs is ever "missing the point".

      --

      --
      He lied to us through song. I hate when people do that!
    14. Re:Why don't they use dBase IV... by bungo · · Score: 2

      MySQL is the greatest thing since sliced bread for those that find that it DOES THE JOB. MySQL has done everything I need it to for my applications and does it fast

      And perl too is fantastic, and I probably couldn't live without php, but what you're missing is that the one thing that MySQL, perl, php all have in common is that they are NOT enterprise level database management systems.

      Look, I'm not trying to flame you, and if you really want to understand more, then I'll be willing to answer your questions. It does appear that you're exactly like the person in the parent post to which you are replying.

      for 95% of the database applications, stored procedures, triggers, and even constraints are bloat. If I can SELECT, INSERT, DELETE, and UPDATE, MySQL serves my needs.

      to even be considered by Yahoo, it's definitely good enough for 99.9% of the websites out there--despite your well-informed, expert opinion


      I think I see the problem. You see, the majority of databases have existed before the web came to be. It may well be true that for web-based databases that MySQL if perfect, but it is not any good for critical data storage, which most web sites do not need.

      All of the things you think are bloat are realy needed to keep enterprise-level system running.

      Let me give you an idea of how it is used. Sitting just above me is a group of 200 programmers, they have been working one a single application for over 3 years. This also happens to have a web-interface for some elements, but mainly does batch processing on big IBM iron on DB2 databases. Now, with 200 programmers, there are quite a few different teams, and there is not a single person who knows exactly what everything does. The only way to maintain integrity of the system is to enforce some rules inside the database itself, so everytime an update or request for data is performed, certain checks are made. For exmaple, a person entering data using a web-based screen does not need to enter all of the same data and something coming in via a batch process, but the system has to make sure that the data from both sources are compatiable. This is where primary/foreign key constraints and thing like database triggers can be used. You make sure that all of the required data exists, and maybe perform some updates to automatically create something which is needed. Now, remember, the team developing the web interface probably don't even know who the people creating the batch processing interface even are.

      Oracle and SQL Server might have their place on 0.1% of the databse applications

      Do you really think that companies which need even 50 programmers for a project are going to be bothered about the cost of Oracle? People are far more expensive that the cost of the Oracle licenses.

      If you're interested, I can tell you more, but I hope you get the idea.

      cheers,

      --
      "The best part? I became an ordained minister while not wearing pants." -- CleverNickName
    15. Re:Why don't they use dBase IV... by letxa2000 · · Score: 1
      but what you're missing is that the one thing that MySQL, perl, php all have in common is that they are NOT enterprise level database management systems.

      That's EXACTLY the point. The point is that many of those that are currently "stuck" with buying enterprise level database systems don't need it. MySQL is perfect for them.

      Do you really think that companies which need even 50 programmers for a project are going to be bothered about the cost of Oracle? People are far more expensive that the cost of the Oracle licenses.

      Do you really think that 99% of the databases out there have 50 programmers working on them? Even 20? What about 10?

      The point isn't that Oracle et all don't have any use. The point is that many organizations that currently use Oracle and DON'T have a huge team of programmers probably COULD get by on MySQL. And those are exactly the companies that WILL be bothered by Oracle licenses.

      Again, Oracle, IBM, and Microsoft can't make money if they only sell their database to the 1% of organizations that NEED those features. These companies can only make a profit if their databases are sold to some portion of the remaining 99% that don't really need all the features but, until now, really haven't had much of an alternative--except maybe Access.

  5. GPL of MySQL 4 is big obstacle for non-OSS dev by News+for+nerds · · Score: 5, Insightful

    1.4.3.1 Using the MySQL Software Under a Commercial License
    (snip)
    When you link a program with code from the MySQL software or from GPL
    released clients and don't want the resulting product to be GPL, maybe because
    you want to build a commercial product or keep the added non-GPL code closed
    source for other reasons. When purchasing commercial licenses, you are not
    using the MySQL software under GPL even though it's the same code.

    -----

    This means you can't use libmysql in your closed source code.

    1. Re:GPL of MySQL 4 is big obstacle for non-OSS dev by jbolden · · Score: 1

      That's standard GPL. A non OSS user can use MySQL but if they want to change and distribute those changes they need to GPL it. Oracle doesn't let you change the Oracle code, same with SQL Server. How is that more restrictive than a closed source license?

    2. Re:GPL of MySQL 4 is big obstacle for non-OSS dev by An+Onerous+Coward · · Score: 1

      The copyright holder can release his code to different people under different terms. You can have it under the GPL, Fred can get it under the BSD, and for five thousand bucks, Alice can make a closed-source product based on it. This isn't a problem.

      The only question here is, "Who owns the copyright on the MySQL code?" Of course, it gets a little messy when you have thousands of potential developers.

      This is just a good way to make a profit in the open source world.

      Nothing more to see here, folks. Move along.

      --

      You want the truthiness? You can't handle the truthiness!

    3. Re:GPL of MySQL 4 is big obstacle for non-OSS dev by Anonymous Coward · · Score: 0

      what? Only if you plan to modify the MySQL code itself and then distribute the binaries. You can rewrite MySQL for your own use but who does that anyway? And the very snipit you posted states that you can get a non-GPL commercial license so you can use libmysql with a closed source project.

    4. Re:GPL of MySQL 4 is big obstacle for non-OSS dev by coene · · Score: 2

      To clarify, this is talking about using MySQL as a part of your program. If I make an executable, which links against MySQL's libraries (using MySQL4's new ability to become an "embedded" component in another executable), my program now must be GPL, that is unless I pay MySQL (company) to give me a different license.

  6. Not yet. by MissMyNewton · · Score: 3, Insightful

    If you have a need for the scalability, reliability, high-availability in Oracle (or similar), then MySQL isn't even a consideration.

    Maybe someday. But not today.

    --

    ---

    Information wants...you to shut your pie hole.

    1. Re:Not yet. by thogard · · Score: 1

      But most people don't need the scalability. I've got one small transcation system that uses flat files for its database. It only does about 100,000 transactions per day. So far we can account for 100% of the transactions over the last 3 years and while there are things that we had to check several logs, all the data is there where we can get to. I used to work for a large banking company that used Oracle and the reliability of the flat files is higher than Oracles.

    2. Re:Not yet. by curunir · · Score: 5, Insightful

      The irony here is that your very post is being stored in a MySQL database on a site that is pretty famous for its high-availability/reliability. /. has about a half million user accounts and is known for overwhelming other sites by simply linking to them. It seems to be working pretty well on this site.

      You might have had a point if you'd mentioned that Oracle was more flexible than MySQL. MySQL doesn't have all the features that Oracle has. But if MySQL has the features that are needed for a given project/implementation, then it is a valid option.

      --
      "Don't blame me, I voted for Kodos!"
    3. Re:Not yet. by Anonymous Coward · · Score: 0
      a site that is pretty famous for its high-availability/reliability
      Slashdot? HA? Same sentence? Bwahahahahahahaha. Come talk to us again when slashdot hits nine-nines of reliability. *When a single hour of downtime costs more than the GNP of some small countries, MySQL is bumwipe.*
    4. Re:Not yet. by Anonymous Coward · · Score: 0

      Thank god you cleared that up for me before I made
      the horrible mistake of downloading MySQL.
      Here I am at this startup company that is going to
      be just huge in a few years and it would of just been
      a disaster if I had set up our company's data storage
      usage mysql. Imagine my chagrin, when after becoming
      absolutely huge my company would have to transfer all
      our data to a real RDBMS like oracle or Microsoft
      SQL.
      That was sure close.

    5. Re:Not yet. by Anonymous Coward · · Score: 0

      Slashdot/mysql isn't famous for availability or reliability. Read the Faq. The slashdot cluster is 5 machines (plus 2 sql machines, 1 for current, 1 for archived), 3 of which serve static (cached) content. However, they have 4 FTEs devoted to mysql administration.

      They do have a lot of bandwidth (which prevents slashdotting), but that is unrelated to mysql.

      Incidently, the only reason mysql is used is that 5 years ago, it was the only free db. If postgresql had been more advanced, they would have gone with that. If they had venture financing, they would have used oracle or db2. You are aware that sourceforge is migrating to db2, aren't you? Slashdot is migrating too, albeit not until SLASH v 3.0 (9-12 months from now)

    6. Re:Not yet. by Anonymous Coward · · Score: 0

      Here's a feature I would like mysql to support: multiple dml access to the same table without a table lock!

  7. Quoteth by Anonymous Coward · · Score: 0
    Oracle and IBM have embraced Linux in part because it offers a challenge to Microsoft, the world's largest software maker, whose Windows operating system runs more than 90 percent of the world's personal computers. All three companies pooh-pooh open- source databases.

    I'm sorry. I can't take any article that uses "pooh pooh" as a verb seriously. Masterful use of the english language. The spacing error is theirs too. Nice touch.

    1. Re:Quoteth by Anonymous Coward · · Score: 0

      I'm sorry. I can't take any article that uses "pooh pooh" as a verb seriously. Masterful use of the english language. If you are going to rip somebody's word usage, you should at least check your own comment for sentence fragments. Poor writing. Not thinking it through. :)

  8. Good, and good riddence. by infonography · · Score: 1

    Now, big DB companies are not going anywhere soon. It will be nice to see them sweat.

    --
    Sorry about the writing. Robot fingers, you know? Cliff Steele in DOOM PATROL #23
    1. Re:Good, and good riddence. by Anonymous Coward · · Score: 0

      It will be nice to see them sweat.

      It depends on who you hate more. The only way Oracle will sweat is if MS ports SQL Server to *nix.

  9. hasn't crashed yet by Alien54 · · Score: 3, Interesting
    The U.S. Census Bureau opted for MySQL two years ago to run its MapStats Web site, which allows people to look up data such as population, income and crime rates for different states and counties. Instead of spending $80,000 on database software and support, the agency used MySQL for free, said Rachael LaPorte Taylor, a computer engineer at the Census Bureau.

    ``We've spoken with other agencies about our open-source projects,'' she said. ``People first get interested after hearing about the budget savings.''

    MapStats hasn't crashed since it was created, she said.

    not bad for a low end peace of fluff.

    --
    "It is a greater offense to steal men's labor, than their clothes"
    1. Re:hasn't crashed yet by Anonymous Coward · · Score: 0

      of course they didnt mention that MapStats has not been turned on yet either.

    2. Re:hasn't crashed yet by ergo98 · · Score: 1

      MapStats


      Mind you, feeding a bunch of data into a read only system to be queried in a high deterministic way is hardly a real demanding task for a database system: As mentioned somewhere else -> They could have used dbase IV and ODBC for that, or IIS 4 + Microsoft Access.

    3. Re:hasn't crashed yet by TheTomcat · · Score: 3, Insightful

      Mind you, feeding a bunch of data into a read only system to be queried in a high deterministic way is hardly a real demanding task for a database system

      Maybe it's not "demanding" from a RDBMS point of view, but that's what almost all sites do -- read data from a database, and MySQL fits this niche perfectly.

      S

    4. Re:hasn't crashed yet by miratrix · · Score: 4, Insightful

      You have to remember that this is the kind of thing that MySQL is designed for. Lots and lots of SELECTs, almost no INSERT or UPDATEs.

    5. Re:hasn't crashed yet by Nameles · · Score: 1

      Then you have messageboards that write to it constantly, eating up processor cycles.

    6. Re:hasn't crashed yet by thogard · · Score: 1

      INN makes a much better database for message boards than MySQL ever will. Considering there are places where it deals with a few million posts a day, it leaves the slash code in the dust. Its also open source and has lower overhead that mysql.

    7. Re:hasn't crashed yet by Malcontent · · Score: 2

      What the hell is INN?

      --

      War is necrophilia.

    8. Re:hasn't crashed yet by LinuxGeek · · Score: 1

      INN == InterNetNews, think Usenet server. That is a true definition of high volume serving.

      --

      Kindness is the language which the deaf can hear and the blind can see. - Mark Twain
    9. Re:hasn't crashed yet by Anonymous Coward · · Score: 0

      Lots and lots of very simple SELECTS, yeah... ;-)

    10. Re:hasn't crashed yet by Nameles · · Score: 1

      Too bad all the boards I would think ing using are written for using MySQL.

      (They happen to be vBulletin and Acmlm boards. Google for 'em)

    11. Re:hasn't crashed yet by Anonymous Coward · · Score: 0

      too bad your too clueless to throw together the 200 lines of perl or php or whatever it takes to build a news readers.

    12. Re:hasn't crashed yet by Anonymous Coward · · Score: 0

      vBulletin developers have admitted MySQL's limitations and have begun actively porting to other RDBMS, specifically Sybase and Postgresql.

    13. Re:hasn't crashed yet by FattMattP · · Score: 2
      You have to remember that this is the kind of thing that MySQL is designed for. Lots and lots of SELECTs, almost no INSERT or UPDATEs.
      Isn't that what LDAP is for? Databases that are ready often but seldom written to?
      --
      Prevent email address forgery. Publish SPF records for y
    14. Re:hasn't crashed yet by LinuxGeek · · Score: 1

      Too bad you don't seem to know the difference between usenet and a bulletin board. Use what you can comprehend, that keeps things simple.

      --

      Kindness is the language which the deaf can hear and the blind can see. - Mark Twain
    15. Re:hasn't crashed yet by Nameles · · Score: 1

      Yes, but I had a year vB lisence that I got from a friend, and I don't have the $160 or whatever to dump out for it. Yeah, I still have the zip, and access to an account, but I like to play fair sometimes.

    16. Re:hasn't crashed yet by Nameles · · Score: 1

      I know the difference. People that go to my boards and that have boards I go to aren't. I have non-geek friends.

      Plus, I'd still have to get a usenet server, or how the fuck ever you get your own alt.what.the.fuck.ever.usenet.board

  10. Tomorrow's top story on MSNBC by inkswamp · · Score: 2, Flamebait

    "MySQL: The Communist Threat."

    --
    --Rick "If it isn't broken, take it apart and find out why."
    1. Re:Tomorrow's top story on MSNBC by bankman · · Score: 2, Funny

      Come on, get out of the fifties and sixties: They are called terrorists now.

      --
      I feel so sig.
    2. Re:Tomorrow's top story on MSNBC by Anonymous Coward · · Score: 0

      And here, I thought they were now called:

      Trotskyites
      Marxist-Leninists
      Socialists
      Marx ists
      Leninites
      Greenies
      Environmentalists
      Stud ent union councils
      Monster Raving Loonies

      (Among countless others)

    3. Re:Tomorrow's top story on MSNBC by Anonymous Coward · · Score: 1, Funny

      And here, I thought they were now called:
      Trotskyites
      Marxist-Leninists
      [...]
      Mo nster Raving Loonies


      You forgot "Europeans."

    4. Re:Tomorrow's top story on MSNBC by Anonymous Coward · · Score: 0

      You forgot Pablum Puking Liberals such as Alec Baldwin (did he leave the country yet?), Streisand, Julia Roberts, Fattie O'Donnell, Sigugly Beaver, and other cockroaches.

  11. Still couple of years away... by miratrix · · Score: 2, Insightful

    As the report says, it will take couple of more years before the database vendors will be fearful of MySQL or PostgreSQL.

    MySQL, in particular, is missing quite a bit of essential functionality like views and stored procedures that - this is the key - makes it more difficult for other applications to use it as one of the data sources. A lot of enterprise products supports one or more of these expensive databases, and unless those enterprise software are changed to use PostgreSQL or MySQL as the database for it, the big db companies will still have years of guaranteed revenue.

    They may be able to take away some of the lower end market, but until the time when likes of SAP and OpenText supports MySQL and PostgreSQL as well as Oracle and DB2, I don't think the db companies will seriously be challenged.

    1. Re:Still couple of years away... by Anonymous Coward · · Score: 0

      I thought mysql offered some sort of way to use perl to create stored proceedures?

    2. Re:Still couple of years away... by Jack9 · · Score: 2, Insightful

      Stored procedures and views have been added to databases and marketed as part of them but are not really functions of a pure database. IMHO, views and stored procedures amount to short scripts, and were added to companies making databases at the right time (pre-boom) to make a new class of database that was term'd Enterprise but realy just meant hybrid DB engines with scripting support. MySQL does lack features that any database should have but citing stored procedures and views is a smack in the face of databases in general. If you are going to be worried about making sure everyone uses terms correctly (hacker/cracker/whatever) at least have a concensus on what an ideal database is before we can adequately compare the utility of MySQL versus Oracle (as an example).

      --

      Often wrong but never in doubt.
      I am Jack9.
      Everyone knows me.
    3. Re:Still couple of years away... by ergo98 · · Score: 4, Interesting

      IMHO, views and stored procedures amount to short scripts, and were added to companies making databases at the right time (pre-boom) to make a new class of database that was term'd Enterprise but realy just meant hybrid DB engines with scripting support.


      Well, we are talking about relational database management systems, not a "database file". An RDBMS is the middleware between you and the database file, and facilitates crazy, insane features like concurrency control, transactional control, and most importantly security. Both views and stored procedures are very important facets of security in any modern RDBMS as they allow you to hide the internals of your database, and to only provide applications the ability to have certain constrained "I/O windows" into your database (hell, my normal design norm is to only allow interactions with stored procs, which themselves only operate through constrained views). There is nothing gimmicky about these features, and they are crucial for an "enterprise" system.

    4. Re:Still couple of years away... by Jack9 · · Score: 1

      And while this is a widely accepted practice and considered necessary because of circular dependence (application developers assume "Enterprise databases" will use features, so they include them), this is not necessarily good design. It's convenient. A database without (we'll say a view layer for simplicity) a view layer is a better product because it's specialized; reduced cost, smaller codebase to maintain, etc etc. Hell, if someone came wanted to code a (well designed...yadda yadaa) view layer for MySQL in C++, dont you think that's a saner way to go?

      --

      Often wrong but never in doubt.
      I am Jack9.
      Everyone knows me.
    5. Re:Still couple of years away... by johnnyb · · Score: 3, Interesting

      I don't see why more people don't list SAP-DB with MySQL and PostgreSQL. It _is_ GPL, as well, it supports the SAP applications. It's a pretty good DB system. It's strange that it doesn't get the coverage it deservers.

    6. Re:Still couple of years away... by woogieoogieboogie · · Score: 1
      Both views and stored procedures are very important facets of security in any modern RDBMS as they allow you to hide the internals of your database, and to only provide applications the ability to have certain constrained "I/O windows" into your database

      Security and stored procedures should never be used in the same sentence, especially when used in web based applications. If anyone gets into hat DB even as a user, they can toast your DB by running your SP's. For web based applicatiosn, youa re always better off placing your code in a class or componant. For example in PHP you can check both the referring URL and the script name and a global var in the calling script before allowing any DB access to occur. That gives you three additional layers of security above that of the DB and webserver security

      --
      ... Governments are instituted among Men, deriving their just Powers from the Consent of the Governed...
    7. Re:Still couple of years away... by ergo98 · · Score: 2, Insightful

      Security and stored procedures should never be used in the same sentence, especially when used in web based applications

      I could not disagree with this more.

      If anyone gets into hat DB even as a user, they can toast your DB by running your SP's.

      Yet, ironically, most "component middleware" security advocates have to basically completely open up their database, and then they implement hacked in security systems in the middleware. Of course this means that the database, by design, is completely open to every developer (which is a huge no-no in real team development), and is open for giant faults when each individual developer misinterprets, or creates an adhoc SQL string appended user supplied criteria, etc.

      For example in PHP you can check both the referring URL and the script name and a global var in the calling script before allowing any DB access to occur. That gives you three additional layers of security above that of the DB and webserver security

      Sure, that's fine and dandy, and of course because that's the domain of that area, then it makes sense (just as it makes sense for a firewall to be responsible for barring non-HTTP). However, having said that, the only security that should be in a component is ancillary security: Any well designed database should be entirely accessible to the end user without them being able to do ANYTHING they can't do via the web interface anyways.

    8. Re:Still couple of years away... by Tony-A · · Score: 3, Insightful

      Methinks you're onto something with the idea of circular dependence. Views can ameliorate the effects of bad database design. Whether or not this is a good idea depends. Hiding implementation details can be good, but. Hiding soil conditions from architects does not make for good skyscrapers. IMNSHO MySQL does an excellent job of picking the right point of abstracting. Solving business logic within the database seems like it could get counterproductive in a hurry.

    9. Re:Still couple of years away... by ergo98 · · Score: 1

      Solving business logic within the database seems like it could get counterproductive in a hurry.


      Yet this is exactly the opposite direction that most database designers are taking (and I definitely agree with them): Oracle lets your stored procedures include complex Java functions, and SQL Server is adding the .NET runtime within stored procedures. Why? Because it is appropriate and proper to black box the database from the front end developers. It isn't hiding the soil conditions from the architect, but rather it's stopping the architect from fiddling in the steel mill because he considers himself an expert amateur metallurgist.

    10. Re:Still couple of years away... by Anonymous Coward · · Score: 0

      "MySQL, in particular, is missing quite a bit of essential functionality like views and stored procedures that - this is the key - makes it more difficult for other applications to use it as one of the data sources."

      So basically your a lazy son of a bitch, maybe if you would just take the time to learn how to query the damn database, you would not be complaining. I'm sorry but not every development project is going to do all the thinking for you. Microsoft is notorious at making decisions for you, and IBM is no better. Ooooohhh, views and stored procedures, I need them so bad, its called code you moron. CODE.

    11. Re:Still couple of years away... by Jack9 · · Score: 1
      Any well designed database should be entirely accessible to the end user without them being able to do ANYTHING they can't do via the web interface anyways.

      This is where I fundamentally disagree. Databases should not be concerned with security any more than they should be concerned with spellchecking. All databases I know of have access restriction which is appropriate...even webservers have access restriction. Whether or not I have the ability to execute a certain TYPE of query should be in there...yes this means you would often have to DUPLICATE data/structures across "accounts", but that would create an unmanageable amount of extra work with todays tools which do not account for this type of design, but rather are all geared toward the "view" design. What I'm really asking is if there a serious logical flaw or angle I'm missing in my perceptions?
      --

      Often wrong but never in doubt.
      I am Jack9.
      Everyone knows me.
  12. subqueries by terradyn · · Score: 1

    now if only MySQL would finish adding subquery support, I'd be a happy man.

    1. Re:subqueries by Tony+Hoyle · · Score: 1

      ...the ability to delete columns would be nice too.

    2. Re:subqueries by perlyking · · Score: 2

      You can delete columns.

      --
      no sig.
    3. Re:subqueries by Matt+-+Duke+'05 · · Score: 1

      "ALTER TABLE tablename DROP columnname;" seems to work fine for me.

      --
      -Matt
      Duke '05
  13. Still Some Roads to Conquer by Scotch+Game · · Score: 5, Insightful

    I love MySQL, love the speed, the accessibility, the ease of deployment and its suitability for small and medium-sized projects. I'm an advocate.

    But -- it can be a tough sell to the big fish.

    I was hired by a Fortune 500 financial services and real estate company to do an internal project that really was not challenging development. Essentially, the requirements boiled down to a very hobbled version of Slashcode. I bid the project at X dollars, spec-ing PHP and MySQL, figuring that I was going a bit high for the actual hours involved and that I would make a nice roll of dough if they accepted. But I still knew that given the sheer size of the company, that my bid would be considered a bargain, if not a lowball.

    What threw it? MySQL and PHP. What are they? (WHAT ARE THEY?!?!?!) Well, we're going to have to get through Standards and Compliance, issue an exception, and well, we'll see, we just don't know. Okay, said I, I'll do it for four times the cost and implement it entirely from scratch using ASP and SQL Server.

    Great! Sold. Damn. And you have to understand I really TRIED. I wrote two papers, directed them to a bunch of links ... Nope. ASP and SQL Server. I cried my way to the bank.

    I believe inroads will continue to be made for open source. I have faith. But I think there's still some time and a lot of tireless advocacy to come ...

    1. Re:Still Some Roads to Conquer by Dionysus · · Score: 1

      Why didn't you push Borland Interbase instead? It's opensource (should satisify you), and commercial support (should satisfy your customers).

      --
      Je ne parle pas francais.
    2. Re:Still Some Roads to Conquer by Anonymous Coward · · Score: 0

      tl,dr

    3. Re:Still Some Roads to Conquer by Anonymous Coward · · Score: 0

      Corporate America is choking on licensing costs. Software projects are getting scrapped for no other reason. There is a serious place for MySql & Postgres as at least develepment databases.

      If developers stick to SQL 2/3 standards and don't get cared away writting proprietary SQL like Sql Server, Sybase or Oracle(SQL PLUS) stored procedures then MySql can impower a company by commodizing the Database. If one is using lets say Perl/Mod_Perl does one really need all the fancy Proprietary Stored procedure crap that locks one into a single database vendor.

      If one is smart you can avoid these traps.
      If Oracle wants to play hardball with the licensing then you can tell them to stuff it.
      At worst one could develop the software using PERL DBI and then if necessary port to a production environment using MySql or Postgres

      I think it is funny how companies who can not afford to support a decent I.S. infrastructure can blow a huge part of their buget on expensive license. Better bleed cash to Oracle/Microsoft than have the extra DBA, Data Architect, Unix Admin, Senior Developer.

    4. Re:Still Some Roads to Conquer by >:^D · · Score: 1

      You're smart. For real.

    5. Re:Still Some Roads to Conquer by Anonymous Coward · · Score: 0

      go back to gbs

    6. Re:Still Some Roads to Conquer by Anonymous Coward · · Score: 0

      (I love seeing some of my fellow DBAs posting anonymously... and yes, I'm doing the same)

      Yes, there is room. For MySQL, sure... for development. I wouldn't put my employee-of-the-month system on it, since it's a Production Application. Transactions are necessary. Even for something as mundane as a EOM system. But I'm keeping my eyes open, and continually investigate what's entailed in moving over.

      But yes, keep stored procedures in pure SQL-92 - if you can. There are some places where you can do it, and just mention in the comments if you don't use it there- it'll make it easier to search for if you ever have to move over. But there are places where it's just a bitch to do it that way. I'll be honest - yes, I use tablevars instead of temp tables, because of the speed boost. Cursors, while a nightmare, are occasionally the only way to solve a problem. There are a few others. And while this may be sounding negative, it's not. 90-95% of my code is SQL-92.

      (oh, and even anonymously, I do not speak for my employer)

    7. Re:Still Some Roads to Conquer by decefett · · Score: 2

      If transactions are all that's holding you back you really need to checkout PostgreSQL.

      Nowhere near as many fanboys as MySQL but it has transactions and a whole lot more.

      --
      Australian? Join EFA
    8. Re:Still Some Roads to Conquer by Malcontent · · Score: 2

      Yes but apache, php, mysql all run on windows too. That's the cool thing about using open source they try real hard not to lock you into an operating system. Choose an MS solution and you are stuck with MS and windows.

      --

      War is necrophilia.

    9. Re:Still Some Roads to Conquer by loz · · Score: 2, Insightful
      which was a wise decision by that company. I hope you learned to LISTEN en be EMPATHETIC to your customer. you should've known upfront they would never go for the PHP and MySQL solution.


      had they gone with your solution they'd most probably have to permanently hire one person to support the MySQL database, and maybe permanently hire one person to support the PHP stuff.


      and that's probably ten times the cost than the cost they've now made.



      loz

    10. Re:Still Some Roads to Conquer by a_n_d_e_r_s · · Score: 1

      Why ? MyAQL has transaction.

      --
      Just saying it like it are.
    11. Re:Still Some Roads to Conquer by Bilibala · · Score: 1

      I have some clients which I initially made created programs running VB + MS Access...simple great, however the company expanded and now they're complaining about DB speed. I thought great, this client heard about linux, knows about the cost of M$ solutions (server, license, MS Sql ...etc) and tried it out. Basically I'll get blamed for it if it doesn't work... so here I am trying to convert a VB app into a VB client, postgres DB app...so far so good... the reports are running at least 5 times faster, db retrieval is more powerful and without the MS Access DB corruption, easier to automatically backup... and you know what they saved a lot of money instead of using MS Sql/Win solution... win-win situation, they paid less, and I made more $ : )

      --
      do not in anyway underestimate anybody, especially yourself
    12. Re:Still Some Roads to Conquer by Anonymous Coward · · Score: 0

      Crying your way to the bank is just another cute phrase for actually meaning "I'm a corporate whore and I love it". I would have done the same thing however.

    13. Re:Still Some Roads to Conquer by Chanc_Gorkon · · Score: 2

      Yes..and their ports are bad. Wait wait before you flame me, hear me out. I have an app that can run on windows and UNIX (AIX in particular, but it can run on any UNIX). It started on UNIX. I run the main server now on UNIX and I access it via a GUI client. That GUI client is a bitch and a half if you don't have any experience with it. It does not act like any windows app I have ever used. Why? It started on UNIX. They pretty much chose their own way of having it act (since there's not much in standards with GUI on UNIX...unless you count CDE). The way they chose is so not Windows like it's hard to believe your running it on Windows. This is the main problem with saying that you can run some of this stuff like windows. Sure, some folks like Mozilla get it right (Windows install package, nothing too strange in interface). Some are weird. Some, like the cygwin tools you just decompress into a folder. If it's one like cygwin, you can just delete the folder. Others dump crap all over the place. My point, if your doing a port, there is nothing wrong making some things the same. But for gods sake make the thing act like a Windows app.

      Personally, I realize Open Source is not a panacea. Someone has to support it after you take your money and run. If it's not well documented, and well known stuff(by more then open source folks), then it's not going to happen. That company is going to have to hire a consultant to fix things if they need to add things to it and there are more people who know Oracle, SQL and DB2 then MySQL. PLus it's not always about how the app acts either. Backing things up is important. If there's no database module for TSM, or whatever other backup stuff you use, well, it can be difficult. That's why this guys client did not choose that solution. Not that they possibly did not know about it, it maybe that they don't trust it yet. Trust is a good thing, even if it sound illogical to you, the geek.

      --

      Gorkman

    14. Re:Still Some Roads to Conquer by samael · · Score: 3, Insightful

      And choose PHP+MySQL, and who is going to look after it when you go?

      If I already have 5 SQL databases, I can deal with it with one admin. Add a MySQL database and a PostgreSQL database and an Oralce database and suddenly you need a specialist in each one.

    15. Re:Still Some Roads to Conquer by madprof · · Score: 1

      Great. Now can it have all the other missing features?

    16. Re:Still Some Roads to Conquer by joshv · · Score: 2

      What threw it? MySQL and PHP. What are they? (WHAT ARE THEY?!?!?!) Well, we're going to have to get through Standards and Compliance, issue an exception, and well, we'll see, we just don't know. Okay, said I, I'll do it for four times the cost and implement it entirely from scratch using ASP and SQL Server.

      Why the hell would using MySQL and ASP cost you anything more? Typically most large corporations have site licenses for the Microsoft products already, so using ASP/SQL server is not going to cost you anything extra. And ASP/SQL Server are not more complex to use than PHP/MySQL - especially for a simple site, the amount of development work involved should be roughly equivalent.

      -josh

    17. Re:Still Some Roads to Conquer by Anonymous Coward · · Score: 0
      If I already have 5 SQL databases, I can deal with it with one admin. Add a MySQL database and a PostgreSQL database and an Oralce database and suddenly you need a specialist in each one.

      You mean a DBA who does both Oracle and PostgreSQL couldn't possibly deal with MySQL too? Come on.

    18. Re:Still Some Roads to Conquer by thing12 · · Score: 2
      Why the hell would using MySQL (you meant SQL Server right?) and ASP cost you anything more?

      It's likely that he would have save huge amounts of time by using the immense open source codebase available for a MySQL/PHP solution. If all he wants is a hobbled version of Slashcode, then he would only have had to take PHPNuke and strip it down.

      SQL Server/ASP would mean writing everything from scratch, like he said. So it's probably not the cost of the tools -- just the time to implement.

    19. Re:Still Some Roads to Conquer by Tablizer · · Score: 2

      This is kinda the same mentality that alot of the newsmagazine style shows promote. Journalist: "So, can you explain to me why the hammers used on board the new navy ships cost on average $1500 a piece?" Response: "Well, you see we had to invent it, from scratch, to float in the case of flood, not to make a metallic sound when pounding a nail, to be extremely strong. and also to double as other tools in a pinch.. it took years and lots of hardwo..." Journalist: "But, it looks just like a hammer I can buy for $15 at the local store! You are wasting tax money, arent you? Who stole the money, where is it??"

      Everytime I hear this story it changes. It used to be that the hammers could be ran over by a tank without bending and could survive explosions.

    20. Re:Still Some Roads to Conquer by Malcontent · · Score: 1, Flamebait

      remember he is a windows DBA. He probably has an MSCE and is therefore an idiot.

      --

      War is necrophilia.

    21. Re:Still Some Roads to Conquer by Herkum01 · · Score: 1

      If I already have 5 SQL databases, I can deal with it with one admin. Add a MySQL database and a PostgreSQL database and an Oralce database and suddenly you need a specialist in each one.

      Just like a garage that has one mechanic for Fords', anothrt for Chevrolets' and a third for Toyotas'.

      Somehow management just does not understand what portable job skills are.

    22. Re:Still Some Roads to Conquer by samael · · Score: 2

      Oh, I'm sure that some skills are transferrable from SQL Server admin to MySQL admin, but it's still a lot easier to manage 5 servers of one kind than it is to manage 2 servers of different kind.

    23. Re:Still Some Roads to Conquer by Malcontent · · Score: 3, Interesting

      " Yes..and their ports are bad. "

      Pure unadultrated bullshit. Maybe next time you won't have to rely on lying to make a point. The ports of apache, php and mysql on windows are fantastic.

      "If it's not well documented, and well known stuff(by more then open source folks), then it's not going to happen."

      The apache, php, and mysql documentation is top notch. What do you find so objectionable about them? The php documentation is particularly awsome. As for well known let me present you with a few facts.

      PHP is more popular then ASP. More people know php then ASP. It is also easier to learn then VB.

      Apache is more popular then IIS. More people know apache then IIS.

      Mysql is one of the most widely used databases in the world. The primary reason for that is the ease of use and maintenance. More people know mysql administration then MS sql or oracle. On top of that any DBA worth two cents can pick up mysql in a day.

      "That company is going to have to hire a consultant to fix things if they need to add things to it "

      I suppose when things break in oracle or ms sql the programs automatically fix themselves.

      " Backing things up is important."

      Both mysql and postgres offer live backup and replication.

      --

      War is necrophilia.

    24. Re:Still Some Roads to Conquer by seichert · · Score: 1

      Standardization has a lot of benefits. Operational efficiency is one of them. However, once your standard (over priced over-kill commercial software, is costing you more than lost efficiency it is time to find a new standard. As for expensive government hammers and nails, most of that price is a political reward for a campaign contribution.

      --

      Stuart Eichert

    25. Re:Still Some Roads to Conquer by Chanc_Gorkon · · Score: 2

      Pure unadultrated bullshit. Maybe next time you won't have to rely on lying to make a point. The ports of apache, php and mysql on windows are fantastic.

      Fantastic to who? A Windows guy is not going to think Apache is fantastic. Are there Windows dialogs to configure things? Is it a Windows application? Does it follow Windows standards of interface? I didn't think so. Interface IS important. Maybe this is why MySQL isn't as popular for database(for things other then a website)? Also, PHP more popular then ASP? Possibly. But name anyone who makes money running a huge website (Slashdot excluded, they don't make money) with MySQL. There may be some, but anyone who is doing serious business isn't going to be using MySQL. Fantastic is such a subjective word. Let's just say they are good.

      The apache, php, and mysql documentation is top notch. What do you find so objectionable about them? The php documentation is particularly awsome. As for well known let me present you with a few facts.

      Again, top notch as to who?? If someone trying to learn Apache, MySQL and PHP are trying to learn it using just the documentation, well, good luck. I could understand it, but I have been doing it for a while. If it was so good, well, how come there are a ton of books on those subjects? I know, there are alot of books on Oracle too. Well, that's because ever Oracle docment I have ever read has sucked.

      HOW MANY websites use PHP? HOW MANY WEBSITES use MySQL? Also websites are a small part of everything there is to do in a company. You aren't going to install a new database just to run a website when you already have one.

      I suppose when things break in oracle or ms sql the programs automatically fix themselves.

      No they don't. But there ARE alot of people who know Oracle. Probably more then know MySQL. I am sorry, but Oracle has been around a while....a lot longer then 1995! I like open source, but only cuz I am a cheap bastard. If I can afford the best tools, THATS WHAT I USE! The best tool for the best job. Sure....we may not need all of the features of Oracle. Someday we will.

      The big thing that I feel is hurting Open Source more than anything is that people ASSUME that the reader of the documentation already has either used it or something similar. This isn't always true. Good documentation should make it not near as necessary to go buy a book first. Look I am not saying write documentation that idiots can understand, but at least make them understandable to mear mortals. Don't you remember what it was first like for you to learn these things? I guess you were just born self knowledgeable in everything dealing with computers. If Open Source wants to succed, they should concentrate on creating users from people who have never learned Windows. It's harder to change people then to teach them about it from the start.

      --

      Gorkman

    26. Re:Still Some Roads to Conquer by Anonymous Coward · · Score: 0

      go back to SA

    27. Re:Still Some Roads to Conquer by Electrum · · Score: 3, Insightful

      Maybe this is why MySQL isn't as popular for database(for things other then a website)?

      If you are a real DBA, then having to use a SQL console or command line tools to administrate a database shouldn't be a problem. If you need to point and click to make a backup or create tables because SQL is too hard, then there is no way you can be a DBA. Besides, there is a good web based GUI, phpMyAdmin, that lets you do most things without knowing everything about SQL. There are also GUI interfaces to MySQL.

      Also, PHP more popular then ASP? Possibly. But name anyone who makes money running a huge website (Slashdot excluded, they don't make money) with MySQL. There may be some, but anyone who is doing serious business isn't going to be using MySQL.

      That's complete FUD. Say, do you work for Microsoft or Oracle? I can say first hand that directNIC.com uses MySQL for everything. They are a very popular domain registrar (sold over half a million domains) and are certainly making money. Many other companies use MySQL and not just for running websites. You should rethink your myths.

      Fantastic is such a subjective word. Let's just say they are good.

      Apache is obviously not fantastic (see my previous posts for why I think that), but it works well for many people. PHP is a good and I personally really enjoy using it, but I certainly wouldn't call it fantastic, mainly due to its quirks and because the developers refuse to fix certain bugs. MySQL is fantastic. It is easy to use and does what it is designed to do very well.
    28. Re:Still Some Roads to Conquer by Malcontent · · Score: 2

      "A Windows guy is not going to think Apache is fantastic"

      It's true that most windows users are idiots. Windows is written for idiots and appeals to idiots. Most people who run web sites however are smarter then your average windows idiot luser. For them it's just as easy to open up a text file and type something. That goes double for developing a database backed web site using a programming language.

      "But name anyone who makes money running a huge website (Slashdot excluded, they don't make money) with MySQL. There may be some, but anyone who is doing serious business isn't going to be using MySQL."

      This is where you could not be more wrong. There are a ton of web sites running php and mysql but most of the time it's impossible to tell which database is being used behind the php web site. Just last week I ordered something from insight.com (a massive php site) and while I was looking for IDS systems I noticed that the people who make realsecure are running php. COnsidering that insight makes a ton of money and that realsecure costs over $90,000.00 They are probably making some money too.

      "If someone trying to learn Apache, MySQL and PHP are trying to learn it using just the documentation, well, good luck. I could understand it, but I have been doing it for a while. If it was so good, well, how come there are a ton of books on those subjects?"

      If you can not learn how to use php from their documentation then you are simply too stupid to live. It's clearly written, it is generously annotated and explained and contains lots of examples. Same with apache and mysql. As for the books you are grasping at straws there I am afraid. Go to Barnes and noble and count the number of books on VB or C# or ASP and compare that number with books on php.

      "No they don't. But there ARE alot of people who know Oracle. Probably more then know MySQL."

      THis is also a big fat lie. The reason Oracle DBAs cost a lot of money is because they are rare and oracle is extrememly difficult to install, configure and run. I bet the ratio of people who can install, configure and run mysql to oracle DBAs is at least ten to one. I can go download a windows installer for mysql and download mysql front and be up and running in an hour. Do that with oracle!

      --

      War is necrophilia.

    29. Re:Still Some Roads to Conquer by sql*kitten · · Score: 2

      It's true that most windows users are idiots. Windows is written for idiots and appeals to idiots. Most people who run web sites however are smarter then your average windows idiot luser.

      Ah, you are making the classical geek mistake of assuming that people who don't share your particular narrow technical specialty are idiots.

      Let me give you an example. You ever watch TV? Are you an idiot because you don't know at least one of: UHF electronics, electricity generation, orbital mechanics, injection moulding, copper mining or driving a forklift truck in a warehouse? Because all of those skills are needed before you can watch TV.

      No, I'd say it is far more idiotic to adopt a Linux-uber-alles attitude and not consider that there are many, many things that modern Windows does very well indeed.

      The reason Oracle DBAs cost a lot of money is because they are rare and oracle is extrememly difficult to install, configure and run.

      The reason we are expensive is because we can do things that MySQL admins can't even imagine.

    30. Re:Still Some Roads to Conquer by WeedMonkey · · Score: 1

      It used to be that the hammers could be ran over by a tank without bending and could survive explosions. Well, that wasn't in the spec. It's probably just something marketing made up for an advert.

    31. Re:Still Some Roads to Conquer by Anonymous Coward · · Score: 0

      too long, didn't read

    32. Re:Still Some Roads to Conquer by deriv676 · · Score: 1

      And if I have 5 MySql's and i suddenly get one Oracle and one Db2 i need 2 new admins. It's the same problem.

    33. Re:Still Some Roads to Conquer by samael · · Score: 2

      Oh, absolutely. I'm not saying "Standardise on the big boys", I'm just saying that standardising has definite advantages.

    34. Re:Still Some Roads to Conquer by babbage · · Score: 2
      But name anyone who makes money running a huge website (Slashdot excluded, they don't make money) with MySQL

      At Boston.com, MySQL and other open source technologies are used extensively, both for our live site and for back end infrastructure. I, for one, am not worried about the company going out of business any time soon. In addition, we run third party software, both open source & proprietary, that is able to effectively use MySQL as a storage mechanism (in addition to Oracle, which we'd rather not shell out that much money for thankyouverymuch). And in the future we'll be making use of Zope -- open source, Python based content management software -- for much or all public web content.

      I mean, you're kinda right to point out that a lot of people like pointy clicky Windows-ness in their software, and that's fine. But there are other ways to go about this, and those other ways can be *much* cheaper and *much* more trustworthy, if not being beholden to vendor control of buggy source code is an issue to you (and it should be). Even paying support contracts to some of the organizations supporting open source software you can still come out way ahead in your business expenses, *and* you have more control over what the software is doing, which itself is priceless.

      You aren't going to install a new database just to run a website when you already have one.

      Well that depends, doesn't it? What if the security risk of exposing your corporate database is a higher cost than you'd rather bear? Wouldn't it make more sense to have a deployment tier of cheap, expendable LAMP [ Linux / Apache / Mysql/PostgreSQL / Perl/Python/PHP ] servers sitting between your safe little intranet and the big, scary world out there? What if your big expensive mainframe database systems were set up a decade or more before it occurred to anyone that this stuff ought to be globally accessible over thw web? Again, wouldn't it be easier & safer to put up a cheap proxy tier that is designed to work well over the web rather than screwing around with the old internal system?

      Again, I don't want to seem like I'm just trying to shoot down your argument. Your concerns are valid -- open source is not a panacea. But at the same time, it can play a very effective role, either as part of the overall picture [putting LAMP machines in front of the big Oracle / mainframe] or, if you're brave enough, as the whole of the overall picture. Such a decision isn't necessarily corporate suicide. If you've got the expertise -- and hey, any interested college or high school kid can start playing around with the professional quality open source stuff for free if they want to, so the pool of experience developers is big & growing fast -- then licensing costs and often-dangerous code obscurity falls out of the picture. It's doubleplus good :)

    35. Re:Still Some Roads to Conquer by Malcontent · · Score: 2

      "Ah, you are making the classical geek mistake of assuming that people who don't share your particular narrow technical specialty are idiots. "

      No I am making the assumption that people who can not open up a text file and edit it are idiots. I'd say that was a reasonable assumption. Windows is written for idiots and ms is proud of that. Idiots love windows.

      "The reason we are expensive is because we can do things that MySQL admins can't even imagine."

      I just want you to go ahead and lie for real instead of playing these stupid word games. Please say the following sentence.

      "there are more people who can install, configure, and maintain oracle then there are people who can install, configure, and maintain mysql"

      That was your original point and I want you to repeat it so I can call you a liar again.

      --

      War is necrophilia.

    36. Re:Still Some Roads to Conquer by sql*kitten · · Score: 2

      No I am making the assumption that people who can not open up a text file and edit it are idiots. I'd say that was a reasonable assumption

      Doctor: anyone who can't set a broken bone is an idiot!
      Mechanic: anyone who can't replace their own gearbox is an idiot!
      Musician: anyone who can't play the violin is an idiot!

      See where I'm going with this? Geeks simply happen to have a few technical skills, that's all. Guess what, so do a lot of other people. Plenty of very, very smart people can't do so-called simple things on their computers, because to the vast majority of the population, computers are just a tool.

      Perfect examples of this are found in the engineering fields. People who can use very sophisticated design software might not know how to, say, create a new user, something that a sysadmin would take for granted. But, see, in an engineering company, sysadmins are a cost center and engineers actually generate revenue. In almost any company in fact, sysadmins simply look after the technology so the real workers can get their jobs done. Remember that.

      That was your original point and I want you to repeat it so I can call you a liar again.

      There are more people who can ride a pushbike than can fly an F22. What's your point?

    37. Re:Still Some Roads to Conquer by Malcontent · · Score: 2

      "Doctor: anyone who can't set a broken bone is an idiot!"

      I would hardly call opening up a text file and editing it a skill that compares to setting a bone. If you want to run a web site I would think that at some time you might have to open up a file with an editor and make some changes to it. In fact the file you would be working on might look somewhat like th apache configuration file.

      So I'll stick with my original point. Anybody who can not open up a text file and make some changes to it is an idiot of the highest degree. This goes double for people running web sites.

      "There are more people who can ride a pushbike than can fly an F22. What's your point?"

      My point is that you are liar. You were lying when you said there are more people who know oracle then mysql. In fact you to emphasize the point that you are a liar you have rephrased my own post when I was talking about how insanely complex oracle was to setup, install and run. Thanks.

      --

      War is necrophilia.

    38. Re:Still Some Roads to Conquer by sql*kitten · · Score: 2

      My point is that you are liar. You were lying when you said there are more people who know oracle then mysql.

      I didn't say it; Chanc_Gorkon did. Go back and read the original parent.

  14. MySQL not ready by Omega1045 · · Score: 0, Redundant

    MySQL is simply not ready to even play in the same ball park with a serious DBMS. I have used the Linux + Apache + PHP + MySQL thing. Sure it is easy to use, and is nice for little db driven sites. But MySQL lacks the huge set of features that make up a modern relational database.

    Like the guy said above, nothing to see here move on.

    --

    Great ideas often receive violent opposition from mediocre minds. - Albert Einstein

  15. dull by Anonymous Coward · · Score: 0

    This story is about as interesting as watching Outlook Express download the latest worm through an oldskool 300bps modem. I'ma go browse ThinkGeek's overpriced shit or something...

    This motherfucker is BORING to the tenth power today. Stupid Slashdot, be more entertaining!

  16. Really Good Advertising by cperciva · · Score: 2

    A few months ago, ESR gave a talk at the local computing department and told us that Big Unix died because it was closed source. When asked how he explained Microsoft's 20 years of success, he replied "Really good advertising?".

    The same explains why MySQL is popular -- if you have good enough advertising, it doesn't matter what sort of crap you put out or how many better alternatives there are.

    1. Re:Really Good Advertising by TheAncientHacker · · Score: 3, Insightful

      Which says a lot more about ESR than it does about Big Unix, Linux or Microsoft...

  17. MySQL A threat, hah, tell me another one... by essdodson · · Score: 2, Informative
    MySQL might become a threat when it
    1. Supports subselects
    2. Supports views
    3. Supports triggers
    4. Supports stored procs
    5. Does most the things that everyone takes for granted with a decent db server


    Now I know everyone's going to jump down my throat with "Hey, that's going to be in 4.x.y" blah blah... these things have been in use since the stone ages, too little too late and the support still isn't on par with Sybase, MsSQL, Oracle, etc..
    --
    scott
    1. Re:MySQL A threat, hah, tell me another one... by Verizon+Guy · · Score: 3, Funny

      Now I know everyone's going to jump down my throat with "Hey, that's going to be in 4.x.y" blah blah... these things have been in use since the stone ages, too little too late and the support still isn't on par with Sybase, MsSQL, Oracle, etc..
      --scott


      Hey scott, is your last name "tiger"? :-)

      --

      Aw, fuck it. Let's go bowling. - The Big Lebowski

    2. Re: MySQL A threat, hah, tell me another one... by fireproof · · Score: 2, Interesting

      Transactions would also be nice . . . and I've seen very few people mention them.

      I've done a number of smaller projects on MySQL w/ Perl or PHP, and MySQL is perfect for those projects. But, my last project was a rather complex db-driven site, and the client wanted to use MySQL and PHP (partially because their previous contractor had begun to build the site on that platform and they didn't want to completely ditch what they had before), and by the time I got done I was wishing for transactions (and views, triggers, and stored procedures).

      And I'm with you on the "gonne ba in 4.whatever" thing . . . it's nice that they are in the works, but until they show up in a production version, they're useless to me.

      --

      /* "A fool does not delight in understanding, but only in revealing his own mind." */

    3. Re: MySQL A threat, hah, tell me another one... by essdodson · · Score: 1

      As far as I know transactions are semi supported as long as you use INNODB or whatever. As are a few other things I mentioned, but the support is still very very weak. Look into MySQL-MAX or whatever they call it for transactions.

      --
      scott
    4. Re:MySQL A threat, hah, tell me another one... by germania · · Score: 5, Informative

      well, maybe not MySql, but PostgreSql do


      • Supports subselects
      • Supports views
      • Supports triggers
      • Supports stored procs
      and does most the things that everyone takes for granted with a decent db server, because PostgreSql is a decent db server.
    5. Re:MySQL A threat, hah, tell me another one... by Ian+Bicking · · Score: 2
      This database pretentiousness is kind of tiring. Whenever anyone brings up MySQL in any way, someone goes, "without subselects it's not even worthy of the term RDBMS" or somesuch.

      Well, sorry, but it is worthy. It's not a "full" database like you'd like for your work, but it's more than enough for a huge number of problems. It's too bad it doesn't work for you, or it doesn't work for one particular domain of problems you deal with. Just because it doesn't work for you doesn't mean it doesn't work well for lots of other people. There are a ton of small database projects (often websites) where MySQL not only is sufficient, but is superior to Oracle. And websites aren't the only potential domain -- Oracle, for instance, would be absurd to embed in an application (and there are a ton of crappy applications based around MS's JET database engine, and MySQL kicks JET's ass).

      And yes, MySQL is a competitor. It's not a drop-in replacement for every Oracle installation, but there's a lot of new projects where MySQL is used where Oracle or another database may have been necessary otherwise. It's a pretty decent structured store for read-only data.

      This is quite common when people suggest some free software may be a threat to some proprietary software, and then twenty people say, "X won't be a real competitor to Office (or Solaris, or Photoshop, etc) until it has feature Y", where Y is whatever feature they use. As though the world (or, rather, the marketplace) revolves solely around them, or as if the free software developers have a duty to seek that person's approval.

    6. Re:MySQL A threat, hah, tell me another one... by WWE-TicK · · Score: 1

      > Well, sorry, but it is worthy.

      Well, no unless you want to redefine what an RDBMS is. I'm not saying that not being an RDBMS automatically means its crap, I'm saying MySQL isn't an RDBMS because it doesn't fit the definition of an RDBMS.

    7. Re:MySQL A threat, hah, tell me another one... by kpharmer · · Score: 2, Informative

      Wrong on two accounts:

      1. It isn't just subselects - the list of *basic* stuff includes views, stored procedures, foreign keys, etc, etc. Note that we're not even getting close to the advanced features like parallelism, bitmap indexes, solid replication, etc, etc.

      2. Product & tool selection is driven by a variety of factors - including internal consistency, vendor relationships, staff skill sets, etc. So, while it is true that there are projects simple enough for MySQL (especially embedded databases) - it is also true that most *custom* database applications deserve something better than what we were doing twenty years ago. And at the point in which you have Oracle, MySQL, and then need to install Postgresql - you will be regretting the time to learn a slightly different product, obstacles to reuse, and administrative complexity of having MySQL in the mix.

      And lastly - the simplicity of MySQL is largely an illusion - since without transactions, subselects, views, etc you've simply moved the complexity from the database to the application layer. And while sometimes that is fine, the typical result is that simple tasks that could be done in a few lines of code or a few minutes in SQL instead take hours and hundreds of lines of application code.

    8. Re:MySQL A threat, hah, tell me another one... by hpavc · · Score: 2, Funny

      I just cannot get enough of this simplicity:

      "MySQL Server does parse the FOREIGN KEY syntax in CREATE TABLE commands, but without further action being taken." (taken from
      http://www.mysql.com/doc/en/ANSI_diff_Foreign_Ke ys .html )

      --
      members are seeing something, your seeing an ad
    9. Re:MySQL A threat, hah, tell me another one... by Anonymous Coward · · Score: 0

      Oracle, for instance, would be absurd to embed in an application

      Apparently, you don't realize that there is a lightweight version of Oracle specifically designed for embedded applications.

    10. Re:MySQL A threat, hah, tell me another one... by Ian+Bicking · · Score: 2
      What definition of RDBMS are you using? I couldn't find my text book from my college days, and unfortunately I don't know an authoritative definition nor an authoritative location of CS definitions... this was the best I found. If you have a better definition, please post it.

      This definition mentions such concepts as tables, relations between those columns, joins, etc. RDBMS is not an elitist term, as far as I can see -- it's a description of a class of databases. Other kinds of database exist: bdb (file-based hash), ZODB (an object store), hierarchical databases, and others. MySQL isn't one of those -- it is a relational database. It has tables, it has joins (even if integrity isn't ensured), it has a query language (that is not imperative)... it isn't a terribly featureful example, it does not pass the ACID test, but it is a relational database. A lot of the features given aren't even part of the original concept of an RDBMS (stored procedures in particular).

      If MySQL is not relational, then what is it?

    11. Re:MySQL A threat, hah, tell me another one... by Ian+Bicking · · Score: 2
      And lastly - the simplicity of MySQL is largely an illusion - since without transactions, subselects, views, etc you've simply moved the complexity from the database to the application layer.
      A large part of the simplicity of MySQL is not in its implementation but its administration. That's why something like Firebird (AKA InterBase) is not that popular, even though it's a full RDBMS. I feel like the mature development of packaging is not a well-appreciated part of open source projects. MySQL is easy to install, easy to set up, easy to back up, etc. -- and this isn't because it's less featureful, but because it hasn't been managed by professional database managers through its development life.

      MS SQL is probably about as easy to set up as MySQL -- MS deserves credit for packaging software for the masses -- but few other commercial offerings seem to come close. In an environment where professionals are born of amateurs (as opposed to specialized training), these shrink-wrapped databases will have a strong advantage. I don't think it's certain that this environment will come to pass (far from certain, really) -- but if it does, then Oracle does have something to worry about. Because then it's not just if MySQL is good enough now, but if it gets better fast enough to grow with the skills and responsibilities of those who have started out with it (again, it hasn't kept up so far, but when it does it will be before it actually matches Oracle feature-for-feature).

    12. Re: MySQL A threat, hah, tell me another one... by Anonymous Coward · · Score: 0
      As far as I know transactions are semi supported as long as you use INNODB or whatever.

      INNODB and berkely table types are a joke... we ran gemini tables for a while and found many serious flaws over the 6months before we moved to MSSQL... Sad thing was Nusphere just didn't believe us, until i found a way to consistanly blow the transaction log and prove it to them... they then fixed it, and we had a serious crash and found that the transaction log and log files were out of sync... to cut the story short, we dropped nusphere for microsoft!

    13. Re:MySQL A threat, hah, tell me another one... by Malcontent · · Score: 2

      In fact postgres has many features commercial databases don't have like an awsome rule subsystem and user definable types, operators and aggregate functions. In fact it has so many extremely neat features it's an ideal database geek toy. I prefer it vastly to MS sql server.

      --

      War is necrophilia.

    14. Re:MySQL A threat, hah, tell me another one... by Anonymous Coward · · Score: 0

      The InnoDB table types that MySQL supports do have transactions and foreign keys. And that is adequate for many smaller projects.

    15. Re:MySQL A threat, hah, tell me another one... by angel'o'sphere · · Score: 2

      As long as you have either static data with not much updates or you vacuum the data base regulary.

      PostgreSql is NOT a decent DB server. Its a decent SQL database for playing around, fast enough, mature enough in features but not in reliability and scaleability.

      angel'o'sphere

      --
      Cost free eBook I read (by iBook/Kobo/Amazon/ObookO/Gutenberg etc.): "The Green Odyssey" by Philip Jose Farmer.
    16. Re:MySQL A threat, hah, tell me another one... by MattRog · · Score: 1

      Visit DBDebunk.com. According to Fabian Pascal virtually all SQL based DBMS are not Relational.

      Specifically:
      *MySQL (and Oracle and DB2 etc.) is a SQL DBMS, or in other words, it is a DBMS based on the SQL data language;

      *a true RDBMS is a DBMS truly, fully and correctly based on the relational data model;

      *in the industry there is a common mistake that SQL-based DBMS are RDBMSs: SQL is not a true, full and correct implementation of the relational model;

      So no, once and for all, MySQL is not a Relational Database Management System. It is a SQL-based management system. But then again, none of the SQL-based management systems are relational in the strictest sense either, but once you read Pascal/Date/etc. on that site you realize how much better your life would be as a SQL developer and DBA if they really *were*.

      --

      Thanks,
      --
      Matt
    17. Re:MySQL A threat, hah, tell me another one... by marko123 · · Score: 1

      Sorry, sooo off topic, but...
      Anyone who quotes the funniest pseudo doco from the opening of a Star Wars movie in their sig needs kudos. Mod the parent up!

      --
      http://pcblues.com - Digits and Wood
    18. Re:MySQL A threat, hah, tell me another one... by PongStroid · · Score: 1
      So no, once and for all, MySQL is not a Relational Database Management System. It is a SQL-based management system.


      Agree.

      MySQL is an fine Database Management System, but it doesn't do the one thing that it should do well support SQL given its name. The name of the product includes SQL and it doesn't even support huge swaths of features in the 10 year old specification for the language.

      I'd probably be able to deal with the disconnect better if it was called 'MyDatabase'.

      Perhaps an analogy: Sort of like having 'MyJava' without the extends keyword. Or 'MyC++' without templates.

      If you know SQL you KNOW what I'm talking about here.

    19. Re:MySQL A threat, hah, tell me another one... by bwt · · Score: 2

      No, that's obviously his cat's name.

    20. Re:MySQL A threat, hah, tell me another one... by Anonymous Coward · · Score: 0

      reliability?

      I had no problems with it. I crashed my small linux box very often due to some experimental drivers. all i could do was resetting. PostgreSQL everytime recovered after a few seconds and i had never any inconsistencies.

    21. Re:MySQL A threat, hah, tell me another one... by the_olo · · Score: 1

      But it still doesn't support user-defined (in PL/SQL) functions that are able to operate on and return row sets.

  18. fast, but what about transactions? by tstoneman · · Score: 2, Interesting

    We tested porting our company's software to Linux and MySQL.... we kept the Linux port but we couldn't use MySQL because our application does a lot of reading and writing, and from what I understand vanilla MySQL does not support transactions but instead locks the entire table. I think there are some mods to MySQL that support transactions but without it fully supporting transactions I just don't think that major companies will ever move to it. It is perfect for Web sites where the ratio between reading and writing is heavily skewed towards reading, but for applications that need to do both, I don't think MySQL is an option... yet. Some people in the company, however, swear by MySQL and say it is heads-and-tails faster than all the "enterprise" dbs like Oracle. Certainly it is not a resource hog like Oracle.

  19. risk of "feature beast" by Tablizer · · Score: 2

    I personally would like to see 3 kinds of database engines that allow one to scale the gammut with little or no application rewrites along the way to fit the different syntax and conventions.

    1. Small, lite-duty engine mostly for embedded or small-footprint apps. Subset of lanugage of #2.

    2. Full language, but lacking performance tuning. Mostly for development and smaller shops.

    3. "Big-iron" version that has full language and performance tuning features.

    I realize that one can use Postgre if they out-grow mySQL, but it is a different language and conventions. You have to rewrite some of your application software.

    I am afraid that as mySQL becomes more popular, it will become a "feature beast". I would rather see a split between #2 and #3 rather then live with a feature beast.

    1. Re:risk of "feature beast" by sql*kitten · · Score: 2

      1. Small, lite-duty engine mostly for embedded or small-footprint apps. Subset of lanugage of #2.

      Oracle Lite.

      2. Full language, but lacking performance tuning. Mostly for development and smaller shops.

      Oracle Workgroup Edition.

      3. "Big-iron" version that has full language and performance tuning features.

      Oracle Enterprise Edition.

  20. This is incorrect or a lie by Anonymous Coward · · Score: 0

    Just in case anyone else is reading: the section he quotes actually means that mysql is available under two licenses.

    You can use it under the GPL for free.

    If you want to incorporate Mysql into your closed source product, you can get a non-gpl license to incorporate that source by paying them money for a license. This is how mysql ab makes money.

    So in short, you can incorporate mysql in a closed-source product, just not for free. It is the best of both worlds, all the advantages of GPL and MS's "shared source", with none of the disadvantages of either.

    1. Re:This is incorrect or a lie by News+for+nerds · · Score: 1

      Who pays money?

      Developers, or users of software that need access to MySQL?

      In the case of libmysql (C native-interface library of MySQL), developers are forced to pay so much money for using GPL code(libmysql) in their software as non-GPL state, plus their customers have to pay money for commercial-licensed MySQL server.

      Microsoft doesn't require such license fee when you use OLE/DB etc. to get native access to SQL server.

      Anyway PostgreSQL has superior license as to developing software around DB. Accept this fact.

  21. dirty secret of big databases by g4dget · · Score: 5, Insightful

    The dirty secret of big databases is that most people don't know how to program them, how to configure them, and don't need most of the features. And even if they get everything right, they still end up with a very costly and complex solution, a solution that likely doesn't perform very well and needs a special DBA to keep it all running. That's why MySQL is successful.

    1. Re:dirty secret of big databases by PerlPunk · · Score: 1
      The dirty secret of big databases is that most people don't know how to program them, how to configure them, and don't need most of the features. And even if they get everything right, they still end up with a very costly and complex solution, a solution that likely doesn't perform very well and needs a special DBA to keep it all running.

      Damn right. I'm working in a company that uses (surprise!) Oracle, on an M$ server. Every other day the system crashes. No one in our shop is a DBA (we're all developers), and our company managers are skinflints and so won't hire a DBA.

      What's more, we could be using a database like PostGres for our work. However, our management says that we MUST use Oracle. Why? Because they have their heads up their butts? (We would like to think that, wouldn't we?) No. Because our customers (we process medical claims) won't do business with us unless we can say we have a top-of-the-line, secure system.

      I long for the day when the open source databases acquire the same reputation as other open source projects, like Apache.

    2. Re:dirty secret of big databases by Anonymous Coward · · Score: 0

      another big secret around here is that alot of "big" read: "real" companies actually might need something that supports more than 1/2 assed replication and transactions.

      I use mysql, *shrug* .. but if I were doing anything overly serious I doubt I would be.

    3. Re:dirty secret of big databases by Anonymous Coward · · Score: 0
      The need for transactions and replications doesn't depend on company size, it depends on the problem. In fact, for really large databases and problems, you often can't afford them.

      Besides, MySQL replication is very easy to set up and works very well. And there are often better ways of handling complex transactions than to leave them to the database.

    4. Re:dirty secret of big databases by vstanescu · · Score: 1

      You know, Oracle runs on various Unix system also, including Linux. I would rather suspect hardware problems or scalability problems in Windows, Oracle runs just fine on each of my installations.

    5. Re:dirty secret of big databases by Anonymous Coward · · Score: 0

      Absolutely right! I'm a DBA/Developer for a fairly small (slightly under one TB) Data Warehouse. We use Oracle as our database (on both Linux and Win NT machines - the NT machines are legacy), but we could just as well have used MySql since we don't use any of the advanced features in Oracle. And Oracle charges us through the nose in licensing fees, plus creates headaches for us every time we want to add a machine or reconfigure our hardware - and thus have to renegotiate licenses with Oracle.

      We've suggested moving over to MySql or PostSQL, but it seems that this is a too big a decision for management.

      I suspect there are a lot of systems like ours running on expensive commercial database systems which could run just as well on MySql/PostSQL.. /Anders

    6. Re:dirty secret of big databases by TicTacTux · · Score: 1
      ...and another reality is the it's good enough approach; "...it might not be as good as others when wrestling with [your favourite rarely-used feature here], but what the fsck we don't need that anyway"

      I even scaled down to SQLite which is good enough for 80 percent of what I need a DB for...

      --
      Use The Source, Luke!
    7. Re:dirty secret of big databases by Tablizer · · Score: 2

      However, our management says that we MUST use Oracle. Why? Because they have their heads up their butts? (We would like to think that, wouldn't we?) No. Because our customers (we process medical claims) won't do business with us unless we can say we have a top-of-the-line, secure system.

      Just stick an "Oracle Inside" sticker on the box and use mySQL. My Corolla had a BMW emblem on it and I still got laid. Then again, their parts were phony also.

    8. Re:dirty secret of big databases by kpharmer · · Score: 1

      If you're talking data warehousing, then you probably aren't that concerned about stored procedures, triggers, views, foreign keys, etc - the so-called advanced features that MySQL is missing.

      However, you should be using:
      - partitioning (for a separate charge now)
      - parallelism
      - bitmap indexes
      - cost-based optimization
      - unions (needed when you have partitioning)
      - etc, etc

      These are very significant features - partitioning for instance, allows you to organize tables into logical segments - so that when you do your table scans (almost all the time in the warehouse) you only scan 10% or less of the data. Further - when you want to roll off old data you don't have to try to delete 200 million rows - you simply drop the partition. Parallelism allows you to divide the work of the query between CPUs - which means that your 8-way SMP can put all 8 CPUs to work on a single query - drastically improving the response time.

      If you aren't using these features, then you're waisting your money with Oracle. Unfortunately, without these features, managing a TB of data - and getting good speed without throwing tons of hardware at the problem is extremely difficult.

      DB2 and Informix both offer these features as well - and perform just as well at a fraction of Oracle's price, but SQL Server is missing many of them. And for that reason I don't see SQL Server as much of a competitor in the TB+ arena. Nor do I see Postgresql or MySQL there either.

      And, unfortunately it took the commercial database vendors years to get these features working properly - parallelism especially. So, don't expect the handful of folks at MySQL to knock out this capability in the near term. Maybe in five+ years.

    9. Re:dirty secret of big databases by Saeger · · Score: 1
      management says that we MUST use Oracle. Why?

      Because everyone else is? And maybe because those same suits probably own ORCL stock?

      It's a nice circlejerk.

      --

      --
      Power to the Peaceful
    10. Re:dirty secret of big databases by MattRog · · Score: 2

      Sybase IQ and ASE have all those features as well (if you're again looking for Oracle features at a MUCH LESS cost).

      Sybase IQ recently employed the largest data warehouse on record of something like 75TB of data and peformed faster than Oracle with 1TB.

      --

      Thanks,
      --
      Matt
    11. Re:dirty secret of big databases by Saeger · · Score: 1
      You've got to be kidding? :)

      You actually sunk to caveman depths and lied about your car to get chicks? I figured you for a geek who's too idealistic for his own good.

      --

      --
      Power to the Peaceful
    12. Re:dirty secret of big databases by nzkoz · · Score: 2

      IQ's a datawarehousing solution. If you suggest they use it for OLTP I will come to your house and hurt you :).

      IQ is hideously inefficient for INSERT UPDATE and transactions. However it's so damned fast for SELECTS that warehousing projects (such as all the ones I'm on) can't live without it.

      --
      Cheers Koz
    13. Re:dirty secret of big databases by MattRog · · Score: 1

      Uh.. Duh? :D The parent poster was talking data warehousing and I thought my post was more than clear on that. :)

      I've never used IQ for OLTP but I would guess it would puke as you suggested. ASE is more OLTP than DSS but it does have partitioning, parallelism, cost-based optimization, and unions. IQ has all that plus bitmaps and more DSS type functions.

      I really like Sybase's choice in segregating the different products -- it's a lot nicer than Oracle's 'all in one' approach which encourages bloat, bugs, and security holes. :D

      --

      Thanks,
      --
      Matt
    14. Re:dirty secret of big databases by Tablizer · · Score: 2

      Naw, actually they knew it was a joke. They told me after showing me their fake t*ts.

    15. Re:dirty secret of big databases by Anonymous Coward · · Score: 0

      He just read ESR's howto on this too carefully.

    16. Re:dirty secret of big databases by hey! · · Score: 2
      Because our customers (we process medical claims) won't do business with us unless we can say we have a top-of-the-line, secure system.


      Sounds like you have smart customers.


      Seriously, though, this is just like the whining that Linux cost more to operate because you have to hire clue-ful admins.


      If you have truly enterprise critical systems, Oracle is a great choice, provided you invest what it takes in getting a frist class dba. Postgres may or may not be there; it wasn't when I last evaluated it about two or three years ago, but I've heard they've made great progress since then. I applaud them, but I still wouldn't go with pgsql until it had a track record of several years and demonstrated scalability and reliabilty.


      But -- you're entirely right that if you just throw the more or less default install on and don't even have a dba (much less a competent one), then it doesn't much matter what you install.

      --
      Post may contain irony: discontinue use if experiencing mood swings, nausea or elevated blood pressure.
  22. In other news: Vi still no threat to MS Word by wirefarm · · Score: 4, Insightful

    They are two different products with two different uses.
    MySql came along and took away the appeal of using text files as data stores for web applications and such - it gave perl scripters a simple, easy-to-understand database that works pretty darn well.

    MySQL is a great product, but only for the things it does well. If you try to make it do things that it can't, of course you're gonna get burned.
    If you actually *like* databases, you'll probably like PostGres better anyway - don't bother with MySql.

    MySql has found its niche. Linux, Apache, Perl/PHP and MySQL are powering thousands of websites right now. I have a few myself and they work well - There is absolutely no need for me to change the database - it just works.

    I wouldn't want American Express to start using it today though - they actually *need* the features that Oracle offers.

    Not all databases need the kind of bomb-proofing that you can do with Oracle - some applications just need to be able to pull data quickly from simple tables.

    The thing that I don't understand though, is why MySql has so much more popular appeal than PostGres - It seemed that one day, everybody just seemed to be using it. Why was that?

    Cheers,
    Jim

    --
    -- My Weblog.
    1. Re:In other news: Vi still no threat to MS Word by gmack · · Score: 2

      The answer is simple: I'ts pure raw speed for simple tasks. I doubt most websites even need anything more complicated that what it does.

    2. Re:In other news: Vi still no threat to MS Word by Anonymous Coward · · Score: 0
      ok,

      database... no transactions... works pretty darn well?

      What planet do you live on?

    3. Re:In other news: Vi still no threat to MS Word by liloldme · · Score: 0, Flamebait
      If you try to make it do things that it can't, of course you're gonna get burned.

      Yeah, like trying to use it as a database...

    4. Re:In other news: Vi still no threat to MS Word by Anonymous Coward · · Score: 0
    5. Re:In other news: Vi still no threat to MS Word by tommyServ0 · · Score: 1

      I wondered the same thing! I love PostgreSQL and there's no reason it shouldn't be kicking the crap out of mySQL. But then it hit me.

      I believe what made mySQL take off was when mySQL AB released easy to install packages for windows about the same time that PHP and Apache were becoming accessible to the Windows user. That way freelance web developers and new hackers were trying the stuff out at home and Windows and *nix users were programming on the same platform (PHP/mySQL on Apache).

      Today, if you want to download PostgreSQL, you have two choices on their website. Tarball or RPM. Joe Clickey-Click doesn't want or need the trouble. All he wants to do is make a guestbook for his website.

      Look at what Joe Clickey-Click sees when he would like to try out either
      PostgreSQL or
      mySQL.

      --

      Consider the daffodil. And while you're doing that, I'll be over here, looking through your stuff.
    6. Re:In other news: Vi still no threat to MS Word by wirefarm · · Score: 2

      We're both using it as a database. Right now, in fact...
      Everyone reading Slashdot is. A half-million users and I don't see it failing.

      As I said before, why use a truck when a bicycle will do the job?

      --
      -- My Weblog.
    7. Re:In other news: Vi still no threat to MS Word by Anonymous Coward · · Score: 0

      Just because there are a half-million registered user accounts on slashdot doesn't mean mysql handles high volume traffic well.

      I see the steaming pile of offal that slashcode is freak out all the time. Things like clicking a link to go to the discussion and it presents you with the home page instead -- with the added login prompt for your username and password even though I'm already logged in.

      It is painfully obvious on this site that the slashcode + mysql backend is failing to properly serve the content that is requested of it under high loads. There is no excuse for that kind of behavior from a real database -- it should either return the information you request or it return an error.

    8. Re:In other news: Vi still no threat to MS Word by ajs · · Score: 5, Interesting

      Back in the day (about 2-3 years ago) MySQL was a bit of a pain to configure correctly under Linux and a bit moreso under other UNIXen. PostgreSQL was insane. I tried to get it to work on my box, and I'm a C programmer with many years of experience in understanding other people's code and installation systems.

      I finally gave up. I got it installed and mostly working, but I just had better things to do and I wasn't at all happy with the number of hand-tweeks that were required. I slapped MySQL in place and never turned back.

      I think a lot of folks were in the same boat, but had even less patience for PostgreSQL's difficult installation.

      Now, I understand the two are about the same, and both are available with the major Linux distributions. However, now PostgreSQL has to work its way out of the hole its in. Admins like me will be loath to give up the DB we know best in favor of one that burned us, even if it was long ago.

    9. Re:In other news: Vi still no threat to MS Word by pmineiro · · Score: 1

      MySQL is a great product, but only for the things it does well. If you try to make it do things that it can't, of course you're gonna get burned.

      I think this idea, which is fairly common, comes from less than recent experience with mysql. With the innodb table handler, one gets BEGIN/COMMIT/ROLLBACK semantics. With master/slave replication, one gets hot failover backup.
      This is a textbook example of progression of disruptive technology. Commercial database offerings have far exceeded the performance and feature requirements of the typical user. MySQL has been invading the market from the low end, is both cheaper and far more convenient to administrate, and is now starting to achieve higher-end features.
      Some things about MySQL are inconvenient, like lack of multi-table updates or sub-selects. But, every time I've ever done a database app, it's always been three tiered, so I just work around these limitations in the middle tier. I wouldn't call that getting burned. I would call it extra typing and (sometimes) additional network I/O.
      -- p

    10. Re:In other news: Vi still no threat to MS Word by wirefarm · · Score: 2

      Some things about MySQL are inconvenient, like lack of multi-table updates or sub-selects. But, every time I've ever done a database app, it's always been three tiered, so I just work around these limitations in the middle tier.

      That's a good way to go about it - I would guess that it will help if you go to change databases at some point - you get wider compatability.

      Same thing for people who basically recreate triggers and stored procs as PHP functions - they can re-use them with most any database, even if the new database supports those features.

      Maybe in a few years there will be a shift away from including a lot of features in the db engine and towards small size and speed. I'm not holding my breath though...

      Cheers,
      Jim

      --
      -- My Weblog.
    11. Re:In other news: Vi still no threat to MS Word by SmittyTheBold · · Score: 2

      That's a generic fallback - and exactly what you should see with the way /. operates. Any time a dynamic page can't be generated, for whatever reason, you get the static page.

      Granted, maybe it could work a bit differently, produce an error, and be a bit more user-friendly. But then think to yourself, "what target market does /. cater to?" They cater to geeks, the kind of people that say "screw user-friendliness, give me features!" The static front page is invariably more useful than an error page would be, so that's what you get when there's a problem.

      --
      ± 29 dB
    12. Re:In other news: Vi still no threat to MS Word by Anonymous Coward · · Score: 0

      >The thing that I don't understand though, is
      >why MySql has so much more popular appeal than
      >PostGres - It seemed that one day, everybody
      >just seemed to be using it. Why was that?

      1. Better MS Windows support.
      2. Graphical administration tools.
      3. Choosing MySQL to do simple task or replacing MS SQL is an easier decision. Choosing PostgreSQL to replace Oracle/DB2 is a harder choice.

    13. Re:In other news: Vi still no threat to MS Word by Chanc_Gorkon · · Score: 2

      Well, you'd be wrong there. Say your a big company and you want to web enable your stuff. It would just be easier to use Oracle or whatever is used since you have people that know it and it can easily interface with the DB's that your general ledger stuff is on. Remember, those web sales have to have entry's made into the companies ledger or you don't get credit for them as a company. Retraining for MySQL or some other solution is a bitch. Ask the programmers I work with who are switching to Oracle from Datacom (I know what the hell is that! :) ).

      --

      Gorkman

    14. Re:In other news: Vi still no threat to MS Word by gimpboy · · Score: 2

      back in 1998 i had just started grad school. i was looking for a hobby and decided that it would be fun to tinker with database driven web sites.

      so i started looking around. i read about different programming languages and about rdbm's. not being too concerned with running applications in the console i decided to go with php (php didnt run in the console at the time) and mysql-on linux with apache of course. why? everything i ready said the combination was great. then i stumbled on a posting comparing postgresql to mysql.

      the post basically said the same thing people are saying today. mysql lacks x, y, and z. postgresql has these things even though it might be a little slower. at the time i didnt understand what all of those features were, but i did understand a few of them. one of interest was transactions. i could see a definate use for them so i decided to go with postgresql. i've since switched to perl for cpan, and i havent been happier.

      so what was this ramble all about? had mysql installed and was ready to go within about a day. i was ready to go with it when i read about postgres. it took me about 2 or 3 days to get postgres up and running. this is significant because i'm a chemical engineer. at the time i had only taken one class in computer programming - we used fortran.

      i just dont see how hard this could be for someone who has been doing unix programming for many years. granted i dont know about your situation, and it may be that you were trying to get it working on an old irix box. if this or something similar is the case, i dont think you should really complain about postgres given the conditions.

      --
      -- john
    15. Re:In other news: Vi still no threat to MS Word by LazloTheDog · · Score: 1
      I wouldn't want American Express to start using it today though. . .

      I worked on a project for American Express that, for the bulk of it's life cycle, used MySql.

      JM

      --
      Oink, Oink!!
    16. Re:In other news: Vi still no threat to MS Word by gmack · · Score: 2

      Unlike Oracle Mysql is easy to use and admin. It also costs a fraction of the cost and for the diffrence in just yearly fees on a single server your now half way to the cost of a DBA just for MYSQL! Lets also not forget the rather extreme diffrence in CPU and RAM comsumption.

      For some tasks Oracle is simply the only option for the rest of them I prefer using something smaller.

    17. Re:In other news: Vi still no threat to MS Word by Anonymous Coward · · Score: 0

      i am rather new to RDBMS. I tried in January 01 getting MySQL and Postgresql working on my linux box an switched steadily between both. finally postgresql worked first and i stayed with PgSQL, and i am happy now that it was PgSQL.
      Most (thats of course not including the reader :p) MySQL/PHP programmers are stupid morons. When i see their code, i want to smash their heads against the wall. What others do in one query, they do in 10 queries while they do the sorting, correlating, filtering etc in the php script!
      or doing a select * which returns 10kb records, but uses only the id field (int4).

      slashdot.org(at)evilazrael.de

  23. To be fair... by Pseudonym · · Score: 5, Insightful

    ...most people don't need Oracle.

    Oracle has been used for a lot of projects where it doesn't really need to be used, usually because the company already had a licence, but sometimes because the project was way over-spec'd.

    Don't get me wrong, MySQL doesn't even come close to challenging the benefits of Oracle or DB2 in replication, scalability and so on. However, in applications where you don't need them, MySQL is perfect, especially because it requires no monetary investment. (It requires other kinds of investment, of course, but everything does.)


    --
    sub f{($f)=@_;print"$f(q{$f});";}f(q{sub f{($f)=@_;print"$f(q{$f});";}f});
    1. Re:To be fair... by puckhead · · Score: 1

      That's why the Big Db companies fear it. They won't lose sales to customers who need the functionality they provide, they lose sales to customers who don't need the functionality they provide.

      --
      Watching Cowboy Bebop in my jammies, eating a bowl of Shreddies.
    2. Re:To be fair... by Doctor+Memory · · Score: 1

      Oracle often gets used because the company has a significant amount of expertise available (and invested) in it. You often see companies with DBA teams that administer several dozen databases. When a new project comes along, they just create the new DB on one of the big servers and stick a new entry in the backup schedule, and it's a done deal. Of course, if it's a mission-critical app they advise during development and do performance monitoring and such, but if it's a small internal app with a couple dozen users, it's pretty much a fire-and-forget kind of deal. So you wind up using an enterprise-class transaction environment to collate timesheets every week.

      --
      Just junk food for thought...
    3. Re:To be fair... by Chanc_Gorkon · · Score: 2

      True enough! Plus it's well known how to get stuff out of Oracle too. Oracle also has a nice forms editor for producing letters, reports and whatnot. MySQL you have to figure out a way to do it since there's not built in or addon that comes from them. Sure there are some apps there, but Oracle has the entire widget. Sure, you may not need all of the features of it, but how many offices need the all of the features of MsOffice? You see? :)

      --

      Gorkman

    4. Re:To be fair... by sql*kitten · · Score: 2

      Oracle has been used for a lot of projects where it doesn't really need to be used, usually because the company already had a licence, but sometimes because the project was way over-spec'd

      When you've got a bit more experience you'll realize that software is often extended well beyond its original spec, and it pays to make sure that you aren't locked into a limited technology that will require starting again from scratch if you need more. That's why people start on Oracle before they need all its features.

    5. Re:To be fair... by Pseudonym · · Score: 2

      Software is often extended beyond its original spec, this is true. In this era we have some quite large systems. However, this is also the era of small throwaway code. I've worked on all sizes of application, large, medium and small. In my experience, large applications are extended but for small applications, it's often cheaper to throw them away and rewrite them (cutting and pasting from the old system as required).

      Here's an example: I used to work for a group which did drug trials. The software to collate the results of a study often wouldn't last beyond the life of the study, except in "cut and paste" form, because the requirements were so different. These sorts of projects involved a lot of data which needed to be accessed and reported on quickly, but even so, they never needed the full power of an Oracle or DB2. The data was only used on one site, and if we ever were to lose a disk it would still be cheaper to restore from backup and re-enter the lost day's worth than to buy an Oracle licence. If they did find they ever needed a high-end DBMS, it won't cost very much at all to migrate.

      BTW, the number one reason why databases like Oracle are used on small applications is and probably will always be that there is already an Oracle licence and a bunch of DBAs in house, and it's less expensive in terms of resources to get them do it than to get something new. I don't have an argument with this, since despite the usual hammer/nail metaphor, the most appropriate tool is often the one that you already know and have.


      --
      sub f{($f)=@_;print"$f(q{$f});";}f(q{sub f{($f)=@_;print"$f(q{$f});";}f});
  24. MySQL great for small databases by Eric+Damron · · Score: 0

    As long as you don't need some of the more advanced features, MySQL is a very good choice. It is fast and there are both Linux and Windows versions.

    This means that you can write applications in a RAD language like Borland's Kylix and easily port it to Windows using Delphi.

    If you need more advanced features then use Postgres. But as far as I know there is no Windows version so your market is smaller.

    I think these companies are in denial when they say that they're not even a little worried that an Open Source product can cut deeply into their market share.

    --
    The race isn't always to the swift... but that's the way to bet!
    1. Re:MySQL great for small databases by WetCat · · Score: 2

      If you need more advanced features then use Postgres. But as far as I know there is no Windows version so your market is smaller

      Are you spreading mysql-supporting FUD ? :)
      Here is how to install PostgreSQL on Windows:

      http://www.ca.postgresql.org/docs/faq-mswin.html
    2. Re:MySQL great for small databases by Eric+Damron · · Score: 2

      So there is a windows version of Postgres?

      Kewl!

      --
      The race isn't always to the swift... but that's the way to bet!
  25. Postgres already replacing Ora*le by famazza · · Score: 5, Interesting

    I work for Conectiva (Brazil), involved in a project where a minor telecom company is replacing most of their Ora*le databases to PostgreSQL. Mostly due to cost reduction (should be for a more noble cause, but...)

    Note, this is the first step of a big project involving migration to free plataforms everywhere it is possible inside the company.

    IMHO it's a good idea, but they must keep in mind that there already are some limitations that I'm sure it'll be solved ASAP. Of course that a little of investment in the FreeSoftware/OpenSource comunity will help a lot too, but this is subject for another project ;o)

    --

    -=-=-=-=
    I know life isn't fair, but why can't it ever be un-fair in MY favor!?
    1. Re:Postgres already replacing Ora*le by Anonymous Coward · · Score: 0

      Why are you putting a * in Oracle? It's supposed to be a C.

    2. Re:Postgres already replacing Ora*le by Anonymous Coward · · Score: 1, Funny

      In Latin America the big competitor is Oraple (it was made by an offshoot merger of Apple Computers and their arch nemis AW FUCK IT THIS JOKE IS GOING NO WHERE GOD MOTHERFUCKER DAMNIT!

    3. Re:Postgres already replacing Ora*le by Anonymous Coward · · Score: 0

      This is a step in the right direction, medium to bigger sized companies need to start using this software to start stressing it, that is how oracle, db2, sql server got to where they are today. Once the big guys start stressing your database engine, improvements/hacks will be made by the development team to eke out more performance, it might take longer than Oracle or DB2 because of sheet manpower, but that is what they said about linux, and now it has _made_ its presence known on the server, actually that is where Open source projects tend to fare best, on the server as a command line driven application, luckily with databases, there are few front ends to them, i know sql server provides one and so does oracle, but the best dba's i know print their schemas out using an app that goes through the system catalog and grabs all relevant information.

    4. Re:Postgres already replacing Ora*le by tlk+nnr · · Score: 2

      What about the forgotton opensource database?
      Have you considered SapDB?
      They claim that they have an Oracle 7 compatible mode.
      If yes, why have you choosen PostgreSQL?

    5. Re:Postgres already replacing Ora*le by zmooc · · Score: 2

      Don't consider SapDB. Worst documentation ever, all the tools crash and a week ago some db we had just disappeared. We've been using it on production servers for 2 major applications for about a year now and I really would't make the sapdb-choice ever again. O and the source is totally unreadable..

      --
      0x or or snor perron?!
    6. Re:Postgres already replacing Ora*le by ortholattice · · Score: 2
      Why are you putting a * in Oracle? It's supposed to be a C.

      Because he would get his pants sued off if he compared Oracle to another product, in violation of the EULA.

    7. Re:Postgres already replacing Ora*le by famazza · · Score: 2

      I'm not sure exactly why Postgres was chosen, I have arrived the process a month ago, after it has already started, but I can guess.

      Postgres has lately shown the largest and most active FreeSoftware/OpenSource database project. This is good because garantee us code support for a longer time.

      We also have excelent technitians involved in the project from dbExperts, with big know-how in Postgres, since they are the ones who ported Postgres to Windows plataform (see them here.

      Another point is the project projection among the FreeSoftware/OpenSource community, which give us a large amount of information about the software and bigger and better diversity of support software.

      All this added to the technical features, and the compatibility with Ora*le (not saying that Postgres is 100% compatible with Ora*le) probably made Postgres the best choice. (remember, I arrived the process only a month ago)

      --

      -=-=-=-=
      I know life isn't fair, but why can't it ever be un-fair in MY favor!?
  26. Sure, in the low end by drinkypoo · · Score: 2, Insightful
    mysql is really chewing up the low end of the area where you need an RDBMS. Most things can still be done with flat files or berkeley db or what have you, you don't actually need an RDBMS, nor does it buy you much. When you start storing a lot of data, it starts to become a good idea, although hierarchical directories make even most uses today unnecessary.

    The best part is that mysql is integrated well with other free technologies like php and perl, which have been gaining a lot of acceptance. So when you turn to an open-source web solution you're freed from the need (hey, that-- oh you know) to run expensive oracle or sybase (or DB2, I guess I should be fair) RDBMSes. This is especially easy because websites tend to be redundant these days, so they're pretty robust by default.

    Anyway, the plan is to add stored procedures and triggers in mysql 5.0. It already does replication, which one expects to improve. It's one-way now. Once these things happen, mysql will just need to undergo some serious testing and possibly some serious bugfixing to ensure stability even under really terrible conditions, and maybe provide a better management GUI, and bango! The big guys will be running scared. At that point, mysql will be able to take over all but the largest installations.

    So go mysql! We're counting on you. Oracle costs too much.

    --
    "You're right," Fisheye says. "I should have set it on 'whip' or 'chop.'"
    1. Re:Sure, in the low end by Anonymous Coward · · Score: 0

      just switch to postgres... mysql is kinda waste of time, if you need real database features

  27. Criticize MySQL and get modded down by kpharmer · · Score: 5, Insightful

    It's sad how all criticisms of MySQL on slashdot are consistently modded down. Although MySQL is a fine product with a lot going for it - there is plenty to be *legitimately* critical about.

    Is it that the MySQL supporters on slashdot are only familar with application programming interfaces to relational databases - and so don't understand the differences between a modern relational database and MySQL? Or are they simply pushing the product that they are most familiar with?

    I've been involved in purchases of millions of dollars in relational database software over the last sixteen years; been a DBA on Oracle, Informix, and DB2; and developed on those as well as Sybase, SQL Server, Adabas (SAP-DB), Dbase IV, and Access. And I can say that there are plenty of traditional IT applications that I would try Postgresql out on - just about everything in the OLTP arena that doesn't require massive scalability. And unfortunately, there are far fewer traditional IT database applications that I would recommend MySQL for - it simply lacks too many features that are already available in postgresql, and that in the RealWorld(tm) save your bacon.

    Ok, you can mod me down now.

    1. Re:Criticize MySQL and get modded down by Anonymous Coward · · Score: 0

      My God, do you know how many corporate apps are run on an Access database shared out on someone's machine? MySQL is good enough for the majority of corporate apps out there and I would sure as hell want it out there over Access. The speed still amazes me on applications I've built with a PHP front end.

    2. Re:Criticize MySQL and get modded down by neuroticia · · Score: 3, Interesting

      Most of the criticisms of MySQL that get modded down are modded down for a reason. Either they re-state something said half a dozen times before, or they take on a vehement bashing attitude.

      When I bash Apple (and I love to bash Apple) I get modded down accordingly. When I say that I have legitimate complaints about Apple, I don't get modded down. If you say something like "MySQL lacks certain functionalities such as a, b, c, and d and for certain uses of databases such as scenario X, it just doesn't cut the cake. In comparision, Database Y really does the job well" You're not gonna get modded down. You'll probably get modded up as informative, and inspire some interesting conversations about "Well, yes. MySQL doesn't do that, you're right. But I don't see how the scenario you described requires that functionality".

      If something's informative and deserves modding up, it gets modded up. If something bashes a program with little more than "It's evil because I say it's evil" or "It doesn't have half a bazillion functionalities" and then just assume those functionalities are completely wide-spread knowledge (in which case you're being terribly redundant...) then it's really not worth slugging through, and should be modded down accordingly.

      -Sara

    3. Re:Criticize MySQL and get modded down by Teknogeek · · Score: 1

      I don't know much about MySQL and PostgreSQL, except for usage with Internet message boards.

      And there, Postgre kills MySQL.

      That seems to fit with earlier claims of MySQL working better for read-intensive stuff...with message boards, you write to the DB almost as much as you read from it.

      --
      I mod down anyone who uses M$ in their posts. I like to live on the edge.
    4. Re:Criticize MySQL and get modded down by Anonymous Coward · · Score: 0

      Perhaps it's because the moderators see people talk about how MySQL doesn't scale and can't really do anything, due to lack of features, and then turn around and realize that most websites out there turn to jell-o under the Slashdot effect while the MySQL-based website, Slashdot, never seems to have a problem with it.

    5. Re:Criticize MySQL and get modded down by mgv · · Score: 3, Insightful

      If something's informative and deserves modding up, it gets modded up

      Yes, it usually does. However, uninformative M$ bashing often gets modded up on slashdot too. (Not to say that the multitude of M$ problems shouldn't be mentioned, just that ignorant slanging doesn't add to the cause much at all)

      Well, yes. MySQL doesn't do that, you're right

      Yes, MySQL has problems. The biggest issue is often scalability - just because it will work fine on a small project doesn't mean that its going to scale to the enterprise level. A similar comment could be made of the M$ Access & the Jet DB - perfectly fine for a single user app, doesn't scale well at all.

      In fact, while I think that MS Access provides a nice RAD environment for (very) small projects, I have no doubt that the future for MySQL and PostgreSQL is much brighter because of their open source nature. There are no artificial constraints on their functionality, in stark contrast to M$, who want you to upgrade to (& pay for) SQL Server as soon as possible. So I can see both MySQL and PostgreSQL improving over time much faster than M$, who want to tie improvements in functionality with a similarly improving revenue model.

      Of course, when it comes to databases, really there is no competition bewteen Oracle and PostgreSQL. If you want the most frequently used small database program in the world, look no further than Microsoft Excel. :-)

      (Technically I think that last paragraph is a high level troll - but I'm sure alot of DB people would see the humour)

      Michael

      --
      There is no cryptographic solution to the problem where the intended receiver and the attacker are the same entity.
    6. Re:Criticize MySQL and get modded down by AstroPup · · Score: 1

      It's sad how all criticisms of MySQL on slashdot are consistently modded down. Although MySQL is a fine product with a lot going for it - there is plenty to be *legitimately* critical about.

      I like how almost any positive MySQL post that says nothing is deemed "Insightful." For example:

      The dirty secret of big databases is that most people don't know how to program them, how to configure them, and don't need most of the features. And even if they get everything right, they still end up with a very costly and complex solution, a solution that likely doesn't perform very well and needs a special DBA to keep it all running. That's why MySQL is successful.

      Let's see. It's a secret that most Oracle customers don't know how to program or configure the product? I thought it was a given. They don't need most of the features!? You're kidding! Really? It's costly and complex!? Wow. Another stunning insight. They need a DBA! Oh my. Didn't realize that. Thanks for all those insights! I'm much more informed.

    7. Re:Criticize MySQL and get modded down by IIRCAFAIKIANAL · · Score: 2

      Goddamn Excel -
      We had a financial controller at my workplace that must have loved Excel - he basically built a financial reporting tool using it. Around 40+ spreadsheets (not counting there are actually twelve of some of those) - all interdependant, all hardcoded, all undocumented... guess who has to help sort out this mess and turn it into a proper ORACLE based reporting system.

      Ugh, at least I have job security :)

      (That last line should get me modded down, let alone I am OT)

      --
      Robots are everywhere, and they eat old people's medicine for fuel.
    8. Re:Criticize MySQL and get modded down by Anonymous Coward · · Score: 0

      Unfortunately, it's because those people know nothing about databases either and simply use one to store address/billing information of their customers and maybe their suppliers. They probably even do very unsafe things that should correctly be transactional by just relying on the hopes that nothing 'bad' will ever happen that will cause them to screw their data up.

    9. Re:Criticize MySQL and get modded down by Eric+Damron · · Score: 2

      "It's sad how all criticisms of MySQL on slashdot are consistently modded down."

      Some moron modded my post down (and I posted without my extra +1) as "overrated." I'm not sure why. Could have been the fact that I mentioned that although MySQL is a very good choice as long as you don't need advanced abilities and Postgres is a good choice if you do.

      Or maybe he/she didn't like the fact that I mentioned that MySQL has a Windows version which would allow a person to program using a RAD tool like Borland's Kylix and port to Windows using Delphi.

      There was nothing bad about MySQL in my post, just the facts.

      Maybe he/she is just a jerk.

      --
      The race isn't always to the swift... but that's the way to bet!
  28. money talks by sydlexic · · Score: 1

    and sourceforge badly needs money. fill in the blanks.

  29. Pick A DB That Suits Your Needs by Not+The+Real+Me · · Score: 5, Insightful

    You need to pick a database that suits your needs. For some people MySQL is all that they will ever need. For others, referential integrity, transactions, stored procedures and triggers are a requirement not an option.

    I've seen instances where an app was done in Oracle when it should've been done in something like FoxPro v2.6 for DOS, and I've seen apps done in M$ Access97 that should've been done in PostGres/Oracle/Sybase/SQL Server.

    Each has its place and should be chosen to fit a business model. Picking a database just because it has the most features is not always the correct solution. Picking a database because it has the least initial cost is also not always the correct solution.

  30. The DBASE III of its time? by Greyfox · · Score: 4, Insightful

    Sure, MySQL is simple. Sure it doesn't do everything Oracle can do. But there are a huge number of small businesses, Churches, scools, etc which don't have huge budgets, have to work with a very limited IT department (In some cases volunteer labor) and need some sort of database capability. Used to be DBase III (And I've seen some HUGE apps implemented in DBASE.) MySQL provides the right combination of features, stability and price to compete really well in that arena.

    --

    I'm trying to teach myself to set people on fire with my mind... Is it hot in here?

    1. Re:The DBASE III of its time? by WWE-TicK · · Score: 1

      > MySQL provides the right combination of features,
      > stability and price to compete really well in that
      > arena.

      But so does PostgreSQL which has the added benefit of being a real RDBMS instead of being an SQL front-end to your data.

    2. Re:The DBASE III of its time? by loz · · Score: 1
      Small businesses, chruches, schools, etc. use MS Access.



      loz

    3. Re:The DBASE III of its time? by Anonymous Coward · · Score: 0

      I just wonder why there is no open source project on making a MS Access like application. I mean something which you can program forms and reports with ease.

  31. Next in Slashdot by Lord+Sauron · · Score: 2, Funny

    Next in Slashdot:

    Linux: A Threat To The Big Operating Systems Vendors ?

    and

    Apache: A Threat to Commercial HTTP servers ?

  32. Not for a while. by Twillerror · · Score: 4, Insightful

    I wish TPC www.tpc.org would do some MySQL tests and show just how it really perfoms when compared, to DB2, Oracle, and MS SQL Server.

    Why can we not put an end to this debate. I wish slashdot would just refuse to repost this crap that people keep saying to see their words be pubilshed.

    It is simple, MySQL is a simple db system well suited to web-sites and application where it doesn't really fucking matter. Suppose if slashdot lost a couple of days worth of stories. Is the world going to end, NO, people will be, well whatever that feeling is when you loose data, but life will go on.

    If I lost 5 minutes worth of production data, I'd probably have to find another job. People would not get their orders, we might loose a client. If I worked for the NASDAQ, it might mean real $ figures.

    People who work in these high stress database positions understand the debate, and probably won't even post anything beause they are tired of it. I know I am. Learn Oracle, or SQL Server and MySQL postgres and then post your ideas, just don't learn MySQL.

    Now that is not to say there is no hope for open systems, I sure hope there is because Oracle is expensive, and I hate most big companies. There is a large list of things that Postgres and MySQL have to do. Here are the big ones.

    Log based transactions.
    Whenever something happens to the data, the change is stored in another file, along with the data file. This way transactions can be rolled back or restored from transaction log backups without a need to restore the whole database. Get a copy of the datbase backup from a certain time and restore every transaction log backup after that and your back to your last transaction log backup. It also helps to replicate a database, and makes true "live" backups possible while a system is live without a huge performance impact, because the transaction log is also backed up, but at the last second, so when you restore the db, you also restore that log backup that was made at the last second while the database was locked.

    One data file for multiple tables.
    Having a seperate file for each table is like using dbase or paradox. Hell even Access has one file folks. It is needed for mysql and postgres to manage their own "file system within a file".
    I think Postgres is going to do this soon according to some of the discussions.

    Complete SQL-92 support.
    for all the bitching we do about not supporting standards, MySQL seems to think it is all right to say, "oh they'll make it slower". Give me a break.

    Locking, Locking, Locking.
    This is imperitive for true transaction support. It is also complicated, deadlocks are no fun. But we must be able to do db, table, row, and key locking. This way you can lock down a row for editing, and not allow anything else to mess with it until your current transaction is done. The classic example is the checking to saving account transfer by two people at the same. MySQL and postgres are not as good of Multiuser system as the big boys. Right now postges sends a message to the application saying, this is locked retry transaction, this is just not up to real enterprise levels.

    XML support.
    This is a new one, but one that is going to rock the DB world. The crappy thing about current tech is that all record sets are 2 dimensional. But if you've ever done more than 3 or 4 one to many joins this can be a big bitch to scroll through. It also replicates data in the result set leading to more memory consumption, network bandwith, etc. MS SQL as part of the whole .NET crap is doing this. Imagine XML results sets with heirachy. Tree based joins may also be in the works with this kind of power.

    Stop saying we will take over Oracle, and take the steps needed to make it a reality.

    1. Re:Not for a while. by Anonymous Coward · · Score: 0
      I wish TPC www.tpc.org would do some MySQL tests and show just how it really perfoms when compared, to DB2, Oracle, and MS SQL Server.

      That would require MySQL to have a real transaction support though.

    2. Re:Not for a while. by liloldme · · Score: 1
      Suppose if slashdot lost a couple of days worth of stories. Is the world going to end, NO, people will be, well whatever that feeling is when you loose data, but life will go on.

      And of course doing any kind of TPC tests on a system like this is total waste of time, which is why you don't see tpc.org doing it.

    3. Re:Not for a while. by nconway · · Score: 5, Informative
      I wish TPC www.tpc.org would do some MySQL tests and show just how it really perfoms when compared, to DB2, Oracle, and MS SQL Server.


      The specifications for the TPC benchmarks are freely available -- it's fairly easy to write a client application that follows one of the benchmark specs to test a specific database. contrib/pgbench in the PostgreSQL tree, for example, implements a "TPC-B-like" benchmark.

      Log based transactions.


      That's a fairly vague (or rather, inaccurate) term, but if you mean write-ahead logging, then PostgreSQL has done this since version 7.1. Some of the additional enhancements to this feature (such as point in time recovery) are planned for the near future, likely 7.4

      One data file for multiple tables.


      This sounds like a complete waste of time, IMHO. Since the database client shouldn't have any idea what the physical representation of the data is, it's not clear to me why this would be an important feature to have. Can you elaborate?

      I think Postgres is going to do this soon according to some of the discussions.


      Oh? I haven't heard anything about this...

      Complete SQL-92 support.


      "Complete" support for SQL92/99 is pretty damn difficult (SQL92 is 650+ pages, SQL99 is 1200+). Nevertheless, PostgreSQL aims to support as much of the standard as possible.

      MySQL and postgres are not as good of Multiuser system as the big boys.


      Erm, PostgreSQL uses MVCC, the same concurrency control scheme used by Oracle. It allows for "better than row-level locking" (readers and writers never conflict; one writer only blocks another if they update/delete the same row). In what way is PostgreSQL deficient in this regard?

      Right now postges sends a message to the application saying, this is locked retry transaction, this is just not up to real enterprise levels.


      When exactly does this happen, and what's the exact error message?
    4. Re:Not for a while. by ChannelX · · Score: 1
      One data file for multiple tables.

      This sounds like a complete waste of time, IMHO. Since the database client shouldn't have any idea what the physical representation of the data is, it's not clear to me why this would be an important feature to have. Can you elaborate?

      Are you crazy? In any substantially complex database having to manage all those files would be a nightmare. The way Oracle does it, with a file(s) per tablespace, is a much easier option. You can put whatever you want in that tablespace and it makes it very easy to manage.
      --
      My blog: http://jkratz.dyndns.org/~jason/blog/
    5. Re:Not for a while. by shatteredpottery · · Score: 3, Interesting
      "The crappy thing about current tech is that all record sets are 2 dimensional."

      This statement indicates a profound ignorance of basic database design. The entire purpose of a relational database is to maintain n-dimensional structures! To put it crudely, each table describes one dimension, and a given database can therefore have as many dimensions as desired (within physical limits).

      That's the reason why so many well-trained people spend their time babbling about normalization, first-, second-, third-normal form and so forth. Some people (I've worked with many) think that normalization is a fussy, over-theoretical waste of time, and start throwing out buzzwords, depending upon their age, such as "object-relational", "XML-database" and so forth.

      "Right now postges sends a message to the application saying, this is locked retry transaction..."

      That's pretty unlikely, given that Postgresql uses multiversion concurrency control - again, put crudely, two different instances, say one a read and one a write, are effectively not even looking at the same DB, but at two independent "virtual" copies of the "real" DB (yes, Postgresql people, I know that's not quite right. That's why I said "crude"). It's possible for a lock conflict to occur, but not likely. And there is a lock resolution mechanism, so it's even more unlikely that an error message will pop up.

      --

      A witty saying is worth nothing - Voltaire

    6. Re:Not for a while. by Anonymous Coward · · Score: 0

      If I lost 5 minutes worth of production data, I'd probably have to find another job. People would not get their orders, we might loose a client.

      Thank God you're not an editor, you'd LOSE your job right there.

    7. Re:Not for a while. by Twillerror · · Score: 1

      http://www.us.postgresql.org/users-lounge/docs/6.5 /postgres/x2803.htm

      Check out the above link. The case that I was talking about is serializable transactions. This is the highest transaction isolation level and isn't quite as robust in Postgres as the Oracle, etc.

    8. Re:Not for a while. by Twillerror · · Score: 2, Insightful

      Okay give me a little bit of credit. I'm a very good dba/dbd. My point was database result sets, which have nothing to do with the way the data is stored are 2 dimensions. Record sets and tables are not the same thing. An XML based database is a horrible idea, getting your results back as XML is a fabulous one.

      Postgres does not handle serialized transactions as well as Oracle, etc. If your just at read committed isolation level then it is fine.

    9. Re:Not for a while. by twms2h · · Score: 1
      It is simple, MySQL is a simple db system well suited to web-sites and application where it doesn't really fucking matter. Suppose if slashdot lost a couple of days worth of stories. Is the world going to end, NO, people will be, well whatever that feeling is when you loose data, but life will go on.
      If I lost 5 minutes worth of production data, I'd probably have to find another job. People would not get their orders, we might loose a client. If I worked for the NASDAQ, it might mean real $ figures.
      And you really believe this can't happen with MS SQL, Oracle or DB/2? There is only one difference: "Nobody will get fired for buying [insert your favorite major DB vendor here]."
    10. Re:Not for a while. by greenrd · · Score: 2
      Er, what do you mean, "manage"?

      Just put them in a dedicated directory, I can't see any problems with that.

    11. Re:Not for a while. by vitus · · Score: 1

      Could you please cite a bit more up-to-date
      documentation? We've considered PostgreSQL
      only since 7.1 release. 6.5 was definitely quite
      robust. But current is 7.2, and there is a BIG
      difference between current one and one you've cited.

    12. Re:Not for a while. by CTho9305 · · Score: 1

      I also think stored procedures are pretty important on large projects - they let you change the backend without having to rewrite the front end, and add security because compromizing the webserver won't necessarily give you any extra access to the db server.

    13. Re:Not for a while. by Anonymous Coward · · Score: 0
      If I lost 5 minutes worth of production data, I'd probably have to find another job.

      We have an application that does $10 million a year in revenue through it via MySQL. There has not been one incidence of MySQL being down or failing. MySQL has been an excellent choice for our system. Our other tested choices for a db for the application were PostgreSQL, Oracle and SQL Server. We chose MySQL after testing all of them with the application.

      omico--

    14. Re:Not for a while. by mgkimsal2 · · Score: 2

      The way Oracle does it, with a file(s) per tablespace, is a much easier option. You can put whatever you want in that tablespace and it makes it very easy to manage.

      Oh, you mean like the innodb type in MySQL? This will, I believe, become the default table type in MySQL in the next year or so. Can't remember where I read that, but it seems to be stuck in my head from somewhere (maybe I'm just crazy!) :0

    15. Re:Not for a while. by Anonymous Coward · · Score: 0

      The reason why Oracle does that is to by-pass the file system.

    16. Re:Not for a while. by nconway · · Score: 2

      Are you crazy? In any substantially complex database having to manage all those files would be a nightmare.


      I don't agree, but I'll accept that it's a valid concern.


      The way Oracle does it, with a file(s) per tablespace, is a much easier option. You can put whatever you want in that tablespace and it makes it very easy to manage.


      Ah, ok -- yes, there are plans to implement tablespaces. I haven't really looked at the concept extensively, but as I understand it, tablespaces don't simply "put multiple tables in one file", which is dumb -- they allow you to organize the physical storage of the database's data in a flexible manner. I can see the need for that -- all I objected to was the alleged deficiency of not storing all database tables in a single file (which would be pretty braindamaged).
    17. Re:Not for a while. by G00F · · Score: 2

      Hrmm, I think someone who uses MS sql thinks themselves to know what is being talked about. Most real DB's bypass the OS/File system and write directly to the disk.

      This is done mostly for reliability, sicne the OS will cache things and tell the application that it is written before its actualy commited to the drive.

      There are a lof of other things too, but I grow tired of typing already. ;)

      --
      The spirit of resistance to government is so valuable on certain occasions that I wish it to be always kept alive
    18. Re:Not for a while. by shatteredpottery · · Score: 1

      OK, that's certainly true enough. I apologize if I misinterpreted what you wrote. There's too many *@*#%ng DB morons out there (that I deal with daily), so I was probably too quick to be unfair to you.

      --

      A witty saying is worth nothing - Voltaire

    19. Re:Not for a while. by nconway · · Score: 2
      Most real DB's bypass the OS/File system and write directly to the disk.


      That's true; however, I think such a feature is mostly a waste of time. It takes a lot of effort to implement something like that. While there are some benefits (such as the capability for a more intelligent buffering scheme), the benefits are fairly small: if you're using a good filesystem to begin with, the performance difference is likely to be quite small. In fact, I've heard that part of the reason that raw disk I/O was implemented in the first place is that the filesystem implementations at the time were pretty poor -- so avoiding the FS buffer was a good idea. Since that's no longer the case for the most part, IMHO the enormous amount of work required to implement raw disk I/O is not justified by the performance improvement.

      This is done mostly for reliability, sicne the OS will cache things and tell the application that it is written before its actualy commited to the drive.


      On the contrary, you don't need raw disk I/O to implement provide reliability. You simply write() the WAL log entry, and then call fsync(), which forces the change to be written to disk. The actual (non-WAL) data change is not fsynced, so it stays in the OS's buffers and is written to disk at some later time -- but that's fine, because the integrity of the data can be checked by comparing the WAL records with the on-disk data.

      If you're using an IDE disk that does it's own caching, you're still going to have problems, since the disk lies to the OS following an fsync() -- it reports back that the changes have been written to disk, while in fact they have not, so if you lose power at that instant, the changes may be lost. However, I fail to see how using raw disk I/O improves the situation in this case -- an IDE disk will still lie to the OS or the RDBMS, either way.
    20. Re:Not for a while. by MattRog · · Score: 1

      IIRC for raw disks it was far easier to implement asynchronous I/O which is a significant performance boost over synchronous I/O. With filesystems you had to rely on the OS which may not have it or implement it differently, and it tends to blow away the disk cache anyway.

      I'm not a C/Linux hacker (just a DBA) so I don't know if that is true or not, but that was the feeling I got 'back in the day' when I was asked why asynch I/O was availible only on raw disks and not filesystem ones (although they now have it on filesystem files so I guess either they found a way to do it on Linux or Linux provided the tools to do so)?

      p.s. isn't dsync a slightly better method to use than fsync if you're using pre-defined/sized filesystem devices?

      --

      Thanks,
      --
      Matt
    21. Re:Not for a while. by nconway · · Score: 1
      IIRC for raw disks it was far easier to implement asynchronous I/O which is a significant performance boost over synchronous I/O. With filesystems you had to rely on the OS which may not have it or implement it differently, and it tends to blow away the disk cache anyway.


      Yeah, that's true. That said, the I/O buffer algorithms used by most modern file systems and operating systems are the result of a lot of hard work. So while there is a theoretical benefit to implementing I/O buffer management inside the RDBMS itself, you need to do a lot of work just to equal the implementation you get "for free" with a modern Unix system, before you even see any performance improvement. I'd also suspect that raw disk I/O will be less portable than using the filesystem, and would likely mean that you'd need to maintain two I/O subsystems (one that used the filesystem, one that did raw disk I/O). Of course, I haven't looked into very thoroughly, so that may not be the case...

      As you point out, it's also possible to do asynchronous I/O without needing to resort to raw disk access (one, two for Linux, I believe there are also implementations of the POSIX AIO API for other Unixen). Although this would require rewriting a lot of the PostgreSQL core, it might well be worth it.

      p.s. isn't dsync a slightly better method to use than fsync if you're using pre-defined/sized filesystem devices?


      If you mean fdatasync(), then yeah -- I'd expect that would be faster on most systems. I was just using fsync() for clarity -- PostgreSQL can actually use 4 different but similar methods for forcing the OS to flush it's buffers (see the wal_sync_method GUC var).
    22. Re:Not for a while. by MattRog · · Score: 1
      So while there is a theoretical benefit to implementing I/O buffer management inside the RDBMS itself, you need to do a lot of work just to equal the implementation you get "for free" with a modern Unix system, before you even see any performance improvement.


      Sounds about right. In my specific case I'm talking about Sybase ASE on Linux. From what I understand they are using new Red Hat 7.x runtimes which include async I/O for filesystem devices. So now we can have the best of both worlds -- OS buffered writes (as we all know non-buffered == slow ;)) and asynch I/O. And moving RDBMS installs from one box to another is easier with files than raw partitions.

      Based upon that example I would tend to guess the raw I/O would be 'built-in' and then filesystem access would utilize native libs of the OS, but it's all guesswork. :D

      If you mean fdatasync(), then yeah -- I'd expect that would be faster on most systems. I was just using fsync() for clarity -- PostgreSQL can actually use 4 different but similar methods for forcing the OS to flush it's buffers (see the wal_sync_method GUC var).


      Oh ok I wasn't sure. I thought d-synch was the 'best' which is why I though it was odd. IIRC in Solaris they're actually dsynch, fsynch and fsynch does some extra stuff (synchs file info stuff as well as the data which you wouldn't need if you kept device sizes from changing).
      --

      Thanks,
      --
      Matt
    23. Re:Not for a while. by ChannelX · · Score: 1

      We use a real db (Oracle) and dont use the raw file option. Makes no real sense and they never pushed this in the Oracle training either.

      --
      My blog: http://jkratz.dyndns.org/~jason/blog/
    24. Re:Not for a while. by ChannelX · · Score: 1

      If only it were that easy. It certainly isnt that easy on NT. We have a 300gb database with lots of files. it isnt quite so easy as putting them all in a dedicated directory when dealing with lots of different RAID containers, etc.

      --
      My blog: http://jkratz.dyndns.org/~jason/blog/
    25. Re:Not for a while. by ChannelX · · Score: 1
      I don't agree, but I'll accept that it's a valid concern.

      You dont have to :) I am only speaking from experience as an Oracle DBA.


      I haven't really looked at the concept extensively, but as I understand it, tablespaces don't simply "put multiple tables in one file", which is dumb -- they allow you to organize the physical storage of the database's data in a flexible manner. Actually putting multiple tables in one file(s) is exactly what tablespaces do. Yes that is a very simple way to explain it and there are many other options but that is the gist of it. Yes it allows you to manage physical aspects.

      --
      My blog: http://jkratz.dyndns.org/~jason/blog/
    26. Re:Not for a while. by wcdw · · Score: 1

      Perhaps as a DBA, but certainly not as a System Adminsitrator or System Designer. The biggest advantage to having a single file space from Oracle's point of view are:

      a) backups are simpler, and
      b) space management can be more granular, and
      c) both raw and cooked file systems can use the same APIs / formats / etc.

      The number of pointers open for a given number of tables is equivalent regardless of where those pointers point. And the downside to having more granular space management is that the overhead and responsibility for doing it is added into the application -- meaning even more pointers.

      There are actually advantages to separating databases out into separate table spaces, in order to distribute them across different busses, spindles, arrays, etc. (Or didn't you make it to class the day they learned that in DBA school?) This is obviously easier and more flexible with multiple cooked pieces.

      All of these differences, in practical terms? Anyone running Oracle who isn't running raw partitions (and I include my current employer) is just stupid -- if you can afford the overhead of cooked partitions, why are you using Oracle in the first place? And if you are using raw partitions, how do you know what's under the covers????

      Sure, there are some theoretical numbers that could get dragged out and paraded around here - big deal. Until there is an apples-to-apples comparison possible, this argument is so specious as to be ludicrous.

      --
      If you're not living on the edge, you're just taking up space!
  33. Oracle is top heavy by flinxmeister · · Score: 2, Insightful

    I've just recently gotten into Oracle out of necessity. It is very very reminiscent of my Novell days.

    They are too focused on their appserver and various "microsoft replacement" apps. Documentation is awkward when it exists, and even the smallest things result in a support call to find out about a bug or workaround. It takes even the resident guru days to do what would take a morning for me on a BSD/Apache/PHP box.

    The point? It's not that "Oracle is crap". That's clearly not the case. They're just so busy making the database do *everything* that they're going to look up and find out that people are using open source databases instead of Oracle. By then it may be too late. It won't happen overnight....remember that there are plenty of Novell boxes still humming.

    It's Oracle's arrogance about the up-and-coming databases that make it a statistical goliath.

    The brief history of software is littered with companies that were once of the same mentality as Oracle. They need to stop trying to be the end-all software co. and write some documentation.

    1. Re:Oracle is top heavy by Anonymous Coward · · Score: 1, Interesting

      Oracle has some of the best documentation I've ever seen available online.

      As far as tracking bugs/issues, if you had a support contract with Oracle then you could access their Metalink services which provide forums + issue tracking with support directly from Oracle.

  34. No surprises, just evolution by IcerLeaf · · Score: 1

    This is simply the sound of the database market evolving -- a testament to the viability of using MySQL and PostGres for a growing number of database projects. Why should anyone pay thousands of dollars for a database back-end to something like a messageboard?

    But for more complex projects, like those that use geospatial or geodetic information, something like Informix's Datablades or other proprietary API's will make the difference. The competition from freebie databases will just feed this kind of innovation. The market is still there for Oracle/IBM/M$, as long as they can stay ahead of the curve.

  35. MySQL is great... by csguy314 · · Score: 2, Insightful

    I've been using it for quite some time, and I love it since it's nice and easy to use and very fast.
    But if you think that it will replace a company like Oracle, you're way off. MySQL is cool, but it can't handle nearly what Oracle or even DB2 can.
    Those bigger DB's run the biggest stuff for a reason. There's no way that MySQL (as it is today) could handle the loads that they do. It may happen in the future, but that's a ways off. There is no current threat at all to the big guys.
    Sure not everyone that uses the bigger DB's needs their full potential, so some could switch to MySQL. But the biggest databases will stay with the commercial vendors.
    But the GPL license isn't a problem, since you can buy commercial licenses for MySQL so that it can be distributed with non-free software. So that's a non-issue.

    --
    This is left as an exercise for the reader.
    1. Re:MySQL is great... by Tony-A · · Score: 2

      Those bigger DB's run the biggest stuff for a reason. There's no way that MySQL (as it is today) could handle the loads that they do.
      MySQL is very fast because it does not have to deal with the complications of having multiple simultaneous versions of a table so that readers and writers can proceed simultaneously. Slow readers mix badly with writers, although it should be workable if you put the slow readers on a slaved mysql. Once you reach the point where MySQL becomes too congested, expect the cost to go up an order of magnitude. There's a reason mysql (the client) comes back with how long the query took, and it's not bragging rights.

  36. Comparing MySql to Postresql by Hornsby · · Score: 2, Offtopic

    I've been using mysql for four years, and I've recently began migrating to Postgresql. I've found Posgtgresql to have all of the features that I've wished MySql had, and they don't feel "tacked on" like InnoDB and Berkeley DB support do in MySql. I would highly reccomend Postgresql over MySql for any serious application due to its native support for transactions and sub-selects. It also has wonderful features like views and stored procedures that are still in the planning phase for MySql.

    Seeing as how both are free, the only winning factor for MySql at this point seems to be speed. If you're planning on using a system that doesn't have to deal with the possibility of simultanous writes to a particular table then MySql probably makes more since due to it's superiour speed; however, if you're handling a high number of concurrent writes then Postgresql is the way to go due to it's improved reliability and ACID compliance. MySql only supports table-level locking by default, which seems silly for any application where a lot of inserts are happening at the same time. I know that there are 3rd party libraries which provide a solution for this, but I'd rather use a database where these features have been planned for from the beginning.

    MySql is catching up in the areas in which it's lacking, but it's still going to be a bit longer before it has a comparable feature set to some of the more industrial strength databases. On the upside, I'm glad to see free software solutions in the database market making their mark because the acceptance of these technologies will only further Linux's success in the long run.

    --
    A musician without the RIAA, is like a fish without a bicycle.
    1. Re:Comparing MySql to Postresql by Purpendicular · · Score: 2, Interesting

      I would love to be able to use all the features of
      Postgresql but I need 24/7 availability (no vacuum) and replication. Until some slashdotter can explain how to do this with Postgresql I will stick with MySQL.
      It would actually be nice to see ONE SINGLE COMMENT on these issues in the usual 400 post thrashing of MySQL that these discussions cause.

      Erik

    2. Re:Comparing MySql to Postresql by bovinewasteproduct · · Score: 2

      PostgreSQL 7.2 and above has a non-locking vacuum.

      As far as replication goes, it is available, but a little hard to setup.

      BWP

  37. Use InnoDB by SiMac · · Score: 2, Informative

    MySQL Max binaries support InnoDB, which uses row-level locking. It can also be compiled from source with InnoDB.

    Also, IIRC, /. uses InnoDB.

    Simon

  38. Should be illegal by setzman · · Score: 2, Funny

    A free program doing certain tasks better than high priced commericial programs? This should be illegal here in the USA, don't be surprised to see corporate execs begging Congress to ban this kind of thing!

    --
    C:\>
  39. But Sourceforge.net is switching to DB2... by Anonymous Coward · · Score: 0

    Does anyone know why Sourceforge feels the MySQL was not enough?

  40. Whether MySQL or PostGres... by LinuxParanoid · · Score: 3, Insightful

    Whether MySQL or Postgres, I don't care as long as open source ends up being a platform for databases. Microsoft can try to portray Linux as a niche webserver platform now, but with a solid foothold as a database platform, open software, as a platform, will be substantially harder to dislodge.

    --LinuxParanoid

  41. Sorta OT question... by NanoGator · · Score: 3, Interesting

    Okay, I just have a real simple question:

    Let's say that Database package A is made by a huge corp and package B is like MySQL, free, open source, etc.. Now, let's say that functionally they're similar and that any given company could use one or the other without aching too much.

    If there is a bug in package A, the corp would have monetary incentive + engineers to fix it. (This is hypothetical, so spare me real world scenarios...) If there's a bug in package B, what exactly is the incentive to get it fixed in a timely manner?

    Just to be clear, I am not criticizing free software. I'm genuinely curious because I'm not fully educated on the topic.

    This is an important question because larger companies are willing to pay the money for the 'package A' scenario, but only because they have a sense that spending th1e money put into it means problems are quickly correctable. (I know, reality is a different story, don't beat me up for that point.) With package B, if something's missing, they don't have much alternative other than to go ahead and use package A. Package B is free, but if they already adopted it there's time/money/effort already invested. This could prove embarrasing. It seems like it'd be hard for a company with enough money to buy and support package A would ever be interested in package B. So how does one go about convincing them?

    I'd really like to understand that aspect of Open Source before I recommend MySQL or something like that to my boss.

    --
    "Derp de derp."
    1. Re:Sorta OT question... by Anonymous Coward · · Score: 0

      They could fix it themselves.. the 'incentive' would be to get fix the bug so their stuff works. If they don't fix it, chances are their problem will be experienced by somebody else, who will fix it. The speed at which the bug gets fixed depends on how many people have that problem.. if it's fairly obscure and you're the only one that has it then maybe you'll have to wait a while (if you don't have in-house talent to fix it yourself), if it's a major problem it'll be fixed very soon indeed by somebody who needs it fixed.

    2. Re:Sorta OT question... by Chagrin · · Score: 3, Insightful
      • If there is a bug in package A, the corp would have monetary incentive + engineers to fix it. (This is hypothetical, so spare me real world scenarios...) If there's a bug in package B, what exactly is the incentive to get it fixed in a timely manner?

      For package A, it's not really clear that there is a monetary incentive to fix it. Is the bug likely to generate fewer sales or not? The company is motivated by profit only and has to consider the opportunity cost of fixing the bug -- not the needs of the consumer. Package B (almost) always has motiviated engineers and an incentive (whatever that incentive might be) to maximize the package's utility. Package B exists because this is true.
      --

      I/O Error G-17: Aborting Installation

    3. Re:Sorta OT question... by jthill · · Score: 1
      what exactly is the incentive to get it fixed in a timely manner?
      Pride.

      Not the sin, but the joy of doing a job well.

      Look at it this way: every line of free software was written by someone who would rather be working on that particular piece of software than doing anything else in the world.

      I don't like it when my code breaks on people. Not because the boss will yell, not because people will think I'm a screwup, but because my code screwed up. I hate it when that happens.

      --
      As always, all IMO. Insert "I think" everywhere grammatically possible.
    4. Re:Sorta OT question... by NanoGator · · Score: 2

      I can relate to that. I recently rewrote the core of my company's website using PHP (we were using .ASP.. blah) and there's a few features that I didn't have to add.

      I understand what you're saying, thanks. :)

      --
      "Derp de derp."
    5. Re:Sorta OT question... by Issue9mm · · Score: 2

      To put the light in a SLIGHTLY different perspective:

      You have package a (closed product) and package b (open product) that are similar in features, blah blah blah.

      Package a and package b have similar bugs. Because Package B is open source, any one of the users experiencing that bug has the ability to fix it. While this may or may not be you, and may or may not be the manufacturer or package b, if it's a pretty widespread bug, it can be fixed by anyone, and is likely to be fixed by someone.

      Compare and contrast the recent SSL bug. When discovered, company a (Microsoft in this case)has not yet patched the bug (correct me if that's wrong), whereas the same bug, as found in Konqueror (open source) was patched in 90 minutes.

      While you're right that Package B manufacturers may not have as much monetary incentive to fix the bug, any of the users can as well, though typically fixes are provided in a rapid manner for high profile bugs in open source projects. For less common bugs (read: something that only you are experiencing), you might not ever get a fix at all, but then again, that goes for the closed source product as well.

      Hope I've helped,
      -9mm-

    6. Re:Sorta OT question... by aminorex · · Score: 2

      If you want it, you implement it. The release cycle
      times for mature, popular open source projects like
      mysql are typically quite short, so if you do it well
      the first time, your patch can be integrated into the
      release in short order.

      One way of implementing it is to hire a professional
      to make it do what you like. In reality, you can
      get timely fixes for open source software, but you can't
      get timely fixes for popular closed-source software.
      This is because your money matters much, much
      more, in the development of an open source
      project than it does to a very profitable company
      which is focussing on other markets at the time.
      Especially when said company is large and
      beaurocratic, and implements some horrendously
      heavy-weight process, like Unified.

      Being rich does, however, allow you to be stupid.
      I can't argue with that.

      --
      -I like my women like I like my tea: green-
    7. Re:Sorta OT question... by Anonymous Coward · · Score: 0

      I'll put it to you this way, as I've seen it has been put to you in different ways already.

      Product A and B similar features and all that blah blah blah.

      We'll even go so far as to imagine OpenODBC and regular ODBC both having the same featureset, bugs, etc.

      Let's say theres a common bug, experienced by pretty much all users of both. One of the users(or developers) of OpenODBC(we'll call it OODBC from now on), figures it out, uses a little coding moxie and boom fixes it. Oracle promptly fixes their bug as well because it's widespread.

      Now, there's an uncommon bug, only affects 5 percent of those who use both. Oracle may or may not fix it, depending upon whether or not it is profitable to fix it or more profitable to work on a new feature. The open source developers want to keep pace with ODBC so they ignore the same bug in OODBC as well. Here is where the model differences come in handy.

      A> You have the ability to fix this bug yourself, you may not actually possess the knowledge required, but the source is available and you could in theory fix it.
      B> The same applies to all other users of the product. And if one person fixes it, most likely it gets fixed universally.

      Here's your profit motivation in open source. 50% of users use ODBC and the other 50% use OODBC. There are say 10,000 users total, so 5,000 per DB package. Now most of these are commercial users. Each person who uses either has a motivation for it to work right (their own profitability), any one of the OODBC users will fix a problem they encounter if they possess the time and ability. The same is true of the closed source project but only if it affects their market share.

      This is not the current DB situation however. MySQL currently is great for very simple tasks that do not need to scale to extremes. The open source development model works in general much quicker then conventional models, but similar to most faster development models there is a tradeoff. Just as OO programming, you sacrifice speed of code for ease of implementation, coordination, and quicker development times, in OS development you generally sacrifice features for a quicker time to stabilize(bug free).

      It honestly depends upon a GREAT deal of factors, and you should ALWAYS choose the right tool for the job. Simply put, if you were given the choice above of A or B, you should probably pick B because it would be less costly and you could be pretty sure problems would be fixed quicker, and any problems that were specific to your implementation could be fixed by you. If B can't do something you need it to do, then you should pick A of course. Which is why oracle is here to stay.

    8. Re:Sorta OT question... by AstroPup · · Score: 1

      If there is a bug in package A, the corp would have monetary incentive + engineers to fix it. (This is hypothetical, so spare me real world scenarios...) If there's a bug in package B, what exactly is the incentive to get it fixed in a timely manner?

      When there's a security bug found in IIS how long does it take Microsoft to fix it? Sometimes weeks. When there's a security bug found in Apache how long does it take to get fixed? Usually there's a patch within hours. Granted, the Apache folks didn't have to go to a series of meetings to determine the bugs impacts and the impacts of fixing it on their big corporate customers. Didn't have to then have additional meetings to determine who was going to be assigned the task. Didn't have to schedule multiple code reviews. Didn't have to wait for the "QA" team to schedule testing. Didn't have to wait for the install team to build the patch installer. Didn't have to wait for the web team to place it on the website. Didn't have to wait for the software update folks (with root privs on all their customer boxes) to queue up the patch in the software update stream. So really, I'm not sure what the Apache folks incentive is.

    9. Re:Sorta OT question... by Anonymous Coward · · Score: 0

      For the cost of one of the big DB's licence, you can have a personel developer at MySQL AB for support. Who knows, even monty may pick up the phone for you (he used to even sell a support option that gave you *his* phone number).

    10. Re:Sorta OT question... by Tony-A · · Score: 2

      Let's say that Database package A is made by a huge corp and package B is like MySQL, free, open source, etc..
      Well, I can give you an example. dBASE5 has a problem that can destroy records in a database. This problem will never be fixed. The problem is reproducable, but not by anything small and simple. First determined by stepping through a program where looking up a shipto address would delete a recently entered Sales Order. The statement where the Sales order was deleted was not related to Sales Orders. Messing with CMDSPY I was able to determine that under some (unknown) circumstances dBASE5 would write out the initial 6 (IIRC) bytes of most OTHER databases. Given the practicalities, the only thing feasible is to recode to avoid the problem.
      With such as MySQL, any such bug would be traced, found, and obliterated. Using a full production system to trace down an elusive bug (which won't show up on anything small) is very viable if the time to fix it is no more than the time to work around it. For the vendor to fix it, the vendor has to be able to replicate it. If it fails on your machine and works on the vendor's machine, what *CAN* the vendor do?

    11. Re:Sorta OT question... by Tony-A · · Score: 2

      I hate it when that happens.

      Me too. I don't just mean I hate it when my code screws up. It has to do with the rightness of the code itself.

    12. Re:Sorta OT question... by NanoGator · · Score: 2
      Didn't you read the part where I said "This is hypothetical, spare me real world examples."?


      On the flip side, I worked for a company that leased servers from IBM. One server blew up in a bright flash, and 4 hours later we had an IBM rep with a new motherboard.

      I'd like to see Open Source do that! :P


      Sww why I wanted to avoid that? Yeesh.
      --
      "Derp de derp."
    13. Re:Sorta OT question... by horza · · Score: 2

      If there is a bug in package A, the corp would have monetary incentive + engineers to fix it. (This is hypothetical, so spare me real world scenarios...) If there's a bug in package B, what exactly is the incentive to get it fixed in a timely manner?

      Let's pick two productivity tools that are used in the office every day, say IE and Mozilla. Let's take a bug, for instance the SSL flaw. With Mozilla the bug was eliminated in days, M$ have still got to get around to fixing it. The incentive to fix it is because the users need it to be fixed, and being Open Source the programming community is fortunate enough to have plenty of gifted people able to do this quickly. You could look on it as a large collective self-interest.

      Phillip.

  42. SAPDB(L/GPL) is more on par with Oracle than MySQL by Anonymous Coward · · Score: 1, Informative

    If you want something more on par with Oracle, then try SAP DB ( distributed under GPL or LPGL ):

    http://www.sapdb.org/

    It has a lot of the features that MySQL lacks:

    http://www.sapdb.org/sap_db_features.htm
    http:/ /www.sapdb.org/sap_db_documentation.htm

    Ever tried JDBC with PostgeSQL? If you haven't but are planning to, then you'll have some or lots of troubles depending on what features of JDBC 2.0 you use ( specially with LOBs and no performance benefit with BatchUpdates ):

    http://lab.applinet.nl/postgresql-jdbc/

  43. What about clusters with distributed data? by treat · · Score: 2

    What about clusters with distributed data? No shared storage. What software does this?

  44. You've hit the nail on the head by Da+VinMan · · Score: 2

    That *is* a key problem in open source. The project developers develop features around their own key interests first. One could fairly argue that you ought to just code the features in question that you feel are missing from the product, but that's hardly a possibility for most of us because of the time and skill needed to modify something as complex as a RDBMS like MySQL.

    That said, you really don't need to sell your boss on what a given open source will be. You only need to concentrate on what's there right now and the ROI tradeoffs involved in procuring such a product over the traditionally favored commercial product (be it Oracle, SQL Server, whatever). At the end of the process, you may find yourself choosing the commercial product anyway. It happens.

    As the article said, not everyone needs aircraft carriers. Most of us get by just fine with a frigate. Choose the right tools for your environment. Like it or not, those factors may include political factors which force you to steer clear of open source.

    --
    Please mod this post only if you think others should/n't read this. I have enough ego^H^H^Hkarma. Thanks!
  45. It already is a threat... by wirefarm · · Score: 2

    ...for the applications that don't require those things.
    (Why drive a truck when a bicycle would do?)
    Oracle is great, don't get me wrong, but I have seen applications spec'd with Oracle maany times when the developers weren't using those things at all. Very often, this is being done with your tax money too.
    Too many people think that a kickass databse is somehow going to make their crappy schema into a good one.
    Of course, the whole key is to start with a good design and know the limits of your tools. If you do that, both MySql and Oracle can happily co-exist.
    Cheers,
    Jim

    --
    -- My Weblog.
  46. Re:mysql is a threat to the commerical db vendors by nelsonal · · Score: 3, Interesting

    I have to agree with this, there are certainly many applications that require the name, stability, and configurability of one of the big providers. However, I have noticed a pretty distrubing trend, distrubing to me as a software analyst anyway, the firm I work with purchases loans as an investment, it buys a few hundered loans a year. They originally used a spreadsheet to track payments, balances, and other info about the loans. As this became unmanagable, it was decided that a database would be needed, they bought a new system and put oracle on it. By the time hardware, software, and the consultants were paid, the bill was quite large, all to track about 1500 loans! Say what you will about Access, but this was about the perfect application for it. MySQL or PostgreSQL would have worked, but no one there knew how to manage it. There are people who could be taught how to create and manage access, especially for something this small.
    I also am beginning to believe that these sorts of applications of enterprise databases, for something like this, I would guess that most managmets would be quite receptive to a no liceses cost alterative to Oracle. This is starting to give me the hebejebes about investing in enterprise database companies.

    --
    Degaussing scares the bad magnetism out of the monitor and fills it with good karma.
  47. Sad, but it's a common problem by devmanager · · Score: 1

    Yeah, this is another instance of the "nobody ever got fired for buying IBM" problem. There are some interesting books out there that helped this crazy market make sense. The "Crossing the Chasm" books by Geoffrey Moore explain that there really is some reason why Oracle still exists -- and it has nothing to do with technology. Even if you're an interested bystander, this might be an interesting read, but if you're involved in a technology product company, you've got to read it!

    --
    ____DevManager_____
  48. Re:Fuck that shit by Anonymous Coward · · Score: 0

    agreed, you one dumb fuk if you think athlons are unstable

  49. MySQL is important for society. by catwh0re · · Score: 2, Insightful

    It's important that MySQL and other similar open source is free of charge, as it reduces the price of web hosting, as you can get a server for a good cost and everything that runs on top of it is now open sourced. Dramatically bringing down the price of smaller upstarts to host on the web.

    1. Re:MySQL is important for society. by catwh0re · · Score: 1

      sorry wrote it in a rush, but you get the point.

  50. Re:Blacks Need Reperations. by Anonymous Coward · · Score: 0

    Well, they'd all have OD'd on the crack, so we clean the streets.

  51. Probably not. by /dev/trash · · Score: 1

    If it were would VA Software be switching to DB2?
    Personally I like Postgres but hey if the Bastion of Open Source won't even it's it's own food.
    Of course this is all just my opinion.

  52. Standard MySQL disclaimer on slashdot by defile · · Score: 5, Informative

    Addressing the typical slashdot negativity when MySQL is mentioned...

    MySQL, w/ InnoDB tables (binaried as MySQL-Max) supports transactions with row-level locking and multi-versioning. It also supports foreign key constraints to some degree (on delete cascade, IIRC).

    MySQL w/ InnoDB is extremely fast, and this isn't just on SELECTs. UPDATE/INSERTs are much faster than in MyISAM tables. Looking back, the turning point where MySQL went from a good database to a great database is when it picked up InnoDB, IMO.

    No, MySQL does not yet support stored procedures, subselects, or views. These are coming in 4.1, along with built-in hot backup support. Plus better replication. 4.0 is available now and seemingly stablizing. The biggest buzz is how thrilled people are with the query cache. At the current pace of development I imagine the above mentioned features will appear and stabilize in version 4.1 within 2 years.

    Is MySQL an Oracle replacement in all circumstances? Absolutely not, but very often Oracle is wholly unnecessary for many of the tasks it's purchased for. We're currently running MySQL + InnoDB on a 36GB dataset at a load of ~500 queries/sec average against a 3 month period. Approxiamtely 30% of queries are data modifications. This is obviously not an impressive system to many of you, but I'm fairly pleased with it, especially considering that "professionals" have been telling us abandon this toy database for years. Personally, I'm glad we saved the down payment on Ellison's next yacht.

    Is MySQL a PostgreSQL replacement? Probably not. There are back and forths about speed and features--PostgreSQL does support more of the features listed above--but I find MySQL to be easier to use and better supported, and the benefits to me of switching are not very apparant. Your mileage may vary. It's not the end of the world to enforce some business logic in the application layer, and it has its own benefits.

    MySQL continues to impress us and the support we receive is outstanding. And that was before we even decided to purchase a yearly support contract. I have nothing but praises to sing about MySQL, and I think it can only get better.

    Oh and it's free and open source. *shrug*

    1. Re:Standard MySQL disclaimer on slashdot by bovinewasteproduct · · Score: 3, Interesting

      MySQL, w/ InnoDB tables (binaried as MySQL-Max) supports transactions with row-level locking and multi-versioning. It also supports foreign key constraints to some degree (on delete cascade, IIRC).

      But in this case forget hotbackups unless your willing to buy the tool for InnoDB (it is NOT open source).

      BWP

  53. What MySQL is... by coupland · · Score: 3, Insightful

    MySQL is basically a database as powerful as Access and others with no performance hit whatsoever. It's not that MySQL is an amazing feat of programming (a good one, but not an amazing one) but it shows what a simple database can do when performance is key. Consider /. which is run on MySQL. A personal database powers one of the best sites on the web, bar none...

    1. Re:What MySQL is... by Anonymous Coward · · Score: 0

      You think /. is one of the best sites on the web? Boy do you have poor taste.

    2. Re:What MySQL is... by NotoriousQ · · Score: 1

      database as powerful as Access

      I am sorry but MySQL does not offer such features as multitable corruption, slow as heck macros, and true singleuser environment (well you could open the same file multiple times - see the point about multitable corruption)

      On the more serious note, you are right, MySQL should be used for about the same scale projects as access without any fear. 1-20 users without advanced SQL -- and MySQL will tear it to pieces, at the same time being really easy to use.

      --
      badness 10000
    3. Re:What MySQL is... by Anonymous Coward · · Score: 0

      Access does have a lot of stuff that mySQL doesn't have, like a complete front end development environment. And it does support muliple users, although obviously it will not scale like some of the others. It's not meant to.

      BTW you exposed your level of expertise by complaining about the macro facility - a toolset that is used solely by novices.

      All of these databases have their place.

    4. Re:What MySQL is... by chanceH · · Score: 1

      dont forget query mangling. Thats where MS decided that if you have the gall to actually write SQL because you know what you want and don't want to waste time clicking thru their idiot GUI API, you should be punished by having your query reformatted into an unreadable state if you ever want to look at it again.

  54. ObDebian by spongman · · Score: 1, Redundant

    apt-get install postresql

  55. GPL doesn't impair consultants? by joneshenry · · Score: 2
    I don't understand the comments that the GPL is impairing MySQL. Considering MySQL's popularity, that does not appear to be the case.

    I would suggest the reason is that for consultants who are recommending a custom solution the terms of the GPL are not onerous. The GPL unlike other licenses does NOT require one to give source changes back to the original developer. You just have to give the source code including your source changes to the customer licensed under the GPL.

    In theory the customer can then take your changes and distribute them for free under the GPL. But why would the customer do this if your solution is giving the customer a competitive advantage?

    I would conjecture that databases are an almost ideal situation for the GPL to not affect consultants. The customer will not be worried because in all likelihood they aren't going to be distributing the customized database outside the company, so they don't have to reveal the code you gave to them under the GPL. You don't have to be worried because even though you licensed your code under the GPL, the customer has no incentive to publicize it.

    1. Re:GPL doesn't impair consultants? by Alien+Being · · Score: 1

      The GPL unlike other licenses does NOT require one to give source changes back to the original developer.

      That's an interesting interpretation. From the FAQ at gnu.org:

      Does the GPL require that source code of modified versions be posted to the public?

      The GPL does not require you to release your modified version. You are free to make modifications and use them privately, without ever releasing them. This applies to organizations (including companies), too; an organization can make a modified version and use it internally without ever releasing it outside the organization.

      But if you release the modified version to the public in some way, the GPL requires you to make the modified source code available to the users, under the GPL.

      Thus, the GPL gives permission to release the modified program in certain ways, and not in other ways; but the decision of whether to release it is up to you.


      The client libraries for MySQL are covered under the LGPL which means that they can be linked and distributed with value added products without those products inheriting the open source requirement. The database server is GPL which means that it cannot be linked with value added products without a commercial license.

      http://www.mysql.com/support/arrangements.html

  56. MySQL and Apache by rainmanjag · · Score: 1

    When I first came to webdb programming four years ago and looked at the open source options available (I was a poor student who couldn't even begin to consider affording anything else), I couldn't see any real reason to adopt MySQL over PostgreSQL other than the extremely tight intertwining of MySQL with Apache/PHP. Given that PostgreSQL has some basic features that MySQL does not, e.g. MVCC, transactions, etc., why do people choose MySQL over PostgreSQL anyways other than its relationship to Apache? Not trying to start a flame war, but I'm just genuinely curious why somebody would make that decision.

    --
    http://starboard.flowtheory.net/
    1. Re:MySQL and Apache by Anonymous Coward · · Score: 1

      Simple....Speed....

      I wanted to migrate my current system to Postgresql for all the reasons stated....but found that it simply did not perform anywhere near as fast as mysql (i was doing lots of big selects joining multiple tables )....

      I'd love to go to Postgresql but at the end of the day, if I cant deliver the results fast enough then customers will get bored waiting and move on....

    2. Re:MySQL and Apache by Anonymous Coward · · Score: 0

      Its like the question, why choose people Windows instead of Linux/xBSD/etc?

      probably its more advertised, more often bundled, more common in the world. but is it better? that can you say only after trying both.

      i tried to find a cheap webspace w/ PgSQL. i a database for webspace, there were a lot of providers which claimed to have PgSQL DBs for you. if you checked up their homepages, you only found MySQL...

      slashdot.org(at)evilazrael.de

  57. MySQL vs. Oracle by Anonymous Coward · · Score: 0

    The company I work for has used MySQL for about 4 years. First off, we are not some little code shop. We rank right up there with Amazon.com and Yahoo.com. We handle a lot of data.

    If you doing heavy data mining, Oracle is your product. If you doing thing such as handling customer transactions on a web site, then MySQL is your product. Oracle has a lot of bells and whistles that you'll never use.

    In our tests, MySQL is way faster than Oracle. We don't get corrupt tables (used to about 2 years ago). We have one person managing the database, where Oracle told us we would need two people if we switched.

    When it comes down to it, Oracle with a 2 million dollar price tag ( that's with 30% discount ) or MySQL with a 3000 dollars service plan, it's not a hard choice.

    Before you try to respond, remeber MySQL gives us no problems at all. Why switch?

    Oh yeah, Sybase. We couldn't even get pass their used car type salemen. I guess that's the remaining M$ influence.

  58. Haven't we discussed this before? by MattRog · · Score: 3, Interesting

    Boy it seems not a couple weeks ago we were discussing something along these lines here on SlashDot. I think I've said everything I need to say on the lacking features of MySQL, so maybe I'll chat about something else.

    I think everyone 'knows' of an Oracle-dependant piece of software in your shop (or school, or website, etc.) which really doesn't 'need' Oracle. We look at apps with 100 users and say - "Heck! Even flat-files would be fine for this app!". Those sorts of Oracle installs are certainly feeling the IT budget crunch. No longer can management write $80K checks to Oracle each year for support and product upgrades. They're looking for a way out and I think some of the smaller more niche products (Sybase ASE, PostgreSQL, MySQL, etc.) need to be ready to step in and take them (so listen up MySQL developers and zealots!).

    When we discussed this before I brought up what I thought were valid complaints (no hot backups, no binary dumps, EXPLAIN output is cryptic and could be cleaner, replication is still a little immature, etc. etc.). Regardless, some 'rebuttals' I received were the Open Source Party Line - e.g. 'Why don't you code it yourself?' or 'There's a workaround for that.' That is certainly not a healthy attitude to tell potential customers of your product. These guys dropping $100K on a RDBMS and are feeling the pain would love to pay MySQL support contracts, however if you have the attitude that somehow the end-user, who would like to actually pay you money for your product, needs to keep their mouth shut and gratefully take what you charitably give out you're not going to retain them as a customer. Like it or not, they are used to getting what they pay for. And if you're really focused on getting more Enterprise-ish people to use it then you'd best start acting like it. :)

    Give them what they want, treat them like CLIENTS (e.g. deserving of some respect) and not simply another l33t hax0r ("Code it yourself, n00b!") and they'll beat a path to your door.

    --

    Thanks,
    --
    Matt
    1. Re:Haven't we discussed this before? by MattRog · · Score: 1

      Another thing is to partner with big name 3rd party app vendors. Most shops choose Oracle, DB2, MS SQL, Sybase, etc. not because they necessarily 'need' it, but because it is what runs their SAP, PeopleSoft, Billing, etc. application. Get SAP, et al running on MySQL and they can switch without affecting their entrenched users.

      They've already invested significantly into those apps, they're sure as hell not going to switch to something else that runs on MySQL. If a suitable product doesn't exist then they'd have to create it somehow. The cost to re-tool and re-train would far outweigh another check to Oracle.

      --

      Thanks,
      --
      Matt
  59. Postgresql great substitute for Oracle Workgroup by spagbol · · Score: 2, Interesting

    In our corporation we used Oracle with good success for many years. We switched to Postgres for many reasons and have found great success with it. It is very stable, excellent documentation available and is much more straight forward to administer. No problem convincing the suits as the cost of the Oracle licenses went into orbit. I would recommend Postgresql for use in a production environment

  60. Army Uses mySQL by robpoe · · Score: 1

    The army is using mysql for at least ONE war simulation project, on the backend. Of course, I've not seen it as it is classified, just have heard about it from several sources. And NO, I am NOT talking about that America's Army game.

    --
    = Grow a brain...
  61. Re:Fuck that shit by 20721 · · Score: 0

    Pabst Blue Ribbon!

    --

    20721
  62. There is no one database to rule them all. by Anonymous Coward · · Score: 0

    I think you and a lot of like-minded people are missing the point. There are certain apps where it really would only make sense to use Oracle or Progress or something beefy like that. Then there are apps where you can choose between MySQL and Postgres, and you might want to go with Postgres because (for example) you'd like to use some sort of procedural language. Last I checked PGSQL has 3 and MySQL has 0. Then there are apps where you can pick between the two, and it *just doesn't matter at all* which you go with, so you choose whichever one you or your developers are comfortable with / whichever one your DBAs support / etc. For a Web portal, should you use Oracle, Postgres, or MySQL? Most of the time portals would only require PGSQL or MySQL. So you pick one.

    There is no one database to rule them all. Stop thinking in absolutes and just go with what makes sense.

  63. MySQL won't do-Real DBA's have internal crack pipe by Anonymous Coward · · Score: 0

    Paranoia. It is what really drives the high-end systems. Fear of loss, Fear of CYA failure, Fear of unauthorized remote installs on the intranet, Fear of non-DBA Employee "Smith" starting up a self-managed little project, Fear of having to support "Smith's" little project if it proves to be successful, Fear of systemic failure if the project needs to grow. Fear of "why not? why can't we do that?", Fear of the lack of speed, Fear of the lack of Rollback, Fear of the lack of manageablitity, Fear of others taking the lead and doing things that "the people with the Software Licenses on the team" should be doing, Fear that things will come to a crawl with data corruption and they will be called in to figure it out and provide statistics for improvement, Fear that the backup cannot be restored, Fear that they are not the sole source of authority for the DB, Fear that some application somewhere will not work and they will be called in to fix it on the back-end. Fear of the lack of scalability when something really needs to scale. Fear of reviews and email when something doesn't quite work out on the production DB. Fear of the lack of control.

    MySQL has limited support for the Enterprise. Let's face it, most paid DBA's are paranoid, critical, selfish and self-aggrandizing people who like to get it right the first time and who will not share unless told to by higher powers who may pay them for getting projects done and documented--hence, all this poopooing of MySQL and Fear of losing the corporate crack pipe. If someday an Open Source DB can really deliver the features, then crack pipe DBA's will be exposed for what they are-- people who try to remotely collect and control reality after the fact with tools that never give the real picture. DBA's only "indicate" reality for management decision making.
    Wait until Homeland security has us all in the DB, crack will be on every corner.

  64. Linux kills business by CmdrFaco · · Score: 0, Troll

    I've been telling this all along. Linux is not such great idea for business environment. Having today such a wide support from IBM, Oracle or recently Sun we will see opposite trend in upcoming months.
    How much more prove is needed to see the damage Linux is doing to our economy and companies. Soon, more and more software companies will go bankrupt if we start replacing everything with free stuff.
    It's time to slowdown with linux development and rethink the strategy. Linux should stay as a hobby and free development platform for colleges before future CS students move to commercial work.

    1. Re:Linux kills business by Anonymous Coward · · Score: 0

      It is a bad idea to feed trolls, but that is so easy to refute...

      The big players (Microsoft, Oracle) are certainly not going to go bankrupt any time soon.

      The availability of free software lowers the threshold for small businesses to get their stuff going, because they can base their solutions on these and have much smaller requirements for initial investments.

      The business of offering custom-tailored solutions is becoming much more important than pre-packaged software; the pre-packaged software market has been saturated and is controlled entirely by big players.

    2. Re:Linux kills business by Anonymous Coward · · Score: 0

      Companies which sell generic software system, like MS and oracle, are only a small part of the industry.

      Before the open source movement, the trend of corporate IT was to buy software packages like SAP, Siebel and Oracle. The only role left for the internal IT staff were calling the support helpdesk of the developers.

      At least the open source movement encourage people to do the job by their own. If open source is adapted by more companies, more job will be saved.

  65. strange logic by InnovATIONS · · Score: 1

    What really is the news here? "Free software is cheaper than paid software" Or maybe the news it... "Simpler tools is easier to use for purposes that do not need the features of more complicated tools" If MySQL is (or is not) a threat and not a completely unrelated product to the likes of Oracle and MS SQLServer then it is because of the notion, touted by many database zealots and salesmen, that ALL of your data, no matter how simple the application, should be in an enterprize database. The rationale, and it does have a certan logical ring, is that since you can't predict how your data will be grow and be needed in the future it makes sense to have it ALL in a common repository and since that repository represents such a huge asset it must be in the strongest and most powerfull possible storage. The fact that this greatly increase the political power and influence of the DBAs is not to be lost either.

  66. My poor experiences with a large MySQL db by eyeball · · Score: 3, Insightful

    I jumped at the chance to use MySQL for a large project as a win for opensource. I carefully designed a db that would hold one billion records, as required for my project at work. Well, after a week of importing, when it came time to reindex a field, MySQL's technique was to freeze the table and make a fresh copy (thankfully I had enough room), although the copy took 3 days (during which the db wasn't available). I switched to Oracle and life has been so much better.

    In the end, MySQL might handle the raw numbers that some of the big players do, but when you're working with large data sets, Oracle (and presumably others) give you more power. Take the actual physical data structure that Oracle allows you to work with: each database comprises of dynamic multiple variable length data files that can allow tables to span physical disks. MySQL will get there someday, but they're still a little behind.

    --

    _______
    2B1ASK1
  67. How? by Inoshiro · · Score: 2

    It says right there that if you want to spend the time and money on non-OSS development, they'll be happy to take some of your money in exchange for providing you with some code & service.

    Is it a crime to profit from you work?

    Alternately, go look at the BSD licenced PostgreSQL if you want to fork it and use it closed-source.

    --
    --
    Internet Explorer (n): Another bug -- that is, a feature that can't be turned off -- in Windows.
  68. Comment removed by account_deleted · · Score: 4, Insightful

    Comment removed based on user account deletion

  69. Where are the jobs? by K-Man · · Score: 3, Interesting

    From the premier site for fruitless technical job searching

    Mysql: 49 hits
    Postgresql: 2 hits

    Oracle: 4595 hits

    One could argue that the people that post on DICE are dumber than most, but there still doesn't seem to be much of a market for mysql and postgresql.

    --
    ---- "If we have to go on with these damned quantum jumps, then I'm sorry that I ever got involved" - Erwin Schrodinger
    1. Re:Where are the jobs? by forkboy · · Score: 3

      That's because these Oracle dbs were put in a long time ago, before MySQL started gaining any real notoriety or use in the corporate world. Once you have a mammoth database already in place, wouldn't you continue to use it? It's easier and less risky to upgrade your servers and pay an Oracle dbm 6 figures a year to maintain and improve it rather than migrate your entire infrastructure over to another platform entirely. Especially if you're a financial institution that simply CANNOT afford any major downtime in their database for migration/debugging.

      Another reason to use something like Oracle....vendor support.

      I'm a big fan of open source software solutions, and I'm glad to see MySQL getting some use in the real world, but don't expect the world to drop what it's using and switch just because it's free and cool.

      --
      This message brought to you by the Council of People Who Are Sick of Seeing More People.
    2. Re:Where are the jobs? by Duncan3 · · Score: 1

      Keep in mind Dice NEVER deletes a job posting. So of those 4595 Oracle jobs, only 3 were posted this month :)

      Becasue of this "feature" Dice is 99% useless. Anything you track down was filled in 2001...

      --
      - Adam L. Beberg - The Cosm Project - http://www.mithral.com/
    3. Re:Where are the jobs? by techwolf · · Score: 1

      MySQL offers support...

      FAQ on Technical Support From MySQL AB

      Not that I choose one over the other. Right tool for the job. You don't use a push lawnmower to mow a stadium...

      -techwolf

      --
      I don't do this for karma, I do it for cash. It's much better.
  70. If you don't understand your problem... by pHDNgell · · Score: 3, Insightful
    Well, sorry, but it is worthy. It's not a "full" database like you'd like for your work, but it's more than enough for a huge number of problems.

    mySQL is the right tool for *far* fewer jobs than those to which most people believe it applies. Many people end up writing code to deal with various aspects of data management that the database is supposed to take care of because they don't know that the database is supposed to take care of the data.

    If you only know mySQL, you will attempt to solve your problem within the limitations of the tool. The problem is that many things can't be done in multithreaded or worse, multi-process application code to ensure integrity. If the DB won't do it, and it doesn't support transactions, then you've just gotta hope people don't ever use your application in a way that will make your data invalid.

    I just don't get the appeal of mySQL. The last time I tried it, it seemed more difficult to use than postgres, and it supports a subset of the functionality. I have not done a project that doesn't require at least some basic database feature that mySQL doesn't have in years. Sure, I suppose I could've written code to emulate some of those parts of the database, but certainly not all. For the parts I could emulate, the application would most certainly run more slowly (multiple queries to emulate a subquery or what I do in a stored procedure), and the ones I couldn't would just have to be left out, which would make the applications more buggy (lack of transaction support on applications that run on multiple front-ends would simply cause the apps to fail).

    Anyway, basic point is that if you don't understand your problem and/or the tools that are out there to help you solve it, you will solve it incorrectly. It may seem like it's working, but those types of implementations fail really quickly when they go multi-user.

    --
    -- The world is watching America, and America is watching TV.
    1. Re:If you don't understand your problem... by schon · · Score: 2

      I just don't get the appeal of mySQL.

      Actually, most of the answer to this was two paragraphs above this..

      Many people end up writing code to deal with various aspects of data management that the database is supposed to take care of because they don't know that the database is supposed to take care of the data.

      This is the answer to your question. They simply don't know the database is supposed to do it for them.

      The problem is that the 'web application programmers' have no knowledge of what SQL is or what it's supposed to do; they understand "insert" and "select", and assume that this is the be-all and end-all, never questioning all of the other stuff that makes SQL as powerful as it is.

      They started writing apps in Perl, keeping data in flat files - once the project reached a certain size, they decide to give "sql" a whirl.. and because they already have all of this program logic dedicated to managing the data, they keep it around, and use the DB as a large flat file; since this is what MySQL excels at (what it was designed for), they believe it to be 'the best', and never question that there might be a better way to do it.

  71. Head-in-the-sand journalism by hobuddy · · Score: 2, Informative

    Great, YET ANOTHER article on open source databases that fails to mention SAPDB or Firebird, even though they're both a hell of a lot better than MySQL in most respects (especially true of SAPDB).

    Most journalists (and 75% of Slashdotters) apparently are ignorant of the advanced features offered by the "big boy" commercial databases they so love to deride; they end up doing all open source databases a disservice by equating all open source databases (in the mind of the pointy-haired boss) with the puppy of the household, MySQL.

    --
    Erlang.org: wow
  72. Replication by Betcour · · Score: 2, Informative

    Actually MySQL does replication just fine (but it is only one way, there can only be one master). If you need few updates and huge amount of reads this allows you to spread the load amongst several servers.

    That's a weakness PostgreSQL (which doesn't do any replication at all) should fix in a future release.

    1. Re:Replication by gmack · · Score: 2

      If PostgreSQL did replication the company I work for wouldn't even be looking into Oracle. And I would have better uses for the $120 000 CDN they want to charge us.

      MySQL's repliction in the current stable sucks big time. It's a pain to setup and it's way too fragile. The basic setup looks much better in the next version and I'm hoping more reliable as well.

    2. Re:Replication by Betcour · · Score: 1
      I disagree : MySQL replication is very easy to setup :
      • Stop updates on master database (unplug web server or other method of your choice)
      • Dump master database content into slave (mysqldump will do the job)
      • Edit my.cnf on slave and master (2 lines to add with vi)
      • Restart slave and master

      Short of having a GUI with point and clic, you'll have a hard time getting it any easier. And from my testing it's very reliable as well (6 months working, no hicups)
    3. Re:Replication by gmack · · Score: 2

      You lost me at "stop updates on the master database" since the downtime tends to be rather expensive.

      Thankfully the need for that is fixed in the next major version. (steps 1 and 2 look to be combined into a single command)

      And yes I have this working however it inexplicably craps all over itself at random intervals and requires a repeat of the first 2 steps you listed. (and before you ask we have writes disabled on the slave)

  73. Relational integrity by Betcour · · Score: 1

    You can enforce relational integrity (foreign keys and "on delete"/"on update") are available in mysql 3.23 if you use the innodb table handler (which is good)

  74. Disagree by Betcour · · Score: 1

    Most people on a messageboard READ. They don't post. Only a fraction of readers also post, so that makes it a read intensive application - something where MySQL is good at. And if you are halfway a decent coder, you'd cache the generated page so that they are only generated once when somebody post something.

    What kills the whole thing is messageboards who count the number of visits (how many times a thread have been red) or other small statistics : this require a huge amount of writes and kills the performance.

    1. Re:Disagree by Anonymous Coward · · Score: 0
      What kills the whole thing is messageboards who count the number of visits (how many times a thread have been red) or other small statistics : this require a huge amount of writes and kills the performance.
      Here's how I read your argument:

      "While you could implement lots of features that users enjoy on messageboards, such as filtering, read flags, etc., this would be slow if done on a toy DBMS, either because it scales badly or because record updates are slow. Instead of upgrading to a database which scales well and handles updates efficiently, you should simply remove all dynamic features from your site and output the same page for all your visitors. Anything but this approach indicates you are a bad programmer, because you are not Saving The CPU Cycle Forest."

    2. Re:Disagree by MattRog · · Score: 1

      EXACTLY! It's amazing -- consider their latest 'innovation', the "read cache". Basically every SELECT query's results will be stored in a special hunk of memory. When updates occur, it invalidates the cache. So, this is a feature designed soley for mostly-read applications.

      My question is -- "WHY?" If the query cache provides significant performance improvements for your application then you're, by definition, using MySQL as a glorified HTML generator. You can certainly get much better peformance if you took the query results and dumped to a flat text file and had clients read from there. Why go through the overhead of dynamically generating STATIC html? It seems like a vast waste of time and memory. If you're willing to put up with MySQL's limitations to achieve marginal performance improvements then you certainly should have no problem going the extra mile and putting up with just a little bit more inconvenience for another chunk of performance.

      If MySQL's memory management was more fine-grained (e.g. setting up caches for specific objects with specific block sizes, etc.) you most likely wouldn't need a query cache. I can set up a dedicated memory cachelet for a certain table or index and know that it will reside in memory anyway, so I can save RAM and get high performance from ALL queries, not just SELECTs. Seems like a 'band-aid' fix for a gunshot wound.

      --

      Thanks,
      --
      Matt
  75. True but by Betcour · · Score: 3, Insightful

    MySQL (or even Postgresql) don't claim to be drop-in replacement for DB2 or Oracle. But they claim to be good enough for simple database tasks, which happen to represent a huge share of the business market (for every high-availability banking application there are a 1000 small databases storing employee holidays, classroom affectation, etc.). These small databases are not only a bigger market in term of quantity (if not in value), but some of them also grow into big databases someday.

    Remember when Microsoft was doing MS-DOS, no Unix vendors would have been worried, they had much better capabilities. When millions of PCs were sold with MS-DOS they started worrying. When Windows came out they growed gray hair. Now SQL Server and Windows Server have eaten the market of smaller servers and high-end workstation. This is the strategy of eating your way from the bottom to the top, and it will also work for MySQL and Postgresql : as time passes and as they mature they eat out an ever larger chunck of the database market.

  76. Not really :) by Anonymous Coward · · Score: 0

    "MySQL A Threat To The Big Database Vendors?"
    *LOL*

  77. Sounds like they did the right thing to me by GCP · · Score: 2, Troll

    A Fortune 500 company probably isn't limited to local business. They probably do business all over the world. I don't know which one is more globalization challenged, PHP or MySQL, but they're both like Gilligan's Island: primitive as can be.

    Whereas NT/2K/XP, SQLServer, ASP.Net, Java, C#, .Net, XML, HTML 4, etc., are Unicode to the bone, the last I checked poor PHP and MySQL were both still stuck in the legacy world of regional character encodings. You can build a global app with Java/Oracle or .Net/SQLServer, but the best you can do is a regional app with PHP/MySQL.

    This doesn't only matter for monster projects. Small systems can still be global -- unless you decide to go with tools like PHP & MySQL.

    --
    "Those who have never entered upon scientific pursuits know not a tithe of the poetry by which they are surrounded."
  78. Best quote: by XNormal · · Score: 1

    Is MySQL an Oracle replacement in all circumstances? Absolutely not, but very often Oracle is wholly unnecessary for many of the tasks it's purchased for.

    --
    Stop worrying about the risks of nuclear power and start worrying about the risks of not using nuclear power.
  79. Slashdot has only ten readers. by Futurepower(R) · · Score: 1


    Few people realize that Slashdot has only ten users. Each of them has 55,000 accounts.

    1. Re:Slashdot has only ten readers. by Anonymous Coward · · Score: 0

      I've only got 17,000 accounts. I'm sorry...

  80. Re:Blacks Need Reperations. by Anonymous Coward · · Score: 0

    I have some clients that are going to be filing a suit
    in LA for reperations from the rodking riot. Angry
    african americans burned down entire neighborhoods
    in a display of pique and my clients are going to demand
    payment from the black community for damages done.

  81. MySql have professional support... by sedna · · Score: 1



    One have to remember that MySql is not a "true" open source project in this matter. If you want high level support, extra help or whatever, you can sign a contract with MySql AB. Their most extensive alternative includes visits of a developer at your premises to solve your problems. You can also have them run your system remotely. This is actually one argument pro MySql in the never-ending bashing game between MySql and PostGreSql...

  82. Many byers missled by this kind of discussions by sedna · · Score: 5, Insightful

    Most database-systems set up by scientific projects I've seen, have been using either Oracle or Microsoft systems. This is of course completely insane considering the need they have, and a total waste of money. Unfortunately many people read a little about databases on sites like /. and start to belive that they are setting up a large database. After reading this thread, one can easily think that American express is running an averaged sized system with normal demands on security... The truth is that almost no school systems, museums, scientific projects etc. etc. ever need an enterprize solution. An example of the problem is an institut for Marin research in Colombia where they used Oracle. They paid $15.000 each year in licence fees to set up a database for their collections. They wanted to put it on the web and needed to pay $5.000 more. This is a simple task that Mysql, with all it's flaws, easily could manage, and without the need of an experinced Oracle techincian. There are Highschool Linux geeks in Colombia as well... The overkill in usage of database systems around is probalby enrmous and a very good source of revenue for Oracle and Microsoft. Think about this when you are bashing the lack of advanced features in Mysql. Someone might actually belive you and buy an Oracle licence to run the member database for their local bridge club...

  83. Success of Open Source by martenmickos · · Score: 5, Interesting


    Guys,

    Let me offer my view on the Bloomberg article. It is a huge success for the whole open source community that MySQL gets written about in a publication which is for non-techies only. It is an indication that open source development is not in vain - that open source is becoming a viable alternative even in the most conservative IT shops.

    So in stead of arguing for and against this or that open source database, let's work together to become even stronger in the business world!

    A key reason for MySQL's huge installed base is that Monty and David - the founders - focused on speed, reliability, and ease of management. That's why Bloomberg is writing about MySQL. And that is also the way to find paying customers who make it possible to hire more programmers and further develop the product.

    I am sorry if this sounds like marketing speech. We at MySQL AB are working our butts off to conquer the business world. Now as we are doing so, it will benefit all open source databases. Will you help us?

    Marten Mickos, CEO, MySQL AB

  84. Got Speed? by ooh456 · · Score: 1

    One argument not printed in the article (and I suppose the true real why most new developers choose MySQL) is speed.

    Like it or not, MySQL is the world's fastest enterprise quality database. Many universities and ISP's host hundreds of MySQL databases all with downright zippy performance. All those 'features' that MS SQL and PostgreSQL have only tend to make for more slothy performance.

    Sure Oracle may be almost as fast as MySQL but almost only counts in horseshoes and RPG's. If you can't afford a dedicated db server or want to improve existing performance without upgrading... then migrating to MySQL is the best choice as long as you don't need stored procedures or other 90% unnecessary features.

    In short, you can't run a bank on MySQL but for everything else it seems to be the best tool for the job. If it's feature rich enough for Yahoo Finance then its feature rich enough for me.

  85. Now that Sourceforge is going to use DB2... by Anonymous Coward · · Score: 0

    all you slashdotties must be turning over in your graves. Whatever will you do when Slashdot itself abandons MySQL?

  86. PostgresSQL too difficult by David+Off · · Score: 1
    PostgreSQL was insane. I tried to get it to work on my box, and I'm a C programmer with many years of experience in understanding other people's code and installation systems.

    Unless they broke something I find your story difficult to believe. I used PostgresQL in 1998 (version 5.x) for the RDBMS for Racal Telecomms ISP configuration system. I built and installed the database from scratch in a day for Slowlaris 2.5.

    Our experiences with PostgresSQL were largely positive for an open source database. For the scale of our project it was ideal and the database seems to have progressed in leaps and bounds since.

    But IT depts will still go Oracle because it is a sought after skill on the jobs market and because their salesgirls wear short skirts and have big hooters and give good head (allegedly). Most managers prefer that to spotty geeks telling them how incredibly lame they are to use Oracle for the company time sheet system.

    David

    1. Re:PostgresSQL too difficult by ajs · · Score: 2

      Yep, I got it working too, but its concept of how you managed sysadminish things like where storage went and how the database was found made Oracle's configuration look pleasant (scratch that, nothing makes Oracle's configuration look pleasant).

      MySQL was distributed as RPMS at the time, but even compilng from source and installing was a matter of standard open source conventions. I didn't have to modify 3 config files to get it to install, etc.

      I'm not trying to be pro-MySQL here. Personally I think PostgreSQL is good for MySQL and visa-versa. The competition is helping them both to grow. But, PostgreSQL lost me on ease of installation back then, where it would have been my database of choice if it had been easier to install.

  87. Why not Firebird? by Holger+Spielmann · · Score: 2, Informative

    Being a developer of Java web applications myself, I always wonder why Firebird doesn't find any broader use.
    I mean, in an commercial environment, there's always the reason to have someone to blame if you choose a closed-source solution like Oracle or DB2, so the managers refuse to accept Free Software or Open Source. Plus there are features in Oracle etc. still missing in the free alternatives.
    But what about all the small, non-commercial projects? Firebird is really easy to install, it's scalable as hell and is, contrary to MySQL, a real database.

  88. tpc by muchandr · · Score: 1

    TPC results are posted by database vendors themselves. It is a really expensive procedure, because the compliance to the official rulebook has
    to be meticulously documented. This is why you don't
    see many posts from smaller vendors, even though their product is often faster. (The fastest db I am
    aware of is kdb by kx systems (www.kx.com), by far)

  89. MySQL Not A Threat by gnugeekus · · Score: 0, Troll

    A "RDBMS" that does not support very basic RDBMS functionality is not a threat to any of the big RDBMS vendors. No company that cares about its data would be storing it on MySQL.

    Scanning through these posts, I even saw one ridiculous person say something about being tired of all of this "database pretentiousness"... as if demanding that the application that is storing your *data* - one of the most important assets of your corporation - actually supports *basic* RDBMS functionality.

    So, go right ahead. Acuse people who actually manage databases for a living of being "pretentious", and store your data in a database that doesn't even support foreign key constraints, or stored procedures. Write all your logic into your PHP code, since you can't actually write it into the database itself.

    Then, when your database becomes a totally corrupted nightmare, because you can't even enforce basic standards of relational integrity in MySQL, maybe you'll think about all the "pretentious" people who actually knew what they were doing, and think that maybe you should have listened to them.

  90. substance by WilyKit · · Score: 1

    I wish that journals writing about the benefits of free software would stop promoting low cost or cost savings as the primary, or even the only, benefit.

  91. single data file by muchandr · · Score: 1

    You really want to be able to "splice" your database into separate files by row, column or whole table, so that you can put those files into different partitions in order to minimize disk arm contention.

  92. MySQL Laughed At by N8F8 · · Score: 2

    Two weeks ago I sat in a room full of US AirForce SysAdmins. Mostly they are a MS SQL Server shop. I mentioned MySQL and every SysAdmin, to the person, chuckled and cracked a smile. The manager turned to me and said, "We had one of those installed a few years ago."

    Apparently, MySQL was a joke to them. Thats a pretty big institutional hurdle to jump.

    From my own experiences MySQL does what it does very well. But lack of cascading updates/deletes and subselects are the big problems. SQL Server has plenty of its own quirks though(but you don't read about those on the side of the box).

    --
    "God fights on the side with the best artillery." - Napoleon, Marshal of France - speaking truth to power
    1. Re:MySQL Laughed At by Quixote · · Score: 2
      Apparently, MySQL was a joke to them.

      And they are a joke to the rest of the world. Listen: there's a sucker born every minute, and it looks like you found yourself in a roomfull of those.

      You should have asked them: did you have MS SQL also installed a few years ago? Because it didn't exist then, did it?

      In the tech world, if you go by what didn't work "a few years ago", you are making a big mistake. Technology keeps changing. Heck, "a few years ago" even Pentiums had a hardware flaw. Why are these guys using Pentiums today?

      My motto: the right technology for the right job+price. I had a situation where group in our dept needed a "data warehouse" for doing some research. They were being sold a bill of goods by Oracle: $100K+ for the whole setup. I looked at their problem, and realised that they were going to be just doing plain SELECTs only; none of this other fancy stuff. I encouraged them to try out MySQL and they are happy. Sure, they have to work around a few minor issues (like they shut down the warehouse every night to add new data). But the savings have made the project possible! If they had not saved the $100K, the project would not even have started.

  93. Firebird by KlausBreuer · · Score: 3, Informative

    > 1. Supports subselects
    > 2. Supports views
    > 3. Supports triggers
    > 4. Supports stored procs
    > 5. Does most the things that everyone takes for granted with a decent db server

    Strange. Am I missing something, or am I just dumb? Firebird (open source version of Interbase from Borland) does all that, and does it well. It runs on Unix, Linux and Windoze (yes, some people need that), works very nice and fast, is reliable, costs exactly nothing, and I use it in quite a few real-world applications.

    How come I never hear of it on Slashdot?
    Have a look at http://sourceforge.net/projects/firebird/

    Ciao,
    Klaus

    --
    Free PC version of ChipWits at http://www.breueronline.de/klaus/chipwits/
    1. Re:Firebird by Anonymous Coward · · Score: 0
      Firebird [rules!] How come I never hear of it on Slashdot?


      Firebird was an unfortunate name choice. Too many geeks associate that name with schoolyard beatings, bad music, big hair, mullets, Marlboros, denim jackets, stonewashed Levis and leather, and Burt Reynolds movies.

      Also, Firebird was derived from InterBase, which has a StudlyCaps name. MySQL and PostgreSQL are OK because they use [modifier][acronym] format.

      Open source software authors often to choose names which inhibit success. It can be difficult to discuss and advocate things when it is unclear how to pronounce them. That's too bad.
  94. Wrong idea here by Second_Derivative · · Score: 1

    MySQL isnt a competitor to these DBMSes, but instead it compliments them. Oracle and DB2 and the like are all geared towards complex, highly transactional systems where there's loads of updates going on which can't be allowed to collide.

    MySQL on the other hand, is a system for storing tables and looking up information in them - and quickly. This has its uses, look at Slashcode and forums system such as vBulletin (which I happen to have the displeasure of customizing and maintaining on a site I go to... ugh what a fucking mess) - for automating websites, systems like Oracle are overkill. For eCommerce backends and data mining MySQL doesn't cut it. Pick which one you will based on what you want to accomplish but neither is a 'threat' to the other.

  95. my ASP business by hmatt · · Score: 1
    MySQL appeals greatly to SQL-haters because it breaks a lot of stereotypes regarding SQL databases. By being fast, easy to use, and well-supported by various drivers/languages, the barrier to learning is kept very low.

    I feel most of this crowd will be quick to put down the things that have made MySQL popular, because they don't consider market evolution. But just like PCs eventually destroyed the mainframe business, and the web destroyed client-server development models, MySQL will continue to erode its niche into the multi-billion dollar database market.

    My business decision was influenced by the fact that no other database can return queries as fast for this data size. If my data were 1000 times bigger, perhaps Oracle would scale better. Or if I had 1000 times the number of users. But this little business will make me enough to retire well before MySQL runs out of capacity.

    Technical specs: Apache, Tomcat (via mod_webapp), MySQL. The customer is a government agency requiring archival of and reports generated from their 4 million clients' data. The hardware is semi-beefy Xeon SMP machines. All performance requirements derive from the need to serve 30 application views per second: there are approximately 250,000 target users.

  96. HUH? by woogieoogieboogie · · Score: 1
    For the sadly uninformed!!

    Transactions: http://www.mysql.com/doc/en/ANSI_diff_Transactions .html
    I guess having an equivilent feature and naming it someothing else confuses too many people.

    Stored procedures are insecure and do not scale to well. The concept is to encapsulate the logic and make it easier for programmers to access the DB. This can just as easily be done with an ASP or PHP class or java bean and using any DB's getRows() function. The performance is FASTER this way because your scripts or programs do not have to wait for the DB to execue code and return results. Overall application performance in a multi user system is not just based upon the speed of the query, but on how quickly the DB connection is open and closed. Bottom line is that there is absolutely no need for stored procedures to exist and such a feature in MySQL would only add to bloat.

    Subqueries: For the most part, a (self) join will be more efficient than a subquery and will perform the same task and return the same results.

    Bottom line is that MySQL does EXACTLY as advertised, it stores data in a logical manner to be retrieved later. While it could be more robust, adding in features would only bloat it and ultimatley affect it's performance. In addition, the fact that you really cannot run arbitrary code on a MySQL database makes it much more secure than any DB which allows SP's and scripting of the DB.

    --
    ... Governments are instituted among Men, deriving their just Powers from the Consent of the Governed...
    1. Re:HUH? by Tony+Hoyle · · Score: 2

      Without SPs your performance won't scale too well - SPs run on the database server, which is (usually) a nice big fast machine with RAID etc. You don't want to offload everything onto the client as the network traffic between client and server can be huge (especially if you're dealing with big tables >1 million rows which aren't really that unusual these days). SPs allow you to do Query->Big fast machine->Result without all the messing about - *especially* if your DB structure changes you can maintain a consistent interface to the underlying data (views are mostly used for this but some of the more complex things will need SPs).

      Subqueries are essential... some things just can't be written any other way (short of using multiple temporary tables which is so icky I won't even begin to go there). Especially where you're trying to exclude items from a set - you need a 'where not in' clause which simply can't be done with a join.

  97. What the big databases do... by Baavgai · · Score: 2, Insightful

    When designing a database application the first decision is where the application logic should be stored. In a large database the choice is to store logic in the database or in the application. There are good reasons for both approaches, but mySQL limits you to strictly application logic. While this is not bad and makes most programmers happy, it's also one of the most common causes for inefficient database usage. Most programmers think more in loops than SQL and a loop is the kiss of death for a database. The one undeniable requirement of a database is the ability to filter and return only the data needed for a given operation. Since mySQL does not support sub queries, stored procedures, ref cursors, etc, it simply can't do this. The work around is to pull the required information and analyze it in the application. Again, this is a programming solution that has to be applied because the database is not up to the task. The argument against the big databases is that they offer too many things that folks don't use. This may be true, but the corollary is that there is a large pool of things that I can and will use. I would use mySQL in the same places I'd use MS Access for about the same reasons. This makes it a handy tool for database development and testing. However, I don't think it really qualifies it as an enterprise database or a realistic "threat" to Oracle, DB2, SQL Server, etc.

  98. the answer by cascadingstylesheet · · Score: 1

    If there is a bug in package A, the corp would have monetary incentive + engineers to fix it. (This is hypothetical, so spare me real world scenarios...) If there's a bug in package B, what exactly is the incentive to get it fixed in a timely manner?

    Um, hire somebody to fix it for you? At least with package B, you don't have to pay huge fees just to install and run it. In either case, you're gonna have to pay to get something fixed (although with package B, it is at least possible that you have someone in house who can do it).

    It's not like there aren't companies and individuals out there to fix mySQL bugs, or add features.

    Of course, maybe there are too many choices, and you don't know who to hire? I can sort of see that, I guess. But in other areas of business, multiple suppliers are usually seen as an advantage.

  99. Forget about all these DataBaseS ! by Anonymous Coward · · Score: 0

    Use Real GPL Fast Storage System : RAM.

    Prevayler

  100. UTF-8? by yerricde · · Score: 2

    Whereas NT/2K/XP, SQLServer, ASP.Net, Java, C#, .Net, XML, HTML 4, etc., are Unicode to the bone, the last I checked poor PHP and MySQL were both still stuck in the legacy world of regional character encodings.

    Have you tried using UTF-8, an encoding of a sequence of Unicode characters into a sequence of 8-bit bytes, with your PHP/MySQL design?

    --
    Will I retire or break 10K?
    1. Re:UTF-8? by GCP · · Score: 2

      Yes I have tried, and last time I checked neither PHP nor MySQL supported UTF-8. I'm not saying that you can't simply pass a byte sequence through them unprocessed. You can usually do that with anything. I'm saying that the data processing features that had no trouble processing Latin-1-encoded text could not successfully perform the same processing if the text were encoded as UTF-8.

      I'm not claiming I built such a system and it failed. I'm saying I tried designing one with the help of the official docs and the online experts with each technology, and was assured that "sorry, you can't do that."

      Contrast that with the other technologies I mentioned where the data is always normalized into some form of Unicode internally before the processing even begins so that all processing is language-independent. All algorithms (features) will work on any sequence of characters, regardless of what language or mix of languages they represent.

      I've built many such systems with Java/Oracle, and a few new ones with .Net/SQLServer. Both approaches are terrific. (I now prefer C#/.Net to Java, but I *strongly* prefer Unix to Windows on the server, so I'm still mostly using the Java/Oracle approach for production until I can get a good C# and .Net for Unix platforms. Go Mono!)

      I keep saying "the last I checked" because eventually all non-Unicode systems will either add Unicode support or die. These two will eventually retrofit something, probably UTF-8, and maybe it has already happened, but systems like Java and .Net are so far ahead in globalization that it will be a long time before I'd consider PHP/MySQL for any company beyond a local shoe store or bakery (where I admit they have a pretty good niche).

      --
      "Those who have never entered upon scientific pursuits know not a tithe of the poetry by which they are surrounded."
  101. libmysql is LGPL not GPL by yerricde · · Score: 4, Informative

    In the case of libmysql (C native-interface library of MySQL), developers are forced to pay so much money for using GPL code(libmysql) in their software as non-GPL state, plus their customers have to pay money for commercial-licensed MySQL server.

    Bull. The libmysql client software is NOT GPL but rather Lesser GPL, which allows linking the client software against a proprietary application program. "A license is not required if: You include the MySQL client code in a commercial program. The client part of MySQL is licensed under the LGPL". Even then, MySQL with InnoDB is $400 per multi-processor machine, as opposed to MS SQL's $20,000 per processor for the unlimited-client license.

    Microsoft doesn't require such license fee when you use OLE/DB etc. to get native access to SQL server.

    Yes it does. Microsoft SQL Server is priced based either on the number of processors or on the number of machines that will access the database.

    --
    Will I retire or break 10K?
    1. Re:libmysql is LGPL not GPL by bovinewasteproduct · · Score: 2

      What I can't figure out is why I would ever need a commercial license unless I wanted support. If the clients are under LGPL, that means I can link them in as long as I give a relinkable object for my code.

      The problem comes in when your system only uses MySQL and nothing else. They tell you that this requires a commercial license even if your usage does not violate the GPL or LGPL. Why?

      As far as InnoDB goes (which adds needed support for such things as transactions and FKs), it is just about worthless for 24x7 unless you buy the hot backups package from them.

      Arrggghhhh, licensing issues.

      GB

  102. stored procs by dolo666 · · Score: 1

    MySQL can't be a real threat until they handle stored procs (version 5?). MySQL is a great db, however... especially with phpMyAdmin. QQuick & easy to get a blog or /. type site started.

  103. MySQL will rule by tonleelau · · Score: 1

    MySQL is Linux/KDE.
    ProgreSQL is FreeBSD/Gnome.

    ;)

    1. Re:MySQL will rule by rtaylor · · Score: 2

      Yup.. And I seem to choose the second one before either choice is popular.

      --
      Rod Taylor
    2. Re:MySQL will rule by Inthewire · · Score: 1

      Interesting. I'm reading this through Opera / Gnome / FreeBSD. I run a smallish website that's using MS SQL Server on Windows 2000 Server and works fine, but I need it to be a bit more stable, as I'm joining the Navy in a few months and won't be around to do anything adminish - it has to be rock solid or else it'll drop off the net until I get my first liberty. I'm working on a BSD / Interbase / PHP / Apache port. If it works, and stays live w/o handholding then I'll be happy. We shall see.

      --


      Writers imply. Readers infer.
  104. Question/Answer by Ageless · · Score: 2

    MySQL A Threat To The Big Database Vendors?
    Nope. Not really.

  105. Avoid it like the proverbial plague by yerricde · · Score: 2

    Is the bug likely to generate fewer sales or not?

    If such a bug causes loss of data or compromise of private information, and the story hits Com.com or one of the other tech news sites, and the product does not have a monopoly in the product space, you bet the IT people will do their best to avoid such a product for new installations.

    --
    Will I retire or break 10K?
  106. MySQL by NitsujTPU · · Score: 2

    Against Oracle?

    Maybe when about a million things that are part of the SQL stanard make their way in. Last time I used MySQL, it couldn't do subselects.

  107. Misinformation? by Twister002 · · Score: 2

    First of all nothing in the original post said anyting about running MySQL/PHP on a Linux box. If the guy went in and pitched running it all on Linux w/ Apache it's no wonder he got laughed out the door if thei standard is MS Windows servers. (think about it, would you walk into a Solaris shop and suggest that their new billing system you are bidding to write for them should be using VB on SQL Server?)

    I've installed several PHP/MySQL based Open Source web applications on our Windows 2000 intranet server with no problems (I've then had to abstract out the DB calls so that I can move the data to our Oracle server since, apparently, most LAMP developers can't be bothered to architect their applications properly and have hard-coded MySQL function calls everywhere), surprisingly enough even running as a CGI they still execute faster than our ASP apps.

    This could be a better way to migrate a company to Linux, get them hooked on PHP applications installed on their Windows servers. Then when Microsoft comes around for their yearly upgrade check ;), tell them that they can still use their apps if they install a Linux server and their TCO will be less. Then point and laugh at the ASP deverlopers trying to figure out what they are supposed to do at the blinking cursor (wondering why everything is black and white and where's the icons?) when they are porting their ASP apps.

    --
    "For a successful technology, honesty must take precedence over public relations for nature cannot be fooled." -Feynman
    1. Re:Misinformation? by Tablizer · · Score: 2

      (* I've then had to abstract out the DB calls so that I can move the data to our Oracle server since, apparently, most LAMP developers can't be bothered to architect their applications properly and have hard-coded MySQL function calls everywhere *)

      The mySQL calls are just a function name. You can put whatever you want behind a given function if you switch vendors. Just because it starts with "my" does not mean that you can't replace it with Oracle stuff.

      Are you talking about the function naming or the protocol itself? Could you provide an example?

      Often times you have to change the SQL anyhow because there are subtle differences between the vendors, like date formats, case sensetivity handling, concatenation syntax, etc. That is usually the biggest problem in switching unless you stick to a watered down lowest common denominator, which is too limited IMO.

    2. Re:Misinformation? by Twister002 · · Score: 2

      I'm talking about having to replace all of the PHP MySQL function calls (e.g. mysql_fetch_array, mysql_select_db, etc...) in an application with Oracle (or ODBC) specific ones, or replacing them all with a generic connect() function that I create myself. That's the biggest pain.

      In one PHP site admin application I was looking at, in 140 files there were 925 instances of the phrase "mysql_", which would indicate function calls using the MySQL functions compiled into PHP. So I have 140 files with lines similar to this:

      $db = connectdb();
      $sql = "select * from page where id = '$id'";
      $result = mysql_query($sql);
      $row = mysql_fetch_array($result);

      So if I want to use Oracle (or PostGres, or Firebird, or SAPDB) as my DB server, I have to replace all of those with ones specifc to my DB server in addition to making sure all of the SQL queries involved are either ANSI SQL or compliant with whatever DB I'm using. OR abstract the DB calls out so I only have to work on a few files to use a different DB server.

      --
      "For a successful technology, honesty must take precedence over public relations for nature cannot be fooled." -Feynman
    3. Re:Misinformation? by Zigg · · Score: 2

      So, umm, where are the PHP facilities to abstract this out? Or are you rolling your own abstraction every time? I looked hard for the abstraction facilities and couldn't find any, but I could just be missing it.

      I recently developed some personal stuff in PHP and MySQL (a PHP/MySQL host is much cheaper and usually has many more features than a decent Zope host, which is what I really wanted.) It amazes me how short-sighted just about everything in both PHP and MySQL is. Maybe working with Zope and having worked with PostgreSQL has me spoiled.

    4. Re:Misinformation? by Twister002 · · Score: 2

      Your just missing it. :) I missed them a lot too before I found them.

      ADODB for PHP is a good abstraction layer (some people think it is too bloated and the code is ugly, of course those people haven't written their own or anything)

      The PearDB
      functions are very useful as well.

      I've heard that the phpBB DB layer is very good but I haven't looked at it myself or tried to use it in other programs.

      Personally, I haven't found anything in PHP to be short-sighted. I've programmed ASP, JSP, and even some Perl and I've found PHP to be the best all around language for server side web scripting.

      MySQL, ehhhh....my opinion is they should change their slogan to "MySQL - Hey, it's better than using a flat file!" :) (which is not meant to denegrate all of the volunteers that have put in a lot of hard work creating MySQL, for simple web sites and applications I don't think it can be beat. But Oracle, IBM, and MS don't have anything to fear from it)

      --
      "For a successful technology, honesty must take precedence over public relations for nature cannot be fooled." -Feynman
  108. Baloney! by jball · · Score: 1

    Just two weeks prior /. posted an article covering SourceForge's transition from MySQL to IBM's DB2. Would this have happened if MySQL was a contender or was in the process of becoming one in the near future?

  109. Re:Where are the jobs? Flawed Argument by Anonymous Coward · · Score: 0

    If you searched for Linux or Java jobs 5 years ago you would have a similar ratio to that of MySQL versus Oracle. What is your point? In your world does new technology ever get developed and accepted?

  110. Good question, Firebird by Lewis+Mettler,+Esq. · · Score: 2

    I have used Interbase from Borland and Firebird is an excellent choice.

    It is easy to set up and maintain and it is a full commercial implementation.

    Yes, and it has the good stuff too (triggers, stored procs, views, etc.).

    And, if you really need to pay someone you can always get Interbase from Borland directly.

    --
    NexuSys - Linux support by the best
  111. Re:MySQL is ghetto by Anonymous Coward · · Score: 0

    word nigga

  112. MindShare by Anonymous Coward · · Score: 0

    OSS is on a technical level developed with true competition as to what is best. But when it comes to integrating many of these systems, a lot is more about who has mindshare and momentum. PostGres && MySql were the original OSS databases. It took a long time and interesting projects for them to have momentum over dbm. For MySql, it was LAMP.
    Postgres was the first truely decent OSS DB and that gives it its' mindshare. Sap and Firebird will come up in the future, but it will something interesting to fire ppl up on it.

  113. Choice of Database not really the issue by llamajockey · · Score: 1

    Gee, how many times does a database software project fail solely because of the choice of database engine? I suspect that it is alot less then one may imagine. In most lousy database applications, I will bet that the fault was a terrible database design/implementation. Either there was total lack of normalization or if the time was taken to do a proper design then the implementation was a mess since it was done by developers who did not have a clue as to what a join was. Let's face it there are lots of IT departments that can cough up a lot of cash to buy a commercial database but can not commit to a first rate data modeler, DBA, Entreprize Data architect, or experienced developers trained in database design methodology. Lets face it, there are still lots of terrible shops where the idea of database design is throw a much of spreadsheets into a relational database. Yes, MYSQL is lacking a some features that are still in its development pipeline. Yes, Firebird/Interbase has been arround and works, but has come perhaps to late to embrace the Opensource tide for it to succeed. But who cares if Postgres vs MySql is the way to go. My point is this. Most organizations would be better off putting the money they blow on a over-featured commercial database and spending it the human resources they need regardless of the database chosen. There has been lots of bashing of MySQL because it does not have the Stored Procedure support of an Orcle or Sybase. But what does a Stored Procedure really do for you. It improves performance buy precompiling the database acceess and allows one to encapsulate the specifics of the database access allowing for future enhancments to the underlying database design without effecting the application. Gee, can't one do the samething using for example MySQL/Perl/DBI/Mod_Perl/Apache. Better yet using the Perl DBI one can largely take the choice of Database out of the equation. Stored procedures are often used to manipulate Normalized data into either a denormalize or Hierachical format. Want to manipulate data/text? Then, what better tool then Perl? Need a big boy database engine like Oracle down the road. Cutting over should not be a show stopper using the DBI. In reality however, both Sybase and especially Orcale stored procedure languages serve as a means for locking in the customer for 5/10 years into their database. Then Oracle can rape the customer for years on the licensing fees. Smart IT managers are well aware of this. MySql, Postgress and the other Open Source database can be used intelligently to break free from these traps. Open Source database could end up commodizing the database market. I think that was the true point of the Bloomberg Article.

  114. First of all dont trust a DBA by Anonymous Coward · · Score: 0

    MySQL is too simple and DBAs dont like that.
    DBAs salaries and jobs are under risk when MySQL is used.

    I would love to use an OODB instead of a RBDMS. I cant do that. But I can choose a RBDMS that everybody loves including myself. :-)

  115. Re:mysql is a threat to the commerical db vendors by Anonymous Coward · · Score: 0

    Your post is 100% correct, as are the parent posts.

    The MySql:Oracle::slingshot:M1 tank analogy is perfect. Your scenario is correct as well. They shouldn't be wasting money on Oracle for such a small job.

    The bottom line is that MySql is a replacement for Access, not a real DBMS.

  116. MySQL good, MySQL GUI clients bad by Animats · · Score: 2
    The actual database is good, although limited. I'm happy with it. It's been running my database of SEC filings for two years now without any problems. But the two GUI programs for Windows that come with it, MySQLGUI and the MySQL admin program, need work.

    Some versions of MySQLGUI will crash if the database has a long text field with newlines. Scrolling doesn't work right. And about half the time, the program won't connect to the database because it's little state machine for connection is out of sync. None of this should be hard to fix. But this is the sort of thing that makes a good program look broken.

  117. Re:Blacks Need Reperations. by Anonymous Coward · · Score: 0

    No loss can be demonstrated by anyone currently alive.

    Compare the life of ANY African American today to what their life would be in West Africa if their ancestors hadn't been brought over.

  118. LOL by Otis_INF · · Score: 2

    Without InnoDB's betasoftware, does MySQL do:
    -Transactions? No.
    -Nested transactions? No.
    -Savepoints in transactions? No.
    -Triggers? No.
    -Nested triggers? haha... No.
    -User defined types? No.
    -User defined functions? No.
    -Views? No.
    -Indexed views? Haha... No.
    -Partitioned views (i.e. a view created from subviews retrieved from nodes in a cluster)? No.
    -Subselects? No.
    -Stored procedures? No.
    -Role based security? No.

    In other words: it's nice when you don't need all the stuff above, but trust me, every decent mission critical application does need some or all of the stuff above. So a thread to big database vendors?

    No Fscking Way.

    --
    Never underestimate the relief of true separation of Religion and State.
  119. MySQL vs. PostGreSQL by Foofoobar · · Score: 1
    Well quite frankly, I have had to do a comparison of the two and though Postgres is far more ACID compliant, MySQL is faster and more stable.

    And with a little work, MySQL can be made more ACID compliant. However, my big bitch is that it doesn't support foreign keys.

    To be a RDBMS, I expect proper handling of keys. I know I can write the SQL to fudge this but does anyone know of an 'add-on' that might fix this prior to the next release?

    --
    This is my sig. There are many like it but this one is mine.
  120. Foreign Keys by Anonymous Coward · · Score: 0

    Does MySQL do foreign keys yet? I don't mean allow you to enter them, but rather does it enforce them?

    Last time I played with MySQL it didn't... great DB that is

  121. The database and the platform by alext · · Score: 2

    Yes, especially as the platform and the database are supposed to become one in the Windows "Longhorn" release, meaning that the file system runs on top of the database.

    It would be fun to imagine that developers might plan to unite, say, PostgreSQL and ReiserFS in anticipation but unfortunately Strategy is not Open Source's strong point. Like the dithering between supporting Java on Linux, cloning Dotnet or doing something new, by the time any clarity emerges Linux-the-platform will have given away a lot of ground.

  122. MySQL is not fast by Anonymous Coward · · Score: 0

    Please mod me down, I will say lots of bad things about MySQL (although all with explainaition).
    Yes, this is a rant.

    I have used a lot of relational databases in my life: Oracle, PostgreSQL, MS SQL and DB2 (presented in increasing order of preference)

    Currently I am using that persistent system (I can call it database but never relational) called MySQL.

    1st: MySQL is not fast. It is fast only if your SQL level is very low. A database with a decent optimizer and carefully created indexes will always be faster then you as programmer doing 2 queries and merging the results because you cannot use a sub-query to express your idea. So if all you want to do is basic SQL then MySQL maybe OK, but if you read Joe Celko's books on SQL, sorry, you cannot use them, please downgrade your knowledge and also your speed expectations. I have a colleague that says: "MySQL is faster then PostgreSQL, I have tested", by some coincidence the same colleague says: "I don't really know what the DISTINCT keyword really means".

    2nd: MySQL stability is that great? If you try to use its most advanced SQL facilities (like the very advanced DISTINCT - yes I am being sarcastic) you might stuble into bugs, I have, with a simple SELECT DISTINCT with a blob involved (not even on the query, just on the table of the SELECT).

    3rd: And the paid support (which the company where I work has)? After reporting the previous bug I spent one week convincing the support guy that it was indeed a bug, he several times come to me and said: "you are doing things in a not correct way, the correct way is mine". In all cases they were not correct and I lost lots of my time preparing cases to prove that he was wrong (and expaining basic SQL concepts like for what you can or cannot use a self-join)

    4th. And the support for standards? Not only from a syntatic, but from a semantinc point of view they seem to disregard standards more than MS (MS which in the database world seems to be reasonably standards compliant). BTW, when discussing with their support about the non-standard compliance of some of their semantincs, they come with a response that was

    5th. something like: "This is not a bug. As it is documented it is a feature. We know that its behaviour might be somewhat unintuitive in some situations". Is there anything more that need beeing said?

    I am all in favour of Free Software and its philosophy, but if I had to choose between MS SQL and MySQL, I would choose the 1st one without blinking.

    Also I believe that it would be better for the FS/OSS world that we have good thecnical products to show, that our development model is better. This is not the case in the database world. And if it is MySQL that gets the spotlight then it is clearly the worst kind of publicity, FS/OSS needs.

    1. Re:MySQL is not fast by Foofoobar · · Score: 1
      I agree completely. I definitely would not call it a RDBMS especially considering it isn't ACID compliant and doesn't even support foreign keys. It has a LONG way to go and the only reason it can be as fast as it is is because it lacks almost ALL functionality you would expect to make a RDBMS data's secure!

      I mean, I use it but I have major bitches about it. And I would definitely recommend it for the small business that doesn't need an enterprise level database.

      I hear alot of people touting Postgres though and though Postgres is better, it is not stable. Postgres has just as far to go in my book. Though it is making more of an effort to implement SQL standards.

      --
      This is my sig. There are many like it but this one is mine.
  123. best DB wont sell by Anonymous Coward · · Score: 0

    You kids crack me up. Take the worlds best database, now make it twice as good, now make it free. Will it be successfull?
    No it wont.
    You have to sell the database, there have to be people who know how to use it, it has to be implemented by several companies successfully.
    Imagine a similar idea with a pacemaker:

    Hi, we've got a $10,000.00 pacemaker that we know works for sure, or we have a $5.00 pacemaker that we think is twice as good, but hasen't really been adopted by alot of people, which do you want?

    Not to mention the costs and problems of changing to a new system, when you have one that you know is working.

  124. MySQL good for newbies by Anonymous Coward · · Score: 0

    Another thing MySQL has going for it is documentation, something essential to a newbie coming to databases for the first time. Not just the online documentation, but do a google search for tutorials on php + database, and more likely than not, the database will be mysql. There are plenty of good ( and not so good ) books on mysql as well.

    Theoretically, once the newbie has some experience under their belt, it shouldn't be hard to learn postgresql as well. They aren't the same, obviously, but the basic skills/concepts are transferable. However, once you've got something you know and like and which is working for you, how likely are you to go learn something else?

  125. Re:Where are the jobs? Flawed Argument by K-Man · · Score: 2

    The point is that employers aren't advertising for people to use this technology, and the numbers aren't growing. It would be good if they did, but I suspect many employers are simply ignorant of the skills that they could use.

    Here are the numbers for mysql on DICE over the past few months:

    6/12: 52
    7/25: 39
    8/17: 49

    I would be happy if the numbers were going up (there's a reason I searched for this term), but there's no indication of major growth that I can see. It's the usual chicken and egg situation.

    --
    ---- "If we have to go on with these damned quantum jumps, then I'm sorry that I ever got involved" - Erwin Schrodinger
  126. Re:risk of "feature beast" - here you go by hobuddy · · Score: 1

    1. Small, lite-duty engine mostly for embedded or small-footprint apps. Subset of lanugage of #2.

    SQLite: http://www.hwaci.com/sw/sqlite/

    2. Full language, but lacking performance tuning. Mostly for development and smaller shops.

    Firebird: http://firebird.sourceforge.net/

    3. "Big-iron" version that has full language and performance tuning features.

    SAPDB (almost, but still not up to Oracle's standards): http://sapdb.org/

    --
    Erlang.org: wow
  127. Re:risk of "feature beast" - here you go by hobuddy · · Score: 1

    Hmm... I kinda missed your "with little or no application rewrites along the way" part, but with regard to scalability/ease/completeness of language support alone, my post above is still valid.

    Your wish for such standards-compliance is unlikely to be granted anytime soon, though. As you know, the various database all use different procedural SQL language for their stored procedures and triggers, and in that area there seems to be no push for standardization whatsoever.

    --
    Erlang.org: wow
  128. MySQL is an SQL programmable datastructure by VladDrac · · Score: 1

    As I see it, MySQL is not much more than an SQL programmable datastructure, and that's also the way many people use it (and for which it is very well suited).

    But MySQL still lacks the features that a *real* RDBMS should provide. Thank god it finally has transactions, but it still lacks views, subselects, foreign keys (as far as I know, though they are planned now for 4.something), pl/sql, good concurrency support (i.e. it has table-level locks), etc.

    And RDBMS should not just provide insert and select, but data integrity, security (possibly through views), triggers (and a language to handle them) and scalability (which at this moment MySQL does support better than PostgreSQL, though I do expect PostgreSQL to be the better/more flexible here in the future)

    If anyone is stupid enough to use Oracle to run his weblog, Oracle may lose a customer to MySQL there. But for the rest, I think PostgreSQL is the bigger threat.

  129. You're almost right... by schon · · Score: 3, Insightful

    The dirty secret of big databases is that most people don't know how to program them, how to configure them

    This is correct.

    and don't need most of the features

    This is where you're wrong.

    They do need the features - they just don't know they need them... so they implement the features themselves in the apps..

  130. Interface Matters if You Don't Know SQL by Mad+Marlin · · Score: 2
    Is it that the MySQL supporters on slashdot are only familar with application programming interfaces to relational databases - and so don't understand the differences between a modern relational database and MySQL? Or are they simply pushing the product that they are most familiar with?

    I think the main reason MySQL gets more hype than Postgres is because of the interfaces available. When I was dealing with that sort of crap (about 2 years ago) the Python interface to Postgres was very bare-bones, and almost unusable if you didn't know much SQL beyond a basic SELECT statement. The MySQL module for Python, on the other had, had all sorts of "Python-esque" ways to mess with the data without even knowing what an SQL statement is, and as I understand it, the MySQL interface in Perl was even friendlier to the SQL-unaware. The obvious drawback to the Perl interface though, is that then you have to program in Perl.

  131. firebird/interbase by Unordained · · Score: 1

    no, i couldn't help it. had to mention them at some point -- they get very little recognition in the OSS community, even though firebird (no longer interbase) is a sourceforge project, etc.

    it's easy to use, multi-platform capable ... and it does transactions correctly. it think the problem this user had (not the one i'm responding to) is a lack of understanding transactions: there's the careful way to do it, and then there's the rest.

    if i have two transactions, A and B ... and A has updated a row, and B asks for it before A has commited, we have many options: refuse, read the change, read as it was before the change ... force to wait until commit or rollback occurs, then give latest version (whatever that may be) ...

    even better is the case of A updating a row, and before it commits, B trying to update that same row (say, counting the number of times something has been updated, without using generators?) -- in that case, you can again: refuse, force to wait, say it worked, then fail one or the other, based on who commits first, etc.

    but the safest way is this: A updates, B reads: give B the latest version -on his transaction- ... if A updates, B updates: refuse right away, tell him it's locked.

    on the first, that's fairly obvious, the second, however, takes reminding yourself of your options: does B get to think it worked, then fail randomly later if A commits? you could also wait around and -hope- A will rollback ... but that's rare, all considered. the safest is to fail right away.

    (one case for hoping for rolling back would be the use of a temporary table, updating it, then discarding the changes, as part of some temporary process ... but that's very risky, and so very rare ... bah.)

    by the way, for those who like mySQL because of PHP support ... consider firebird: as of php 4.2.0 (RC ... oh, 4) support for interbase/firebird hasn't given me any trouble. it's easy. as to c++ support, that exists too ... also quite easy. ... and unlike mysql, it does everything an RDBMS should do, correctly. i have no problem with postgres, except perhaps the backversions thing ... kinda worries me. both postgres and firebird, to my knowledge, support arrays as a datatype, although i've never had a use for them (not exactly 3rd normal form, if you ask me ...)

    and no, i'm not on the firebird team -- i just used it, and fell in love with it ...

  132. Postgres installs in 10 minutes by hqm · · Score: 2

    I've used Postgres in a dozen relational database-backed server projects in the last three years. It installs faster than MySQL, I can do a Postgres install in literally ten minutes to get a functioning basic configuration.

    Sometimes, I believe the MySQL advocates are in some kind of strange parallel universe. Postgres is a real Oracle-killer at the low and medium end, and is a breeze to install and maintain.

    People might have gotten scared off by the old
    buggy Postgres implementations circa 1993 or so, but that code is long gone, the system was totally
    rewritten and since 7.0 has been creeping up on
    Oracle territory. MySQL by contrast, still lacks basic required stuff like ANSI syntax and tranactions.

  133. Local optima by Tony-A · · Score: 2

    Because it is appropriate and proper to black box the database from the front end developers.
    Oh, I very definitely see your point.
    MySQL gives you no protection from your front end developers, and its use should be restricted to situations where you do not need protection from your front end developers. It's a very different world-view.

  134. it's PostgreSQL they're dumping by Trepidity · · Score: 2

    They already moved from MySQL to Postgre a while ago, and now are moving from Postgre to IBM's DB2.

  135. didnt know 95% of the world doesnt need integrity by Anonymous Coward · · Score: 0

    clueless programmers like you is what seems
    to make many data stores totally corrupt.

  136. Of course by insta · · Score: 1, Funny

    Of course MySQL is a threat to the big database vendors, Microsoft is evil!

  137. What MYSQL is good for: by jxa00++ · · Score: 1

    1. Store user comments in a web site -- no need for ACID here?

    2. Storing user preferences that need to be queried at each page view

    3. Storing cookies

    4. Logging activities that you want to query/aggregate elegantly later

    5. Store temporary data (example: in a wizard type web app, there was an upload file widget, and I stored the data in MySQL to keep the data persistent accross pages, and when the user clicked 'finish' it was sent to an oracle DB).
    Store mailing list datas (email addresses, etc ...)

    6. Store access control information that need to be queried at each requests

    7. Implement a special purpose search engine.

    For any transaction intensive, ACID dependaent application you would be putting your job in your own shaky hands, opting for MYSQL. Have seen this personally at the rather large shop I work at.

    I would stick to SQL Server, (this is a credible alternative since version 7 SP2) or the other normal Oracle/Postgres given budget/platform freedom.

  138. Can I use MySQL for my application? by Anonymous Coward · · Score: 0

    I'm planning on creating a site that uses a database where users can post free text ads for merchandise for sale (already working without database at http://www.gothamcitywebmerchandise.com ) and will in the near future allow merchandise for sale with picture ads for free. At a later date, if volume is too high, I may need to charge a small bandwidth fee for placing the picture ad. This is a learning experience for me for gnu/linux apps. If I need to charge a small fee, can I use MySQL for the transactions? I envision paypal (which I know sucks, but what real alternatives are there?) or some other payment processor, and it needs to be automated, as I expect high volume if I am not profiting from the fees. Can I use MySQL for this type of application? Is the features that I'll probably need missing from MySQL, and I should start directly with Postgres? I am trying to hit the ground running, and want to start learning the database right away, but I don't want to waste time on the wrong one.

    Thanks for any (practical, not advocacy) advice.

  139. what about freebsd by spectatorion · · Score: 1

    This article seems to have been sparked by Yahoo's consideration of mysql, but it fails to mention that Yahoo has run FreeBSD from the beginning. Talk about the "viability of open source," Yahoo is one of the most popular and highly trafficed web sites on the 'net and always has been.

  140. Old comparison study by tyler_larson · · Score: 1
    There was a story run on eWeek many moons ago which compared the more popular DB engines in real-world applications. MySQL performed incredibly well, holding its own against Oracle, and soundly trouncing the likes of DB2 and SQL Server. MySQL proudly touted this independant study as indisputable proof that they ruled the RDBMS world.

    But when it comes right down to it, MySQL is a niche player. It's niche, luckily, is the average consumer. It's a very well designed DB, but it was built for speed, not combat.

    Don't pretend that it's something it isn't. Don't bash it for not being something it wasn't ever designed to be. Don't try and convince me that it's no good because it doesn't yet have features I don't need.

    Oracle is a tank, MySQL is a sedan. I don't drive a tank. I don't need to. You may work where you need to drive a tank, but that doesn't make it any more appropriate for what I do. If you need that added benefits that only a tank can provide... well then I hope you can afford one. They cost a lot of money to own and to operate. MySQL is free, it works very well, it's surprisingly reliable, and it does what almost everybody needs.

    --
    "With sufficient thrust, pigs fly just fine. However, this is not necessarily a good idea...."
    RFC 1925
  141. Re:mysql is a threat to the commerical db vendors by nelsonal · · Score: 1

    I guess what I am most curios about is how many times is Oracle, DB2, or MS SQL used when it really isn't necessary? Does any one have any ideas? From stories like mine, admittedly not very statistically significant, it seems that there are quite a few times one of the big ones is purchased, when it really is not necessary.

    --
    Degaussing scares the bad magnetism out of the monitor and fills it with good karma.
  142. Benchmarks by kpharmer · · Score: 1

    > The specifications for the TPC benchmarks are
    > freely available -- it's fairly easy to write a
    > client application that follows one of the
    > benchmark specs to test a specific database.
    > contrib/pgbench in the PostgreSQL tree, for
    > example, implements a "TPC-B-like" benchmark.

    Yeah, but it takes a lot of time and equipment to run a full suite of benchmarks - especially if you want to know how it'll run on a 4,6, or 8-way SMP, with different io subsystems, with different schemas, different data characteristics, different tuning parameters, etc, etc.

    And you need to run a variety of them - since any application worth its salt will need OLTP-oriented transactions as well as table scans, loads, unloads, etc.

    Meanwhile, you get folks claiming that 'X' is faster than Oracle - and all they've done is compared a few queries on a development workstation.

    And the irony is that the open source databases are probably the only ones that you can publish benchmarks for without prior vendor approval.

  143. simplistic logistics by jdkane · · Score: 1

    Does MySQL work well for your particular database applicaton? -- If so then use it.
    The more robust and comparable that MySQL becomes to commercial database programs, the more MySQL will be used instead.
    It looks like this is what's happening right now.

  144. Have you really used PostgreSQL? It's good. by Admiral+Burrito · · Score: 2

    Right now postges sends a message to the application saying, this is locked retry transaction, this is just not up to real enterprise levels.

    This can happen if you use the serializable transaction isolation level. It is not the default - you have to specify that isolation level for your transaction. And as far as I know, it is the only way to implement that isolation level while still allowing any kind of concurrency. I have never had to re-run a transaction with PostgreSQL, because I use the default transaction isolation level. You might want to read the relevant documentation.

    I have seen the "re-run your transaction" message - using MS SQL. Yes, "real" databases do do this. Again, it depends on the transaction isolation level.

    Most of your other points don't even apply to PostgreSQL. PostgreSQL has log-based transactions. It does not use one file per table (I can't remember how many files there were in my last PostgreSQL DB, but it wasn't many and certainly wasn't one-per-table). Others have commented on your other points (except XML) so I won't repeat them.

    You might want to take another look at PostgreSQL. Don't assume that it is the same as MySQL (if that is where your criticisms are coming from).

    I haven't tried MySQL so I really can't comment on it.

  145. You have *GOT* to be joking. by chmod+u+s · · Score: 1

    I used to think MySQL was fast and efficient. Then I started actually using the data for something other than photo albums and shopping carts. If you want to do some real data reporting in MySQL good friggin luck.

    Recently, I was writing some automation to export data from MySQL to Oracle and found that the SIMPLEST outer join on two small tables 10K rows, returning less than 7K results takes a full minute to execute on a 1Ghz PIII. What a pathetic joke! Even if it wasn't tuned optimally and had to do full table scans, it shouldn't take that long - Oracle wouldn't even breathe hard with that kind of data set. MySQL has no stored procedure language, no view capability, no foreign keys, nothing but bare metal. I thought these trade-offs were for speed, but apparently not. It is a slow-no featured DOG with shitty JDBC drivers.

    I have a high opinion of PostgreSQL because of it's object relational model and the fact that it *does* have a stored procedure language, foreign keys, and views, etc. But I haven't yet had the opportunity to test it's speed in a real production environment. It is on my list of things to do to test it with similar production data to see if it deserves the kudos I regularly heap upon it.

    Bottom line is however, anybody trying to use MySQL in an enterprise is kidding themselves.

  146. Trabalhos Prontos by Anonymous Coward · · Score: 0
  147. Duh by Betcour · · Score: 1

    Every major database on the market has a query cache (built in or optionnal). And that's because query cache is a good thing. Many web pages cannot be cached because they mix static and dynamic content. Here only a query cache can help. Also some queries are just plain slow to process no matter how good your database is, and there's no reason not to use a query cache here if the same query is run twice.

    1. Re:Duh by MattRog · · Score: 1

      You're pobably thinking of a generic data cache. While it does store table data it does not store query results. Very, very different.

      --

      Thanks,
      --
      Matt
  148. Nope by Betcour · · Score: 1

    I'm talking about query results. Some queries don't benefit much from data cache. Think about computing the average of a column on 100 million rows, with a 50 GB table. Most likely the rows won't fit in any data cache (and hence require to read the whole damn table no matter what), but the query result (one float) will fit easely into any query cache along with the query.

    My site for example does charts based on a lot of rows. It's long to compute and read only, and yet the result set is small. That's a perfect job for a query cache.

    Also while a data cache can cache data, it still requires you to do the computation. If you use regular expressions and other computational intensive requests the data cache is far less efficient than a query cache.

    1. Re:Nope by MattRog · · Score: 2

      What RDBMS are you using? Oracle, Sybase ASE, and MS SQL Server do not behave in such a manner.

      --

      Thanks,
      --
      Matt