Choosing DBMS for sensor network like system

 
Thread Tools Search this Thread
Special Forums UNIX and Linux Applications Choosing DBMS for sensor network like system
# 1  
Old 05-09-2012
Choosing DBMS for sensor network like system

This is just a problem with our current system. We have a distributed number of stations all around the country gathering information and sending to our database. number stations are about 300 and our database server is Postgresql 8.4 running on Debian 6.(two quad core xeon with a single 1TB hard disk). because it doesn't scale very good we decided to change our architecture. because of lots of relational and non relational systems out there, I have problem choosing for our needs. here is our challenges:
  1. current system is generating 4 million records per day. we are planning to go beyond 1000 stations. we need a product that could handle 2000+ connections per second on our current server in next 5 years.
  2. we do not need much tests on data validity.(I think we need NoSQL here). stations don't even check that data is delivered or not. they just send and pass.
  3. currently we are using triggers to update our report tables based on input data. the problem is after a month we got bloat indexes which need many maintenance tasks. Is there any trigger like mechanisms that doesn't cause bloat indexes or we should forget real time report generations and use OLAP products?
  4. the DBMS should handle at maximum 5TB of data on a single table. on our current system because it gets high load, we delete past data (past two or three month). thus we can not take reports from data that belongs to last year.
  5. we doesn't need much ACID features. we need simple insert and select. We don not have two phase commit in our systems. we need extreme fast inserts.
  6. Is table partitioning good for our problem? (we categorize our data based on date)
  7. As I said we need real time reports.(when I say real time I mean if reports is for yesterday, it doesn't have problem). Are there any open source OLAP product for direct feed?
  8. we do not need much high availability that force us use cluster.
# 2  
Old 05-09-2012
How you need to store the data really depends on what you're doing with it... What kind of reports are you generating? What sort of ordering?
# 3  
Old 05-09-2012
each record is like this:
<record id>, <station id>,<x1>,<x2>,<x3>,<capture-time>

almost all reports are based on time.
1. total sum of x1 for station_id = 223 between month 8 to 12
2. total sum of x1 for station_id = 2344, 123 which x2 is less than 13 in month 1, day 12 to 23
3. total number of x3 during night hours in year 2008
# 4  
Old 05-09-2012
Is a relational database really what you need? When your records all end up in date order anyway, the index overhead is pointless... A binary search suffices.
This User Gave Thanks to Corona688 For This Post:
# 5  
Old 05-09-2012
That's why we are getting problem and I'm looking for a good dbms for this case. I think relational DB are not suitable for us. I'm considering to use MongoDB.
Login or Register to Ask a Question

Previous Thread | Next Thread

5 More Discussions You Might Find Interesting

1. AIX

Network File System using HACMP

Hi, I have an HACMP cluster with two nodes. The Resource Group contains a VG which in turn has a FS created in it say /test.. Now I want that FS to be mounted through NFS on some other AIX servers as well. What would be the best way to do this? Regards, (2 Replies)
Discussion started by: aixromeo
2 Replies

2. SCO

Ingres dbms on sco unix

Hi everybody. I'm going to install ingres on sco unix 5.0.7. A client version may be usefull. I want to know how can I get appropriate version and how to install ingres on sco unix. thanks. (1 Reply)
Discussion started by: javad1_maroofi
1 Replies

3. Linux

network audio system

The Network Audio System (NAS) Anybody have any luck with nasd or xmms-nas with any 2.6 distribution? Works fine under FreeBSD (6.0/7.0). (0 Replies)
Discussion started by: ramen_noodle
0 Replies

4. Shell Programming and Scripting

Taking a system off a network on a system

say i have a system on thats on a network with access to the internet. now, i have sensitive information on this system and i do not want the system to be connected to the outside world anymore. how do i get it off the network without actually having to disconnect the cables? i'm asking this... (4 Replies)
Discussion started by: Terrible
4 Replies

5. UNIX for Advanced & Expert Users

Network and System files

I was given this question and cannot seem to answer it. "Identify 4 network and 4 sytem files that control how the system and network function (other than rc files)." The problem is I only know of rc files. Can anyone help? (2 Replies)
Discussion started by: trip
2 Replies
Login or Register to Ask a Question