cancel
Showing results for 
Search instead for 
Did you mean: 

how to know the history of shrinking log files in mssql

Former Member
0 Kudos

hello,

In my SAP system some one shrinked the log file to 100 GB to 5 GB.How we would check when this

was shrinked recently .

Regards,

ARNS.

Accepted Solutions (0)

Answers (1)

Answers (1)

rejish_balakrishnan
Contributor
0 Kudos

hi,

Did u check the logfile in sapdirectory.There will be entry of who changed the size and the time.

Also,

Goto the screen where we usually change the logfile size.In that particular field press f1 and goto technical setting screen. Get the program name , table name and field name.

Now using se11 try to open the table and check whether the changed by value is there for that table.

Also open the program and debug at change log file process block.use can see in which table it update the changes.

There is a case of caution in this case.

The size of the application server's System Log is determined by the

following SAP profile parameters. Once the current System Log reaches

the maximum file size, it gets moved to the old_file and and a new

System Log file gets created. The number of past days messages in the

System Log depends on the amount/activity of System Log messages and the

max file size. Once messages get rolled off the current and old files,

they are no longer retrievable.

rslg/local/file /usr/sap/<SID>/D*/log/SLOG<SYSNO>

rslg/local/old_file /usr/sap/<SID>/D*/log/SLOGO<SYSNO>

rslg/max_diskspace/local 1000000

rslg/central/file /usr/sap/<SID>/SYS/global/SLOGJ

rslg/central/old_file /usr/sap/<SID>/SYS/global/SLOGJO

rslg/max_diskspace/central 4000000 .

Former Member
0 Kudos

hello,

I am asking about the shrink of transaction log file shrink in mssqlserver.

Regards,ARNS.