]> andersk Git - moira.git/blame - db/README
Oracle and Solaris/POSIX changes
[moira.git] / db / README
CommitLineData
af793a86 1/mit/moiradev/db/README: $Header$
2
3This directory contains stuff necessary to create and initialize a
4Moira database. Note that some other directories rely on files here
5(notably newdb), and that the newmoira program relies on other files.
6
7STEPS TO CREATE A DATABASE (Ingres-specific instructions):
8
9-1.Make sure there is enough disk space on the partition which is to
10 hold the database. Building the indexes for Athena takes something
11 like 50 Meg of free disk space, *after* the ~100 Meg for the base DB.
120. If necessary, run "destroydb moira" from the shell. [a few seconds]
131. Run "createdb moira" from the shell. [a minute or so]
142. Run the sql commands in src/db/schema to create the tables. [a few seconds]
153. Run mrrestore. [10-20 hours on a decstation]
164. If you want any queries to be publically executable, change their
51e7c423 17 capacls entries from list_id 2 to 1.
af793a86 185. Run the sql commands in src/db/dbopt to create indices on the data.
19 Any failures are probably due to insufficient disk space. (Check
20 /ingres/files/errlog.log to make sure.) [ <= 1 hour on a decstation]
21
51e7c423 22
23Example:
24
af793a86 25 createdb moira
26 sql moira
27 \include schema
28 \go
29 \quit
30 /moira/bin/mrrestore moira
31 yes
32 yes
33 <path prefix with trailing '/'>
34 yes
35 sql moira
36 \include dbopt
37 \quit
51e7c423 38
39
40THINGS TO DO:
41
68566efb 42automate generation of stub procs in newmoira.qc
This page took 0.091101 seconds and 5 git commands to generate.