Download as pdf or txt
Download as pdf or txt
You are on page 1of 2

2019-03-01 11838

11838 - Deletion of short dumps from table SNAP


Version 8 Type SAP Note
Language English Master Language German
Priority Recommendations / Additional Info Category Consulting
Release Status Released for Customer Released On 11.10.2018
Component BC-ABA-LA ( ABAP Syntax, Compiler, Runtime )

Please find the original document at https://launchpad.support.sap.com/#/notes/ 11838

Symptom

Keyword: SNAP
The SNAP table is very large. It contains many (very old) records that are no
longer required.

Reason and Prerequisites

Writing short dumps. Normal growth.

Solution

There are different ways of deleting short dumps from the SNAP table. However,
before you delete them, you must analyze the cause of the short dump (using
transaction ST22).

1. Dump analysis: Reorganization


Go to 'ABAP/4 dump analysis' (in transaction ST22). Choose 'Reorganization'.
Here, you can now specify that all short dumps older than n days (default 7,
as of Release 7.00, 28 days) should be deleted.
CAUTION: If a large amount of records are deleted simultaneously during the
reorganization, ORACLE error ora1562 'failed to extend rollback segment ...'
may occur. In this case, refer to error Note 6328.
2. Drop and recreate the SNAP table
You can use the database utility (transaction SE14) to drop and recreate the
table SNAP.
CAUTION: When you do this, ALL short dumps are deleted.
3. Reorganization program RSSNAPDL
To avoid database problems, this program deletes old short dumps gradually
from the SNAP table unless they are selected for retention. With standard
setting all short dumps that are older than 7 days (28 days as of Release
7.00) and that are not flagged are deleted. Since this program occupies the
database when large datasets are processed, it should be scheduled to run
overnight. Standard scheduling is carried out by the program RSNAPJOB. The
program RSSNAPDL is started daily at 1 a.m.
These reorganization programs are available at the latest as of Release
2.1G/2.2A.
4. The SNAP is also automatically reorganized. In the case of each short dump
that occurs in the dialog (the dump is displayed immediately after it takes
place), a maximum of 20 short dumps that are older than 7 days (28 days as
of Release 7.0) are deleted from SNAP. In normal production operation this
reorganization should be sufficient.

© 2019 SAP SE or an SAP affiliate company. All rights reserved 1 of 2


2019-03-01 11838

This document refers to

SAP Note/KBA Title

706478 Preventing Basis tables from increasing considerably

This document is referenced by

SAP Note/KBA Title

1995777 Dump deleted within a short period of time ST22

2496091 SNAP_NO_NEW_ENTRY

706478 Preventing Basis tables from increasing considerably

© 2019 SAP SE or an SAP affiliate company. All rights reserved 2 of 2

You might also like