home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #30 / NN_1992_30.iso / spool / comp / database / informix / 2688 < prev    next >
Encoding:
Internet Message Format  |  1992-12-14  |  1.4 KB

  1. Path: sparky!uunet!gumby!wupost!emory!emory!not-for-mail
  2. From: yaron@ortarg.edu.ar (Yaron Zarfati)
  3. Newsgroups: comp.databases.informix
  4. Subject: deleting large databses
  5. Date: 14 Dec 1992 13:48:06 -0500
  6. Organization: Mailing List Gateway
  7. Lines: 26
  8. Sender: walt@mathcs.emory.edu
  9. Distribution: world
  10. Message-ID: <1gikt6INN5ln@emory.mathcs.emory.edu>
  11. Reply-To: yaron@ortarg.edu.ar
  12. NNTP-Posting-Host: emory.mathcs.emory.edu
  13. X-Informix-List-ID: <list.1698>
  14.  
  15. Hello, I am working in 4GL 4.00 under UNIX, and I need some help to solve
  16. this situation:
  17.  
  18.   I have a table that holds 12000 rows, this table has 4 indexes, some of
  19.   them on one column and some combined.
  20.  
  21.   I have an initialization process that deletes all of the rows.
  22.  
  23.   This process takes from 1 to 2 hours. I experimented droping the indexes
  24.   before deleting and creating them again after the table was empty, and
  25.   the process took less time.
  26.  
  27.   Another solution was to drop and re-create the table, which would be the
  28.   fastest way, and worked fine.
  29.  
  30.   But now I have to work on the security aspect, and all the databases were
  31.   re-created by a database administrator, giving INSERT, DELETE,... privileges
  32.   but I cant DROP TABLES, DROP INDEXES, CREATE TABLES, CREATE INDEXES, without
  33.   having RESORCE privilege on the whole database, not only the table I am 
  34.   working with.
  35.  
  36.   Does somebody knows of a workaround for this situation ???
  37.  
  38.   Thanks in advance.
  39.  
  40.   Yaron
  41.