Opened 3 years ago

Closed 3 years ago

#815 closed defect (fixed)

Port filestorage support with sqlite

Reported by: dmisev Owned by: dmisev
Priority: major Milestone: 9.0.x
Component: rasserver Version: development
Keywords: Cc: pbaumann
Complexity: Medium

Description

Enable rasserver to use sqlite instead of postgresql. Postgresql is still needed however by petascope and rasimport.

To use sqlite instead of postgresql, use

./configure ... --with-default-basedb=sqlite

In rasmgr.conf the connect string should be an absolute path to the RASBASE database, which should normally be `$RMANHOME/data/RASBASE (automatically used in the create_db.sh script), e.g.

define dbh rasdaman_host -connect /path/rasdaman_install/data/RASBASE

The directory where the database and BLOB files are stored is normally $RMANHOME/data/RASBASE.

The default directory where the BLOB files are stored can be changed

  • by a ./configure parameter --with-filedatadir=PATH
  • by setting an environment variable RASDATA

Change History (2)

comment:1 Changed 3 years ago by dmisev

patch submitted.

comment:2 Changed 3 years ago by dmisev

  • Resolution set to fixed
  • Status changed from new to closed
Note: See TracTickets for help on using tickets.