On Sat, Jun 23, 2012 at 2:28 PM, Simon Slavin <[email protected]> wrote:
> On 23 Jun 2012, at 7:14pm, "Peter M. Friedrich" 
> <[email protected]> wrote:
>
>> do you think it's possible to create a different backend? I want to
>> develop a relational database system which uses tables in FITS-files
>> (for details about this format see
>> http://fits.gsfc.nasa.gov/fits_standard.html). I guess it would be a
>> good idea to use an approved database like SQLite with a new backend -
>> in this case a different BTree-implementation.
>
> Two ways to do it.  You can create your own virtual table mechanism
>
> <http://www.sqlite.org/vtab.html>
>
> or you can implement your own virtual file system
>
> <http://www.sqlite.org/c3ref/vfs.html>
>
> A third alternative is to jettison the SQLite name entirely and just to take 
> some of the source code that makes up SQLite and use it for your own software 
> which accesses FITS files.  You don't need any license to use any of the 
> SQLite source code, just use it and (for preference) credit the SQLite team 
> for supplying it.

Another option is to do that Berkeley DB way
(http://www.oracle.com/technetwork/products/berkeleydb/overview/index-085366.html).
They use SQLite's API, full SQL engine from SQLite and execute it on
their own implementation of BTree.


Pavel
_______________________________________________
sqlite-users mailing list
[email protected]
http://sqlite.org:8080/cgi-bin/mailman/listinfo/sqlite-users

Reply via email to