anchor.diff:  -- In general, these will cause very significant performance
   -- problems in other areas.  A better approch is to carefully check
   -- that all your memory configuation parameters are
  --- suitable for the size of your installation.  If you backup
  +-- suitable for the size of your installation.	If you backup
   -- millions of files, you need to adapt the database memory
   -- configuration parameters concerning sorting, joining and global
   -- memory.  By default, sort and join parameters are very small
   -- (sometimes 8Kb), and having sufficient memory specified by those
  --- parameters is extremely important to run fast.
  +-- parameters is extremely important to run fast.  
   
   -- In File table
   -- FileIndex can be 0 for FT_DELETED files
   -- FileNameId can link to Filename.Name='' for directories
   CREATE TABLE File
   (
  -    FileId        bigserial   not null,
  -    FileIndex       integer   not null  default 0,
  -    JobId       integer   not null,
  -    PathId        integer   not null,
  -    FilenameId        integer   not null,
  -    DeltaSeq        smallint    not null  default 0,
  -    MarkId        integer   not null  default 0,
  -    LStat       text    not null,
  -    Md5         text    not null,
  +    FileId	      bigserial   not null,
  +    FileIndex	      integer	  not null  default 0,
  +    JobId	      integer	  not null,
  +    PathId	      integer	  not null,
  +    FilenameId	      integer	  not null,
  +    DeltaSeq	      smallint	  not null  default 0,
  +    MarkId	      integer	  not null  default 0,
  +    LStat	      text	  not null,
  +    Md5 	      text	  not null,
       primary key (FileId)
   );
   
  
positive.code: 
  CREATE TABLE counters
  (
      counter       text    not null,
      minvalue        integer   default 0,
      maxvalue        integer   default 0,
      currentvalue      integer   default 0,
      wrapcounter       text    not null,
      primary key (counter)
  );
  
  
negative.code:    MediaId INTEGER DEFAULT 0,
     LocationId INTEGER DEFAULT 0,
     newvolstatus text not null
  	check (newvolstatus in ('Full','Archive','Append',
  	      'Recycle','Purged','Read-Only','Disabled',
  	      'Error','Busy','Used','Cleaning','Scratch')),
     newenabled smallint,
     PRIMARY KEY(LocLogId)
  );
  