Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 130023
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 11, 20262026-05-11T05:52:57+00:00 2026-05-11T05:52:57+00:00

We are in evaluating technologies that we’ll use to store data that we gather

  • 0

We are in evaluating technologies that we’ll use to store data that we gather during the analysis of C/C++ code. In the case of C++, the amount of data can be relatively large, ~20Mb per TU.

After reading the following SO answer it made me consider that HDF5 might be a suitable technology for us to use. I was wondering if people here could help me answer a few initial questions that I have:

  1. Performance. The general usage for the data will be write once and read ‘several’ times, similar to the lifetime of a ‘.o’ file generated by a compiler. How does HDF5 compare against using something like an SQLite DB? Is that even a reasonable comparison to make?

  2. Over time we will add to the information that we are storing, but will not necessarily want to re-distribute a completely new set of ‘readers’ to support a new format. After reading the user guide I understand that HDF5 is similar to XML or a DB, in that information is associated with a tag/column and so a tool built to read an older structure will just ignore the fields that it is not concerned with? Is my understanding on this correct?

  3. A significant chunk of the information that we wish to write out will be a tree type of structure: scope hierarchy, type hierarchy etc. Ideally we would model scopes as having parents, children etc. Is it possible to have one HDF5 object ‘point’ to another? If not, is there a standard technique to solve this problem using HDF5? Or, as is required in a DB, do we need a unique key that would ‘link’ one object to another with appropriate lookups when searching for the data?

Many thanks!

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. 2026-05-11T05:52:58+00:00Added an answer on May 11, 2026 at 5:52 am

    How does HDF5 compare against using something like an SQLite DB? Is that even a reasonable comparison to make?

    Sort of similar but not really. They’re both structured files. SQLite has features to support database queries using SQL. HDF5 has features to support large scientific datasets.

    They’re both meant to be high performance.

    Over time we will add to the information that we are storing, but will not necessarily want to re-distribute a completely new set of ‘readers’ to support a new format.

    If you store data in structured form, the data types of those structures are also stored in the HDF5 file. I’m a bit rusty as to how this works (e.g. if it includes innate backwards compatibility), but I do know that if you design your ‘reader’ correctly it should be able to handle types that are changed in the future.

    Is it possible to have one HDF5 object ‘point’ to another?

    Absolutely! You’ll want to use attributes. Each object has one or more strings describing the path to reach that object. HDF5 groups are analogous to folders/directories, except that folders/directories are hierarchical = a unique path describes each one’s location (in filesystems w/o hard links at least), whereas groups form a directed graph which can include cycles. I’m not sure whether you can store a ‘pointer’ to an object directly as an attribute, but you can always store an absolute/relative path as a string attribute. (or anywhere else as a string; you could have lookup tables galore if you wanted.)

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

Am currently evaluating the best RIA technologies to use for building a new e-commerce
I'm currently evaluating the technologies we want to use for our next project. It
I'm currently evaluating the MSF for CMMI process template under TFS for use on
I'm evaluating and looking at using CherryPy for a project that's basically a JavaScript
We are currently evaluating different applications that interface with Visual Studio 2008 (C#) and
I'm currently evaluating CodeRush and one thing that I liked most when reading the
I am evaluating several technologies for an open source app for the google app
I'm evaluating PDF rendering technologies. XSL-FO is our chosen path because its an open
I've been evaluating several opensource message queue technologies, such as RabbitMQ, ActiveMQ, OpenAMQ, etc.
I'm evaluating a bunch of email validation techniques and someone of them output that

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.