Select to view content in your preferred language

Does anyone truncate sde.sde_compress_log?

451
2
02-28-2024 02:20 PM
Labels (2)
JefferyGregg
Emerging Contributor

Hi all,

Does anyone truncate sde.sde_compress_log on a regular basis?  We are looking to manage our logs and this question came up.  Why or why not truncate the compress_log?

0 Kudos
2 Replies
MarceloMarques
Esri Regular Contributor

@JefferyGregg - the sde.compress_log table will not get many rows even if you are running the sde compress every day for years. The question is do you need to keep the history if you are troubleshooting any sde compress issues, I suggest to not truncate the table, and instead delete rows older than 30 days, 60 days, 90 days, the period that you do not need the history anymore.

| Marcelo Marques | Esri Principal Product Engineer | Cloud & Database Administrator | OCP - Oracle Certified Professional | "In 1992, I embarked on my journey with Esri Technology, and since 1997, I have been working with ArcSDE Geodatabases, right from its initial release. Over the past 32 years, my passion for GIS has only grown stronger." | “ I do not fear computers. I fear the lack of them." Isaac Isimov |
JefferyGregg
Emerging Contributor

Thank you Marcelo.  Yes, I agree with your logic.  I don't think we need all the history... just 90 days or so.  

jg

0 Kudos