Storing time-series data, relational or non?

I am creating a system which polls devices for data on varying metrics such as CPU utilisation, disk utilisation, temperature etc. at (probably) 5 minute intervals using SNMP. The ultimate goal is to provide visualisations to a user of the system in the form of time-series graphs. I have looked at using RRDTool in the … Read more

When and why are database joins expensive?

I’m doing some research into databases and I’m looking at some limitations of relational DBs. I’m getting that joins of large tables is very expensive, but I’m not completely sure why. What does the DBMS need to do to execute a join operation, where is the bottleneck? How can denormalization help to overcome this expense? … Read more

What are the options for storing hierarchical data in a relational database?

Good Overviews Generally speaking, you’re making a decision between fast read times (for example, nested set) or fast write times (adjacency list). Usually, you end up with a combination of the options below that best fit your needs. The following provides some in-depth reading: One more Nested Intervals vs. Adjacency List comparison: the best comparison … Read more