I changed the sppurge.sql and written a line to use my largest RBS when deleting. And then deleting 500 snaps lasts only 10 minutes in my db. And I also can advise you to replace DELETE with TRUNCATE in sppurge.sql.
Bunyamin Karadeniz Oracle DBA Havelsan A.S. Eskisehir yolu 7.km Ankara / Turkey Tel : +90 535 3357729 ----- Original Message ----- To: "Multiple recipients of list ORACLE-L" <[EMAIL PROTECTED]> Sent: Tuesday, July 09, 2002 1:34 AM > Jesse - I'm doing this from memory, so I may be off a little. Look at the > table STATS$SNAPSHOT. Records in this table are related to the other tables > that are populated each time a snapshot occurs (the magic of relationships). > If you delete a row from this table, rows in the other tables are > automatically deleted. Since deleting statistics is a low-risk proposition > for most of us, give it a try. Start by deleting 10 rows to start with, > because deleting is SLOOOW!! As I recall, deleting a 100 snapshots may take > 30 minutes. Anyway, this is the best way I've found to delete STATSPACK > statistics. > > Dennis Williams > DBA, 20% OCP > Lifetouch, Inc. > [EMAIL PROTECTED] > > > -----Original Message----- > Sent: Monday, July 08, 2002 3:25 PM > To: Multiple recipients of list ORACLE-L > > > Hi all, > > I'm going to (finally!) be implementing STATSPACK on our 8.1.7.2.0 DB. The > thing that kills me is all the junk that "?/rdbms/admin/sppurge.sql" leaves > behind! Is there any harm in deleting the rows from these tables: > > select table_name > from user_tab_columns > where column_name = 'SNAP_ID'; > > ...where the SNAP_ID is in the range I want to delete? > > I've seen a few messages in the archives that dealt with this, but none I > found were comprehensive in their deletes. Or am I just being too > aggressive with this? > > TIA! > > Rich Jesse System/Database Administrator > [EMAIL PROTECTED] Quad/Tech International, Sussex, WI USA > > -- > Please see the official ORACLE-L FAQ: http://www.orafaq.com > -- > Author: Jesse, Rich > INET: [EMAIL PROTECTED] > > Fat City Network Services -- (858) 538-5051 FAX: (858) 538-5051 > San Diego, California -- Public Internet access / Mailing Lists > -------------------------------------------------------------------- > To REMOVE yourself from this mailing list, send an E-Mail message > to: [EMAIL PROTECTED] (note EXACT spelling of 'ListGuru') and in > the message BODY, include a line containing: UNSUB ORACLE-L > (or the name of mailing list you want to be removed from). You may > also send the HELP command for other information (like subscribing). > -- > Please see the official ORACLE-L FAQ: http://www.orafaq.com > -- > Author: DENNIS WILLIAMS > INET: [EMAIL PROTECTED] > > Fat City Network Services -- (858) 538-5051 FAX: (858) 538-5051 > San Diego, California -- Public Internet access / Mailing Lists > -------------------------------------------------------------------- > To REMOVE yourself from this mailing list, send an E-Mail message > to: [EMAIL PROTECTED] (note EXACT spelling of 'ListGuru') and in > the message BODY, include a line containing: UNSUB ORACLE-L > (or the name of mailing list you want to be removed from). You may > also send the HELP command for other information (like subscribing). -- Please see the official ORACLE-L FAQ: http://www.orafaq.com -- Author: Bunyamin Karadeniz INET: [EMAIL PROTECTED] Fat City Network Services -- (858) 538-5051 FAX: (858) 538-5051 San Diego, California -- Public Internet access / Mailing Lists -------------------------------------------------------------------- To REMOVE yourself from this mailing list, send an E-Mail message to: [EMAIL PROTECTED] (note EXACT spelling of 'ListGuru') and in the message BODY, include a line containing: UNSUB ORACLE-L (or the name of mailing list you want to be removed from). You may also send the HELP command for other information (like subscribing).