If this is your first visit, be sure to check out the FAQ by clicking the link above. You may have to register before you can post: click the register link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below.

 
Go Back  dBforums > Database Server Software > DB2 > NoSQL vs SQL/XML

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1 (permalink)  
Old 06-02-11, 17:17
jbaris jbaris is offline
Registered User
 
Join Date: Jun 2011
Posts: 1
NoSQL vs SQL/XML

Hello everyone
We are trying to adopt MongoDB basically for its schema-less nature.
In other words, we have to persist objects with dynamic-structures and
then able to querying for its attributes. Currently, our datasource is
DB2, and we have to persist millions of schema-less-objects (aprox 10
millions per month).
So, we have two alternatives:
- to use MongoDB (or another document-based DB)
- to use the SQL/XML feature of DB2 (https://www.ibm.com/developerworks/d...-0603saracco2/)

Both alternatives have pros and cons:
1) with DB2 SQL/XML we only have to admin, and maintain (consider
backups, security, support) only ONE datasource
2) with DB2 SQL/XML the developer's machine refer/keeps only ONE
datasource
3) with MongoDB, the querying is more simple and intuitive (sorts,
ranges, aggregations, distinct)
4) with MongoDB, we have support of SpringData(Spring Data - MongoDB | SpringSource.org) or DataNucleus (DataNucleus Access Platform - MongoDB Datastore)
to get a data source abstraction
5) with DB2 we have to create a custom type to mapping the XML
attribute, but this feature is purelly database specific (non
standard)
6) Scalability: MongoBD appears to be so scalable, and DB2 SQL/XML too
(DB2 9 XML performance characteristics)
7) HA or replication: both have replications features

Questions:
1) what other features we must consider? (besides to the above mentioned)
2) which alternative is better considering that cuestions

Any comments are welcome
Thanks you
Reply With Quote
Reply

Tags
db2, mongodb, nosql, scalability, sql

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On