You may wish to look into [GNU Radio][1]GNU Radio as the basic platform from which to develop your specific application. GNU Radio is based on the [Python][2]Python and [C][3]C programming languages using [SWIG][4]SWIG for the interface between the two. In GNU Radio you are essentially connecting various blocks (a functional processing unit with inputs and outputs) in a graphical form into "flowgraphs" to build your application. You can do a great deal of [customization of blocks][5]customization of blocks.
You can also add your own "private" extensions to GNU Radio using [Out of Tree][6]Out of Tree modules. You can do this by authoring in C or C++, for example. This perhaps would be a good approach for meeting your database interface requirements. You may find some ready made code on the Internet that you can use for this purpose.
You may also be able to use the File Sink block to output binary data to a file for post processing into your database. [1]: https://wiki.gnuradio.org/index.php/Main_Page [2]: https://www.python.org/ [3]: https://en.wikipedia.org/wiki/C_(programming_language) [4]: http://www.swig.org/ [5]: https://wiki.gnuradio.org/index.php/BlocksCodingGuide [6]: The use of meta data headers may also prove helpful to your application. See the https://wiki.gnuradio.org/index.php/OutOfTreeModulesfile_meta_sink Class Reference.