WSUS SQL sp_updatestats does not show any log in Japanese version

yachan 20 Reputation points
2023-02-05T06:48:05.0666667+00:00

I am running WSUS on Windows Server 2016 standard Japanese version.

https://learn.microsoft.com/en-us/troubleshoot/mem/configmgr/update-management/reindex-the-wsus-database

introducing WSUS DB maintenance script.

But the script results of sp_updatestats are not displayed.

The Japanese version OS or WID seem to be missing something to display.

Thank you for your advice.

Here is excution result attached

-indexrebuild.log

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,702 questions
Windows Server
Windows Server
A family of Microsoft server operating systems that support enterprise-level management, data storage, applications, and communications.
12,122 questions
{count} votes

6 answers

Sort by: Most helpful
  1. Adam J. Marshall 8,621 Reputation points MVP
    2023-02-06T00:46:23.31+00:00

    Translation of the lines at the bottom:

    Updating all statistics.2023-02-05 15:18:34.820

    以下の44行目から840行までが空白です。(Lines 44 to 840 below are blank.)

    Done updating statistics.2023-02-05 15:18:35.083

    1 person found this answer helpful.
    0 comments No comments

  2. yachan 20 Reputation points
    2023-02-06T07:24:33.2033333+00:00

    I am running WSUS on Windows Server 2016 standard Japanese version.

    https://learn.microsoft.com/en-us/troubleshoot/mem/configmgr/update-management/reindex-the-wsus-database

    This page is introducing WSUS DB maintenance script.

    But results of sp_updatestats in the script are not displayed.

    The Japanese version OS or WID seems to be missing something to display.

    Thank you for your advice.

    Bellow is a part of the script log

    rem index rebuild

    sqlcmd -S .\pipe\MICROSOFT##WID\tsql\query -i D:\Tools\IndexRebuild.sql

    Estimating fragmentation: Begin. 2023-02-05 15:18:34.343

    Number of indexes to rebuild: 16

    Estimating fragmentation: End. 2023-02-05 15:18:34.560

    2023-02-05 15:18:34.563 Executing: ALTER INDEX [tbBundleAtLeastOne_PK] ON [dbo].[tbBundleAtLeastOne] REORGANIZE

    2023-02-05 15:18:34.567 Done.

    2023-02-05 15:18:34.817 Executing: ALTER INDEX [PK__tbRevisi__433325832A6B00B0] ON [dbo].[tbRevisionSupersedesUpdate] REORGANIZE

    2023-02-05 15:18:34.817 Done.

    Estimated number of pages in fragmented indexes: 106835

    Estimated number of pages freed: 15

    Updating all statistics.2023-02-05 15:18:34.820

    there are about 800 blank lines here <<<

    Done updating statistics.2023-02-05 15:18:35.083

    1 person found this answer helpful.
    0 comments No comments

  3. yachan 20 Reputation points
    2023-02-06T07:30:16.65+00:00

    I am running WSUS on Windows Server 2016 standard Japanese version.

    https://learn.microsoft.com/en-us/troubleshoot/mem/configmgr/update-management/reindex-the-wsus-database

    introducing WSUS DB maintenance script.

    But the script results of sp_updatestats are not displayed.

    The Japanese version OS or WID seem to be missing something to display.

    Thank you for your advice.

    1 person found this answer helpful.
    0 comments No comments

  4. yachan 20 Reputation points
    2023-02-06T09:16:38.1133333+00:00

    indexrebuild.log

    Here is the log of the script.

    1 person found this answer helpful.
    0 comments No comments

  5. yachan 20 Reputation points
    2023-02-06T09:32:11.9933333+00:00
    1 person found this answer helpful.
    0 comments No comments