Select to view content in your preferred language

Table SDE_LOGFILE_DATA

1106
3
Jump to solution
03-26-2012 12:32 AM
GundarsStarks
New Contributor
Hi!

Table SDE_LOGFILE_DATA has grown very large ~451 776 205 rows. And as it seems it slows down database performance, because of a number of running DELETE FROM [].SDE_logfile_data processes.
Is it possible and safe to clean the SDE_LOGFILE_DATA table(truncate or delete?) ?
Configuration: linux, Oracle10g, ArcSDE 9.2, using Shared log files.

Thanks,

Gundars
0 Kudos
1 Solution

Accepted Solutions
VinceAngelo
Esri Esteemed Contributor
You can often safely TRUNCATE the SDE_LOGFILES/SDE_LOGFILE_DATA pair if
you don't have any active applications dependent on the contents (no sessions
active for the user) *and* you haven't made any permanent logfiles you won't
mind losing in the process.  Make sure you TRUCATE or DROP  both together.

- V

View solution in original post

0 Kudos
3 Replies
VinceAngelo
Esri Esteemed Contributor
You can often safely TRUNCATE the SDE_LOGFILES/SDE_LOGFILE_DATA pair if
you don't have any active applications dependent on the contents (no sessions
active for the user) *and* you haven't made any permanent logfiles you won't
mind losing in the process.  Make sure you TRUCATE or DROP  both together.

- V
0 Kudos
yockee
by
Frequent Contributor

If I do TRUNCATE on both tables, do I have to stop the map/feature service first ? Which one should be truncated first ? I have similar issues where the table is in production.

yockee_0-1754290389042.png

 

If I have so many log tables, should I truncate all of them ? 

0 Kudos
George_Thompson
Esri Notable Contributor

It looks like those tables / files are used by users on the Enterprise Geodatabase. I am not sure I would truncate those table, unless all connections are not active and closed.

--- George T.