RE: STATSPACK and sppurge.sql
Referential integrity? What's that? ;) Cool. None of the 3rd party systems implemented here use it, so it didn't even cross my mind to check. Thanks! Rich Jesse System/Database Administrator [EMAIL PROTECTED] Quad/Tech International, Sussex, WI USA > -Original Message- > From: DENNIS WILLIAMS [mailto:[EMAIL PROTECTED]] > Sent: Monday, July 08, 2002 5:34 PM > To: Multiple recipients of list ORACLE-L > Subject: RE: STATSPACK and sppurge.sql > > > 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 -- 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).
Re: STATSPACK and sppurge.sql
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).
RE: STATSPACK and sppurge.sql
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).
RE: STATSPACK and sppurge.sql
OK, it looks like I should probably leave STATS$DATABASE_INSTANCE alone and STATS$SQLTEXT will have to be dealt with, but the other tables? TIA*2! Rich Jesse System/Database Administrator [EMAIL PROTECTED] Quad/Tech International, Sussex, WI USA > -Original Message- > From: Jesse, Rich > Sent: Monday, July 08, 2002 2:22 PM > To: '[EMAIL PROTECTED]' > Subject: STATSPACK and sppurge.sql > > > 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).