how to query the history of memory configuration change

중석 김 1 Reputation point
2021-10-21T07:20:45.22+00:00

As title, how to query the history of memory configuration change in SSMS?
I already know how to check the history log of memory configuration change in SQL Log Viewer but I'd like to know how to query this.
In SQL Log Viewer, there are so many logs that I don't want to see so that's why I'm asking how to query it.

Do you have any idea or tips to share? Thanks in advance.

SQL Server
SQL Server
A family of Microsoft relational database management and analysis systems for e-commerce, line-of-business, and data warehousing solutions.
12,700 questions
{count} votes

3 answers

Sort by: Most helpful
  1. Nilsson Fredrik K 6 Reputation points
    2021-10-21T07:45:44.383+00:00

    Re you looking for something like:

    EXEC sys.sp_readerrorlog @p1 = 0, @p2 = 1, @p3 = N'max server memory (MB)';

    ?

    Where @p1 = 0 is the current log, I just read this myself from here (https://dba.stackexchange.com/questions/89815/when-was-a-database-taken-offline), from what i understand you can not search all available logs. you have to step through them...

    1 person found this answer helpful.
    0 comments No comments

  2. AmeliaGu-MSFT 13,961 Reputation points Microsoft Vendor
    2021-10-21T08:54:58.657+00:00

    Hi 86232577,
    In addition, you can view the memory configuration history in the SSMS-> right-click the server name->Reports -> Standard Reports->Configuration Changes History.

    142394-image.png

    142348-image.png

    Best Regards,
    Amelia


    If the answer is the right solution, please click "Accept Answer" and kindly upvote it. If you have extra questions about this answer, please click "Comment".
    Note: Please follow the steps in our documentation to enable e-mail notifications if you want to receive the related email notification for this thread.

    1 person found this answer helpful.
    0 comments No comments

  3. Olaf Helper 40,741 Reputation points
    2021-10-21T07:47:14.76+00:00

    Do you have any idea or tips to share?

    In SSMS Logfile View use the "Filter ..." function on top to filter on entries you are looking for.

    0 comments No comments