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?'"

50 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 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.

    2. 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.
  2. 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"
  3. 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.

  4. 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

  5. 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.

  6. 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
  7. 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!
  8. 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 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.
    2. 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.

  9. 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.
  10. 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

  11. 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.

  12. 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.

  13. 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
  14. 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.

  15. 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...

  16. 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?

  17. 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
  18. 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.

  19. 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
  20. 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.

  21. 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
  22. 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 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

  23. 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.

  24. 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
  25. 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
  26. 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.

  27. 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.
  28. 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.
  29. 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.
  30. 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.

  31. 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.
  32. 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!
  33. 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.
  34. 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.

  35. 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.

  36. 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'
  37. 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.

  38. 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.