EnterpriseZine(エンタープライズジン)編集部では、情報システム担当、セキュリティ担当の方々向けに、EnterpriseZine Day、Security Online Day、DataTechという、3つのイベントを開催しております。それぞれ編集部独自の切り口で、業界トレンドや最新事例を網羅。最新の動向を知ることができる場として、好評を得ています。
適用対象:SQL ServerAzure SQL Managed Instance SQL Server Profiler を使用して、トレースに含めるイベント クラスとデータ列を定義するテンプレートを作成できます。 テンプレートを定義して保存したら、選択したイベント クラスごとにデータを記録するトレースを実行できます。 テンプレートは多くのトレースで使用できますが、テンプレート自体は実行できません。 SQL Server Profiler には、事前に定義済みのトレース テンプレートが用意されています。これにより、特定のトレースで必要になる可能性が高いイベント クラスを簡単に構成できるようになります。 たとえば、Standard テンプレートは、ログイン、ログアウト、完了したバッチ、および接続に関する情報を記録するための汎用トレースの作成に役立ちます。 このテンプレートは、変更しないでト
以前、SQLServer2000、SQLServer2005の自習書を当Blogで紹介したの ですが、「サンプルコードライブラリ」というコンテンツが公開されて います。 http://www.microsoft.com/japan/msdn/sqlserver/SmpCodeLib/ 開発編 ADO.NET SQLCLR Web サービス Transact-SQL Integration Services Express 編 基本操作 開発基礎 ビジネス インテリジェンス編 Reporting Serivces Report Builder Analysis Services 管理編 レプリケーション SQLCMD サーバー監視(*) バックアップ / リカバリ セキュリティ(*) ざっと見ただけでもかなりのボリュームです。お金かかってるなあ・・・。 TSQL_Grouped:特定のクライ
このトピックでは、ApsaraDB RDS for SQL Serverインスタンスのパフォーマンスをテストするために使用されるHammerDBテストツールについて説明します。 このトピックでは、HammerDBのインストール方法についても説明します。 HammerDBの紹介 HammerDBは、データベースの主要なベンチマークおよび負荷テストツールです。 このオープンソースツールは、LinuxおよびWindowsオペレーティングシステムをサポートし、さまざまなデータベースシステムのテストに使用できます。 HammerDBは、自動テスト、マルチスレッドサポート、動的スクリプト、および拡張機能を備えています。 HammerDBは、Oracle、SQL Server、Db2、TimesTen、MySQL、MariaDB、PostgreSQL、Greenplum、Postgres Plus Ad
最終更新 2019-09-11 クラウドのリレーショナル・データベースサービス Amazon RDS、Azure SQL Database、Google Cloud SQL について、機能・料金・管理面などの比較をしてみます。 2019/06/21、Amazon RDS にて Aurora 以外にも容量自動拡張機能が追加されました。詳細019/04/26、Amazon RDS の 1時間単位の課金が秒単位 (ただし最低利用10分) になったことを追記。2019/04/10、DBバージョン・CPU・メモリ等を最新化。Azure SQL Database の「読み取りスケールアウト」の説明を追記 (追加コストなし!) リレーショナル・データベースとは リレーショナル・データベース (RDBMS) とは、表形式でデータを保存でき、 SQL などの言語によってデータの取得・集計・加工が行えるもので
SQL CLRとは C#などの.NET言語を使って、ストアドプロシージャや、ユーザー定義関数を使えるようにしたもの SQL Server 2005 から使えるようになった機能で、CLR統合機能と呼ばれています 詳細は、以下参照 SQL Server の共通言語ランタイム統合 準備 SQL Server側 CLR統合機能はデフォルトではOFFとなっているので、使う場合にはONにする必要があります 以下の処理で有効にすることが可能です EXEC sp_configure 'clr enabled'; --現在の設定値表示 EXEC sp_configure 'clr enabled' , '1'; --設定の変更 RECONFIGURE; EXEC sp_configure 'clr enabled'; --変更後の設定値表示 サーバーに対する設定となります DB単位には設定できないようです
Amazon RDS for SQL Server は、クラウドへの SQL Server のデプロイを簡素化するフルマネージド型の商用データベースです。Amazon RDS for SQL Server の料金体系は次のとおりです。 Amazon RDS for SQL Server は、一部のシングル AZ インスタンスデータベースで毎月最大 750 時間まで無料でお試しいただけます。 Amazon RDS for SQL Server を使い始めるにあたり、最低料金や契約条件はありません。使った分だけ支払う従量課金制です。 Amazon RDS for SQL Server の料金は、オンデマンドインスタンスを使用するか、リザーブドインスタンスを割引料金で購入して時間単位でご利用いただけます。 Amazon RDS for SQL Server では、リレーショナルデータベースのさま
たとえば、Sales という単純なデータベースには、データとオブジェクトをすべて格納するプライマリ ファイルが 1 つと、トランザクション ログ情報を格納するログ ファイルが 1 つ含まれます。 プライマリ ファイルを 1 つとセカンダリ ファイルを 5 つ含む Orders というより複雑なデータベースを作成できます。 データベース内のデータとオブジェクトは 6 つすべてのファイルに分散され、4 つのログ ファイルにトランザクション ログ情報が含まれます。 既定では、単一ディスク システムを処理するため、データとトランザクション ログは同一のドライブおよびパス上に配置されます。 この選択は、実稼働環境では最適ではない場合があります。 そのため、データとログ ファイルは別のディスクに配置することをお勧めします。 論理ファイル名と物理ファイル名 SQL Server ファイルにはファイル名の
Azure Data Studio は、一般的なクラウドとオンプレミスのデータベースに接続できる軽量のクロスプラットフォーム データ管理および開発者ツールです。 Azure Data Studio では、Windows、macOS、および Linux がサポートされており、Azure SQL および SQL Server にすぐに接続できます。 拡張機能ライブラリを参照し、MySQL、PostgreSQL、Cosmos DB などのその他のデータベース サポート オプションを確認します。 Azure Data Studio で使い慣れたインターフェイスでは、IntelliSense、コード スニペット、ソース管理統合、統合ターミナルなどの、最新のエディター エクスペリエンスが提供されています。 データ プラットフォーム ユーザーを念頭に置いて設計された拡張性により、ユーザーは、データベース
適用対象: SQL Server Azure SQL データベース Azure SQL Managed Instance Azure Synapse Analytics Analytics Platform System (PDW) ページは、SQL Server のデータ ストレージの基本単位です。 エクステントは物理的に連続する 8 ページをまとめたものです。 エクステントを使用すると、ページを効率的に管理できます。 このガイドでは、すべてのバージョンの SQL Server でページとエクステントの管理に使用されるデータ構造について説明します。 ページとエクステントのアーキテクチャを理解することは、効率的に実行されるデータベースを設計、開発するうえで重要です。 ページとエクステント SQL Server のデータ ストレージの基本単位は、ページです。 データベース内のデータ ファイル
SQL Server ではファイルグループに複数のデータファイルを含めることができます。 このようなファイル構成の場合、どのようにデータが書き込まれるかを見てみたいと思います。 ■複数データファイルで構成している場合のデータ書き込み データファイルを複数の物理ディスクに配置することでデータを分散させることができ、ディスク負荷を抑えることができます。 このファイルに 1 レコード 700 バイトのレコードを 20 件挿入してみます。 今回は 4 つのデータファイルを使用しているので、各データファイルに 5 件ずつデータが挿入され、分散されるでしょうか?? SQL Server ではデータは 8KB のページに対して書き込みが行われますが、ページを格納するための領域はエクステントとして、64KB 領域の中に確保されます。 データの書き込みを行う場合には 64KB のエクステントを特定のデータフ
1.アップグレードの方法 まず、アップグレードの方法ですが大きく分けて2つあります。1つは、既存環境のSQL Serverをアップグレードする方法(インプレースアップグレード)で、もう1つは新しい環境を構築し、データベース(データ)を移行してアップグレードする方法(移行)になります。 移行方法 インプレースアップグレードで既存環境のSQL Server 2008をアップグレードする場合、以下バージョンからのアップグレードのみサポートされます。 SQL Server 2008 SP4 以降 SQL Server 2008 R2 SP3 以降 アップグレードの詳細はこちらに記載されておりますので、ご確認ください。 実際にアップグレードする場合、インプレースアップグレードより移行を選択するケースが多いと思います。これは、アップグレード後のテストができない(別環境を用意しないといけない)ことや、万
データベースのインストール・設定方法の詳細について [セットアップガイド]では説明していない、SQL Server のインストール・設定方法についての操作を補足するための資料です。 本資料は参考資料としてご利用頂き、より詳細な操作に関してはマイクロソフト社のWebサイトや市販書籍をご参照ください。 SQL Server 2012 SQL Server 2012 のインストール方法について・・・PDF(1.2MB) SQL Server 2012 をインストールされる場合にご覧ください。 SQL Server 2008 SQL Server 2008 のインストール方法について・・・PDF(940KB) SQL Server 2008 をインストールされる場合にご覧ください。 SQL Server 2008 Express SQL Server 2008 Express のインストール方法に
リリース、障害情報などのサービスのお知らせ
最新の人気エントリーの配信
処理を実行中です
j次のブックマーク
k前のブックマーク
lあとで読む
eコメント一覧を開く
oページを開く