SE の雑記

SQL Server の情報をメインに Microsoft 製品の勉強内容を日々投稿

各種ソフトのショートカット / 設定ファイル / チートシート

leave a comment

Read the rest of this entry »

Written by Masayuki.Ozawa

1月 19th, 2025 at 8:00 pm

Posted in その他

Tagged with

検証用 SQL Server に導入するツール

leave a comment

Read the rest of this entry »

Written by Masayuki.Ozawa

12月 8th, 2022 at 9:51 am

Posted in SQL Server

Tagged with

SQL Server のベストプラクティスについて公開されているドキュメント

leave a comment

Read the rest of this entry »

Written by Masayuki.Ozawa

11月 15th, 2022 at 9:14 am

Posted in SQL Server

Tagged with

SQL Server Sample Databases

leave a comment

Read the rest of this entry »

Written by Masayuki.Ozawa

6月 16th, 2022 at 9:30 am

Posted in SQL Server

Tagged with

SQL Server-based environment updates

leave a comment

Read the rest of this entry »

Written by Masayuki.Ozawa

3月 22nd, 2022 at 10:53 am

Tools and Documents for fault analysis in SQL Server-based environments

leave a comment

Tools and Documents for fault analysis in SQL Server-based environments.

Read the rest of this entry »

Written by Masayuki.Ozawa

7月 7th, 2021 at 11:02 am

SQL Server / SQL Database アーキテクチャ ドキュメント

leave a comment

Read the rest of this entry »

Written by Masayuki.Ozawa

1月 13th, 2020 at 11:36 pm

Posted in SQL Server

Tagged with

SQL Server でロックのメモリを解放する

leave a comment

SQL Server ベースの環境でロックのメモリが大量に確保されてしまった場合に、どのようにすれば解放できるかについての投稿となります。

内容としては次の KB に記載されているものとなります。

KB2754301 – FIX: Large queries that modify data run slower than expected when many locks accumulate in a SQL Server 2008 R2 or in SQL Server 2012

Read the rest of this entry »

Written by Masayuki.Ozawa

10月 22nd, 2025 at 11:02 pm

Posted in SQL Server

Tagged with

SSMS 22 Preview 3 がリリースされ GitHub Copilot がサポートされました

leave a comment

本日、SQL Server Management Studio (SSMS) 22 Preview 3 がリリースされ、SSMS で GitHub Copilot のサポートが使用できるようになりました。

SSMS 22 Preview 3 は こちら からダウンロードすることができます。

SSMS 21 で導入された、Azure OpenAI ベースの Copilot は SSMS 21 で廃止となり、SSMS 22 からは GitHub Copilot が使用されることがアナウンスされていました。

SSMS 22 の Preview リリース当初は GitHub Copilot の実装は行われていなかったのですが、Preview 3 となり実際に使用することができるようになりました。

SSMS 22 Preview 3 をインストールする際に「AI アシスタンス」を追加することで SSMS 22 で GitHub Copilot が使用できるようになります。

image

GitHub Copilot の機能については、SQL Server Management Studio (プレビュー) の GitHub Copilot とは で確認することができます。

Read the rest of this entry »

Written by Masayuki.Ozawa

10月 15th, 2025 at 9:28 am

Posted in SQL Server

Tagged with

SSMS 拡張機能を作成する際の参考ドキュメント

leave a comment

最近、GitHub Copilot CLI を活用して、SQL Server Management Studio (SSMS) 拡張機能 (Extension) を作成できるのかを検証していました。

まだ実装を進めているのですが、Copilot CLI を使用して、SSMS 21 向けに拡張機能を作成することは実現でき始めています。
(スキーリゾート管理システム – マイクロサービスアーキテクチャ の Instruction.txt を参考にスペック駆動開発で進めています)

image

SSMS 拡張機能を作成する際に参考となる情報をまとめておきたいと思います。

Read the rest of this entry »

Written by Masayuki.Ozawa

10月 14th, 2025 at 9:55 am

Posted in SQL Server

Tagged with

Azure SRE Agent の情報を整理しておく

leave a comment

今月、Expanding the Public Preview of the Azure SRE Agent でアナウンスされましたが、Enterprise-Ready and Extensible: Update on the Azure SRE Agent Preview で限定的な Preview として公開されていた Azure SRE Agent が Public Preview となり、広範囲で使用できるようになりました。

先日開催された  Japan Azure User Group 15周年イベント のセッション内でも、このサービスの話題があったのですが SRE Agent の情報を軽くまとめておきたいと思います。

Read the rest of this entry »

Written by Masayuki.Ozawa

10月 7th, 2025 at 11:29 pm

Posted in Azure SRE Agent

Tagged with

SQL Server 2025 RC1 で実装された DMF / DMV

leave a comment

SQL Server 2025 RC1 で実装された DMF / DMV でドキュメントが公開されているものがあるかが気になったので確認をしてみました。

現状、ドキュメントで公開されているのは少なそうですね。

sys.dm_os_memory_health_history は直近 1 時間のメモリ使用量を確認できるようなので、どのように活用できるのかは研究してみたいですね。

Read the rest of this entry »

Written by Masayuki.Ozawa

10月 7th, 2025 at 9:49 pm

ストレージ検出ワークスペースの対応リージョンが増えていそうです

leave a comment

Azure ストレージの使用状況を把握するためには、従来から次のような方法が提供されています。

「ストレージセンター」を使用して、サブスクリプションのストレージアカウントを把握することもできるようになりました。

image

これ以外の方法として、「ストレージ検出ワークスペース」を使用して、サブスクリプション内のストレージアカウントを統合的に確認する方法が提供されています。

Read the rest of this entry »

Written by Masayuki.Ozawa

10月 2nd, 2025 at 6:43 am

Posted in Azure

Tagged with

Azure Local に 12.2509.1001.22 を適用しようとしたらエラーになった件について

leave a comment

Azure Local で 23H2 OS から 24H2 OS にアップグレードした環境の 12.2508.1001.52 に対して 12.2509.1001.22 を適用しようとしたところ、「更新プログラムのダウンロード」のフェーズで次のエラーが発生しました。

image

更新タスク
Invalid update package

結果
Error

開始時刻
2025-09-30T12:06:01.9065067Z

終了時刻
2025-09-30T12:07:54.9588102Z

説明
1. Verify update file contents and prepare the update package manually. For detailed instructions, see https://aka.ms/TroubleshootAzureStackUpdates

エラーの詳細
Could not find a part of the path ‘C:\ClusterStorage\Infrastructure_1\Shares\SU1_Infrastructure_1\Updates\Packages\Solution12.2509.1001.22\Platform\ISO\sources\replacementmanifests\microsoft-windows-appx-deployment-server\microsoft.windows.secondarytileexperience_10.0.0.0_neutral__cw5n1h2txyewy.xml’.

このエラーが発生した場合の対応について残しておこうと思います。

Read the rest of this entry »

Written by Masayuki.Ozawa

9月 30th, 2025 at 10:55 pm

Posted in Azure Local

Tagged with

SQL Server 2025 RC1 の提供が開始されました

leave a comment

SQL Server の製品候補版 (Release Candidate: RC) で RC1 の提供が開始されました。

RC1 の更新点については リリースノート で公開されています。

  • ベクターインデックスのパフォーマンス改善
    • DiskANN の拡張性強化
  • ベクターデータ型で float16 をサポート
  • バイナリフォーマットのベクターデータ型をネイティブにサポートするための BULK INSERT / OPENROWSET の改善
    • Microsoft.Data.SqlClient: バージョン 6.1.0 / Microsoft JDBC Driver for SQL Server: バージョン 13.1.0 Preview でネイティブベクターがサポートされる
    • それ以前のバージョンでは、JSON 文字列をシリアライズ / デシリアライズして活用
  • RHEL 10 のサポート

 

RC1 については次の記事が公開されています。

Written by Masayuki.Ozawa

9月 18th, 2025 at 9:33 am

QNAP の iSCSI ストレージを使用した SQL Server のスナップショットバックアップについて

leave a comment

ここ数日、ストレージの機能を使用した SQL Server のデータベースのスナップショットバックアップについて調査を行っていました。

手元で準備できる機材では、QNAP の iSCSI ストレージの機能を使用した場合に SQL Server のデータベースのスナップショットバックアップの検証を行うことができましたので、調査した内容をまとめておきたいと思います。

Read the rest of this entry »

Written by Masayuki.Ozawa

9月 16th, 2025 at 9:51 am

Posted in QNAP,SQL Server

Tagged with ,

SQL Server のマイグレーションツールの現状

leave a comment

従来まで、SQL Server ベースの環境のマイグレーションについては、Data Migration Assistant (DMA) / Azure Data Studio (ADS) の Migration 拡張機能を使用して、バージョンアップを含む移行の評価と移行を実行することができました。

DMA については、2025/07/16 に廃止となっており、ADS については 2026/02/28 に廃止がアナウンスされています。

今まではこれらのツールを使用して移行のための調査を実行していましたが、現在は調査方法が変わってきているので、情報を整理しておきたいと思います。

Read the rest of this entry »

Written by Masayuki.Ozawa

9月 10th, 2025 at 9:54 pm

Posted in SQL Server

Tagged with