Two Laptop Bag*
The moose likes MongoDB and the fly likes NOSQL Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Databases » MongoDB
Bookmark "NOSQL" Watch "NOSQL" New topic
Author

NOSQL

Arjun Shastry
Ranch Hand

Joined: Mar 13, 2003
Posts: 1874
Hi,
We have logging and exception handling mechanism which basically uses Database to store logs and exceptions. Many times, DB space gets full and older logs need to be deleted. Can NOSQL databases like MongoDB/Cassandra be used for storing logs/exceptions? i know question is very vague and depends on many factors.
Is there anybody who has seen migrating from RDBMS to NoSQL DB in production ?


MH
Tim Moores
Rancher

Joined: Sep 21, 2011
Posts: 2408
It's unlikely that some other DB will need significantly less space for that data than whatever you're currently using. Switching DBs instead of buying a larger hard disk (or archiving old stuff regularly) seems a curious choice.
Arjun Shastry
Ranch Hand

Joined: Mar 13, 2003
Posts: 1874
Thanks. Other point is JMS Queues are used before log data goes to DB. Manytimes, large number of messages lie on queue as a result processing happens very slow. So logs become available after 4/5 Hrs! Processing of logs/exceptions need to be fast and ofcourse searching of logs.
Tim Moores
Rancher

Joined: Sep 21, 2011
Posts: 2408
Sounds like a problem with the message queue, or the server that handles it.
Arjun Shastry
Ranch Hand

Joined: Mar 13, 2003
Posts: 1874
There is no problem with queue/JMS server. Its just total number of messages in large numbers. and JMS queue receivers who put the data in DB are limited so processing takes time.
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: NOSQL