Project Outline: Minos Oracle Server

a.k.a. Dennis and friends to-do list 11/06/03

Tasks that have been completed as of 12/10/03 are colored green

  1. Set up a Development Server
    Currently use odets2.fnal.gov, a FRHL 7.3 2 box in Nelly Stanfields' office running Oracle 9i.

    TO DO LIST
    1. create read-only logins on server
    2. inform users that logins exist (reader/reader@minosdev)

  2. Populate Development Server
    To date: have written some perl scripts analagous to load_tables.sh described here. These scripts take the priming data files from /afs/fnal.gov/files/data/minos/database_dumps/ and move them into the oracle database on odets2.

    Running the scripts revealed the following:

    TO DO LIST
    1. get space on dev server
    2. change scripts to handle format errors in DBILOGENTRY,
      DBUSUBRUNSUMMARY, and UGLIDBISTRIPSTRUCT tables
    3. repopulate with latest priming data
    4. identify and create primary keys for data tables
    5. cvs checkin scripts

  3. Test DB Independent Checksum Program

    Spot checking has been done so far, the oracle checksumming is slower than the mysql. As an example checking the CALGAINDRIFTREFERENCE table with 406866 rows took 40.89 seconds wall clock time for mysql, and 1 minute 18.90 seconds for Oracle. The lack of primary keys for the data tables may exacerbate the slower retrieval times for Oracle as an 'order by' clause has to do more sorting when no primary key is specified.

    TO DO LIST
    1. alter checksum script to handle default date differences between mysql and oracle
    2. systematically check all tables in mysql offline vs oracle development
    3. change checksum program to do incremental as well as full checksums

  4. Verify that RDBC/Oracle_ODBC/DBMAuto Still Works

    Last tested March 2003. Had to come up to speed on some changes to cvs/openssh configurations. Trying to compile now, running into (I suspect self inflicted) compile problems.

    TO DO LIST
    1. compile, run RDBC/io test suite against oracle
    2. run RDBC example programs against oracle

  5. Set UP DBMAuto Replication
    1. from minos-db1.fnal.gov(mysql) to odets2.fnal.gov(oracle)
    2. from odets2.fnal.gov(oracle) to fndapl.fnal.gov(mysql) or equivalent
    3. Change DBMAuto Scripts to use DB independent checksum

    TO DO LIST
    1. the above 3 steps (yes I know thats a skimpy
      description for a lot of work! I will flesh this out.)

  6. Set up Oracle Production Server

    TO DO LIST
    1. aquire hardware, sign MOU's
    2. DBA's and sysadmins install and configure hardware/software
    3. export data/schema from development server
    4. import into production server
    5. change DBMAuto configuration files to point into and out of new server

Dennis Box
Last modified: Thu Dec 11 10:28:24 CST 2003