Opened 10 years ago

Closed 10 years ago

#815 closed defect (fixed)

Port filestorage support with sqlite

Reported by: Dimitar Misev Owned by: Dimitar Misev
Priority: major Milestone: 9.0.x
Component: rasserver Version: development
Keywords: Cc: Peter Baumann
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 by Dimitar Misev, 10 years ago

patch submitted.

comment:2 by Dimitar Misev, 10 years ago

Resolution: fixed
Status: newclosed
Note: See TracTickets for help on using tickets.