mirror of
https://github.com/DSpace/DSpace.git
synced 2025-10-23 09:53:09 +00:00
(Robert Tansley)
- Fixed numerous HTML syntax horrors - Added database schema diagram from Claudia Juergen - Moved Oracle install notes from ORACLE_README.txt to main docs (porting notes left in ORACLE_README.txt) git-svn-id: http://scm.dspace.org/svn/repo/trunk@1270 9c30dcfa-912a-0410-8fc2-9e0234be79fd
This commit is contained in:
@@ -1,63 +1,7 @@
|
||||
DSpace on Oracle
|
||||
Revision: 11-sep-04 dstuve
|
||||
|
||||
|
||||
1 Introduction
|
||||
2 Installing DSpace on Oracle
|
||||
3 Porting notes for the curious
|
||||
|
||||
|
||||
DSpace is now tested to work with Oracle 10x, and should work with
|
||||
version 9 as well. The installation process is quite simple, involving
|
||||
changinge a few configuration settings in dspace.cfg, and replacing a few
|
||||
Postgres-specific sql files in etc/ with Oracle-specific ones. Everything
|
||||
is fully functional, although Oracle limits you to 4k of text in text fields
|
||||
such as item metadata or collection descriptions.
|
||||
For people interested in switching from Postgres to Oracle, I know of
|
||||
no tools that would do this automatically. You will need to recreate the
|
||||
community, collection, and eperson structure in the Oracle system, and then
|
||||
use the item export and import tools to move your content over.
|
||||
|
||||
How to Install DSpace on Oracle
|
||||
|
||||
Things you need
|
||||
|
||||
Oracle 9 or 10
|
||||
Oracle JDBC driver
|
||||
sequence update script from Akadia consulting:
|
||||
currently incseq.sql at: http://akadia.com/services/scripts/incseq.sql
|
||||
(put in your dspace source /etc directory)
|
||||
|
||||
Installation procedure
|
||||
|
||||
1. Create adatabase for DSpace. Make sure that the character set is one
|
||||
of the Unicode character sets. DSpace uses UTF8 natively, and I would
|
||||
suggest that the Oracle database use the same character set. Create
|
||||
a user account for DSpace (we use 'dspace',) and ensure that it has
|
||||
permissions to add and remove tables in the database.
|
||||
|
||||
2. Edit the config/dspace.cfg file in your source directory for the
|
||||
following settings:
|
||||
|
||||
db.name = oracle
|
||||
db.url = jdbc.oracle.thin:@//host:port/dspace
|
||||
db.driver = oracle.jdbc.OracleDriver
|
||||
|
||||
3. Go to etc/oracle in your source directory and copy the contents
|
||||
to their parent directory, overwriting the versions in the parent:
|
||||
|
||||
cd dspace_source/etc/oracle
|
||||
cp * ..
|
||||
|
||||
You now have Oracle-specific .sql files in your etc directory, and
|
||||
your dspace.cfg is modified to point to your Oracle database and
|
||||
are ready to continue with a normal DSpace install, skipping the
|
||||
Postgres setup steps.
|
||||
|
||||
NOTE**** DSpace uses sequences to generate unique object IDs - beware
|
||||
Oracle sequences, which are said to lose their values when doing
|
||||
a database export/import, say restoring from a backup. Be sure
|
||||
to run the script etc/udpate-sequences.sql.
|
||||
(Installation notes moved to main DSpace documentation)
|
||||
|
||||
|
||||
Oracle Porting Notes for the Curious
|
||||
|
Reference in New Issue
Block a user