Slashdot Mirror


What is Holding SAP-DB Back?

Derek Neighbors queries: "The current story about MySQL 4.0 has erupted into a Postgres vs. MySQL debate. We at GNU Enterprise, who have used about all Free and Propietary databases, would like to know why exactly people arent using SAP-DB? It clearly is on par with Oracle, is GPL and frankly has an awesome support team in SAP AG. There was a PG vs SAP-DB recently. Someone else mentioned that you can get CDROMs for free. So again the question is 'What exactly is hindering a wider acceptance of SAP-DB in Free/Open Software projects?'"

159 of 436 comments (clear)

  1. Why doesn't SAP use it? by oingoboingo · · Score: 3, Insightful

    If it's so great, why does SAP normally sit atop a different database, like Oracle or DB2?

    1. Re:Why doesn't SAP use it? by broody · · Score: 2, Informative

      That is not entirely correct. SAP DB is based on what was eventually called ADABAS D, which was a product bought by Software AG and rebranded. The source for this product was the base for SAP DB but it was never a version of ADABAS C.

      --
      ~~ What's stopping you?
    2. Re:Why doesn't SAP use it? by sql*kitten · · Score: 5, Informative

      Becuase SAP DB doesn't support many of the critical features which are in the larger more respected database systems. The most important feature which is missing is transactions, ie: rollbacks, commits etc etc.

      Umm, what are you talking about? Of course SAP DB (nee Adabas) has transactions; it's fully ACID, unlike, say, MySQL.

      SAP DB is pretty much equivalent to Oracle 7.3.4 which is to say that it's a solid product for many real-world applications, but lacks many of the features for truly high-end deployment, like clustering, complex replication, guaranteed messaging, etc. I'd take Sapdb over MySQL any day, and probably over Postgres too. Another nice thing about SAP DB is that it can emulate Oracle's system tables, so an Oracle DBA can administer a SAP DB system very easily.

      Also, SAP-DB doesn't have drivers for some of the more exotic tape systems, unlike DB2 or Oracle. The only tape system we could get working for backups with SAP-DB was an old single drive, manual loader DAT system.

      Again, I'm not sure what you are talking about here. Do you mean you can't get an LSM plugin for SAP DB like you can for Oracle? Because that sort of stuff is really just fluff, you can do anything it can do with your regular storage manager (which may even be Legato) with a few simple scripts. I do agree that SAP DB's backup and recovery is primitive compared with Oracle's RMAN.

    3. Re:Why doesn't SAP use it? by sg_oneill · · Score: 5, Interesting

      Theres an interesting parallel to that one. In Australia, there is the Fosters brand , which only tourists drink, as it's generally accepted to be shiet. There is also the much loved 'crown' brand.
      Recently the glassie at my local bar told me that they where the same beer. I didn't believe him, so he did a test. He poured me a crownie and a fosters, and got me to blind compare them. I could not tell the difference. The moral here is that taste is *socially constructed*. That is in non sociology talk, we base our likes and perceptions on the social environment that we are exposed to. It's a wierd thing.

      --
      Excuse the Unicode crap in my posts. That's an apostrophe, and slashdot is busted.
    4. Re:Why doesn't SAP use it? by diverman · · Score: 2, Interesting

      You didn't ACTUALLY ask for examples to justify that SAP normally runs on Oracle and DB2?

      I worked as an SAP Basis admin for about 3 years (got sick of it). I didn't see a single installation (and I saw a lot having worked for Andersen Consulting) that wasn't either DB2, Oracle, or Informix.

      Examples...? How about IBM Storage Systems Division, Best Buy, Canadian National Rail, etc, etc...

      As for why...
      Well, 1. companies have years of trust and investment (systems and training) in other enterprise DB's (like Oracle, DB2, etc).
      And 2. I would be hesitant to use an SAP and SAP product. Not because they wouldn't work well together, but because it gives too much control to one company.

      Just my $0.02.

      -Alex

    5. Re:Why doesn't SAP use it? by nsample · · Score: 2, Informative

      Actually, Oracle *is* fully ACID compliant, *if* you choose to turn on that level of integrity checking. "Out of the box," a default Oracle installation chooses a much lower conflict level for performance reasons, yes. However, you can crank Oracle up (or down) from there. This flexibility of Oracle is part of what gives it such broad market appeal... it takes a Jack-of-all-Trades approach to integrity checking.

    6. Re:Why doesn't SAP use it? by Rick+the+Red · · Score: 2
      Shakespeare's stuff is not free. You've got to spend around $500 for a computer and about $20/month for an ISP before you can download any of the dude's stuff. You can go to Barnes & Noble or Walden Books and ask if they'll give you a copy of one of his books, but I'll bet they'll want to charge you for it - not as much as the ISP wants, but still not free.

      --
      If all this should have a reason, we would be the last to know.
    7. Re:Why doesn't SAP use it? by jgerman · · Score: 2

      Uh huh, reductio ad absurdum? Nothing is technically free, you have to, at the very lest, expend energy to take advantage of something you don't have to pay for directly. Shakespeare's works are free in the sense that they are in the public domain.

      --
      I'm the big fish in the big pond bitch.
    8. Re:Why doesn't SAP use it? by alienmole · · Score: 2
      Of course SAP DB (nee Adabas) has transactions

      I thought that was "nee Adabas D", where Adabas D was the non-mainframe little brother of big Adabas. Since it was originally developed by Nixdorf and sold as DDB/4, it didn't even share a codebase with big Adabas.

      I'd take Sapdb over MySQL any day, and probably over Postgres too.

      Where would you fit Interbase/Firebird into this picture? Just curious.

  2. Oracle by yatest5 · · Score: 2, Informative

    It clearly is on par with Oracle

    I think you'll find one of the main strengths of Oracle is it's REPUTATION. People know they can trust it as its been around for years and 'everybody' uses it.

    --
    • Mod parent up! [a] by Anonymous Coward (Score:5) Thurs, June 31, @13:37
  3. sapdb is too complicated - interbase/firebird. by Anonymous Coward · · Score: 4, Interesting


    sapdb needs a lot of effort to set up and create a
    database, sometimes even worse than the magic juju you need to go through with Oracle.

    What surprises me more actually is that Interbase/Firebird is not more successfull.
    It is free and as simple to set up/use as mysql in my opinion, but avoids most of the
    mysql limitations.

    1. Re:sapdb is too complicated - interbase/firebird. by SerpentMage · · Score: 3, Insightful

      Having used SAP DB as well, I have to agree. IT IS SO DAMM COMPLICATED. Makes Oracle look user friendly. I do agree SAP DB is better and has many "professional" features.

      However, since it is damm hard to use and build I do not play around with it. As an example look how easy it is to build MySQL, Apache and PHP. DEAD SIMPLE. And look what are the biggest tools LAMP (Linux, Apache, MySQL and PHP) or WAMP (Windows, Apache, MySQL and PHP).

      --

      "You can't make a race horse of a pig"
      "No," said Samuel, "but you can make very fast pig"
    2. Re:sapdb is too complicated - interbase/firebird. by Malcontent · · Score: 2

      Both SAPDB and firebird have much better documentation then either mysql or postgres too.

      --

      War is necrophilia.

  4. tried it .. crashed by Anonymous Coward · · Score: 2, Interesting

    i recently installed the latest sapdb and followed the HOWTO instructions from their website. while running the db_cold command, the server crashed with sigsegv. :( i was too lazy to look for further help and/or report the bug. right now i try out firebird (interbase), which didn't crash yet *g*

    1. Re:tried it .. crashed by AftanGustur · · Score: 2
      I never trust other people talking about crashs when they don't look into what the problem was :)

      It was an segmentation fault. and in 99% of those cases it's caused by bad input-checking.

      --
      echo '[q]sa[ln0=aln80~Psnlbx]16isb572CCB9AE9DB03273snlbxq' |dc
    2. Re:tried it .. crashed by AftanGustur · · Score: 2
      Unlikely yes but possible

      That's exactly what 1% stands for.

      --
      echo '[q]sa[ln0=aln80~Psnlbx]16isb572CCB9AE9DB03273snlbxq' |dc
  5. Hmph by ViceClown · · Score: 2, Interesting

    After checking out the SAP-DB website... now Im wondering just why more people aren't using it? Looks like it has a good feature set. Does anyone know if there are php functions for it? A quick scan of the php web site didn't turn up anything...

    --
    Have a Happy.
    1. Re:Hmph by stilwebm · · Score: 3, Informative

      The PHP comment brings up a good reason why it has not yet taken off. MySQL and other open source DBs have widespread support in applications and more importantly, developer communities. People who are comfortable developing with and even for those packages will continue to develop with and for those packages. As more community resources are available, more people will become comfortable using SAB DB.

  6. SAP-DB by Anonymous Coward · · Score: 2, Informative

    All this talk about free database servers tends to fly in the face of mission-critical nonstop environments. Personally at our company, I have pooh-poohed the free DB's and rather pay a little more for centralized support and two good DB administrators.

    As much as everyone maligns M$, nobody ever puts in MS SQL in the conversation. (We're a DB2 shop not M$) .sig

    beware of the trolls

    1. Re:SAP-DB by MORTAR_COMBAT! · · Score: 2

      It's like Rambo thinking he can take on the entire Russian Army.

      didn't Rambo take them on successfully three times?

      (i know, i know, he doesn't fight the russians until part III)

      --
      MORTAR COMBAT!
  7. On par with Oracle? by Anonymous Coward · · Score: 4, Informative

    Oracle does replication and hot standby. SAP-DB doesn't. These are pretty important features in the enterprise. Therefore, SAP-DB is not on a par with Oracle. What do you do if you need to work on your primary database machine and you don't have a standby?

    1. Re:On par with Oracle? by Watts+Martin · · Score: 3, Interesting

      I know you're responding to someone else's claim about SAP-DB being on par with Oracle, but the meaningful question is whether SAP-DB deserves more recognition as a free software database solution, isn't it? What do you do if you need to work on your primary database machine and you're running PostgreSQL? You take the machine down in a maintenance window, and if necessary, put up a secondary machine that is "manual standby."

      SAP-DB is pretty much the back end of SAP's commercial systems like SAP R/3. I'm sure there are things that Oracle does that SAP-DB doesn't (just like there are systems that actually do things Oracle doesn't, even though your Oracle sales rep won't admit it), but it's difficult to argue that the system doesn't have credibility in the enterprise.

      It also supports Microsoft's cluster server on Windows, with failover; they're working on a cross-platform solution for hot standby, according to the website. It does have a batch mode replication manager, too, at least.

    2. Re:On par with Oracle? by sql*kitten · · Score: 5, Informative

      SAP-DB is pretty much the back end of SAP's commercial systems like SAP R/3.

      It's a little more complex than that. SAP's R/3 product is an ERP system than competes with Oracle's ERP suite. For example, R/3 General Ledger competes with Oracle Financials. SAP were getting annoyed because every time they won a pitch against Oracle for ERP, Oracle ended up getting some money anyway, because R/3 required a database to run on, and Oracle was the most popular.

      So, SAP bought ADABAS as tried to push ADABAS-D as the preferred database for R/3. That way, when they beat Oracle to win business, they would get all the business for themselves. Unfortuately, it never caught on, customers preferred Oracle, partly because it was a better product, and partly because they already had it and people who knew how to use it. So SAP were left with ADABAS-D which no-one wanted, so they renamed it to SAP DB to capitalize on their brand, and jumped on the Open Source bandwagon for some free publicity.

    3. Re:On par with Oracle? by alext · · Score: 2

      Are you sure? I thought Oracle replication was only for 7.x, and I can't remember any feature corresponding to my understanding of hot-standby.

      A link or two might help to justify the rather high score awarded to these assertions.

  8. Not in BSD ports tree. by marcovje · · Score: 5, Insightful


    Subject says it all. Probably also goes for Linux, (but the argument there would probably be more
    "doesn't comes (integrated) with the distribution"

    If something gets included with distributions, it spreads much faster

    1. Re:Not in BSD ports tree. by photon317 · · Score: 2


      Gentoo Linux has a ports system that smokes BSD from a design standpoint, but it's still a little buggy at the moment. It's really cool to log into a freshly minimally installed Gentoo box as root and type "emerge gnome" or some such high level thing and watch it eat your processor for hours on end, compiling every dependency from scratch off the original tarballs from the net.

      --
      11*43+456^2
    2. Re:Not in BSD ports tree. by ari_j · · Score: 2

      More importantly, is it easily supported by other free software? For example, if a database isn't EASY to use from within PHP and Perl, it'll simply never catch on in the free software world, because we write a LOT of database applications with PHP and Perl. (And probably a dozen other scripting languages; I'm not mentioning C/C++ on purpose, because I suspect that there is more interpreted database client software than compiled).

    3. Re:Not in BSD ports tree. by photon317 · · Score: 2


      It's at 2317 package currently, not bad for an distro that just made it second official release ever. I would think it will quickly pass the 8000 mark.

      --
      11*43+456^2
    4. Re:Not in BSD ports tree. by photon317 · · Score: 2


      Have a look at the Portage Manual to see how their ports system works. It does smoke FreeBSD's make install.

      --
      11*43+456^2
    5. Re:Not in BSD ports tree. by photon317 · · Score: 2


      Perhaps for a very end user - I for one use Portage's features on a daily basis. make.conf is my freind, as is sandbox, "emerge config", and a host of other small innovations that add up to a lot.

      --
      11*43+456^2
  9. People don't know ? by DarkDust · · Score: 2, Informative

    Well, I just learned only a week ago that SAP released (part of) their DB as open-source. Everyone and their dog know that MySQL and Postgres are free, but I guess SAP's DB being free as well is a fact that is not well known enough.

  10. bad source code too by Anonymous Coward · · Score: 5, Informative


    Another thing I forgot: sapdb is unhackable. If you ever wanted
    to see what unmaintainable for normal people code looks like, go no further than to sapdb.
    It is incredibly bloated and complex, very crufty internally, written in a weird pascal/C++ mix
    with an SAP specific format for the files, has a build system that could be
    only described as ununderstandable, no comments.
    It is what you would expect from a 20+ years old codebase
    I'm glad the SAP Berlin guys understand it (they seem to at least), but I see not much chance to do any changes
    on your own. This makes it not very useful as a free software project.
    Of course it is still nice that they offer it for free, but for all practical purposes it is like a binary only download. To be fair interbase has some of these problems too, but it has still relatively nicer source than sapdb. mysql is much better in this regard.

    1. Re:bad source code too by Dark+Fire · · Score: 2, Interesting

      I agree. The sapdb uses a non-standard build system instead of open source tools like automake, autoconf, make and/or ant. Actually, ant would be a nice build tool for sapdb. Converting to a standard build tool would really help get more open source developers interested in trying to unravel and improve the code. While the pascal/c++ mix might be strange, I think someone would hack-a-way at it (I would) anyway if the build tools had an atleast familiar feel. When I setup sapdb, it was definitely more difficult to setup than mysql. I really liked the feature set and I almost used it for a production project I am working on now. It has a lot of potential, but sap is going to need to push towards using the tools the open source community is familiar with.

    2. Re:bad source code too by WinterSolstice · · Score: 2
      SAPDB is not bad. The only reason we chose against it here (a fortune 100 SAP using company) is that we have DB2 EE very firmly entrenched.

      SAPDB is very easy to maintain, using the SAP tools. I had no major issues with it on our non-prod test system. Why the heck would you try to "hack" it? That's like trying to re-make SSAA or ST03 just for fun. Use it, like it, don't like it, whatever. The tools SAP provides are frequently cheaper, as nice, and as easy to maintain as third-party offerings.

      -WS

      --
      An operating system should be like a light switch... simple, effective, easy to use, and designed for everyone.
    3. Re:bad source code too by Chasuk · · Score: 2, Informative

      America - The Republic that voted to become a Totalitarianism.

      Nice .sig - I agree with the sentiment completely - except that it is grammatically incorrect.

      One can be a totalitarian - but not a totalitarianism. The fact that a "Republic" (sic) is a plurality does not change this.

      For example, consider the following conversation:

      Me: "Of what political affiliation are you?"

      Bill Clinton: "I'm a Democrat."

      Bill would not say, "I'm a Democratic," obviously. Neither would George Bush answer, "I'm a totalitarianism." Well, perhaps he would, but only because he is an idiot.

      I suggest rephrasing your .sig thusly:

      America - The republic that voted itself into totalitarianism.

      This isn't a flame or a troll, or even much of a nitpick. I just happen to agree with you, and would like to see an opinion with which I am in concurrence expressed more eloquently. :-)

    4. Re:bad source code too by Quikah · · Score: 2

      Why the heck would you try to "hack" it?

      Isn't that the whole point behind opensource? You have access to the code so you can make changes/fixes which meet your specific needs rather than the overall markets general needs.

      --
      Q.
  11. Re:Worm's eye view by einer · · Score: 2

    Because it doesn't support views/inner queries/real big joins ... ? That's more of an embedded db...

  12. What SAP doesn't want you to know... by skryche · · Score: 4, Funny

    Has anyone else noticed the mysterious blacked out sections on the SAP-DB history page? Creepy.

    1. Re:What SAP doesn't want you to know... by muffel · · Score: 4, Informative

      Someone found the original text in a previous discussion

      --

      bla
    2. Re:What SAP doesn't want you to know... by ansible · · Score: 2

      But why would they black it out?

      This is not some paper-only copy, it's HTML! Just delete the offending text.

      Putting in black bars is just wacky.

  13. i was going to say... by MORTAR_COMBAT! · · Score: 3, Interesting

    that SAP DB isn't supported out of the box by Java, Perl, or PHP, etc. but one quick glance shows they support Perl through DBD::ODBC, have an ODBC driver suitable for PHP, and supply a JDBC driver for Java programs.

    so now i'm wondering what the catch is. too big? bloated? slow?

    well, the minimum requirements on Linux list a base memory footprint of 128 MB. MySQL runs on just about the smallest box you own, and most people tinkering with MySQL are on budgets of $0, meaning, no new bigger boxes for a long, long time.

    --
    MORTAR COMBAT!
    1. Re:i was going to say... by MORTAR_COMBAT! · · Score: 2

      they have nice JDBC 2.0 drivers, so it's not just ODBC.

      but i'll agree that i'll not be using SAP-DB any time really soon. i'll be using berkeley DB for my tiny projects, mysql for my medium projects, and postgresql for my big projects.

      --
      MORTAR COMBAT!
  14. I never heard of SAP-DB... by sys49152 · · Score: 3, Informative

    ... and I've taken a look around for other RDBMSs. Maybe the problem is that it's flying a little under radar.

    However, I have had the same question in relation to the open source version of Borland's Interbase, the Interbase fork - Firebird, and the hsql Database Engine.

    It seems to me that the community has latched on to MySQL and PostgreSQL as -the- database solutions, and this very acceptance places them higher up the food chain. For instance, hunt around for an open source based Content Managemnet Sysytem (ala SlashCode or PostNuke), and almost invariably it has a MySQL backend.

    1. Re:I never heard of SAP-DB... by Ooblek · · Score: 2
      Its lack of popularity is probably due to a phenomenon called "market share" where the first ones that get noticed in the market generally enjoy a dominate position with little effort. Too bad too many CS students get caught up in the "I can make a difference" funk of open source software and spend their most creative and energetic time of their careers hacking something that has only a slim chance of really becoming a big deal. Had they gotten a job, weather it be in an open source type company or even making commercial software, some people might understand this.

      It might also have something to do with the fact that SAP itself is pretty much known as a big deal to install. This might be the reason why their clients are mostly Fortune 1000 - it costs a lot to install the software after you buy it.

    2. Re:I never heard of SAP-DB... by WinterSolstice · · Score: 4, Interesting
      SAP really is not the kind of thing a smallish company would want. It's a huge, modular, proprietary, complex piece of work. It has its own language (ABAP), it has its own "OS" (Basis), and it is designed to own everything it touches. I have lived and breathed SAP at my company for over 2 years now (as a Basis admin), and I can tell you that unless you wanted a 1 stop ultra-integration system, it is not for you.

      SAP is sweet in that it is incredibly easy to control the flow of money and goods around a system, but everything requires customization. This is not OTS software. A typical install takes 2 years, and just handling an upgrade will be the hardest 4-5 days of your life. We did 3.1H to 4.6B in a 3 system (development, quality assurance, production) landscape in 2 weeks, and I think we darned near set a record.

      SAP is definately only for really large commodity driven companies. If I were the CTO of a medium size business, I would not use an ERP like SAP. I'd use something much lighter weight. Of course, if I were Amazon, Dell, Anheiser-Busch, Pepsico, etc. I would be using SAP. Nothing else comes close when you need to know what, where, when, and how much.

      -WS

      --
      An operating system should be like a light switch... simple, effective, easy to use, and designed for everyone.
    3. Re:I never heard of SAP-DB... by inKubus · · Score: 2

      SAP is definately only for really large commodity driven companies. If I were the CTO of a medium size business, I would not use an ERP like SAP. I'd use something much lighter weight. Of course, if I were Amazon, Dell, Anheiser-Busch, Pepsico, etc. I would be using SAP. Nothing else comes close when you need to know what, where, when, and how much.

      And of course there's always a little IBM product called AS/400...

      --
      Cool! Amazing Toys.
    4. Re:I never heard of SAP-DB... by mikehoskins · · Score: 3, Insightful

      Re-moderate at "Off Topic," perhaps?

      We are talking about SAP-DB, not SAP, the ERP....

      Why, then, did this "America - The Republic that voted to become a Totalitarianism. [sic]" post earn a "Score:4, Interesting?"

      SAP-DB and SAP are two totally different topics.

  15. Ease of Setup and Use are the most critical... by DigitalCH · · Score: 5, Interesting

    One thing that bothers the hell out of me is that no DB out there is easier to setup and use than MS SQL server...

    In my job I have used literally every DB out there and none of them are easier to setup than Microsoft. It also the easiet to use from the application side. With oracle and other db's you need to know all kinds of listener and config info about where you dbase is. With MS and a few others you just need the servername and dbname and it works. Thats how things should be.

    I am quite happy with the way MySQL is coming along.. they finally have a decent admin interface and the other feature they have needed for years... now if installation and usage were just a bit easier they could really compete.

    1. Re:Ease of Setup and Use are the most critical... by johnlcallaway · · Score: 3, Insightful

      Heaven forbid you actually have to learn something about a database before you install and use it. Why, just about anyone could set one up if you didn't need to know anything.

      And that is exactly why MS is around. Any moron (nothing personal mind you, just a generality) can set up a MS SQL database engine. Or for that matter, DNS, mail, etc.

      Why should you need to know the things Oracle (or Postgress or MySql) asks you to? Because you need to know what the f*ck you are doing if you are going to manage any database that is important. How many disks should you use? Which data sets go on which disk? How about indexes? What ports should I use and why should I not use the defaults? Where are the default passwords? Why should my commit files be on different disks from my data and indexes?? Why do I need more than one copy of the parameter or control file?

      If someone doesn't know the answer to the above questions, then they have no business calling themselves a DBA, or installing a real database that someone else uses or depends on.

      Or, in other words, just because you can start a car doesn't mean you get to drive on the freeway.....you have to learn how to use it without killing anyone first.

      --
      I rarely read replies, it's my opinion and if you thought about your opinion a little more, I'm OK with that.
    2. Re:Ease of Setup and Use are the most critical... by jedidiah · · Score: 2

      Your claims are bullshit. Oracle has a few more options when it comes to client server connectivity. However unless your DBA's decide to go out of their way to make things more complicated, client connectivity in Oracle is a simple matter of "servername"+"dbname".

      Oracle does get unecessarily complicated when you start attempting to implement their more interesting "enterprise" features. However, you don't seem to be aware of these on either the Oracle or Microsoft end of things.

      --
      A Pirate and a Puritan look the same on a balance sheet.
    3. Re:Ease of Setup and Use are the most critical... by Malcontent · · Score: 2

      "setup and use than MS SQL server... "

      It's obvious you have never used firebird/interbase.

      As for mysql look into msql front. If you can't use that then you are addled.

      Actually considering how many people are able to use mysql it can't be that hard.

      --

      War is necrophilia.

    4. Re:Ease of Setup and Use are the most critical... by johnlcallaway · · Score: 2

      I didn't say MS SQL couldn't do those things. I tried to point out that it is not a good idea to expect someone installing a database to not know anything about databases. Once a particular database is 'understood', most databases, and programs in general, are easy to setup. I have been installing Oracle for years, and can set up databases with my eye's closed. So to me, Oracle is easier to use than SQLServer, only because I know nada about it.

      To bring a little more perspective, I worked with an NT admin who knew NT inside and out, and was a very good admin. So good, he decided that it was no longer necessary to use the UNIX DNS servers for the desktops, but would setup his own. So, because MS DNS is all point, click, drag, drop, select the defaults, he did. But because he did not understand DNS and a little concept called forwarding, no one could browse the Internet the next day.

      Was this Microsoft's fault?? Of course not. Was it their fault because they made the GUI so easy to use any moron could setup DNS? Of course not. It was the admin's fault for thinking that just because he can click, click and set something up, he must know what he is doing.

      So, to get back to my original point. Ease of use is directly perportional to how much you know about what you are doing. Once you understand something fully, many times it is very easy to use. Even vi!

      Learning curves are another matter completely!!!

      --
      I rarely read replies, it's my opinion and if you thought about your opinion a little more, I'm OK with that.
    5. Re:Ease of Setup and Use are the most critical... by MrBlack · · Score: 2

      I've had a few problems setting up SAP-DB. For some reason every time I downloaded one of the TGZ files some of the files it contained did not match the correct MD5 checksum, or were missing. I couldn't really figure out why because I was on a very fast and extremely reliable connection. After I'd downloaded about 3 or 4 copies I was able to stitch together a frankenstein install, but it happens EVERY time I download the latest release. Apart from those problems SAP-DB seems great. An OLEDB provider, or managed provider for .NET would be cool.

  16. Already using it by TheICEBear · · Score: 2, Informative

    We are in the process of finishing a large J2EE project with the database end running on SAPDB and we have had no regrets. It runs along smoothly and in fact the only annoyance with it has been a crufty manager application for datamanipulation (for tests), which was remedied by using Access as an ODBC client and a little trouble with the actual creation of a database. The same database has had a 3 months run under load and with the developers hitting it with the weirdest commands and it has only needed one service restart so far. I recommend it.

  17. Applications by Captain+Kirk · · Score: 5, Insightful

    There is a strong first mover advantage to Internet applications. For example, if you want to create a online shop, there are loads of free apps, tutorials and useful mailing lists for php/mysql. There are a lot less for php/postgresql. Almost none for php/sap-db.

    Unless you are a software genius, the sensible choice is the one with most support in the community. Think perl, mysql.

    This creates a network effect that your expertise gets added to the pool of knowledge and thus that pool becomes even more inviting.

    Taken to the next step, you see fine languages like Python and fine databases like PostgreSQL fall behind in terms of support because their pool of expertise comes from a smaller number of users. But they do fine because there are so many developers out there who love them. These tools thrive with a a certain "less popular but more excellent" feel.

    Sadly, if a third player comes along some years later, then they will have a very hard time getting a following big enough to generate the pool of expertise that leads to having lots of applications. Think Ruby, SAP-DB.

    And its applications that determine popularity.

    That is the short answer to the question - waht is holding SAP-DB back. Excellence isn't everything - being first on the scene gives huge advantages. And they were nowhere near first...

    Patrick

  18. Re:one more possible reason... by Tonetheman · · Score: 3, Funny

    Winzip will open tgz files.

    I guess if you cannot figure out how to open the tgz file in Windows, it is probably better that you are not trying to install SAP. Natural selection is a wonderful thing.

  19. Because... by Anonymous Coward · · Score: 2, Funny

    For me the reason is because it _IS_ licensed under the GPL.

    I'll take PostreSQL any day, thank god for that license.

    1. Re:Because... by sqlrob · · Score: 2

      Why does that matter?

      GPL deals with modifications, not what you use the software for.

      Are you modifying Postgre for your installs? Do you give the source code to those modifications for the people you install it for? If so, then GPL isn't an issue

  20. Flooded enterprise market by Matey-O · · Score: 2

    Speaking of ANY commodity:
    There will only be two or three REALLY popular entrants, the rest will be left to muck about with single digit usage.

    Without belaboring GPL v. Microsoft v. Oracle, I'd recommend you look at the Cola Wars: Coke has the margin (60%+), Followed by Pepsi (30% ish) and _everybody else_ scrounges around for the ramaining 10%.

    --
    "Draco dormiens nunquam titillandus."
    1. Re:Flooded enterprise market by mkcmkc · · Score: 2
      There will only be two or three REALLY popular entrants, the rest will be left to muck about with single digit usage.

      True--you hardly ever see markets that have 11 or 12 entrants with double-digit share.

      --Mike

      --
      "Not an actor, but he plays one on TV."
  21. Why we (I) don't use it... by Thackeri · · Score: 5, Interesting

    The company I work for uses alot of open source software in it's development - both in terms off server side (linux, apache, etc) and for the application side (Tomcat, JServ, etc).

    We don't use SAP-DB because:

    1. Our clients break down into 2 camps - those who want cost-effective solutions (so we go down the open source route of Tomcat/MYSQL) and those who want brand-labelled solutions (so we use JRun/Oracle etc).
    2. We need to limit our support base. Having gained skills in maintaining MYSQL, Oracle and [shudder] MS SQL Server adding another DB to that side makes life harder for us in the short to medium term.
    3. Until this article I (and most of the developers here) hadn't heard of SAP-DB!

    I dare say that if we had a pressing business case to learn the extra skill (i.e. we required some of it's fetures on a project that hadn't got the Oracle budget) then we'd consider it.

    Then again there are other Dbs that would also cut it in that case too.

    MYSQL has a big name in terms of Open Source software and that alone may prevent people from switching from it in favour of a less well known 'brand'.

    --
    Better the pride that resides in a Citizen of the world, than the pride that divides when a colourful rag is unfurled
    1. Re:Why we (I) don't use it... by WinterSolstice · · Score: 2
      SAP DB is also what used to be known as Atabase. SAP purchased it in typically mega-corp fashion. It's hard to make an argument for SAPDB when you already support Oracle or MS-SQL, since SAP runs just fine on both of those. The only real reason to use SAPDB is if you have heavy SAP Basis people, and only part-time DBAs. SAP on other DBs is a full time job.

      -WS

      --
      An operating system should be like a light switch... simple, effective, easy to use, and designed for everyone.
    2. Re:Why we (I) don't use it... by jedidiah · · Score: 2

      The ms sql gurus that get exposed to the like of DB2 or Oracle don't even seem to like it (mssql).

      --
      A Pirate and a Puritan look the same on a balance sheet.
    3. Re:Why we (I) don't use it... by uradu · · Score: 2

      > The ms sql gurus that get exposed to the like of
      > DB2 or Oracle don't even seem to like it (mssql).

      Oh yeah? Give me their names and addresses, I'd like to have a good laugh. We're using both Oracle and MSSQL here, and while no-one is denying Oracle's advantages (such as they are), its strengths certainly do NOT lie in ease of use and maintenance. While we certainly have many valid reasons to hate and/or ridicule Microsoft, Enterprise Manager certainly has few peers in the database maintenance world.

    4. Re:Why we (I) don't use it... by rnd() · · Score: 2

      Why do you shudder at MS SQL Server?

      --

      Amazing magic tricks

  22. Linux/PHP/Sap DB tutorial by yivi · · Score: 3, Informative

    http://www.tripuls.de/deut/zg/prod/datenb1.htm

    I think that this is what you wanted.

    1. Re:Linux/PHP/Sap DB tutorial by ViceClown · · Score: 2

      Excellent Thanks!!

      --
      Have a Happy.
  23. PostgreSQL is truly free (as in BSD) by Chuck+Messenger · · Score: 3, Insightful

    Being GPL is not nearly as nice as being BSD. That's a big advantage of PostgreSQL (but not MySQL). In other words, if you want to sell an application which includes an embedded DB, then GPL is no good.

    As far as I know, PostgreSQL is the only truly free database (in this licensing sense).

    But I could be wrong -- I'm standing by to be corrected...

    1. Re:PostgreSQL is truly free (as in BSD) by kevin+lyda · · Score: 2

      that's a neat trick - being able to talk out of your ass.

      listen sport, you can use gpl in embedded systems. you've heard of the tivo, right?

      there are differences between bsd and the gpl. and they have different strengths. but it would be really nice if bsd advocates would quit being such twats.

      --
      US Citizen living abroad? Register to vote!
    2. Re:PostgreSQL is truly free (as in BSD) by kevin+lyda · · Score: 2

      no, that's also bullshit. quit talking out of your ass. the example i gave, tivo, has closed source software written by tivo.

      in the case of mysql, very, very few people write code that links in directly to mysql. if someone uses the c api to write a mysql client application, they can distribute that code as closed, bsd, gpl, or whatever licensed software. and that's true if it is embedded, on a server, on a desktop or printed out on punch cards and stapled to your ass.

      either learn the facts or quit posting, because all you're doing right now is spreading misinformation.

      --
      US Citizen living abroad? Register to vote!
    3. Re:PostgreSQL is truly free (as in BSD) by kevin+lyda · · Score: 2

      ok, how else to you describe people who state things as facts when there are actual, real world examples of the exact opposite? i know moral relativism, and the idea that everyone has a right to speak is all the rage, but the fact is, the guy was talking out of his ass. after all, i have the right to speak as well, correct? i suppose i could say, "he was stating things as facts that were obviously incorrect," but i thought i'd save a few chars.

      and i didn't give a "pro-gpl rant." i said right from the beginning that both licenses had strengths and weaknesses. but the "can't use the gpl in embedded devices," is such a tired, lame, and provably wrong ancient chestnut spewed from pro-bsd people. and i should mention, usually not from bsd advocates with any level of a clue.

      --
      US Citizen living abroad? Register to vote!
    4. Re:PostgreSQL is truly free (as in BSD) by kevin+lyda · · Score: 2

      ok, first there's mysql. their license page is rather surprising. they state that their client lib is lgpl, and yet in embedded systems it seems like they're saying it's gpl. kind of odd really - seems like they're trying to extend it.

      second is cygwin. they apparently release their libs under the gpl. the folks who made the readline library did the same thing. however many people who code libraries license them under the lgpl - you don't need to gpl the code that uses the libs, but you do need to lgpl the changes you add to the library. an example of this is the gnu libc which pretty much all applications link to.

      lastly is tivo. it is my understanding that the tivo uses some closed source drivers. the gpl'ed linux kernel specifically allows closed source modules under certain conditions. in addition the kernel's gpl license has *zero* effect on applications that run under it. so if tivo has some application that run under linux, those applications can be closed source, bsd licensed or gpl'd.

      this "viral gpl" thing gets overly hyped. the project with the largest body of source on most linux boxes is not under the gpl - the x window system is not under the gpl. the most common browser up to a few years ago was closed source. a lot of low-level utils on a linux box are licensed under the bsd license.

      as far as "the gpl hasn't been tested in court" bit is just silly. most contracts haven't been tested in court. the gpl is spelled out both in plain english and legalese.

      --
      US Citizen living abroad? Register to vote!
  24. the actual question by mydigitalself · · Score: 3, Insightful

    the statement about sap-db being on a par with oracle has forked this conversation off into a million "how can it be on a par with oracle" comments. not the question...

    one fine example of this was the boss conversation thread (this one).

    the point was, its an open source database, why aren't people using it INSTEAD OF PG/MYSQL.

    i tend to agree with the complexity side of things as about 3 years ago i tried getting it up and running - without much success. although, friends of mine who know pretty much nothing about unix are running a web solution on apache jakarta (jsp+servlets) using SAPDB as the databaase which they installed from RPMs. they sing its praises all day long.

    maybe its the communities fear of a traditionally large $$ corporation giving away its technology?

  25. Re:SAP DB vs. Oracle by MADCOWbeserk · · Score: 2

    not to mention the cadre upon cadre of available PL/SQL programmers

    When SAP/DB was Addabas it was one of the least popular commercial databases, and it run pretty counter to way everyone else it. To be honest aside for the multitude of SQL's there is Postgres and IBM -DB2, there just isn't need for an oddball database that is harder to program for than anything else.

  26. Of the same reason people use Windows 95. by Qbertino · · Score: 3, Interesting

    It's "Industry Standard".
    I mentioned Firebird the other day when a guy asked /. about a MySQl update feature. People didn't give a shit.

    We use what we're used to, even if it's outdated or pointless. Other stuff is of no interest, Try telling a guy the advantages about Linux over WinXP and you'll know what I mean.

    --
    We suffer more in our imagination than in reality. - Seneca
  27. Re:SAP DB vs. Oracle by _Swank · · Score: 3, Insightful

    while it's certainly not the reason for all installations, it's likely that a large percentage of those places already had Oracle on site and not SAP-DB. and it takes a lot of effort and several really good reasons for most companies to switch databases. few have a database for this and a different database for that and a yet still different database for something else.

  28. People are using it, and happy with it, but... by Monkius · · Score: 5, Informative

    It is...

    1. harder to install, with a slightly strange mix of admin tools (combination of old/crufty, and new/experimental)

    2. definitely trickier to manage, as you need to learn protocols for setting up, and backing up, databases and their logs, at least. This is true of other RDBMSs of course, but the trend has been toward more self-managing systems.

    3. Relies of ODBC as the cli--which is actually fine (eg, compatible with PHP) but still less familiar to Unix/OSS people

    4. Still undergoing stabilizing bugfix cycle, seemingly, although I haven't myself ever encountered a problem with it

    5. Is, as mentioned, less tolerant of inexpert admins--and more problematic, the error codes are frequently impossible to understand

    6. Really is difficult, at present, to hack. In general, the code is VERY challenging to work with (particularly the ugly, custom built build system), although it should be said that the SAP internal developers are steadily improving all aspects of the system, and a time WILL come when external developers can see rewards for their hacking efforts.

    Compensating for this is the VERY skilled and responsive SAPDB development team, and a very strong feature set.

    --
    Matt
  29. time by denshi · · Score: 5, Insightful
    Time is the thing 'holding it back'. As Paul Graham pointed out, "Inventors of wonderful new things are often surprised to discover this, but you need time to get any message through to people. ... It's not when people notice you're there that they pay attention; it's when they notice you're still there." No matter the benefits of SAPDB (which I have not used), it still has to keep hacking it while people subconciously adjust to the existense of another valid product. This inertia is everywhere, it is the normal thing to do... 3 years back, even when it was obvious that Postgres kicked MySQL's ass 6 ways from Sunday, many people kept using MySQL. It was a known quantity, and this new thing was just something with some wild claims that users didn't take time to validate. A couple years later, the LAMP crowd is/has finally moving/moved towards Postgres; it's not b/c of anything developed last year, it's just that users have realized that it's not going away. Same problem here, scaled back several years.

    The originator of the thread should learn that technology doesn't change overnight, and certainly not without the kind of marketing budgets behind Java & C#. Change takes time.

    As another answer, I'd ask what is the driving point behind SAPDB? MySQL has/had noteriety for being a very simple system; Postgres had noteriety for advanced research into ORDBMS'es as well as coming out of a university lab that produced two very successful commercial DBs in the past. What's the big focus with SAPDB? All I know so far is that it was an in-house thing that worked for SAP. No idea what that's supposed to mean to me. Maybe someone should answer that first.

    1. Re:time by Ami+Ganguli · · Score: 2

      I don't really know why Greatbridge failed while MySQL AB is succeeding, but it doesn't have anything to do with the quality of the particular databases. Business is a lot more complicated than that. It depends on having a good business model, good management, proper sales channel, reputation, etc.

      --
      It is tempting, if the only tool you have is a hammer, to treat everything as if it were a nail. - Abraham Maslow
  30. Umm... by leonbrooks · · Score: 3, Insightful

    Not sure what business a database has driving a tape deck directly anyway; one would hope that as far as possible the DB would let the OS figure such nightmares out. That's what OSes are for, although Oracle certainly seems to have forgotten that.

    PostgreSQL does transactions, hot backups etc, would you consider switching to it?

    --
    Got time? Spend some of it coding or testing
    1. Re:Umm... by crawling_chaos · · Score: 3, Funny
      Not sure what business a database has driving a tape deck directly anyway.

      Bastard DBA From Hell Response:
      That's where we keep the temporary table space for users we don't like. Can't get punchcard systems anymore dammit.

      --
      You can only drink 30 or 40 glasses of beer a day, no matter how rich you are.
      -- Colonel Adolphus Busch
    2. Re:Umm... by binaryDigit · · Score: 2

      Picture this, you have a 2GB database (not too big, not too small) and it's time to back it up. Now you are a company of the new information age with customers all around the world, so your operations are effectively 24/7. So how do you backup your database (that may take an hour or so even with DLT/AIT) while it's having transactions done on it and still guarantee integrity in your backup. The answer is that if you use a simple OS based backup, you pretty much can't (unless you shut down for an hour of course). This is why db servers designed for "enterprise" use MUST have a way of backing themselves up in an intelligent fashion.

      Now, of course it would be nice if the OS provided support for the backup (let it handle the drivers, it just provides applications with an api to allow it to access whatever "backup device" the user has installed.

  31. Yes? You've tried UnixODBC? by leonbrooks · · Score: 2

    Of course, having Mandrake package it probably took all the fun away, but it was no harder than Windows' ODBC manager to set up, and you get a good deal more control over the process if you want it.

    --
    Got time? Spend some of it coding or testing
  32. Why we *are* using it by Anonymous Coward · · Score: 4, Insightful

    We have been using SAP-DB on our production servers for almost a year now and I can absolutely recommend it if you are looking for a serious database.

    We previously used Postgres for a long time but had two problems with it at that time:
    - Postgres required daily database reorganizing (VACUUM) which was a problem in a 24/7 availability scenario
    - Postgres didn't scale well beyond a few hundred concurrent database connections on SMP systems

    This caused us to look for an alternative. After extensive testing with SAP-DB we decided to start using it on our production systems.

    On our production systems we use both Red Hat Linux 7.2 and Solaris 8. On both setups SAP-DB has been rock-solid.

    Some of our systems usually have 1000+ concurrent database connections, with all of those doing inserts and updates all the time. SAP-DB has shown that it is able to handle this kind of load without any performance or availability problems and without requiring any database maintenance.

    If you are looking for a reliable enterprise scale GPL database, look no further: you'll love SAP-DB.

    Main drawbacks for being a succesfull OSS project:
    - source code structure takes getting used to
    - database setup is quite straightforward, but documentation on getting it to work over ODBC etc. could be better, so new users would have an easier start

    Last but not least, online support by the developers from SAP AG is excellent.

    Jeroen Boomgaardt

    1. Re:Why we *are* using it by mikehoskins · · Score: 2, Informative

      I'm trying to not argue, but understand the two reasons you listed.

      I'm not against PostgreSQL, Interbase/Firebird, or SAP-DB, I'm just wanting to know why. (I am against MySQL in a medium to large production environment, but we'll wait until 4.1+ materializes.)

      First point, "VACUUM" problem. What's wrong with a cron job to do this, nightly? Does it bog the system down too much? Is it unreliable? (I haven't noticed any problems, but my DB is small, right now.) Read about MVCC (I think it's something like multiple version concurrency....) Versioning is better than redo logs, in theory. You need to understand MVCC to understand VACUUM. You can VACUUM live, without killing the DB, and perform hot backups as well, due to MVCC.

      Second point, have you tuned it, and are you using PG 7.2+? If you are using older PostgreSQL's (prior to 7.1,) then yes, this is a problem. If you haven't tuned it, there are great docs about tuning. Supposedly, PG 7.1+ is VERY fast at many simultaneous connections, although I know of no 1000+ simultaneous connection benchmarks in existence. (Do you believe benchmarks, anyway?)

      If you have tried a newer PG (7.2+,) and have followed all recommendations/tuning guides and still have had these problems, I'd really like to know.

      I'm open to PostgreSQL (am using it), Interbase/Firebird, and SAP-DB and want the real scoop on things.

      Will PG break under big loads? If so, how big? Does PG have a 24 by 7 problem?

    2. Re:Why we *are* using it by Anonymous Coward · · Score: 3, Informative

      We used PostgreSQL up to version 7.1.2.

      I believe the issue with VACUUM has since been solved in that it no longer holds any table locks.

      Regarding scalability, we found that (again, compared to PG 7.1.2) SAP-DB scales better under high load. Of course we tried tuning both as well as we could. We measured transaction throughput and average as well as individual response times while steadily increasing the number of concurrent clients. We did this on a system with plenty of CPU power (quad Xeon). Once we pushed things to over say 150 concurrent connections, SAP-DB showed far less variation in individual response times and better scalability, beyond what PG was able to achieve.

      PostgreSQL is a very fast database and I must admit that I haven't tried 7.2. The only reason being that SAP-DB was better than we expected...

      Jeroen Boomgaardt

    3. Re:Why we *are* using it by mikehoskins · · Score: 2, Interesting

      Now, here's the first unbiased response I've seen for SAP-DB vs. PostgreSQL.

      It makes me want to consider SAP-DB, since you've benchmarked it against 150+ users. I saw a MySQL vs. PostgreSQL vs Oracle (8i or 9i, I can't remember) benchmark on the same uniprocessor equipment. It showed PostgreSQL killing MySQL and Oracle from 5 to 100 users. 0-5 had MySQL shining, while 5-100 had PostgreSQL shining. They showed nothing past 100 simultaneous.

      However, I could find little beyond what you just told me. For example, what effect do SMP, memory, RAID, SCSI vs. other technologies, tuning, number of users past 100/500/1000/5000, different query complexities, and the like ,have on performance for all three of these db's? What about including other DB's, such as SAP-DB, Interbase/Firebird, DB/2, Informix, and Sybase (all available for Linux, multiple Unices, and Windows?)

      I certainly don't want to base my thoughts on one user's experience, but to see that in the real world, SAP-DB does indeed scale better, does picque my interest.

      I do have a few questions, for anybody out there, though:
      What kind of hardware?
      What OS?
      What were the results at different numbers of users?

      I'd love to see somebody, anybody, have a free standardized benchmarking web site out there, that is unbiased and that checks multiple configs. It would be nice to do have it done "in the lab," as well as have end users use the lab's testing tools/configs and be able to submit their benchmarks, complete with memory, CPU, disk, configs, other system info, etc., as a comparison.

      It could even be a site that lets users help other users to tune their OS, apps, drivers, and db's.

      Would anyone do this?

    4. Re:Why we *are* using it by docwhat · · Score: 2

      Yeah, if we had an opportunity to go to SAPDB about a year ago, we would have.

      Instead we delt with these pains in Postgresql 7.1 till last month, when we upgraded to 7.2.

      That fixed all the problems you have mentioned. Vacuum is low cost now and doesn't do excessive locking. Now there isn't really a reason to switch for us.

      Though, we'll still look into it.

      Ciao!

      --
      The Doctor What (KF6VNC)
  33. Too complicated and _RUNS AS ROOT_ by azaroth42 · · Score: 2, Insightful
    From the SAP db install documentation on the website:

    Both the DBM server and the Replication Manager server must run as user root. The files instdbmsrv and instlserver set the appropriate permissions every time these programs are built.

    Seems like as good a reason as any not to use it. What daemons run as root any more? Especially ones that move large amounts of data around like RDBMS's.

    We use Postgres or BerkeleyDB.

    -- Azaroth

  34. Maybe it's Pascal? by Florian+Weimer · · Score: 3, Interesting

    Large parts of SAPDB seem to be written in Pascal, which is processed by a transpiler to generate C code. This makes debugging complicated. In addition, the whole build environment (the transpiler, the project-specific make tool, and so on) have only been released as free software quite recently. This might explain why SAPDB doesn't attract developers from the free software community, but it doesn't explain why it doesn't take the user community by storm.

    I hope to be able to use SAPDB some day, if PostgreSQL ever breaks for us. Currently, there's nothing pushing us away from PostgreSQL and SAPDB lacks quite a few features we like in PostgreSQL (the extensible type system, which allows us to store IP addresses directly, for example). The documentation seems to unclear in quite a few areas, too. In addition, it seems that native (non-ODBC) backends are no longer supported by SAPDB.

  35. How about Pick? (-: by leonbrooks · · Score: 2

    There are several other good databases around. InterBase looks pretty excellent.

    I'd be interested in RainingData (<span face=poker>now there's a truly inspired name change</span>) nee Pick GPLing their MultiValue database. Overall, a pig to use and maintain compared with something like PostgreSQL, but it still does some neat tricks and has a reasonable community around it.

    --
    Got time? Spend some of it coding or testing
  36. No Multiversion Concurrency Control by Anonymous Coward · · Score: 2, Informative

    I can't say I've used SAP-DB. However, a quick check of its online documentation reveals that it does NOT do multiversion concurrency control. Oracle does. PostgreSQL does. I believe Interbase/Firebird does. Without it, writing a scalable application is MUCH, MUCH harder because locking keeps getting in the way. Real databases need transactions, but without MVCC, the locking to support them will seriously limit concurrency (and, hence, scalability) in a transactional environment.

    If you don't know what MVCC is, read the early chapters in Tom Kyte's book or visit his site. Or read Oracle documentation (search the page for "Data Concurrency and Consistency").

  37. On par with PostgreSQL? (-: by leonbrooks · · Score: 4, Insightful

    PostgreSQL does replication. PostgreSQL thrashes Oracle performance-wise in many situations. PostgreSQL costs just a little less than Oracle to buy and house. PostgreSQL was one of the first kids on the GPL block. The conclusion about a niche for SAB seems pretty much inevitable.

    If PostgreSQL could magically don an Oracular CIO-level reputation, the bottom half - or more - of the Oracle market would evapourate in a few short years.

    --
    Got time? Spend some of it coding or testing
    1. Re:On par with PostgreSQL? (-: by leandrod · · Score: 5, Informative
      > PostgreSQL costs just a little less than Oracle to buy

      Well, considering PostgreSQL is free, a whole lot less sorry for being picky, but it occurred to that some people might be lost in the irony.

      > PostgreSQL was one of the first kids on the GPL block.

      PostgreSQL was never GPL'd. Not even copyleft, but just a plain free software license, can't remember if derived from BSD or MIT X. If one wants copyleft, SAPdb is the only choice now.

      --
      Leandro Guimarães Faria Corcete DUTRA
      DA, DBA, SysAdmin, Data Modeller
      GNU Project, Debian GNU/Lin
    2. Re:On par with PostgreSQL? (-: by MAXOMENOS · · Score: 2
      PostgreSQL was never GPL'd. Not even copyleft, but just a plain free software license, can't remember if derived from BSD or MIT X. If one wants copyleft, SAPdb is the only choice now.

      What's the advantage of using a copylefted product over a MIT/BSD licensed product? There's none that I can see unless you're going to hack it, and even then, it depends on what you want to do with the end result.

    3. Re:On par with PostgreSQL? (-: by leandrod · · Score: 2
      > What's the advantage of using a copylefted product over a MIT/BSD licensed product?

      No one can ever make it proprietary. That is, availability assurance.

      --
      Leandro Guimarães Faria Corcete DUTRA
      DA, DBA, SysAdmin, Data Modeller
      GNU Project, Debian GNU/Lin
    4. Re:On par with PostgreSQL? (-: by Fjord · · Score: 2

      To say Postgres does replication isn't fully true. There are projects fro PostgreSQL replication but nothing that is should presently be used in production.

      --
      -no broken link
    5. Re:On par with PostgreSQL? (-: by cartman · · Score: 2, Informative

      The PostgreSQL license is derived from the BSD license, since PostgreSQL was derived from a research project at Berkeley.

    6. Re:On par with PostgreSQL? (-: by leandrod · · Score: 2
      Rough (very rough) timeline: Ingres (UCB) Ingres (commericial) Postgres Illustra Postgres95 PostgreSQL

      Actually Commercial Ingres was a fork from University Ingres, and further down became Ingres II.

      Illustra is a direct descendant of either Postgres or one of its descendants.

      But because the source code is BSD licensed, it's very probable that Illustra, Ingres II or whatever have code in them from other than their direct ancestors.

      --
      Leandro Guimarães Faria Corcete DUTRA
      DA, DBA, SysAdmin, Data Modeller
      GNU Project, Debian GNU/Lin
  38. First Mover advantage is evapourating by leonbrooks · · Score: 3, Informative

    More and more scripting languages (PHP, PERL, Ruby, Python, TCL) are working through generalised DB interfaces; there is less and less difference (often none) between backend DB's from an application programmer's PoV.

    In some cases the backend DB needn't even be SQL (great news for tiny high-performance web apps), but where the backend DB does stick closely to SQL standards the applications produced with it are more likely to be portable and scalable.

    --
    Got time? Spend some of it coding or testing
  39. SQLsnake by leonbrooks · · Score: 2
    With MS and a few others you just need the servername and dbname and it works.

    Actually, with MS you only need the servername and it's as good as 0wn3d (-: and with the advent of SQLsnake, you don't even need that :-)

    PostgreSQL is a lot more standard and complete than MySQL, outruns it in many practical situations (ie under enough load that anyone actually cares about performance) and is as easy to set up and use (if not easier) than MySQL; it also has simpler, clearer licencing. The mystery to me is why MySQL has done as well as it has in the face of all of this.

    InterBase also seems to hammer MySQL pretty much across the board, but was a late starter. I'd expect to see it do some catching up as more of the application languages abstract their DB interfaces, detaching the DB choice somewhat from application programming and so allowing the DB to be chosen on merit rather than I-was-here-first.

    --
    Got time? Spend some of it coding or testing
  40. Exposure by carambola5 · · Score: 2
    'What exactly is hindering a wider acceptance of SAP-DB in Free/Open Software projects?'
    Maybe a lack of stories such as these?
    --
    IWARS.
    People, in general, disappoint me. Politicians even more so.
  41. Backup and Recovery by zsmooth · · Score: 4, Informative

    Does SAP have anything close to Oracle's RMAN? If not, it's not on par with Oracle. It seems like most 'free' databases put backup and recovery on the back-burner and only provide some sort of database dump for backups - which is probably one of the reasons they're not more accepted in high-level professional circles.

  42. Several Problems To Overcome by Christopher+B.+Brown · · Score: 3, Informative
    There are several problems with where SAP-DB is now that injure its, oh, call it "usability."
    • The name is far newer than the "grand old names" of MySQL and PostgreSQL.

      Marketing is of some importance, and the "other guys" have more of it. There are no books on bookstore shelves on SAP-DB. Few web sites "Powered by SAP-DB."

    • The code base is really frightening to work with.

      It's quite a different world, with very different build tools, code documented in German, and the likes. It is not something that is easy to hack on.

    • The install is daunting.
    • There aren't colloquial packages available ubiquitously for Linux and BSD systems.

      You can get a tarball, you can get some RPMs that work in some places, but it's not nearly as available as MySQL and PostgreSQL.

    • There aren't the pile of third party packages, ready to rpm -i or apt-get install into place.

      Much of the popularity of MySQL stems from there being integrated ISP tools like CPanel that include a DB manager module specifically for MySQL. Similarly, the joint popularity of MySQL and PHP stems from the groups of developers working together closely to ensure that there is good native support for MySQL in PHP.

      In contrast, modules for integrating SAP-DB with Perl, Python, PHP, and the like require some degree of effort in "hacking it into place." It's not as simple as "apt-get install python-sapdb sapdb-dbi php-sapdb".

      And TOra doesn't include SAP-DB support.

    None of these are particularly "technical" matters indicating things that can't work.

    It's not a question of "SAP-DB not being an ACID DBMS" (as some idiot claimed in another thread).

    It's really largely a question of systemms integration, with a certain amount of "needs more marketing."

    --
    If you're not part of the solution, you're part of the precipitate.
  43. Data types by leandrod · · Score: 2
    > What exactly is hindering a wider acceptance of SAP-DB

    Take a look at data types in SAPdb. While they have, for example, date and time types that Oracle lacks, they are implemented as especialization of totally unrelated character strings. This is an ugly hack.

    Now contrast that with PostgreSQL's data types. Elegance speaks for itself.

    --
    Leandro Guimarães Faria Corcete DUTRA
    DA, DBA, SysAdmin, Data Modeller
    GNU Project, Debian GNU/Lin
  44. The Challenges of SAP-DB by Tadghe · · Score: 2

    This is one topic I've studied a bit (I did a comparision of the OSS db's a few months back (http://mordikyn.com)

    1. Sap-DB is GPL with one restriction. If you are a current Sap Customer, forget using Sap-DB (GPL edition) the license forbids it (actually it's more complicated than that, but that's what it boils down to)

    2. Horrible install. (a pretty good story about installing SAP that I've pointed out before http://groups.yahoo.com/group/sapdb-general/messag e/909). The install instructions at sap (http://www.sapdb.org/develop/dev_linux.htm) are incorrect (and have been so for a long freakin time).

    3. No Dev enviroment. Same thing that (to a lesser degree) holds people back from some of the other OSS databases. Mysql, PGSQL, Interbase all have some sort of dev enviroment avaliable.
    And no the WebDB/WebSQL interface don't constitute a dev enviroment.

    4. Crappy (but getting much better) doc's.

    5. Lack of third party support. I think the PHP support is now sorta there (I see mentions of it, but I also see mentions of probs with it). Until it becomes as common for app support as Pgsql or MySQL..

    6. Lack of Admin tools. Gimme an admin tool as good as any of the many Mysql Interfaces, or the PGadmin tool or MMC for MSSQL.

    --
    Bugs Bunny was right.
  45. Re: interbase/firebird. by HiThere · · Score: 2

    The documentation on how to get started on Firebird seems to assume that you are using Borland Delphi or (possibly) Borland C++. Were I only using Linux, then I would already have Postgres installed, so I'm not sure what I would gain from Firebird. When I'm on Windows, and Firebird might be an advantage, I still only have a gcc compiler (via CygWin).

    And in any case, the language that I would want to call it from would be Ruby (or possibly Python), and while there are ways already defined to call MySQL, PostGres, BerkeleyDB (SleepyCat), etc. from those languages, it appears that I would need to write an access method to Firebird by myself*, and I don't see why it would be worth the effort. I'm not saying that it wouldn't be, but the documentation seems to assume that I already know why this would be a worthwhile thing, and I don't.

    * The Ruby Interbase access method is at version 0.03 (though it is reported to be working fine). Python also has an access method for Interbase (and it says that it works with Firebird, too), but it isn't a part of the standard distribution. Still, that would probably work with few, if any, adaptations. So this isn't a major effort, but why to bother isn't clear.

    --

    I think we've pushed this "anyone can grow up to be president" thing too far.
  46. GNU Enterprise by SpatchMonkey · · Score: 2

    Has anyone used it? Is it any good?

    It looks a bit unfinished to me, but the modularisation ideas are pretty neat.

    1. Re:GNU Enterprise by Hrothgar+The+Great · · Score: 2

      All of SAP's software always looks unfinished, because they change everything about it every five minutes. :p

  47. Installation by VladDrac · · Score: 2, Interesting

    I tried sap-db about a week ago. The online rpm's are hopelessly out of sync with the online documentation.

    The python that comes with the binary release doesn't even work correctly it seems.

    After an hour of adjusting paths, fixing shellscripts and figuring out what else to install I gave up - I'll just stick with Postgres.

    Also, the features aren't that impressive. I heard that the "replication manager" is just an dbdump import/export script or something like that (though I hope I'm wrong here)

  48. Re:Wrong - you dont work in an enterprise-level sh by bgarcia · · Score: 4, Insightful
    If PostgreSQL could magically don an Oracular CIO-level reputation, the bottom half - or more - of the Oracle market would evapourate in a few short years.
    I work for a Fortune 100 corporation and we use a server room full of Oracle boxes.
    Well then, you obviously don't belong to the "bottom half" of the Oracle market, do you?
    --
    I'm a leaf on the wind. Watch how I soar.
  49. SAP Today == Microsoft Tomorrow by N8F8 · · Score: 2

    Anything SAP scares the hell out of me. SAP is like this big creeping monster swallowing up companies. Py previous employer decided to kill all legacy apps and switch to SAP. Up front thay make it sound like the most configuable set to integrated tools imaginable. Once the suckers buy into the hype its too late to back out. You spend more and more money tring to implement an unwieldly monster that isn't nearly as configurable as advetised. Up front you will have so much money and personnel commited to the change that there is no way to back out. Next you learn you must conform your business rules to the SAP rules. Last you learn the horrible, horrible truth: SAP OWNS YOUR COMPANY BECAUSE THEY OWN ALL YOUR DATA.

    --
    "God fights on the side with the best artillery." - Napoleon, Marshal of France - speaking truth to power
  50. Re:Wrong - you dont work in an enterprise-level sh by Uggy · · Score: 3, Interesting

    Bzzt! wrong again... clients don't use oracle for their support (that's what trained dba's are for), or their db. They use them for their apps.

    Oracle isn't about db's, only partially about support (to sell you more apps), and most definitely 95% about their application solutions.

    Oracle could switch over to postgres is they wished and except for PR issues, it wouldn't significally change their ability to supply solutions to companies that need them.

    It's just that for 99.9% of companies out there the apps are just way overkill... must people can get by with postgres or mysql with custom written stuff or downloaded stuff and do just fine. Of course give the open source community a few more years and there will be off the shelf apps that will rivel those of Oracle, I'd be willing to bet.

    --
    Toddlers are the stormtroopers of the Lord of Entropy.
  51. Why I have not used SAP DB by TheFuzzy · · Score: 2, Interesting

    The answer to this one is simple:

    1) SAP DB has only been Open Source for what, a year? Heck, I only heard about it 3 months ago. PostgreSQL has been Open Source for over a decade.

    2) SAP DB is a pain to set up. Frankly, I don't have an entire weekend to set up a new RDBMS just to evaluate it. (Unless, of course, I'm being paid to!)

    3) SAP DB, unlike PostgreSQL and like MySQL, has the single-company-development problem. PostgreSQL, as an OS project with 25-50 volunteer developers worldwide has survived the death of, so far, 6 companies that supported Postgres or its derivatives. Like MySQL AG, if SAP AG were to go down the tubes, development on SAP DB would halt (though it would still remain available under the GPL).

    4) Most importantly ... I am a minor player on the PostgreSQL project, and as such feel that I am well informed on PostgreSQL's bugs, limitations, development direction, and tradeoffs. As a recently opened commmercial product, SAP DB is still too "black box" for me to trust it. No doubt this will change.

    -Josh Berkus

    P.S. One volunteer suggested that we consider SAP DB support for OpenOffice.org. Sadly, we had to reject the idea because of the complexity and difficulty of administration for SAP-DB. If someone from SAP is reading this, and you disagree, please join the dev@dba.openoffice.org mailing list and make yourself heard.

  52. PostgreSQL is not GPL by ClarkEvans · · Score: 4, Informative

    PostgreSQL was one of the first kids on the GPL block.

    No, it was one of the first on the Open Source block, specifically it has a BSD license. And SAP-DB needs to beat PostgreSQL on several counts for it to be considered:

    (a) features, PostgreSQL has them in spades, (b) stability, PostgreSQL is solid, (c) licensing, you can't beat BSD, and most importantly, (d) community, PostgreSQL's user community is just a fanstatic group of fellas.

  53. Replication and messaging by alext · · Score: 4, Informative
    Actually, the 'high-end features' of messaging and cluster-based replication may not be all they're cracked up to be.

    In my experience
    • pulling transaction records from a remote database results in a considerably superior solution to that obtainable with any messaging middleware product
    • using duplicated "hot-standby" systems is more manageable and efficient than data replication.
    So please don't dismiss PostgreSQL and SAP DB on the basis of checkboxes for features you might not want to use.
  54. the problems with sapdb by kevin+lyda · · Score: 3, Insightful

    i looked into sapdb over a year ago. it was hard to install. it lacked good perl support. those are both pretty huge issues.

    i do find free software db's amusing though. they tend to be easier to install and manage then the closed source alternatives.

    --
    US Citizen living abroad? Register to vote!
  55. Double Negative.. by tommck · · Score: 4, Funny
    has a build system that could be only described as ununderstandable

    That's not a word! You should have said "derstandable"! ;-)

    T

    --
    ---- It puts the lotion on its skin or else it gets the hose again. It does this whenever it's told.
  56. SAP DB is a dead end by Rapunzel · · Score: 2, Insightful

    SAP DB is a code fork of ADABAS-D, a database developed by "Software AG" in Germany. Initially, Software AG was meant to develop the database and SAP would sell it together with R/[2|3]. But ADABAS aka. SAP DB was buggy and unsuitable for larger installations.

    Soon, the Internet came and everybody at SAP started loving Java. But the JDBC driver of ADABAS was (and still is) a big mess. The developers at SAP had spent their time fixing Software AG's bugs. Now, they had a stable database but no connection to their new applications ...

    Incidentally, it was fashionable at that time to "give something away for free" if you were a big IT company so SAP decided to open-source SAP DB because it was no threat to their business and they had failed to replace Oracle etc. anyway.

    SAP DB is a very good RDBMS and SAP is supporting it. But it just came too late to replace Oracle et.al. at SAP's customers and it came too late to compete against MySQL and Postgres on the "open source market".

    However, since it's almost identical to earlier ADABAS-D versions, it's very popular among ADABAS users since Software AG changed their licensing policy for ADABAS-D ;-)

    Rapunzel

  57. Re:Worm's eye view by einer · · Score: 2

    I see that the latest version of HSQL does indeed support inner queries. My initial point, however is still up for debate. HSQL is not comparable to Postgres/Oracle/SAP DB for a variety of reasons.

    From the forums I see:
    Since the HSQL code uses integer values to perform its seeks into the data file, theoretically you should be able to store a gig or more of data. In practice, however, it seems that all the data you load remains in memory, even when using cached tables.

    Which speaks to my 'real big joins' argument. I can't be more specific, because I never bothered to find out why it didn't work, I just moved on to postgres, which did. It appears that the problem lies with the team's usage of ints to represent positional data with regard to the table data. This puts a hard limit of 2GB on the data size (for some, 2GB isn't enough I guess).

    Backup support would also be nice (dump/copy/replication/etc). So would trigger support. It would also be nice if user passwords and structural information were NOT exposed by the cleartext .script files (I've begged for this, but have given up on ever seeing any type of encryption implemented). Other things HSQL needs: Row level locking (with regard to SELECT ... FOR UPDATE queries), left outer joins, serialization isolation level, CHECK constraint support, fixing of the general ADD COLUMN weirdness...

    HSQL is great for a specific set of requirements, but it does not meet the same broad set that postgres and oracle do. This is why I don't feel that it is in the same league.

  58. Re: interbase/firebird. by zulux · · Score: 2

    The best thing about Firebird/Interbase is that's its easy to wean an app away from MS Acciess. Here's as typical progresstion:

    Access Front/Access(Jet) Backend
    Access Front/Firebird with ODBC Backend
    Delphi or CBuilder Front/Firebird Backend
    Delphi or CBuilder Front/PostgreSQL Backend
    Kylix Front/PostgreSQL Backend
    App Server Running Kylix and VNC Front/PostgreSQL

    --

    Moneyed corporations, non-working 'poor' and criminal prisoners are turning productive citizens into tax-slaves.

  59. Stealth DB server by ehiris · · Score: 2

    The main reason I never used it is that I didn't know about it. That is until now of course.

  60. Support by slittle · · Score: 2, Insightful

    Duh. Make sure it runs everywhere, and make sure you let everyone know you're going to be around for a while.

    Personally, it's no good to me if it has no Pascal, Python or PHP (PPP) support under _both_ Win32 and *nix, or if I can't guarantee it'll be updated in a timely fashion (bug fixes, compatibility tweaks for new OS revisions, etc) after I go to significant trouble to install it.

    --
    Opportunity knocks. Karma hunts you down.
  61. my experiences by awb131 · · Score: 2, Interesting

    I evaluated several databases over the weekend for a project I'm working on. I needed the DB to run on linux, I needed to access it via JDBC, and it needs to support arbitrarily large BLOBs. I tried MySQL, Postgres, MS SQL, DB2 and SAPDB.

    I'm sure it was just something I was doing wrong, but I was getting data corruption with MySQL on anything larger than 500k. Postgres' JDBC drivers don't stream things, they have to load the entire byte stream into memory -- so it failed utterly. It also used about 10x the memory it needed to load the file, and didn't release it even after garbage collection -- so poo on it.

    I tried MS SQL, and it worked flawlessly, but like I said, I need the database to run on Linux.

    I installed SAPDB on a Red Hat box, spent a few hours figuring out the management commands, and was successfully loading/retrieving binaries of up to 100MB with no problem. Very fast throughput, all things considered, and the commands aren't too difficult once you figure out what they're supposed to freaking BE. I guess it helps to have a working understanding of Oracle 7 administration, because the concepts are pretty much the same, just with different names.

    So, even though I'm kind of sad that the codebase is poorly set up and it won't run on *BSD or MacOS X, I'll be using SAPDB for this project because it meets my needs quite handily.

    I think that if a community could be arranged around SAPDB to clean up/standardize its codebase, it would be a Good Thing and I would like to get involved. But it's going to take somebody going through that spaghetti and figuring out what's what.

    --
    "There is no night so forlorn, no mood so bleak, that it cannot be infused with pleasure by tender meat..." - R.W. Apple
  62. Re:Wrong - you dont work in an enterprise-level sh by Uggy · · Score: 2

    Sigh, I'll rephrase. For what would you be buying support, hmmm? It wouldn't be the db, because by itself it doesn't do anything. You'd be buying support for what? Let's hear it again class. Repeat after me.

    "It's the apps stupid."

    Support is just a necessary evil and keeps the vampires fangs well connected to fresh blood. So let's review shall we?

    You don't go to oracle and say I'd like to buy support. They'd probably sell it to you, but then you'd probably the state of California. Noooo! You need to have a need for which they have a solution, an ERP for example with a bunch of addon modules. Now to get that you need two things:

    a db
    support

    Right? But the reason you went to Oracle in the first place is because they had an app that you needed.

    The db and support are just two things that make the app more attractive but they are definitely NOT why you bought from Oracle.

    A crappy ERP, with a kick ass db and wiz-bang support isn't gonna cut it now is it?

    --
    Toddlers are the stormtroopers of the Lord of Entropy.
  63. Because people can't find it? by Mastoid · · Score: 2, Interesting
    Perhaps I missed something, but when I went poking around for information all I could find on the website was SAP talking about GPLing the DB, but not the DB itself or any of the technical specs.

    Granted, I may have missed something, but if it's too difficult to find after scanning through a few search results and what appear to be relevant links from the home page, I generally go somewhere else. That kind of (missing) organization does not speak well of the product in question.

    --
    I had an argument...with the person here at the university that teaches OS design. I wonder when I'll learn --Linus
  64. Ruby/DBI support by eGabriel · · Score: 2, Interesting

    If there was a DBD for the Ruby DBI driver, I'd give it a go. I haven't seen a lot of comparisons between it and PostgreSQL in terms of performance or reliability.

    PostgreSQL is really pretty good for the price, though, and it has been mostly dependable, quick enough, and easy to administer. They have been improving it by leaps and bounds, not tiny increments, and most of the time that is nice.

  65. A few reasons why not by samantha · · Score: 3, Interesting

    1) Their site has a bunch of advertising hype for how wonderful the DBMS is but almost zero real content;

    2) It is from and controlled by SAP. I have worked with these people in the past and I deeply distrust their code and processes;

    3) Life is short. I have no time for YADB that has no compelling advantages that I can see;

    4) I believe in the importance of things like replication and objrect-relational features that SAP puts down as irrelevant.

  66. databases are a dime a dozen by g4dget · · Score: 2
    PostgreSQL and MySQL cover the open source market, and the spectrum of functionality that most people need, pretty well. We also get Interbase and a bunch of others. The arrival of yet another relational database is really not a big deal.

    Incidentally, SAP-DB is not part of any of the major distributions as far as I can tell. If you want to popularize it, the first thing to do might be to volunteer to support it for Debian.

  67. Why not? Why in Hell? Let me count the reasons... by idearat · · Score: 2, Insightful


    I've been the DBA for a company using SAP-DB as a bundled DB for the past 4 months. Let me outline the major reasons I'll avoid it in the future.

    One, in the first week I was there my machine crashed. When it came back up the SAP database was corrupted. The PostgreSQL database running on the same box came back up fine. Not my idea of how a database should work.

    Two, the command line sucks. This is a real problem for administrators and developers trying to understand how their queries are going to run. Every SQL query you want to run has to be prefaced with sql_execute and there's no multi-line buffer support. Putting a semi-colon on the end of your query (which is standard practice in Oracle or PG) causes a syntax error. Frustrating as hell.

    Three, programmability is pathetic. No before triggers, only after triggers. No docs whatsoever on the procedural language extentions that would mirror PL/SQL or PL/pgSQL for example. Actually, they're there, but buried in the Reference Manual along with all the other SQL commands so you have a hell of a time getting your head into it. Some might say putting logic in the database is a design flaw. I have two words for you: "Oracle Financials". Billions in revenue from an application written almost entirely in stored procs. Encapsulation is a joke if you think it means putting logic in your Java. It's only going to protect data shared across applications properly when it's inside the DB in the form of rules, triggers, constraints, etc. First time someone calls up DBVisualizer or something and screws your data you'll understand. Scalability can come from distributed database instances just as easily as it comes from bloated application servers.

    Four, no support now, nor any planned for making external calls ala Oracle or PostgreSQL so you can have triggers/procedures call programs outside the database etc. Think about all the noise about Message-Oriented-Middleware and then imagine that your database triggers could simply call external procs. Now put a trigger on your shipment table so that any time a shipment is updated it calls an external proc to email the parties involved in the shipment a status update. Saves a hell of a lot of code to encapsulate that at the DB since you *know* it can't be called unless the data was successfully updated. But you'll never be able to do it in SAPDB. Both Oracle and PostgreSQL support this today.

    Five, creation, management, and maintenance are 10x what they are for PostgreSQL. You have to spend a lot of time trying to figure out what parameters to use for your database creation. Then you have to spend a lot of time watching over devspace allocations or you'll wake up to find the database hung cause you had somebody fill up the logspace. Same problem can happen on PG if you fill up the disk, but you probably already have sysad jobs checking for that in a production environment anyway.

    Six, support is available if you think waiting for the folks in Germany to wake up and respond to your email is "timely". I don't. Meanwhile the PostgreSQL development team never seems to sleep. Those guys are always online, and always ready to respond to well stated questions.

    In summary, I recently had to propose a database to one of my clients moving a 24x7 shop off of Oracle8i. I said PostgreSQL because it a) didn't corrupt data, b) had serious docs and 5 separate books out (of which you have to purchase at least two to get full coverage but at least they exist), c) had tools that were easily accessible and UNIX-friendly, d) was a breeze to administer, and e) had an active developer community that was 100x the size of the SAP community in case we needed help.

    Why not SAPDB? More accurate to ask Why In Hell?

    ss

  68. Open source "free" databases are too costly !!! by dbdweeb · · Score: 2, Insightful

    MySQL may be "free" but it can become very costly if you have to engineer around limitations or its non-ANSI SQL compliance. The lack of subselects, unions, ACID compliant transactions, etc ad nauseum could be hugely significant. The same is true for many other open source databases, SAPDB included. Do your applications need a HIGHLY scalable concurrent multi-user OLTP database engine that is always on 24X365.25 (24X7) and does your database have proven, easy, and dependable backup and recovery capabilities? Will your apps ever grow and need a database engine that is robust enough to support this? If you're paying engineer/administrator salaries to work around these limitations of open source databases then it doesn't take too long to eat up and surpass the license costs of a commercial database. Too many people are making database decisions based on very simplistic and shallow criteria such as, "How much does it cost?" and they're only thinking in simplistic terms of cash outlay. The real cost includes learning curves for your developers and how much work is needed to work around the limitations. If your solution isn't scalable then you will have higher hardware costs. Are there standard DBA practices which you can depend on or do you have to figure it our yourself and hope you didn't miss anything? Can you risk data loss? Can you risk down time? Some people conclude that MySQL is fast but they only look at it from a single query perspective which is pretty stupid if you need concurrent multi-user OLTP access where MySQL can actually turn out to be pretty slow. The "benchmarks" provided by MySQLAB are shallow and poorly reflect on their sense of what is important. InnoDB can provide some solution but what if you can't take the database down but need to because that's the only way to add storage? SAPDB may handle some of these things better but if it's new, poorly documented, and its future is still uncertain is it worth the risk? If you have to spend time futzing with this stuff then that detracts from your focus on your own software/service/business solution. I guess some folks like to futz instead of focusing on the business at hand. Some folks think they can do anything and everything and would rather re-invent the wheel via an open source database engine than pay for perfectly good database software and focus attention on the business solution. It's kind of a perverse "not engineered here" mentality. If you standardize on a database with significant limitations then you are starting out by saying, "I will never need scalable, fault tolerant 24X7 access with a guarantee of no data loss. I have no ambition for the business and I don't want to be prepared for successful growth. My web service could never become an amazon.com or I don't care about this stuff because I'm willing to risk everything on the notion that I can do it all myself with free stuff I download off the net." There's a "nerd think" which says it's more fun and technically respectful to futz with open source stuff than it is to focus on a business solution.

    All this having been said, it is quite possible to have a very good business solution which is built on top of an open source database engine but you had better know good and well what you're getting into and know what the limitations and challenges are BEFORE you get started. This in itself could become a major "research project." What's "tried and true" may not work for you. Looking for a "free" open source database engine? "Buyer beware." "You get what you pay for..." one way or another.

  69. The value of backups by Rick+the+Red · · Score: 2

    This gets to the heart of DB backups. What good are they? If your business is running 24/7 and you back up once a day, you could lose a day's work/(sales/etc.)! If that's OK, then why not let the OS do a backup of your mirrored server (you do run mirrored servers, right?) -- oh, but then isn't your mirrored server your backup? See my point? I don't get DB backups; either they're easy as pie because you do constant backups, or they're worthless.

    --
    If all this should have a reason, we would be the last to know.
    1. Re:The value of backups by binaryDigit · · Score: 3, Informative

      This is how it works:
      1. Hot backup at 1am Sunday (database is up and running)
      2. Nightly backup of archive logs (i.e they contain all the changes to a database.

      That will only get you back to the time of your last backup assuming you don't have other realtime copies of your xaction logs and tables. If you're running your db on one big box with box table storage and xaction logs, if some big power surge comes along and crashes the heads of all your drives, all you can do is restore your full and add the xactions up until your last backup. Anything done since that time is gone.

    2. Re:The value of backups by Rick+the+Red · · Score: 2

      You support my postion! By my definition, you claim the backup is Easy As Pie ("Based on these 2 simple operations, you can easily restore to any given point in time"). Buy you also support my position that it's worthless (well, worth little), because you can only restore up to the point of the last "Nightly backup of archive logs". Anything after that is lost, as binaryDigit pointed out.

      --
      If all this should have a reason, we would be the last to know.
    3. Re:The value of backups by binaryDigit · · Score: 2

      No, you also have the current transaction log up.

      You missed my point. If the disk that held your current xaction log gets toasted along with the data, then you can only restore up to your last xaction log backup. You'd have nothing to "open up".

  70. Re:The name..... by Ashurbanipal · · Score: 2


    Right, obviously. I mean, who wants to apply for a job as a "SAP programmer"? You aren't going to get the geek girls with that job title!

  71. Re: interbase/firebird + Python by HiThere · · Score: 2

    OK. I haven't bothered to check kinterbasedb out (which was sort of my point) because it sounded like a KDE only package, and I need something that works for both Linux and Windows.

    The thread, as I understood it, was about "Why is marvelous package X not being adopted?", so I tried to answer that, from my current knowledge. (Then I looked at the readily accessible current documentation and added a footnote... which did acknowledge the kinterbasedb project, and also a project for Ruby.) Your point may be a valid one if we were discussing why one should choose Python over Ruby for a database project using Interbase, but it doesn't address the question of why I should choose Interbase/Firebird rather than PostgreSql, or BerkeleyDB, or MySQL, or ... any of the other packages which have more easily accessible experts and documentation. There may well be such reasons, but I still haven't seen them.

    --

    I think we've pushed this "anyone can grow up to be president" thing too far.
  72. Re:PostgreSQL is not on par with Oracle by Mike+Greaves · · Score: 2

    > 3. Object-relational database features.

    You're probably right on the other points, but not only does PostgreSQL have "object-relational database features", Postgres was the *first* object-relational database in the world, IIRC. And thus obviously object-relational *before Oracle* was.

    I believe the modern object-relational database was invented by Stonebraker et al (at Berkeley?). Postgres was *their implementation* of an object-relational database. PostgreSQL evolved afterward from Postgres, driven mainly by Stonebraker's former students, I believe.

    --
    -- Mike Greaves
  73. Re:Wrong - you dont work in an enterprise-level sh by Fizzlewhiff · · Score: 3, Insightful

    Oracle has offered me free apps as an incentive to use their database over a competitors so I don't think you are correct in saying they are all about their applications. But I guess that really depends on who you talk to inside the company. A database person will have a different opinion over an applications person.

    You are right about their products being overkill for most companies out there. I've called Oracle knowing exactly what license I need. Before my conversation is over they've always tried to change my requirements and sell me more than I need. They've even suggested I change my server platform to Linux so I can free up some money for buying their additional stuff. If this continues to be their practice, other solutions, maybe even open source might be an alternative for me in the future. But I can see where companies can get tricked into getting more than they need and end up with overkill for a simple solution.

    --

    'Same speed C but faster'
  74. Re:Actually, its worse then you think. by antirename · · Score: 2

    Then most consumers don't drink Guinness, which is my beer of choice. I'll bet that I could identify my brand... all I'd have to do is find the one that didn't taste like sugar water with some "natural hops flavoring" added to the mix. If you're going to drink beer, drink BEER. If you're going to smoke, smoke something UNFILTERED. Hey, it's all bad for you so you may as well enjoy it. I feel sorry for guys drinking Miller Lite because real beer might make them fat.

  75. Here's why by chris_sawtell · · Score: 3, Insightful
    In a few lines this is why I'm not into SAP DB:-
    • The build system is so unusual, i.e. completely 'off the wall', that without investing an inordinate amount of time I could not get SAP-DB to even build. "./configure && make; su -c 'make install';" it isn't! For this dedicated OSS devotee, that was a big black cloud forming on the horizon.
    • I then installed off the provided CDs via the binary route, it's difficult to believe this, especially as I have been around these dumputer things for 30 years, but I could not find out in a reasonably simple or easy way how to start the daemon! By contrast, PostgreSQL tells you exactly what incantation to offer up at the end of the build process. Big black cloud overhead!
    • It needs a minimum of 128Mb. At the the time I did not have sufficient memory on the evaluation machine.
    • The web page with the technical information is ( was? ) completely cuckoo when viewed with Netscape 4.x or Mozilla. It's as slow as a wet week, and the information to read is stuck down in the corner in a truly miniscule font size. I'm being drenched in a black cloud rainstorm.
    After all that I said to myself, "Umm... I think I'll carry on with PostgreSQL for the time being". Unfortunately for SAP AG time is still being.

    I have since got a more powerful machine with enough memory to at least try it out. When I've got a spare moment, I'll have another look at it. Spare moments are not exactly thick on the ground right now, so goodness only knows when that will happen.

  76. why sap? by glenebob · · Score: 2, Interesting

    I tried to install SAPDB on my windows box a couple weeks ago and it was just... well... really hard. I never could find any decent documentation (pdf's are never decent IMHO), and I gave up after finding no installer or anything that seemed to resemble a registry merge file or anything stating what the default dba password is. I gave up for lack of incentive. I don't actually need it; see below.

    I think the problem is that there are other well-known DBMS's out there that are just as cheap (free), open source, and have the needed features, and are also easier to install and better documented. For me it's Postgres on Linux. It does what I need and it's really easy to install and admin and quite well documented. For others it's MySQL for the same reasons I'm sure. Then there's T-bird, I'm sure somebody must be using it :-)

    From a development standpoint, I hear the source is a freakin mess. Maybe it's just me but that seems like the status quo for closed software. I remember Mozilla being a big stinky mess when it first popped out of Netscape too. Maybe that's part of the reason they open sourced it; couldn't afford enough programmers to maintain the spaghetti code anymore. And let's not forget how long it took to clean Mozilla up and make it viable again. Hopefully SAP won't be quite as bad.

    If they can get a few developers to latch onto it and get the code cleaned up a bit, and get some better documentation, and some better install mechanisms, then I'm sure it could have a chance.

  77. Documentation and tools for Linux by ikekrull · · Score: 2

    When i tried to install SAP-DB (over a year ago, when it was first released), i got it installed, i think i had it running, but damnned if i could figure out how the hell to create a database on the thing.

    So i threw it in the 'too-hard' basket, and went back to Postgres which i am quite happy with. I actually think it is still running on one of my boxes.

    I'm sure progress has been made since then, but what would help out the most is a simple 'HOWTO' with instructions for setting up a database, from installation to database and table creation - to administration using CLI and GUI tools - to example setup with Perl/PHP/Java for access, as well as a set of guidelines for backing up, restoring and tuning the DB.

    I think its great that SAP has made this step, and I think that SAP-DB looks great on paper, but, IMHO, deploying this database is a major struggle compared with MySQL or Postgres.

    --
    I gots ta ding a ding dang my dang a long ling long
  78. PostgreSQL still adviseable over MySQL by Nicopa · · Score: 2

    PostgreSQL will run in that smallest box and be faster, safer and easier to program. There's really no place left for MySQL other than nostalgia.

  79. PostgreSQL doing replication by leonbrooks · · Score: 2
    --
    Got time? Spend some of it coding or testing
  80. This issue isn't as clear-cut as you hope by leonbrooks · · Score: 2

    The DB can work with the OS in the same way as it does raw partitions: this gives it reasonable abstraction but retains the performance boost of knowing stuff about the DB contents. With the DB knowing how best to treat stuff in the DB and the OS knowing how best to get stuff to and from a drive, the potential for performance gains is greater than just that of the DB knowing what the info is doing.

    There are other examples to consider as well, for example, Windows apps often run twice as fast on the same machine under Win4Lin as they do natively, because Linux task switching, memory management and (yes) cacheing is streets ahead of Windows 9X. In this case, knowing how to deal with the hardware well is more important than knowing about internal structures.

    --
    Got time? Spend some of it coding or testing
  81. Advantages of GPL by leonbrooks · · Score: 2

    To grandparent: true, my blue.

    GPL means that you can allow others into your party. Putting improved MIT/BSD software out only happens if the developer is charity-minded themselves; GPL makes charity-minded behaviour mandatory. This means that you can release something with the expectation of seeing more of the improvements made by others coming home to roost, and knowing that no competitor can out-develop you.

    --
    Got time? Spend some of it coding or testing
  82. Agree 100% by leonbrooks · · Score: 2

    What can I say? `Me, too?' Thanks for correcting my licencing blue.

    --
    Got time? Spend some of it coding or testing
  83. Laugh? I wept, I ghasped... nothing like focus (-: by leonbrooks · · Score: 2
    They've even suggested I change my server platform to Linux so I can free up some money for buying their additional stuff.

    Like, `mortgage your house so you can buy a better model of our car?' Not single-mindedly ambitious at all, are they? (-:

    Talk about help from unexpected quarters!

    --
    Got time? Spend some of it coding or testing
  84. Alternative backup strategy by leonbrooks · · Score: 2

    Ask the OS how big the tapes are; in case of uncertainty, waste the last few meters of tape.

    --
    Got time? Spend some of it coding or testing
  85. Blank administrator accounts by leonbrooks · · Score: 2
    What an idoitic [sic] statement - people who leave their administrator accounts blank deserved to be 0wn3d.

    Quite a few `idoits' are getting bitten after installing one of MS's development suites and getting a free cut-down version of MS-SQL-Server with (surprise) a blank admin password. Until recently, the docco for the `real' version of MS-SQL only got around to mentioning the blank password thing waaaaay down the tree.

    I think their first mistake was using MS-SQL instead of PostgreSQL, but that's just zealotry, so you can discount it accordingly. (-:

    Post with a handle next time, will you? It gives you more credibility, and me a name to laugh at. (O-;)

    --
    Got time? Spend some of it coding or testing
  86. Replication by leonbrooks · · Score: 2

    It's called RServ, and it works. Link elsewhere in this thread.

    --
    Got time? Spend some of it coding or testing
  87. I don't use the stuff by leonbrooks · · Score: 2
    I use PostgreSQL - in case you can't tell from my other posts - which suffers from no such handicap.

    If you run any services without reading the documentation, well, I can do no better than to quote you:

    You are an idiot.
    --
    Got time? Spend some of it coding or testing
  88. Re:Let's do the time warp again! by m_frankie_h · · Score: 2, Informative
  89. Pity... by leonbrooks · · Score: 2

    ...and I wonder just how unsupported it is.

    --
    Got time? Spend some of it coding or testing
  90. SAP DB Rebuttal (semi official) by DanielDittmar · · Score: 5, Informative

    Q. If it's so great, why does SAP R/3 normally sit atop a different database, like Oracle or DB2?

    A. R/3 was originally written for Oracle, so this is a tradition. Up until now, SAP DB hasn't been marketed actively by SAP as not to upset it's many database selling partners. Newer applications are now developed for SAP DB first.

    Q. SAP-DB is 20 years old. It has an unmaintainable code base. It is bloated and complex, very crufty internally and written in a weird pascal/C++ mix witha SAP specific format for the files and an uncomprehensible build system.

    A. I prefer the word challenging. Parts of it are of course constantly rewritten, so I don't think a single part is actually 20 years old. And I object aliasing '!= make' with 'incomprehensible'. The concepts are actually pretty close to newer build systems like ant. Without it, the criticism would simply read that the make files are incomprehensible.

    Q. SAP-DB needs a lot of effort to set up and create a database, sometimes even worse than the magic juju you need to go through with Oracle.

    A. Not really true, especially not for a production database. But the entry level documentation could be made better by describing when and how to keep things simple.

    Q. Oracle does replication and hot standby. SAP-DB doesn't. These are pretty important features in the enterprise.

    A. Replication is not on our agenda (despite the oddly named Replication Manager). Hot standby is currently being implemented.

    Q. Not in BSD Ports tree. Probably also goes for Linux, (but the argument there would probably be more "doesn't comes (integrated) with the distribution" If something gets included with distributions, it spreads much faster.

    A. True. But our main job is to supply SAP DB for SAP customers. Anything else has to be done by others interested in SAP DB.

    Q. harder to install, with a slightly strange mix of admin tools (combination of old/crufty, and new/experimental)

    A. Partly a documentation problem. There isn't actually a mix of old and new admin tools. There is a command based API, which is accessible from various programming languages, and there are tools which are implemented on top of this API.

    Q. definitely trickier to manage, as you need to learn protocols for setting up, and backing up, databases and their logs, at least. This is true of other RDBMSs of course, but the trend has been toward more self-managing systems.

    A. SAP DB is mostly self managing. Some of the tasks were it isn't have severe performance implications (like distribution of data volumes over disks) so simply picking a default is questionable at best.

    Q. Relies of ODBC as the cli--which is actually fine (eg, compatible with PHP) but still less familiar to Unix/OSS people

    A. There is no standard database API for Unix. But of course anything would be better than a Microsoft API.

    Q. Still undergoing stabilizing bugfix cycle, seemingly, although I haven't myself ever encountered a problem with it

    A. Insert lame joke about Linux 2.4.

    Q. Is, as mentioned, less tolerant of inexpert admins--and more problematic, the error codes are frequently impossible to understand

    A. We should probably supply a tool which makes information about the error codes easily accessible from the command line.

    Q. Really is difficult, at present, to hack. In general, the code is VERY challenging to work with (particularly the ugly, custom built build system), although it should be said that the SAP internal developers are steadily improving all aspects of the system, and a time WILL come when external developers can see rewards for their hacking efforts.

    A. True. Although I still object to the notion that make was presented to mankind on the mount Sinai.

    Q. Does SAP have anything close to Oracle's RMAN?

    A. SAP DB logs all backups. The DBMGUI can use this log to automate tasks like 'restore from this full backup to this timestamp'. This works also with external backup tools.

    Q. Sect Where's the O'Reilly book on SAP-DB?

    A. It took some time for PostgreSQL to get books so I guess a SAP DB book is still a year or two away.

    Q. Does it have Multi Concurrency Version Control (MVCC)?

    A. It is implemented in the undocumented object database part. There are plans to make this also available to the relational database part, but a release date has not been set.

    Q. Are there any Free Software success stories of projects using SAP-DB?

    A. So far, SAP DB seems to appeal mostly to commercial software vendors for whom Oracle or MS licenses are too expensive/bothersome.

    Q. Are there better admin tools?

    A. No. Or not yet. But the administration is easily scriptable, so most common tasks can be reduced to a single command.

  91. Agree by leonbrooks · · Score: 2

    And Oracle is addressing the lowest common OS denominator.

    --
    Got time? Spend some of it coding or testing
  92. Now... by leonbrooks · · Score: 2

    ...after everyone's been bitten. And even then, not the version that's included in several IDEs.

    --
    Got time? Spend some of it coding or testing
  93. Re: your sig by zulux · · Score: 2

    Sounds reasonable! Too bad you're not running for office - all the reasonable people stay out of politics, it the insane ones that think it's fun. ;)

    --

    Moneyed corporations, non-working 'poor' and criminal prisoners are turning productive citizens into tax-slaves.