home *** CD-ROM | disk | FTP | other *** search
- Path: sparky!uunet!gumby!wupost!emory!emory!not-for-mail
- From: yaron@ortarg.edu.ar (Yaron Zarfati)
- Newsgroups: comp.databases.informix
- Subject: deleting large databses
- Date: 14 Dec 1992 13:48:06 -0500
- Organization: Mailing List Gateway
- Lines: 26
- Sender: walt@mathcs.emory.edu
- Distribution: world
- Message-ID: <1gikt6INN5ln@emory.mathcs.emory.edu>
- Reply-To: yaron@ortarg.edu.ar
- NNTP-Posting-Host: emory.mathcs.emory.edu
- X-Informix-List-ID: <list.1698>
-
- Hello, I am working in 4GL 4.00 under UNIX, and I need some help to solve
- this situation:
-
- I have a table that holds 12000 rows, this table has 4 indexes, some of
- them on one column and some combined.
-
- I have an initialization process that deletes all of the rows.
-
- This process takes from 1 to 2 hours. I experimented droping the indexes
- before deleting and creating them again after the table was empty, and
- the process took less time.
-
- Another solution was to drop and re-create the table, which would be the
- fastest way, and worked fine.
-
- But now I have to work on the security aspect, and all the databases were
- re-created by a database administrator, giving INSERT, DELETE,... privileges
- but I cant DROP TABLES, DROP INDEXES, CREATE TABLES, CREATE INDEXES, without
- having RESORCE privilege on the whole database, not only the table I am
- working with.
-
- Does somebody knows of a workaround for this situation ???
-
- Thanks in advance.
-
- Yaron
-