Quantcast
Channel: SCN : Unanswered Discussions - SAP HANA and In-Memory Computing
Viewing all articles
Browse latest Browse all 4343

Log_Segments in Truncated State

$
0
0

We have been playing with backing agent to enable backups for third party tool. We had some errors and had to disable automatic log backup. and Log Mode to over write. I just realized that log segments are being filled and its close to 91% now. I checked the status of Log Segments using view M_LOG_SEGMENTS and see that all the Log segments have state "Truncated".

 

Also when I run the following SQL to check the count of Log Segments

 

select b.host, b.service_name, a.state, count(*) from "PUBLIC"."M_LOG_SEGMENTS" a join "PUBLIC"."M_SERVICES" b on (a.host = b.host AND a.port = b.port) group by b.host, b.service_name, a.state;


It shows 563 Count for Truncated and 1 for writing on each node. The current setting for log mode is overwrite and auto log back is disabled. I read somewhere we need to restart the system to free up the log segments.


Do we have any other solution to free up log segments without bouncing the server.


Mahesh Shetty





Viewing all articles
Browse latest Browse all 4343

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>