Slashdot Mirror


Continuent To Bring Open Source DB Replication To the Oracle World

Robert Hodges, CTO of Continuent, has an interesting blog entry about a new approach to database replication that they are undertaking. The new approach aims to provide easier access to replication for low-end Oracle users in addition to the alpha offering they already have for MySQL. "It's not a coincidence that we chose to implement MySQL and Oracle replication at the same time. MySQL has revolutionized the simplicity and accessibility of databases in general and replication in particular. For example, MySQL users have created cost-effective read scaling solutions using master/slave replication for years. MySQL replication is not free of problems, but there is no question MySQL AB helped by the community got a lot of the basics really right. On the other hand, Oracle replication products offer state-of-the-art solutions for availability, heterogeneous replication, application upgrade, and other problems, albeit for high-end users. For example, Oracle Streams and Golden Gate TDM offer very advanced solutions to the problem of data migration with minimal downtime. The big problem with these solutions is not capabilities but administrative complexity and cost."

83 comments

  1. Looks a bit slashvertisment-y by superskippy · · Score: 0, Offtopic

    what do you think?

    1. Re:Looks a bit slashvertisment-y by jellomizer · · Score: 1

      Yea that is what I tough. I saw the article I though oh cool something that may be helpful. Then I saw it linked to some guys blog to an app of some unknown company, for a product that is in Alpha. Yea Like I am going to print that out and show it to the DBA.

      --
      If something is so important that you feel the need to post it on the internet... It probably isn't that important.
    2. Re:Looks a bit slashvertisment-y by truthsearch · · Score: 1

      Definitely. After reading the blog post it just sounds like an extra layer of software that's able to replicate across different brands of database. Since most people don't want to maintain multiple database brands the only advantage I can see is in migration.

      This doesn't sound all that innovative or even very useful.

    3. Re:Looks a bit slashvertisment-y by leuk_he · · Score: 1

      For possible something that is vaporware yes.

      "will available for early adopter next month"

      You cannot user oracle and save money at the same time. Oracle will change their licensing model so it it cheaper to buy oracle all the way.

      You need a 3 day course anyway to understand oracle licensing.

    4. Re:Looks a bit slashvertisment-y by PinkPanther · · Score: 5, Interesting

      There are very good reasons to replicate (or at least synchronize) between disparate DB systems. For example, you have a LAMP website but want to feed it data from your backend ERP system. Another fantastic example is mobility, where you have a mobile database like SQL Anywhere on your PDA and/or laptop synchronizing to your enterprise DBs.

      --
      It's a simple matter of complex programming.
    5. Re:Looks a bit slashvertisment-y by truthsearch · · Score: 1

      Excellent points. In my experience it's most common to refactor the data or only use a subset when synchronizing disparate databases. So I expect to build a small custom data migration app when dealing with this. But your point is taken.

    6. Re:Looks a bit slashvertisment-y by PinkPanther · · Score: 1
      Can't speak for other technologies, but when it comes to SQL Anywhere and its synchronization technology MobiLink, there is nothing limiting you from synchronizing subsets of the schema and/or synchronize from a variety of sources to an arbitrary mapping of tables.

      For example, you can pull data for one table from your consolidated database while pulling data for another table from a web service.

      --
      It's a simple matter of complex programming.
    7. Re:Looks a bit slashvertisment-y by rhodges · · Score: 3, Informative

      Keep watching. It won't be alpha for long. On the plus side we are being completely open about the development and will not deceive you about the true state of the software. Robert (the guy that wrote the original blog entry)

    8. Re:Looks a bit slashvertisment-y by NoddyK · · Score: 2, Interesting

      We replicate from Oracle to MySQL using redo-logs and a 143 line perl script. This has worked for about the last year, although there is a 15 minute delay in Oracle 9i, as there is no easy way to query online redo logs. All that changes when our data warehouse goes up to 10g, at that point we will get real time replication.

      The MySQL database is only 250gig, around 2.2 billion records, used for all our websites (read-only), while all update systems hit Oracle, the updates are fed to a single MySQL master, which then uses MySQL replication to replicate to the web farm. No need to validate data on the MySQL servers, as the Oracle box has already done that.

    9. Re:Looks a bit slashvertisment-y by truthsearch · · Score: 1

      Why not just use Oracle databases for everything? Why replicate to MySQL? Doesn't that make sys admin work harder? The only reason I could imagine is licensing costs, but is there any other reason?

    10. Re:Looks a bit slashvertisment-y by NoddyK · · Score: 1

      Primarily cost, as load on the web site ramped up, we simply added more servers, no oracle licensing cost. Plus our dbadmins seem to have a hard time keeping the oracle boxes up for more than a week at a time, whereas the mysql boxes have been running for 90 days without a glitch, and our sysadmins love the fact that they do not have to do anything with them

    11. Re:Looks a bit slashvertisment-y by afidel · · Score: 1

      MySQL is a lighter weight process so if you want to replicate to a low power machine like a laptop it's probably a better fit.

      --
      There are 4 boxes to use in the defense of liberty: soap, ballot, jury, ammo. Use in that order. Starting now.
    12. Re:Looks a bit slashvertisment-y by rhodges · · Score: 1

      Hi, on the contrary, this is not just another layer of software. First, our software is alternative replication that fixes a number of problems with existing mechanisms like MySQL replication . Second, it provides replication (or will when we release) where it is sorely needed, namely low-end Oracle implementations. Whoever put this on Slashdot got the title right. Third, cross-database replication is a big problem for a lot of people and there's nothing in open source right now that addresses it effectively. Taken together this sounds pretty innovative to me. But then I wrote the original post, so these arguments are perhaps not unexpected. :)

    13. Re:Looks a bit slashvertisment-y by Anonymous Coward · · Score: 0

      I hope it won't be long before you'll cease spamming every mailbox in the mysql.com domain with your press releases as well.

    14. Re:Looks a bit slashvertisment-y by sumnerp · · Score: 1

      Too hard for me. Where is the source code and what is the license? The downloads from https://forge.continuent.org/frs/?group_id=26 dont contain source and the svn repoistory svn://svn.forge.continuent.org/svnroot/treplicator does not work with my svn client or the browser link on the gforge page.

    15. Re:Looks a bit slashvertisment-y by fatp · · Score: 1

      You are using a 143 line perl script to 'mine' redo-logs?? Great job! Then we can throw away the stupid DBMS_LOGMINER

      Can you give me any hint on how the redo-logs are parsed? :P

    16. Re:Looks a bit slashvertisment-y by NoddyK · · Score: 1

      Sorry, we still use the stupid DBMS_LOGMINER packages to do it, then we get the SQL_REDO and just apply it to the MySQL server.

      We just keep a running record of the last CSCN processed, and you have to make sure supplemental logging is on, as well as setting primary keys to appear in the logs as well.

    17. Re:Looks a bit slashvertisment-y by rhodges · · Score: 1

      The license for our current software is GPL v2. This covers replicating MySQL to MySQL as well as from MySQL into Oracle and other databases. Oracle redo log support will be commercial, but there will be a free version for up to 2 hosts. I will get source builds posted today . Finally, if you can tell me what the problem was with SVN I'll try to fix that as well. (SVN is making us a little crazy at the moment--sorry if you are infected by it. The MySQL guys recently switched to Bazaar, which is starting to look kind of attractive.)

    18. Re:Looks a bit slashvertisment-y by fatp · · Score: 1

      Thanks for the info

  2. MySQL + Oracle = MyOracle by ilovesymbian · · Score: 1

    Why not create a hybrid of MySQL and Oracle and give it out for a lower price than Oracle? Something that has the best features of both MySQL and Oracle.

    And call it MyOracle [tm].

    1. Re:MySQL + Oracle = MyOracle by stoolpigeon · · Score: 1

      What does MySQL have that Oracle needs or would improve it? I can't think of anything - seriously. I'm not trying to troll, fill me in on where MySQL is better than Oracle.

      --
      It's hard to believe that's how Micronians are made. Why don't we see it right now by having you both kiss one another?
    2. Re:MySQL + Oracle = MyOracle by Jellybob · · Score: 4, Insightful

      Isn't it Postgres?

    3. Re:MySQL + Oracle = MyOracle by I+cant+believe+its+n · · Score: 2, Insightful

      What does MySQL have that Oracle needs or would improve it? I can't think of anything - seriously. I'm not trying to troll, fill me in on where MySQL is better than Oracle.

      Price?

      --
      She made the willows dance
    4. Re:MySQL + Oracle = MyOracle by jellomizer · · Score: 3, Interesting

      MySQL is better for small Databases, Oracle is better for Big ones.
      (Small Databases consist of Millions of records, Big ones Billions) Installing Oracle for average Joe company is overkill, and huge overhead. That is why a lot of Oracle shops switched to Microsoft SQL, and MySQL.
      It would be nice to have a lot of the features of Oracle with ability to manage small databases.

      --
      If something is so important that you feel the need to post it on the internet... It probably isn't that important.
    5. Re:MySQL + Oracle = MyOracle by stoolpigeon · · Score: 3, Interesting

      Oracle Express - 0$

      Yes - if you want more features, Oracle is expensive. Although that cost includes support. But that has nothing to do with his statement of a hybrid - unless you are saying the only thing that will be merged is cost.

      --
      It's hard to believe that's how Micronians are made. Why don't we see it right now by having you both kiss one another?
    6. Re:MySQL + Oracle = MyOracle by stoolpigeon · · Score: 2, Informative

      I'll have to respectfully disagree. I think Oracle brings numerous features to the table that MySQL doesn't have - and running a small database with Oracle does not come with a lot of overhead.
       
      I run a number of small oracle installs that use very little in the way of resources. So I'm not sure why you think Oracle can't manage small databases.
       
      I'm not a big fan of Oracle for a few reasons - but those mostly have to do with closed vs. open and some of their high-end stuff- specifically dealing with RAC. Dealing with straightforward, basic Oracle databases - small or large is dead easy and rock solid.
       
      I work with MySQL also. It's very nice, but I am unaware of any area where it exceeds Oracle from a technical perspective. I do like very much the fact that it is open software. But I see no gains for anyone with some kind of Oracle/MySQL hybrid.

      --
      It's hard to believe that's how Micronians are made. Why don't we see it right now by having you both kiss one another?
    7. Re:MySQL + Oracle = MyOracle by PinkPanther · · Score: 1
      • Simplicity of management
      • Size of installation, both client and server
      • Prevalence of open source solutions (e.g. PHP/LAMP type apps)
      • Embed-ability
      • apt-get mysql
      • ...
      --
      It's a simple matter of complex programming.
    8. Re:MySQL + Oracle = MyOracle by gbjbaanb · · Score: 1

      Administration is only part of the reason shops switched the SQL Server, the other was cost - MS was giving it away for free sometimes, our company switched to SQL Server when we found MS gave us a redistribution licence, I remember the management wetting themselves in a company update meeting telling us how we were moving to use it and not Oracle because it was a licence to print money.

      Our users have been suffering ever since :)

      (not that I have that much against SQL Server, but you do need to write a lot of SPs to make it work in a medium/large system without its locking system getting overexcited)

      If Oracle could drop that useless Java management toolset and make it easier to administer/setup, and also make patching it a lot easier then I reckon it could start to make inroads again. Unfortunately they wouldn't even setup a yum repository for patches on their 'Unbreakable Linux' system :(

    9. Re:MySQL + Oracle = MyOracle by jellomizer · · Score: 1

      Overhead is not always technical per-say. It is cost, management, etc... MySQL can normally be setup by some guy with little DBA skills and have a good working system. Oracle takes a bit more work. As well the upfront cost of licenses.

      --
      If something is so important that you feel the need to post it on the internet... It probably isn't that important.
    10. Re:MySQL + Oracle = MyOracle by stoolpigeon · · Score: 1

      I'd say simplicity of management is debatable.
       
      I think the server install for Oracle is reasonable and very configurable. You are 100% right about the client side though. It is a huge pain with Oracle. The thin client is small - but doesn't work too well for a lot of things.
       
      Yes - if you are going FOSS, MySQL has a lot of momentum. That would not be helped my the creation of an Oracle/MySQL hybrid though.
       
      Oracle offers a number of embedded solutions.
       
      I've always been amazed at the work Oracle puts into their products but how they lag on install tools. Not sure what the deal is there, but you are right.
       
      But I think when it is all said and done, I don't see any real gains for Oracle to make from MySQL in their core product.

      --
      It's hard to believe that's how Micronians are made. Why don't we see it right now by having you both kiss one another?
    11. Re:MySQL + Oracle = MyOracle by Anonymous Coward · · Score: 0

      Actually, it's written "per se", not "per-say". Thank you.

    12. Re:MySQL + Oracle = MyOracle by stoolpigeon · · Score: 2, Interesting

      What's the long term cost of having a database run by somebody who doesn't know how to run a database?
       
      If nothing will ever be done that requires dba knowledge - then a ton of products will work and Oracle Express falls into that category - with SQL Server Express in a similar boat. (Though SQL Server is limited to a single OS.)
       
      I think people really overestimate what it takes to get Oracle installed and running. It's not that hard to do and their are vast resources available to help get one up and going. The learning curve comes as one starts to take advantage of features that aren't all that complicated but extremely powerful.
       
      I've seen people used to working on Oracle come to me with problems they have with a MySQL database they built for something. They love it until they have a problem. Then they come ask me to fix it, like we fix their mistakes they make in the Oracle database. Problem is, we can't because they haven't done the work to make it possible.
       
      Like any other product - MySQL is only as good as the people who have installed it and set it up.

      --
      It's hard to believe that's how Micronians are made. Why don't we see it right now by having you both kiss one another?
    13. Re:MySQL + Oracle = MyOracle by jedidiah · · Score: 1

      For a "small database" this is just as possible with Oracle. It's
      never required much expertise to start getting into trouble with
      a relational database (even Oracle).

      As far as the money goes... there are varying degrees of cost and
      you will quickly run into "simple" business requirements (like
      online backup) where mysql quickly makes itself appear not quite
      up to the job.

      A n00b can install Oracle and at least have decent crash recovery.
      That's not something that you can take for granted with mysql.

      You don't have to pay 60K per cpu for Oracle and mysql won't necessarily be gratis.

      --
      A Pirate and a Puritan look the same on a balance sheet.
    14. Re:MySQL + Oracle = MyOracle by leuk_he · · Score: 2, Informative

      if i read the oracle express license correctly

      " License Rights
      We grant you a nonexclusive, nontransferable limited license to use the programs for: (a) purposes of developing, prototyping and running your applications for your own internal data processing operations; "

      Note: Limited, Maybe even a time limit? Not sure.
      Note: Internal, that more or less excludes running it you web shop.

      Free as in beer, but very limited.

    15. Re:MySQL + Oracle = MyOracle by I+cant+believe+its+n · · Score: 1
      You where the one asking people to compare Oracle to MySQL.

      I can't think of anything - seriously. I'm not trying to troll, fill me in on where MySQL is better than Oracle.

      MySQL beats Oracle on price.

      I'm sure you are creative enough to come up with many examples where MySQL fails miserably compared to Oracle and I accept that. Just don't think Oracle is the one and only solution for every type of problem out there.

      --
      She made the willows dance
    16. Re:MySQL + Oracle = MyOracle by stoolpigeon · · Score: 2, Informative

      That's part a - then next part b says that the db can be distributed freely with the software. IANAL - but I would think it can be used as the back end for a web site.
       
      The limits listed below that in regard to amount of data, ram and processors are also pretty strict. I'm not an Oracle cheer-leader. But I do work with their products daily and I cringe when I see people say that MySQL or even PostgreSQL (which I absolutely love) are on par with Oracle. They aren't. They may be eventually but they are not there yet.
       
      That kind of started this whole discussion and then price came into it. That is really irrelevant to what started the thread - but even lumping that in Oracle does provide options - narrow as they may be.
       
      I'm done being an Oracle DBA in a few weeks - and my new job will have me working almost exclusively with FOSS products. I can't wait. But I've worked with both enough that I don't really have illusions about either and just hate to see assumptions that are wrong being tossed around about either.

      --
      It's hard to believe that's how Micronians are made. Why don't we see it right now by having you both kiss one another?
    17. Re:MySQL + Oracle = MyOracle by Anonymous Coward · · Score: 0

      Must be imagining things:

      http://www.postgresql.org/docs/8.3/interactive/ddl-partitioning.html

    18. Re:MySQL + Oracle = MyOracle by Slashdot+Parent · · Score: 2, Informative

      What does MySQL have that Oracle needs or would improve it? I can't think of anything - seriously. I'm not trying to troll, fill me in on where MySQL is better than Oracle.

      Ease of use and cost.

      Sure, you think Oracle is easy, but you are an Oracle DBA. MySQL is trivially easy for a developer to set up and get running. I mean, 'apt-get install mysql-server' easy. I just typed 'apt-get install oracle' and, surprise, I have no Oracle. So Oracle is harder.

      Oracle is also obscenely expensive. Don't get me wrong--if you need it, it's worth every penny. But 3 of my last 4 clients could not stop bitching about the cost of Oracle licenses and Oracle DBAs, yet MySQL or PostgreSQL would have easily met their needs. (The 4th client, a massive financial institution, did not complain about the cost of Oracle licenses, and they definitely needed to be using Oracle.)

      My current client's largest database has only about 4 million records in it, but it has a simple, well-designed schema and queries are very cheap. Yet they have 4 Oracle DBAs, and god knows how many Oracle licenses. They have old Oracle instances where they pay per-CPU license fees on an ancient CPUs. There is no reason in the world they couldn't just retire those boxes, move the simple DBs to Postgres, and send those licenses back to Oracle. They'll never do that, but they could easily save a quarter million dollars per year if they would.

      --
      They don't grade fathers, but if your daughter's a stripper, you fucked up. --Chris Rock
    19. Re:MySQL + Oracle = MyOracle by Slashdot+Parent · · Score: 1

      I'm not an Oracle cheer-leader. But I do work with their products daily and I cringe when I see people say that MySQL or even PostgreSQL (which I absolutely love) are on par with Oracle. They aren't.

      I agree with this statement, but that doesn't change the fact that most companies who use Oracle don't need Oracle.

      They could get by just fine with MySQL or PostgreSQL. But no one got fired for buying Oracle, I guess.

      --
      They don't grade fathers, but if your daughter's a stripper, you fucked up. --Chris Rock
    20. Re:MySQL + Oracle = MyOracle by rhodges · · Score: 1

      It's hands-down easier to use, especially for people who are not database experts. There's not even an installation in the Oracle sense of the word--you just 'yum install' and it's there or maybe it came straight off the distribution you installed. That was part of my point what MySQL really got right.

    21. Re:MySQL + Oracle = MyOracle by stoolpigeon · · Score: 1

      You are right - if they are using Oracle as the back-end for their own apps. But just like MySQL gets all the FOSS love - any company running stuff like PeopleSoft, Siebel (both owned by Oracle now) SAP, etc. wont be looking at MySQL as an option. They will be building on something commercial.
       
      Where I work, the biggest MySQL database we have is being moved to Oracle to make it easier to integrate with or Oracle stuff running some of the above mentioned apps.
       
      And don't get me wrong - if I was building my own app under most circumstances my first choice would be PostgreSQL. And to be honest, if I had to pay for an RDBMS and I was already running windows at all - I'd go with SQL Server over Oracle. It's way cheaper and does a good job to a point. And that point is pretty far out there.
       
      And once things got really big and lots of dollars were involved, I'd throw Oracle into the mix.

      --
      It's hard to believe that's how Micronians are made. Why don't we see it right now by having you both kiss one another?
    22. Re:MySQL + Oracle = MyOracle by WNight · · Score: 0

      Oracle isn't worth it, where possible to avoid it, just because it's Oracle. By buying into "A DB is better on Oracle" you just hand them scads of money based only on their brand name.

      Having to pay is just a minor part of it - having to pay more based on having a second CPU core, etc is just absolutely unworkable. Any software you don't buy outright is NOT worth the costs of having in your company. They haven't remotely disabled customers accidentally (I think) like VMWare (and Steam, id Software, Microsoft, etc) but by buying into a locked-down system you'll be absolutely screwed when they do.

      Strange, nobody sees negative value in letting another company hold their data and system hostage.

    23. Re:MySQL + Oracle = MyOracle by Envy+Life · · Score: 1

      When I sat down to price out Oracle, SQL Server, and MySQL a few years ago I was surprised to find out the costs were roughly equivalent for a small/medium installation.

      MySQL is free because it's open source but by the time you opt for useful add-ons like hot backups and support the costs get up there. People opt for SQL Server due to Windows familiarity, but frankly Oracle is rock-solid on Windows too. From a functionality perspective neither offer any functional advantage over that Oracle, so it becomes a fairly simple decision.

    24. Re:MySQL + Oracle = MyOracle by larry+bagina · · Score: 1

      If you want oracle's features on smaller databases (and a smaller cost), try postgresql (or FireBird). They're not oracle, but they are a step up from MySQL or SQL Server.

      --
      Do you even lift?

      These aren't the 'roids you're looking for.

    25. Re:MySQL + Oracle = MyOracle by afidel · · Score: 1

      SQL Server isn't always cheaper than Oracle, we got Oracle Enterprise for a price that Redmond refused to match for SQL Enterprise.

      --
      There are 4 boxes to use in the defense of liberty: soap, ballot, jury, ammo. Use in that order. Starting now.
    26. Re:MySQL + Oracle = MyOracle by afidel · · Score: 1

      Huh? Oracle doesn't even have a licensing server, you're just expected to comply with the licensing terms. I guess they probably put in some wording about auditing into the license, but I've never heard of Oracle exercising that option.

      --
      There are 4 boxes to use in the defense of liberty: soap, ballot, jury, ammo. Use in that order. Starting now.
    27. Re:MySQL + Oracle = MyOracle by stoolpigeon · · Score: 1

      That's good negotiating on your part - though Oracle Enterprise out of the box does not have the same feature set as SQL Server Enterprise. Partitioned tables are one example. There is also all the extra you have to pay if you want the full functionality of enterprise manager. There are more but those are the ones that I can think of off the top of my head.
       
      Oracle has done a lot to be competitive with SQL Server - but they did a lot to bring down cost by splitting functionality off and charging for it separately.

      --
      It's hard to believe that's how Micronians are made. Why don't we see it right now by having you both kiss one another?
    28. Re:MySQL + Oracle = MyOracle by afidel · · Score: 1

      Actually ours included everything, all features and OEM. Our VP is a master negotiator =)

      --
      There are 4 boxes to use in the defense of liberty: soap, ballot, jury, ammo. Use in that order. Starting now.
    29. Re:MySQL + Oracle = MyOracle by stoolpigeon · · Score: 1

      Nice. And Larry can afford to give somebody a break once in a while. I think one thing though that becomes an issue sometimes is that Oracle has made agreements with the Feds that the price they got is the low price and they wont go around selling it for less than that to others.

      It can make it interesting. I work for a non-profit so we get some nice deals from them too.

      --
      It's hard to believe that's how Micronians are made. Why don't we see it right now by having you both kiss one another?
    30. Re:MySQL + Oracle = MyOracle by PitaBred · · Score: 1

      Unfortunately they wouldn't even setup a yum repository for patches on their 'Unbreakable Linux' system :(

      They are Oracle. Everything they do is perfect the first time. I'm surprised you weren't fired for being a non-believer ;)

    31. Re:MySQL + Oracle = MyOracle by dns_server · · Score: 1

      You just need to add the right repo's (to get oracle xe)

      deb http://oss.oracle.com/debian unstable main non-free

      to /etc/apt/sources.list and then:

      # wget http://oss.oracle.com/el4/RPM-GPG-KEY-oracle -O- | sudo apt-key add -
      # apt-get update
      # apt-get install oracle-xe

    32. Re:MySQL + Oracle = MyOracle by gbjbaanb · · Score: 2, Funny

      lol. like our old coding standards document. Initial page: "this document exists to ensure everything gets done correctly first time", version 7.

    33. Re:MySQL + Oracle = MyOracle by Slashdot+Parent · · Score: 1

      I have to admit, I had no idea. Does it have to run on unstable, or can I run it on stable?

      --
      They don't grade fathers, but if your daughter's a stripper, you fucked up. --Chris Rock
    34. Re:MySQL + Oracle = MyOracle by stoolpigeon · · Score: 2, Interesting

      Anyone can go to Oracle's web site and download the enterprise version of the database and install it. There is no activation or key necessary. Oracle can't do anything to your database.
       
      As you say - you are in violation of the license if you use it that. Also - when you pay it isn't just to license the software. It is for support. And without a current support contract, you can't call oracle support or log in to metalink for support, downloading patches, etc.
       
      More companies should handle these things the way that Oracle does.

      --
      It's hard to believe that's how Micronians are made. Why don't we see it right now by having you both kiss one another?
    35. Re:MySQL + Oracle = MyOracle by WNight · · Score: 2, Insightful

      They don't enforce it, but they still place stupid arbitrary restrictions on what you can do.

      If you have PostgreSQL on a machine and clone it, you're always fine. Even if you clone and keep the original, even if you clone a single-CPU install onto a quad-CPU computer, etc.

      For a legit business ignoring their license isn't an option, you either do what they say or don't use their product.

      So, yes, unless there's something very specific that you need Oracle for, I'd recommend not using it. It *is* the high-end product, but few organizations really need it.

    36. Re:MySQL + Oracle = MyOracle by dns_server · · Score: 1

      I think unstable, i have only run it on ubuntu.

    37. Re:MySQL + Oracle = MyOracle by DragonWriter · · Score: 1

      MySQL beats Oracle on price.

      The least expensive Oracle version matches MySQL on price.

      OTOH, MySQL is superior to Oracle on licensing permissions -- how important that is depends on the particular circumstance.

      Just don't think Oracle is the one and only solution for every type of problem out there.

      Of course not. Its just the solution for the (shrinking) range of things for which neither SQLite nor PostgreSQL is the right answer. (I'm joking, but only a little.)

  3. this does not match my experience by jacquesm · · Score: 3, Informative

    If there is one thing that really sucks in mysql it's replication, and no, they did not get it right.

    Even running top notch hardware about as redundant as you can get after running for a couple of months the master and slave can be out of sync.

    I think this is one of the major remaining issues with mysql.

    1. Re:this does not match my experience by gbjbaanb · · Score: 1

      I think , so they released the source for their 'better replication' technology.

      And we know that while MySQL replication has many wonderful features like simple set-up, it also has many deficiencies that have persisted for a long time. Monty Widenius, a widely respected MySQL engineer, summarized some of the key problems last April:

      - replication is not fail safe
      - no synchronous options
      - no checking consistency option
      - setup and resync of slave is complicated
      - single thread on the slave
      - no multi-master
      - only InnodDB synchronizes with the replication (binary) log

      Hopefully this will lead to a better (ie fixed) eplication system for MySql.

    2. Re:this does not match my experience by vlm · · Score: 1

      Monty Widenius, a widely respected MySQL engineer, summarized some of the key problems last April:

      - no multi-master

      Works great here. OK, no multi-master as of April, but which decade?

      --
      "Science flies us to the moon. Religion flies us into buildings." - Victor Stenger
    3. Re:this does not match my experience by gbjbaanb · · Score: 1

      Michael Widenius
      MySQL Fellow
      2008-04-17

      From http://www.scribd.com/doc/2575733/The-future-of-MySQL-The-Project

      Its an interesting read:
      Change MySQL development model to attract outside developers
      -Give outside developers commit and decision rights to the MySQL server code base (similar constraints as for internal developers)
      -Do this by aiming at a high target: "MySQL should within 2 years have as many outside core contributors as PostgreSQL".
      Yes, we have a lot to learn from how PostgreSQL is developed!

    4. Re:this does not match my experience by rhodges · · Score: 1

      Hi! Speaking as the author of the aforesaid blog, MySQL clearly got some things very right--mostly around about basic usability. It's nice to have replication baked in, for example. That's a fundamental reason why so many people use it.
      The synchronization and failure issues are pretty serious. As another poster pointed out we are equally serious about fixing them. If you read my blog we are pretty clear about what they are. One issue we can't solve completely involves problems with consistency between the binlog and the database itself because there are some two-phase commit issues that require storage engine if not architecture changes. However, we will fix everything we can without going into the database.

  4. Targeted to smaller shops. by jdanton1 · · Score: 1

    I'm suprised Oracle is letting this fly--it probably somehow violates the EULA, by reverse engineering Oracle redo logs. Basically, it seems like they are targetting smaller shops, who don't want to buy Oracle Enterprise Edition (and hire a f/t DBA). My only question would be, how big is the market that needs to do replication, but can't spend the $ or â on Oracle Enterprise (which can be cheaper than you think for a small shop)

    1. Re:Targeted to smaller shops. by jellomizer · · Score: 3, Interesting

      I am sure there is a huge market for Replication. Small Databases need to be rock solid too. Just because you may have a lot of data doesn't mean it isn't important or mission critical. Paying an extra $2000 for a server for a fail over is well worth the cost of your only SQL (Any Brand) server being down for a few hours to days.

      --
      If something is so important that you feel the need to post it on the internet... It probably isn't that important.
  5. As always, the answer is 'It depends' by johnlcallaway · · Score: 3, Interesting

    It depends on what type of replication one needs. The simplest means of Oracle replication is to create another database somewhere else and simply copy the logs over and apply them. We have done that for years for one simple reason ... for databases that don't require 5 nines service, I don't want an 'up-to-date' copy.

    A major cause of database failures in my experience has been due to programmer or administrator error (i.e. program bug or someone typing truncate table wrong.) Creating scripts to copy the logs to another server as soon as they are created, and applying them after they are a few hours old, we maintain an environment where it only takes a few minutes to switch over and prevent the 'uh-oh' moments from corrupting both databases.

    We have found that the decision to switch over to a remote database takes time. No one wants to do it because then we have to copy that whole database back to the primary site eventually, and that takes a lot of effort and time. When we have a failure, someone is tasked at getting the remote database ready while the discussions are held whether or not to fix or fail-over.

    One benefit of this has been that when we have 'uh-oh' moments, the old data is still available and we can correct it, sometimes without the end-users even being impacted.

    So .. for all of you database admins out there, replication is possible without the fancy software *IF* you can write scripts, create a somewhat simple system to repoint to the new one (i.e. DNS), and can live with a few minutes of downtime a couple of times a year.

    --
    I rarely read replies, it's my opinion and if you thought about your opinion a little more, I'm OK with that.
    1. Re:As always, the answer is 'It depends' by tomtomtom777 · · Score: 1

      ... I don't want an 'up-to-date' copy. ...

      That is not a replication solution. That is backup solution.

      The point of replication is that a second machine is an up-to-date exact replica of the first.

    2. Re:As always, the answer is 'It depends' by johnlcallaway · · Score: 3, Interesting

      No machine is 'up-to-date' as there is no such thing as instantaneous data transfers *unless* data is applied and committed to both machines at the same time. This is very costly outside of a local area. Before Oracle had replication services, we used this and were able to keep the remote machine (which was 2,000 miles away) within 5 minutes of the primary 95% of the time. It dawned on us one day how dangerous this was and changed it to not apply the logs for 60 minutes since it would only take us about 10 minutes to catch it up and switch it from stand-by, longer than it would take to decide to fail over and change DNS.

      I did not mean to imply this was the best solution for replication, only that if someone is using replication software for this type of purpose, i.e. disaster recovery, then this is a perfectly acceptable solution that probably will work for any database and does not require additional licenses *except* for the remote machine. Oracle allowed us to run the remote machine this way without a license since we did not use it in a production capacity.

      A backup solution??? I guess it is a backup of the primary, but many replicate machines are this way since 2-way replication difficulties often limits the usability of the remote server beyond read-only access. The data is never used to 'restore' the original machine, it is an exact, fully usable copy. If the primary machine crashed, the choices are to restore from tape, or make the remote machine the primary. The remote machine can serve as the production server for as long as is necessary. To restore the primary machine after the remote server has been used for an extended period, a backup of the remote has to be taken and applied to the primary. This can take a few days as the amount of data needed to be transferred is very high. A backup is taken to tape, overnighted, applied, and then additional log files are applied until the two are in sync and a point is reached where a controlled fail-back can occur.

      In fact, at one facility, we 'swapped' machines every 30 days to make sure they would function if one failed.

      --
      I rarely read replies, it's my opinion and if you thought about your opinion a little more, I'm OK with that.
    3. Re:As always, the answer is 'It depends' by afidel · · Score: 2, Informative

      Those programmer/DBA screw ups should be totally recoverable in an Oracle shop. Between FRA and undo there's no way you should not be able to recover quickly.

      --
      There are 4 boxes to use in the defense of liberty: soap, ballot, jury, ammo. Use in that order. Starting now.
  6. What is it with these names? by TheModelEskimo · · Score: 2, Funny

    Continuent? Continuent? Who thinks up this stuff? All I can think of is some suit explaining it. "We harness the synergistic energy of the word 'Continue' while simultaneously fulfilling our carnal, earthy ambitions by joining in sympathy with the Ents who will, perhaps in some future time or far-away land, form our products' user base."

    1. Re:What is it with these names? by duck0 · · Score: 1

      It's a system devoid of leaky embarrassments.

    2. Re:What is it with these names? by rhodges · · Score: 1

      Hey, come on. We paid good money for somebody to think up that name for us. Besides I like Ents. ;)

  7. Ummm, no by Slashdot+Parent · · Score: 0

    That's not partitioning. That's a weird, ugly, error-prone hack with table inheritance and constraints.

    And you're further telling me I further have to enable constraint exclusions on my entire database server, which is a performance hog on non-partitioned tables?

    And what if I want to change my partition keys? No can do. Parameterized queries? Nope.

    So mod me -1 troll all day long--I don't care. Being right is more important to me.

    --
    They don't grade fathers, but if your daughter's a stripper, you fucked up. --Chris Rock
  8. simplicity? by Lord+Ender · · Score: 1

    MySQL has revolutionized the simplicity and accessibility of databases

    It sounds like somebody has never used SQLite. MySQL is WAY too complex for the majority of applications.

    --
    A slashdotter who didn't build his own computer is like a Jedi who didn't build his own lightsaber.
    1. Re:simplicity? by Anonymous Coward · · Score: 0

      Isn't SQLite a more advanced database than MySQL?

    2. Re:simplicity? by rhodges · · Score: 1

      One of the first comments I got on the original blog posting for MySQL replication was whether we could replicate in and out of SQLite. We are still thinking about that-if there's demand we'll do it. Plus there are guys within our team that think we should be using it to store replication events.

    3. Re:simplicity? by Doug+Neal · · Score: 1

      SQLite doesn't scale very well. I set it up as the backend database for Bacula, and it struggled with a database of only a few hundred megabytes, and that's really not a "big" database. When I replaced it with MySQL, all the performance problems vanished.

      SQLite is cool and has its place, but I wouldn't use it for storing any more than a few megs.

    4. Re:simplicity? by rhodges · · Score: 1

      The other issue is that SQLite uses a single lock on the database, so if you have more than a small number of concurrent updates, it won't be pretty. Still, if there's interest in replicating to/from we would be up for it or would hope that somebody might see their way to add a plug-in for it. In the meantime, it looks like a really handy embedded database.

    5. Re:simplicity? by DragonWriter · · Score: 1

      Isn't SQLite a more advanced database than MySQL?

      I think its generally more robust in ACID terms, but less advanced in terms of simultaneous access and performance with larger databases.

      So I'd say its not unquestionably "more advanced", but its often a better choice.

      And where its not, I'm inclined to say PostgreSQL is.

    6. Re:simplicity? by Lord+Ender · · Score: 1

      Nobody said it is the best database for all cases. My point was simply that it embodies simplicity and accessibility for most applications (these days that means web apps). No user/permission nonsense, no server to run and maintain...

      --
      A slashdotter who didn't build his own computer is like a Jedi who didn't build his own lightsaber.
  9. Anonymous Coward by Anonymous Coward · · Score: 0

    Continuent wants 160 euro per socket PER MONTH for their product.
    that includes the *enforced* support package.