What is an "Object Database" and when is it beneficial to use one? [closed] - object-oriented-database

As it currently stands, this question is not a good fit for our Q&A format. We expect answers to be supported by facts, references, or expertise, but this question will likely solicit debate, arguments, polling, or extended discussion. If you feel that this question can be improved and possibly reopened, visit the help center for guidance.
Closed 11 years ago.
I'm quite familiar with what I understand to be relational databases such as mysql where you have tables, rows, columns and joins to figure out how content relates.
Someone suggested I use an object database for a project I'm busy with but I don't know what an object database is nor when it would be beneficial over a relational database.
I have already googled, wikipedia is a wealth of information (yes, sarcasm) and I must admit the few links I followed were not particularly enlightening. I therefore turn to the future google; crowd sourcing information. Does anyone know a good article I can read, or could anyone explain it to me.
Thanks in advance.

The main idea behind an object database is that you would be storing the objects as is inside your database, e.g. not breaking them up into relational constructs like tables with rows and columns.
The basic premise is that retrieving an object from such an object database would be much simpler - just "grab" the object, no mapping, no translation or anything needed.
See some links for more information:
db4o (db4objects) - maker of an object database for .NET and Java (open source)
ODMBS.org - site with lots of good (and freely useable) information on ODBMS
The biggest challenge for OO-DB is making the finding and retrieving of those objects stored as simple as possible, and also provide good performance. And their lack of widespread use also hinders their adoption.

Related

high volume database choice for php [closed]

As it currently stands, this question is not a good fit for our Q&A format. We expect answers to be supported by facts, references, or expertise, but this question will likely solicit debate, arguments, polling, or extended discussion. If you feel that this question can be improved and possibly reopened, visit the help center for guidance.
Closed 10 years ago.
I am about to develop website using YII framework. But i am not quite sure about which database i should use.
Generally insertion and selection would be there in a website. Data would be come from different relational tables as i will have more than 50 filters so that user can see what ever database they want to see.
Here is the example of website. http://property.sulekha.com/
I want to design something like this.
which new concept i can use for the optimization, for better performance.
I have few concept in my mind which i am supposing to use.
1) MemCache
2) HipHop PHP
3) Doctorin ORM
I am just wondering how facebook search is working, are they using any advance tool for search??????
Facebook architecture is a fascinating one, and you shouldn't try to copy it, because you don't need it, and as we all know, premature optimization is the devil.
scaling issues are not something you prepare for, unless you're working for an enterprise and know first hand that you'll recieve huge amounts of traffic from day 1, like the new mega.
if you're talking about a large de-normalized table, which sounds so by applying up-to 50 filters, maybe you should consider a NoSQL solution, like mongoDB.
from what I know about facebook search, is that the servers are clustered, and are basically pointers to the "real" data, which means that alot of their data isn't a physical one, but as I said, unless you plan on sporting 1 billion users - that's over your head as of now.
good luck

Coredata or Sqlite which is better [closed]

As it currently stands, this question is not a good fit for our Q&A format. We expect answers to be supported by facts, references, or expertise, but this question will likely solicit debate, arguments, polling, or extended discussion. If you feel that this question can be improved and possibly reopened, visit the help center for guidance.
Closed 10 years ago.
Can you please help to choose from Coredata or sqlite ??
Which one is better ? As I have complex query in database.
This blog will help you a little
http://blog.mcohen.me/2010/06/19/why-i-chose-sqlite-instead-of-core-data/
The answer, of course, is that "it depends". They both have their advantages and disadvantages depending on what you want to achieve.
Check out this article, and others, on choosing between the two: http://answers.oreilly.com/topic/1959-when-to-use-sqlite-instead-of-core-data-on-the-iphone/
Sqlite is a RDMS system and involves SQL and while CoreData is a object-oriented programming within xcode.. Both deal with a lot of data in the database. Both have their own way of writing and saving to the database. You need to know their specific ways... On deciding on which to use, it really depends on the circumstance you are in.. If you are using a simple query or have very little data in the database, you could use plist or userdefaults. The choice is yours because you know best what you need...

What is BigData and NoSQL, any good books on both? [closed]

As it currently stands, this question is not a good fit for our Q&A format. We expect answers to be supported by facts, references, or expertise, but this question will likely solicit debate, arguments, polling, or extended discussion. If you feel that this question can be improved and possibly reopened, visit the help center for guidance.
Closed 10 years ago.
I know I am asking two questions in one. But can someone please tell me what is meant by bigdata. Also how does NoSQL different from conventional SQL.
Lastly can you please recommend good/best books or tutorials/website on topic which can take a newbie to advance level.
Please reply.
"Big Data" is a buzz word, which means that it defines different (albeit related) things to different people.
Some use it for database software that specializes in "Big Data", some use it for whole infrastructure that manipulates large data sets, some use it for large data sets themselves (structured, semi-structured, and non-structured).
"Big Data" data sets posses at least one distinct property: due to their large size and/or lack of structure they are assumed to hide valuable information and relationships. The end goal of about every "Big Data" project is uncovering these valuable knowledge in efficient and repeatable manner.
How large is "Big Data"? Large enough that few years ago it would demand million dollar investments in all 3: hardware, software and development. Today you may still require a significant (but less) investment but probably just into 2 out of these 3.

nosql databases - what are these good for? [closed]

As it currently stands, this question is not a good fit for our Q&A format. We expect answers to be supported by facts, references, or expertise, but this question will likely solicit debate, arguments, polling, or extended discussion. If you feel that this question can be improved and possibly reopened, visit the help center for guidance.
Closed 11 years ago.
Recently I watched some old Oredev presentation on NoSql databases. I learned a bit but I still don't know when these databases are typically used. When it's good to use one and when it's not? Before I start learning any it would be great to know if there will be any opportunity to use one. Do You have suggestions on what db to try first? I'm working in .NET, learning some Ruby.
I learned a bit but I still don't know
when these databases are typically
used. When it's good to use one and
when it's not?
I would recommend to read for example these:
What Should I Do? Choosing SQL, NoSQL or Both for Scalable Web Applications
35+ Use Cases For Choosing Your Next NoSQL Database
The NoSQL Ecosystem
Before I start learning any it would
be great to know if there will be any
opportunity to use one.
Opportunity knocks at the strangest times. It's not the time that matters but how you answer the door.
Do You have suggestions on what db to
try first?
If you have .NET background try to look at MongoDB or CouchDB. Answer to this question however may depend on what is your scenario or what is the nature of your problem where you want to apply NoSQL solution.
Here you can read something about:
The Big List of NoSQL Use Cases
I think that MongoDB is a good starting point.
Getting Started with MongoDB and C#

PostgreSQL nested queries performance [closed]

As it currently stands, this question is not a good fit for our Q&A format. We expect answers to be supported by facts, references, or expertise, but this question will likely solicit debate, arguments, polling, or extended discussion. If you feel that this question can be improved and possibly reopened, visit the help center for guidance.
Closed 9 years ago.
Are there significant performance issues when using nested(2 level deep at max) queries in PostgreSQL?
I use version 8.4.2
I am asking because I am planning to use quite a lot of those soon on a busy website..
The boring answer: it depends on the query and your data.
To write (and read and understand) a nested query might be easier than writing a non-nested one, but you might end up paying the price in reduced performance. During my previous database project we ended up rewriting quite a few of the more critical queries to avoid nesting and we saw order of magnitude performance improvements.
EXPLAIN is your friend. You should learn to love it and how to use it :)
http://www.postgresql.org/docs/current/static/sql-explain.html
Not really.
If you want to improve, does not forget to runs analyze on all tables periodically.
Your question is waaaaaaaaaaaaaaaaaaaaaaay too general. There isn't any inherent issue with using "nested" queries in Postgres, no matter how many levels deep. You need to post specific queries if you have issues.
Additionally...if you're designing a new system, then why 8.4 and not 9.0? And even on 8.4, you should update to 8.4.5.