<p>There is a lot of information out there on object-relational mappers and how to best avoid impedance mismatch, all of which seem to be moot points if one were to use an object database.  My question is why isn't this used more frequently?  Is it because of performance reasons or because object databases cause your data to become proprietary to your application or is it due to something else?  </p>

[{'answer_id': 61526, 'author': 'Sören Kuklau', 'author_id': 1600, 'author_profile': 'https://Stackoverflow.com/users/1600', 'pm_score': 5, 'selected': True, 'text': '<ul>\n<li><strong>Familiarity.</strong> The administrators of databases know relational concepts; object ones, not so much.</li>\n<li><strong>Performance.</strong> Relational databases have been proven to scale far better.</li>\n<li><strong>Maturity.</strong> SQL is a powerful, long-developed language.</li>\n<li><strong>Vendor support.</strong> You can pick between many more first-party (SQL servers) and third-party (administrative interfaces, mappings and other kinds of integration) tools than is the case with OODBMSs.</li>\n</ul>\n\n<p>Naturally, the object-oriented model is more familiar to the <em>developer</em>, and, as you point out, would spare one of ORM. But thus far, the relational model has proven to be the more workable option.</p>\n\n<p>See also the recent question, <a href="https://stackoverflow.com/questions/800/object-orientated-vs-relational-databases">Object Orientated vs Relational Databases</a>.</p>\n'}, {'answer_id': 61527, 'author': 'Quibblesome', 'author_id': 1143, 'author_profile': 'https://Stackoverflow.com/users/1143', 'pm_score': 1, 'selected': False, 'text': "<p>Cons:</p>\n\n<ul>\n<li><p>Cannot be used by programs that\ndon't also use the same framework\nfor accessing the data store, making\nit more difficult to use across the\nenterprise.</p></li>\n<li><p>Less resources available online for\n    non SQL-based database</p></li>\n<li><p>No compatibility across database\n    types (can't swap to a different db\n    provider without changing all the\n    code)</p></li>\n<li><p>Versioning is probably a bit of a\n    bitch. I'd guess adding a new\n    property to an object isn't quite as\n    easy as adding a new column to a\n    table.</p></li>\n</ul>\n"}, {'answer_id': 61528, 'author': 'jodonnell', 'author_id': 4223, 'author_profile': 'https://Stackoverflow.com/users/4223', 'pm_score': 2, 'selected': False, 'text': '<p>One objection to object databases is that it creates a tight coupling between the data and your code.  For certain apps this may be OK, but not for others.  One nice thing that a relational database gives you is the possibility to put many views on your data.</p>\n\n<p><a href="http://blogs.tedneward.com/2007/06/12/The+Relational+Database+Needs+No+Defense.aspx" rel="nofollow noreferrer">Ted Neward</a> explains this and a lot more about OODBMSs a lot better than this.</p>\n'}, {'answer_id': 170053, 'author': 'Andrew not the Saint', 'author_id': 23670, 'author_profile': 'https://Stackoverflow.com/users/23670', 'pm_score': 0, 'selected': False, 'text': '<p>Sören</p>\n\n<p>All of the reasons you stated are valid, but I see the problem with OODBMS is the logical data model. The object-model (or rather the network model of the 70s) is not as simple as the relational one, and is therefore inferior.</p>\n'}, {'answer_id': 171603, 'author': 'Goran', 'author_id': 23164, 'author_profile': 'https://Stackoverflow.com/users/23164', 'pm_score': 3, 'selected': False, 'text': '<p>I\'ve been using <a href="http://www.db4o.com" rel="noreferrer">db4o</a> which is an OODB and it solves most of the cons listed:</p>\n\n<ul>\n<li>Familiarity - Programmers know their language better then SQL (see Native queries)</li>\n<li>Performance - this one is highly subjective but you can take a look at <a href="http://polepos.sourceforge.net/" rel="noreferrer">PolePosition</a></li>\n<li>Vendor support and maturity - can change over time</li>\n<li>Cannot be used by programs that don\'t also use the same framework - There are OODB standards and you can use <a href="http://developer.db4o.com/forums/thread/51254.aspx" rel="noreferrer">different frameworks</a></li>\n<li>Versioning is probably a bit of a bitch - Versioning is actually <a href="http://developer.db4o.com/forums/thread/22660.aspx" rel="noreferrer">easier</a>!</li>\n</ul>\n\n<p>The pros I\'m interested in are:</p>\n\n<ul>\n<li>Native queries - Db4o lets you write queries in your static typed language so you don\'t have to worry about mistyping a string and finding data missing at runtime,</li>\n<li>Ease of use - Defining buissiness logic in the domain layer, persistence layer (mapping) and finally the SQL database is certainly violation of DRY. With OODB you define your domain where it belongs.</li>\n</ul>\n\n<p>I agree - OODB have a long way to go but they are going. And there are domain problems out there that are better solved by OODB,</p>\n'}, {'answer_id': 173191, 'author': 'Keith Patton', 'author_id': 25255, 'author_profile': 'https://Stackoverflow.com/users/25255', 'pm_score': 0, 'selected': False, 'text': "<p>jodonnel, i dont' see how use of object databases couples application code to the data. You can still abstract your application from the OODB through using a Repository pattern and replace with an ORM backed SQL database if you design things properly. </p>\n\n<p>For an OO application, an OO database will provide a more natural fit for persisting objects. </p>\n\n<p>What's probably true is that you tie your data to your domain model, but then that's the crux! </p>\n\n<p>Wouldn't it be good to have a single way of looking at both data, business rules and processes using a domain centric view? </p>\n\n<p>So, a big pro is that an OODB matches how most modern, enterprise level object orientated software applications are designed, there is no extra effort to design a data layer using a different (relational) design. Cheaper to build and maintain, and in many cases general higher performance.</p>\n\n<p>Cons, just general lack of maturity and adoption i reckon...</p>\n"}, {'answer_id': 1479545, 'author': 'Stephan Eggermont', 'author_id': 35306, 'author_profile': 'https://Stackoverflow.com/users/35306', 'pm_score': 2, 'selected': False, 'text': '<p>It has nothing to do with performance. That is to say, basically all applications would perform better with an OODB. But that would also put lots of DBA\'s out of work/having to learn a new technology. Even more people would be out of work correcting errors in the data. That\'s unlikely to make OODBs popular with established companies. Gavin seems to be totally clueless, a better link would be <a href="http://kirk.blog-city.com/gavin_defends_rdbms_and_ted_rebukes.htm" rel="nofollow noreferrer">Kirk</a></p>\n'}]
['https://Stackoverflow.com/questions/61520', 'https://Stackoverflow.com', 'https://Stackoverflow.com/users/1574/']