第2回MySQLチューニング(1) MySQLチューニング、その前に 梶山隆輔 2015-02-17
Page Moved This page has moved to http://docs.oracle.com/cd/E57425_01/121/index.htm
Welcome to the PostgreSQL Wiki! This wiki contains user documentation, how-tos, and tips 'n' tricks related to PostgreSQL. It also serves as a collaboration area for PostgreSQL contributors. User Documentation Frequently Asked Questions Community Generated Articles, Guides, and Documentation General articles and guides PostgreSQL Tutorials PostgreSQL Related Code Snippets Detailed installation gui
第7回大規模データ処理におけるCPUとI/Oのバランスをどう考えるか 山崎泰史,武吉佑祐 2013-03-19
Microsoft SQL Server オンライン ブックへようこそ。このドキュメント セットは、SQL Server の理解を支援するためのものです。またデータ管理とビジネス インテリジェンス プロジェクトの実装方法を理解する場合にも利用できます。SQL Server には、さまざまなデータ管理テクノロジと分析テクノロジが含まれています。これらのテクノロジの詳細については、次のリンクをクリックしてください。 データベース エンジン データベース エンジンは、データの格納、処理、および保護を行うための主要なサービスです。データベース エンジンでは、組織で利用しているアプリケーションのうち、データの使用頻度が最も高いアプリケーションの要件を満たすように、アクセスの制御や高速なトランザクション処理が行われます。また、高可用性を実現するためのさまざまなサポートも提供されます。
メインコンテンツに移動 お知らせ Let’s Postgres 運営管理についてのお知らせ コンテンツメニュー 導入検討 と 入門 インストール 運用管理 チューニング 新機能: 16 / 15/ 14 / 13 / 12 / 11 / 10 / 9.6 / 9.5 / 9.4 / 9.3 トラブルシュート サポートとFAQ 事例紹介 イベントレポート リンク集 レプリケーション / クラスタ構成 XML / PostGIS / 拡張モジュール パーティショニング / テキスト検索 Window関数 / 再帰SQL / 外部データ連携 文書: 15 / 14 / 13 / 12 / 11 / 10 / 9.6 / 9.5 Let's PostgreSQL は特定非営利活動法人日本PostgreSQLユーザ会が運営しています。 RSS feed
今回は、オプティマイザ統計(Statspackなどで収集する統計情報と区別するため、オプティマイザが実行計画作成のために使用するものをオプティマイザ統計と言うことにします)の収集について説明します。最近、次のようにオプティマイザ統計の収集ついて聞かれる機会がありましたので、ここで説明することにしました。 「コストベース・オプティマイザ(CBO)だけになったためにオプティマイザ統計の収集は必須になりましたが、オブジェクトが多いと収集時間も軽視することができません。かといって収集時間を短縮したいがためにサンプル・サイズを小さくしたり、収集頻度を減らしたりすることで実行計画が最適でなくなったら困ります。オプティマイザ統計の収集に対する指針などあれば教えてください。」 これには、こうすれば良いという明確な指針はないので、皆さん結構悩まれているのではないかと思います。これについて、私の考えをまと
今回は少し趣向を変えてみることにしました。パフォーマンスに関するいくつかのトピックについて、Q&A形式で説明します(これまでの説明でまたの機会に説明しますなどと記述した内容や、もう少し説明が必要と思われる内容を取り上げます)ので、参考にして下さい。 ■1.StatspackからSQLの実行計画を確認する方法について 前回も触れましたが「CPU time」が「Top 5 Timed Events」の上位の場合は、SQL文が過剰にCPUを使用していないかを確認する必要があります。 以下の「SQL」セクションの「SQL ordered by CPU Time」を参照すると「CPU Time(s)」の長い順に出力されます。その上位に出力されるSQL文がCPU時間が長いということですので、その実行計画を出力して確認します(「CPU time」が「Top 5 Timed Events」の上位にな
これまでパフォーマンス問題の原因と改善方法についていくつか説明してきましたが、そもそも原因を特定することができない方も多いと思います。Oracle Directへの問合せにも原因が分からないパフォーマンス問題が多いようです。そこで、今回は「パフォーマンス原因の特定の方法」について事例を使用して説明しようと思います。すべてのパターンの問題を特定して解決することは難しいので、これだけは知っておいてほしいと思う内容を説明しますので、参考にして下さい。 ■1.Statspackについて Statspackは、Oracle8iから提供されたパフォーマンス診断ツールです。Oracle Database 10gからは、AWR(Automatic Workload Repository)が提供されていますが、活用にあたってOracle Diagnostic Packのライセンスが必要になるため、すべて
津島博士のパフォーマンス講座 第2回 RAC(Real Application Clusters)の時のバッチ処理について 今回は、シングルノードの時はあまり気にしなくても良いこともRACになると無視できなくなることがあるので、それについてRACとバッチ処理で説明しようと思います。 ■1.RAC(Real Application Clusters)について RACを知らない方はもういないと思いますが、念のために簡単に説明しておきます。 RACは、Oracleの高可用性とスケールアウトを実現する共有ディスク型クラスターデータベースシステムです。全ノード(インスタンス)が全データベースに直接アクセスできるため、どのノードからも意識せずにデータベースにアクセスすることが可能です。各ノードのキャッシュの一貫性はキャッシュ・フュージョン技術を使用して実施しています。 クラスタ・ノード間のデータ
はじめまして。本日からこの連載を始めます津島と申します。 長年に渡りデータベースの構築やパフォーマンスチューニングなどに従事し、最近では若手エンジニアの育成および大規模データベース案件などの支援に従事しております。今までの経験が少しでもお役に立てればと思い、この連載を始めることに致しました。できるだけ長く続けたいと思いますのでよろしくお願い致します。 さて、第1回目である今回は「パフォーマンス問題はなぜ起きるのか」と題して説明します。事前に考えておくと回避できることもあると思いますので、参考にしてください。 ■1.パフォーマンス問題はなぜ起きるか 最適なパフォーマンスはCPUをできるだけ多く使用して動作することですが、一般的には、何かの待機(例えばI/O待ち)でCPUリソースを使用しきれないでパフォーマンス問題になる場合が多いと思います。これを解析ツール(StatspackやAWRレ
このコラムでは、月刊DB Magazineで連載され大好評だった記事を紹介しています。 また、記事を再編集した単行本が翔泳社より出版されていますので、ご興味のある方はぜひご購入ください。 門外不出のOracle現場ワザ(DB Magazine SELECTION) 【単行本】 第0章 オラクル社のテクノロジーコンサルタントって? システムテクノロジー製品(データベースやAPサーバー、ミドルウエア製品など)をお使いの皆様に、オラクル社のシステムテクノロジー製品担当のテクノロジーコンサルティングについてご紹介します。 第1章 目からウロコのパフォーマンス分析テクニック Oracleのパフォーマンス管理では、問題箇所を切り分けたりアーキテクチャに基づいて現状を分析する力が必要です。さらに、OSやストレージ、ネットワークとのI/Oまで監視しなければなりません。本コラムではパフォーマンス分析に必要な
仕事でMySQLのパフォーマンスチューニングをしていて、インデックスについて分かっていないことが多かったので調べたことをメモ。基本的なところから学習しなおした。 MySQLのインデックスは、カラムが特定の値をもつレコードの迅速な検索に使用される。インデックスを使用すれば、数百とか数億ものレコードが入っているテーブルから、一組のレコードを迅速に見つけて取り出すことが可能になる。 しかし、インデックスは速度を改善することもあるが、挿入の邪魔になって遅くなることもある。 インデックスを適切に使うために、まずはインデックスの基本概念をおさえる必要がある。 インデックスの概念 インデックスとは インデックスの仕組みを理解するには、まずMySQLがどのようにクエリに応答するかを知る必要がある。 例えば、 SELECT * FROM phone_book WHERE last_name = 'Hoge'
リリース、障害情報などのサービスのお知らせ
最新の人気エントリーの配信
処理を実行中です
j次のブックマーク
k前のブックマーク
lあとで読む
eコメント一覧を開く
oページを開く