next up previous
Next: Initialization of database Up: Operations of irpr Previous: Operations of irpr

Creation of directories of irpr

The database of irpr and the system's files should be located in such directories as follows.

~/irpr
Locate database.init, startup.kappa and AddInput.doc in this directory.
Execute kappa command at this directory.
database.init
This is the database initialization file. Following is an example of the content.
     page_size(4096).
     ldbms("LDBMS000"):-
         control(500),index(3500),record(3500),overflow(100),log([{1000,3}]).
startup.kappa
This is the kappa configuration file. Following is an example of the content.
     [
      {"LDBMS000",
        {{150,500,10,2},{{{200,100},{200,100},{2,1}},20},
         {"system",'CLM_Table',10,10}},
        ["CA000","IA000","RA000","OA000"],"LG000", 0, nil}
     ].
AddInput.doc
This file is used by the utility of adding redords. Describe the information of the table definition as follows.
      [meibo_history([1]),meibo([1]),meibo_id([1])].
In this case three tables named meibo_history, meibo and meibo_id are defined without horizontal patitioning.

~/irpr/bin
Kappa executable file and irpr_client executable file should be placed here. For these executable files pathname of this directory should be added to PATH environment variable.