Ignore:
Timestamp:
Aug 1, 2000, 3:50:24 AM (25 years ago)
Author:
bird
Message:

Tuning - indexes.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/tools/database/CreateTables.sql

    r3900 r3906  
    1 -- $Id: CreateTables.sql,v 1.13 2000-07-29 21:19:34 bird Exp $
     1-- $Id: CreateTables.sql,v 1.14 2000-08-01 01:50:24 bird Exp $
    22--
    33-- Create all tables.
     
    147147    UNIQUE i3(intname, dll, refcode),
    148148    INDEX  i4(dll, file),
    149     INDEX  i5(file),
    150     INDEX  i6(state),
     149    INDEX  i5(file. refcode),
     150    INDEX  i6(state, file),
     151    UNIQUE i7(state, refcode),
     152    UNIQUE i8(refcode, state),
     153    UNIQUE i9(dll, state, refcode),
    151154    UNIQUE u1(refcode),
    152155    UNIQUE u2(name, dll),
     
    175178    author   SMALLINT NOT NULL,
    176179    function INTEGER NOT NULL,
    177     UNIQUE u1(function, author)
     180    UNIQUE u1(author, function),
     181    UNIQUE u2(function, author)
    178182);
    179183
Note: See TracChangeset for help on using the changeset viewer.