<?xml version="1.0" encoding="UTF-8" ?>
<rss version="2.0" xmlns:blogChannel="http://backend.userland.com/blogChannelModule" >
  <channel>
  <title>ガーデニング</title>
  <link>http://nichico.blog.shinobi.jp/</link>
  <atom10:link xmlns:atom10="http://www.w3.org/2005/Atom" rel="self" type="application/rss+xml" href="http://nichico.blog.shinobi.jp/RSS/" />
  <description>メモ</description>
  <lastBuildDate>Thu, 23 Apr 2009 07:53:51 GMT</lastBuildDate>
  <language>ja</language>
  <copyright>© Ninja Tools Inc.</copyright>
  <atom10:link xmlns:atom10="http://www.w3.org/2005/Atom" rel="hub" href="http://pubsubhubbub.appspot.com/" />

    <item>
    <title>varcharとvarchar2の違い</title>
    <description>
    <![CDATA[<span class="Apple-style-span" style="word-spacing: 0px; font: 14px/25px Arial; text-transform: none; color: rgb(0,0,0); text-indent: 0px; white-space: normal; letter-spacing: 1px; border-collapse: separate; text-align: left; orphans: 2; widows: 2; -webkit-border-horizontal-spacing: 0px; -webkit-border-vertical-spacing: 0px; -webkit-text-decorations-in-effect: none; -webkit-text-size-adjust: auto; -webkit-text-stroke-width: 0">Oracle8iでは、254バイト以下の可変長文字列を表すデータ型<br />
VARCHARを拡張して、4000バイト以下の可変長文字列を表すデータ型VARCHAR2を定義</span>]]>
    </description>
    <category>Oracle</category>
    <link>http://nichico.blog.shinobi.jp/oracle/varchar%E3%81%A8varchar2%E3%81%AE%E9%81%95%E3%81%84</link>
    <pubDate>Thu, 23 Apr 2009 07:53:51 GMT</pubDate>
    <guid isPermaLink="false">nichico.blog.shinobi.jp://entry/10</guid>
  </item>
    <item>
    <title>無題</title>
    <description>
    <![CDATA[<p>詳細設計書とは</p>
<p>範囲　と　粒度 をきめる<br />
プログラムのための詳細設計<br />
あとから手が加えられても修正ができるように画面の動きをメモみたいなもの</p>
<p>一つのシステムで形式をあわせる</p>]]>
    </description>
    <category>未選択</category>
    <link>http://nichico.blog.shinobi.jp/%E6%9C%AA%E9%81%B8%E6%8A%9E/%E7%84%A1%E9%A1%8C</link>
    <pubDate>Tue, 21 Apr 2009 09:59:09 GMT</pubDate>
    <guid isPermaLink="false">nichico.blog.shinobi.jp://entry/9</guid>
  </item>
    <item>
    <title>菊川さんのチャリ</title>
    <description>
    <![CDATA[<span class="Apple-style-span" style="word-spacing: 0px; font: 15px/19px -webkit-sans-serif; text-transform: none; color: rgb(0,0,0); text-indent: 0px; white-space: normal; letter-spacing: normal; border-collapse: separate; orphans: 2; widows: 2; -webkit-border-horizontal-spacing: 0px; -webkit-border-vertical-spacing: 0px; -webkit-text-decorations-in-effect: none; -webkit-text-size-adjust: auto; -webkit-text-stroke-width: 0">
<p style="margin: 0.4em 0px 0.5em; line-height: 1.5em"><b>BMX</b>（ビーエムエックス）は、<a title="アメリカ合衆国" style="background-image: none; color: rgb(0,43,184); text-decoration: none; -webkit-background-clip: initial; -webkit-background-origin: initial" href="http://nichico.blog.shinobi.jp/wiki/%E3%82%A2%E3%83%A1%E3%83%AA%E3%82%AB%E5%90%88%E8%A1%86%E5%9B%BD">アメリカ</a>で生まれた競技用の小径<a title="自転車" style="background-image: none; color: rgb(0,43,184); text-decoration: none; -webkit-background-clip: initial; -webkit-background-origin: initial" href="http://nichico.blog.shinobi.jp/wiki/%E8%87%AA%E8%BB%A2%E8%BB%8A">自転車</a>。ときにそれに乗って行う競技も指す。短距離レースやスタントに使用される車体は、構造が単純で頑丈。快適性は無視され変速機能も持たないため、長距離走行には不向き。泥よけやスタンド、ライトなど競技に関係ない部品は装備しない。</p>
<p style="margin: 0.4em 0px 0.5em; line-height: 1.5em">BMXとはBicycle Motocross（バイシクル<a title="モトクロス" style="background-image: none; color: rgb(0,43,184); text-decoration: none; -webkit-background-clip: initial; -webkit-background-origin: initial" href="http://nichico.blog.shinobi.jp/wiki/%E3%83%A2%E3%83%88%E3%82%AF%E3%83%AD%E3%82%B9">モトクロス</a>）の略。まれに<b>BM</b>と略して呼ぶ人もいるが、この呼称を嫌う人が多い。</p>
</span>]]>
    </description>
    <category>のほほん</category>
    <link>http://nichico.blog.shinobi.jp/%E3%81%AE%E3%81%BB%E3%81%BB%E3%82%93/%E8%8F%8A%E5%B7%9D%E3%81%95%E3%82%93%E3%81%AE%E3%83%81%E3%83%A3%E3%83%AA</link>
    <pubDate>Tue, 21 Apr 2009 06:20:58 GMT</pubDate>
    <guid isPermaLink="false">nichico.blog.shinobi.jp://entry/8</guid>
  </item>
    <item>
    <title>プログラムの流れを家に例えると！</title>
    <description>
    <![CDATA[<span class="Apple-style-span" style="word-spacing: 0px; font: 14px/21px 'ms pgothic'; text-transform: none; color: rgb(51,51,51); text-indent: 0px; white-space: normal; letter-spacing: normal; border-collapse: collapse; text-align: left; orphans: 2; widows: 2; -webkit-border-horizontal-spacing: 2px; -webkit-border-vertical-spacing: 2px; -webkit-text-decorations-in-effect: none; -webkit-text-size-adjust: auto; -webkit-text-stroke-width: 0">家を建てる時の構想で書きます。（例えです）<br />
<br />
(1)要求分析&hellip;家を建てたい！！<br />
和風、洋風、木造、鉄筋、駐車場付きなどのベースとなる大きな目的ですね。<br />
<br />
(2)概要設計&hellip;敷地内の建築スペース利用<br />
敷地内に、どれぐらいの大きさの家を建てたいのか、<br />
一戸建てなのか、二階以上在るのか、部屋数はいつくかなど。<br />
<br />
(3)詳細設計&hellip;各部屋・スペースの利用用途等々<br />
寝室、子供部屋、物置、バス・トイレなどの各部屋の詳細ですね。<br />
<br />
(4)プログラミング&hellip;建築・施工<br />
実際に家を建てていきます。部屋を仕切り、敗戦工事等をします。<br />
<br />
(5)テスト&hellip;チェック<br />
１，２で話し合ったものがきちんと出来ているか、<br />
建築法にふれていないか等のチェックですね。<br />
<br />
(6)実施&hellip;住居<br />
実際に住み始める訳です(^^<br />
</span>]]>
    </description>
    <category>プログラム</category>
    <link>http://nichico.blog.shinobi.jp/%E3%83%97%E3%83%AD%E3%82%B0%E3%83%A9%E3%83%A0/%E3%83%97%E3%83%AD%E3%82%B0%E3%83%A9%E3%83%A0%E3%81%AE%E6%B5%81%E3%82%8C%E3%82%92%E5%AE%B6%E3%81%AB%E4%BE%8B%E3%81%88%E3%82%8B%E3%81%A8%EF%BC%81</link>
    <pubDate>Tue, 21 Apr 2009 05:51:52 GMT</pubDate>
    <guid isPermaLink="false">nichico.blog.shinobi.jp://entry/7</guid>
  </item>
    <item>
    <title>WEB、CUI、GUIシステム</title>
    <description>
    <![CDATA[<strong><span><span>WEBシステム</span></span></strong><span><span><br />
<br />
<font size="2">サーバー上で動作し、ブラウザからアクセスできるシステムのことを指します。<br />
インターネットに繋がっていてさえいれば、不特定多数、又は権限を定めた誰もが、どこからでもアクセスできるのが特徴で、複数の利用者を一つのサーバー上で管理、実行できる集合知とも言えます。<br />
<br />
</font><font size="4"><font size="2"><br />
</font><strong><font size="2">GUI と CUI の違い</font></strong><br />
</font><br />
コンピュータ用語で「<span class="important" style="color: rgb(255,0,0)">ユーザインタフェース</span>」 (User Interface) とは、「コンピュータと人間を結びつけている仕掛け」のことを言います。皆さんが普段使っているコンピュータは、OS (Operating System) の種類 (Windows、Linux、Mac OS など) に関係なく、ウィンドウやアイコンなどをマウスで操作して、キーボードで文字入力を行うタイプの仕掛けが使われています。これは一般的に<span class="Apple-converted-space">&nbsp;</span><span class="important" style="color: rgb(255,0,0)">GUI</span><span class="Apple-converted-space">&nbsp;</span>(Graphical User Interface) のシステムと言います。これに対し、kterm 等のターミナル内でコンピュータを操作する場合はキーボード入力と画面の文字表示のみでコンピュータを操作することになります。このような仕掛けを<span class="Apple-converted-space">&nbsp;</span><span class="important" style="color: rgb(255,0,0)">CUI</span><span class="Apple-converted-space">&nbsp;</span>(Character User Interface) と言います。<br />
<br />
<span class="Apple-style-span" style="word-spacing: 0px; font: 12px 'ＭＳ Ｐゴシック'; text-transform: none; color: rgb(0,0,0); text-indent: 0px; white-space: normal; letter-spacing: normal; border-collapse: separate; orphans: 2; widows: 2; -webkit-border-horizontal-spacing: 0px; -webkit-border-vertical-spacing: 0px; -webkit-text-decorations-in-effect: none; -webkit-text-size-adjust: auto; -webkit-text-stroke-width: 0">
<p style="padding-right: 24px; padding-left: 24px; text-indent: 8pt">GUI の利点は、文字だけでなくアイコンなどの絵も表示できて操作できる対象物が明確な点や、マウスで比較的簡単に操作できる点にあります。コンピュータ内の状態や様々な情報を分かり易く表現し、即座に操作結果が反映されることから一般の人には非常に使いやすいものと言えます。しかし、大量のファイルを一度に処理したり、複雑な操作を行ったり、それらを連続して処理させる場合などは、非常に使いづらいという欠点があります（徐々に解決されてはいますが）。<br />
<br />
　CUI の場合は、コマンドを知らないと何も操作できない（ファイルの一覧すら見ることができない）、操作結果が即座に画面に反映されるとは限らない、など GUI と比べて不便と思える特徴が見受けられます。しかし、コマンドさえ憶えていれば、次のような複雑な操作や連続した処理も簡単に操作できます。</p>
</span>
<p><br />
WEBシステム</p>
<p><a href="http://www.clmd.jp/page/about05.html">http://www.clmd.jp/page/about05.html</a></p>
<p>CUI.GUI</p>
<p><a href="http://www.cc.kyoto-su.ac.jp/~hirai/text/cui.html">http://www.cc.kyoto-su.ac.jp/~hirai/text/cui.html</a></p>
<br />
</span></span>]]>
    </description>
    <category>プログラム</category>
    <link>http://nichico.blog.shinobi.jp/%E3%83%97%E3%83%AD%E3%82%B0%E3%83%A9%E3%83%A0/web%E3%80%81cui%E3%80%81gui%E3%82%B7%E3%82%B9%E3%83%86%E3%83%A0</link>
    <pubDate>Mon, 20 Apr 2009 02:11:48 GMT</pubDate>
    <guid isPermaLink="false">nichico.blog.shinobi.jp://entry/6</guid>
  </item>
    <item>
    <title>基本設計、詳細設計とは</title>
    <description>
    <![CDATA[<span class="Apple-style-span" style="word-spacing: 0px; font: 13px/16px 'ＭＳ Ｐゴシック'; text-transform: none; color: rgb(0,0,0); text-indent: 0px; white-space: normal; letter-spacing: normal; border-collapse: separate; orphans: 2; widows: 2; -webkit-border-horizontal-spacing: 0px; -webkit-border-vertical-spacing: 0px; -webkit-text-decorations-in-effect: none; -webkit-text-size-adjust: auto; -webkit-text-stroke-width: 0"><a name="2">
<h2 style="font-weight: bold; font-size: 14pt; margin-bottom: 10px">設計ってなに？</h2>
</a><br />
　まず、「設計とは何か？」について説明して行きます。 設計の定義とは、「要件定義で顧客と合意した要件を基に実際に、どの様にシステムを開発していくか」を決める事になります。 また、この設計という段階でのアウトプットは、「<strong style="font-weight: normal">設計書</strong>」になります。<br />
　 要件定義で曖昧な要件については潰してきましたが、それだけではシステムを開発する事はできません。 システムを開発するためには「どのようにシステムを開発するか。そのシステムの性能はどうするのか」と言う事を、詳細に決めていく事が必要になってきます。<br />
そのための作業がこの「設計」と言うものになり、その設計より生じるシステムの性能、機能等をまとめて「<strong style="font-weight: normal">仕様</strong>」といいます。<br />
つまり「設計」とは、システムの開発工程の一つであり、 システムの「<strong style="font-weight: normal">仕様</strong>」を以下の3ポイントを意識して明確に決め開発プロセス(設計編)て行く事になります。<br />
<ol>
    <li>システムが提供する機能<br />
    　 システムがどんな機能をどんなインターフェースで実現するのか。どれだけの性能が必要なのか。</li>
    <li>システムが作成されるプロセス<br />
    　 システムの各機能の関連と、それらの機能の作成していく順序や手法など</li>
    <li>システムの形態<br />
    　 Webシステムなのか、CUIシステムなのか、GUIシステムなのか、など</li>
</ol>
　なお、上記の３ポイントを押さえる前提として、要件定義時と同様に『顧客側の業務内容』を理解する必要があります。 顧客から受注したシステムは、顧客業務に密接に関係しているものになります。そのため、顧客業務を理解していなければ、顧客が満足するシステムを「設計」する事はできません。<br />
さて、この設計工程は主に３つの工程を辿っていきます。それではその各段階を簡単に説明していきます。<a name="2_1"> <br />
<h3 style="font-size: 11pt; margin-bottom: 6px; color: rgb(0,0,51)"><font size="4"><strong><br />
2_1.<strong style="font-weight: normal">基本設計</strong></strong></font></h3>
</a>　この<strong style="font-weight: normal">基本設計</strong>ではどのようにシステムを構築していくか、そのシステムはどのようにデータが流れていくのかという事を、全体的な観点から決めて行きます。<br />
<strong style="font-weight: normal">基本設計</strong>で着目する点は、以下の2点になります。
<ol>
    <li>データの大まかな流れ<br />
    入ってくるデータは何か、そのデータはどのように加工されて出て行くのかを大まかに決めておきます。</li>
    <li>画面遷移<br />
    GUI系のシステムでは大事になります。要件定義で行った画面遷移を実際に文書に落として矛盾がないかを確認します。</li>
</ol>
　　 また、<strong style="font-weight: normal">基本設計</strong>でのアウトプットは「<strong style="font-weight: normal">基本設計</strong>書」となります。<a name="2_2"> <br />
<h3 style="font-size: 11pt; margin-bottom: 6px; color: rgb(0,0,51)"><font size="4"><strong><br />
2_2.<strong style="font-weight: normal">機能設計</strong></strong></font></h3>
</a>　この<strong style="font-weight: normal">詳細設計</strong>では<strong style="font-weight: normal">基本設計</strong>で決定した事に基づき、実際の個々の機能(GUI系は画面毎）について使うユーザの観点から詳細に決定して行きます。<span class="Apple-converted-space">&nbsp;</span><strong style="font-weight: normal">詳細設計</strong>で着目する点は、以下の点になります。 　　　
<ol>
    <li>(GUI系の場合)画面機能の説明<br />
    GUI系では画面のボタンを押した時の動作、またその画面毎に何が表示されるのかを詳細に決定します。 　　　</li>
    <li>データ加工の流れ<br />
    各機能のインプットデータとアウトプットデータを詳細に決めます。</li>
</ol>
<strong style="font-weight: normal">　機能設計</strong>でのアウトプットは「<strong style="font-weight: normal">機能設計</strong>書」となります。<br />
この<strong style="font-weight: normal">設計書</strong>ではまだ「～画面」とか「～機能」といった表現を使い、 主に使用するユーザにわかりやすい記述を心がけるようにします。<br />
<br />
　<a name="2_3">
<h3 style="font-size: 11pt; margin-bottom: 6px; color: rgb(0,0,51)"><font size="4"><strong>2_3.<strong style="font-weight: normal">詳細設計</strong></strong></font></h3>
</a>　この<strong style="font-weight: normal">詳細設計</strong>では<strong style="font-weight: normal">機能設計</strong>で決定した各機能について実装レベルの観点から<strong style="font-weight: normal">仕様</strong>を決定していきます。<span class="Apple-converted-space">&nbsp;</span><br />
ここで着目する点は、以下の点になります。<br />
<br />
　　　各機能とクラス(モジュール)の対応づけ<br />
　　　<strong style="font-weight: normal">機能設計</strong>で決定した各機能をjavaやC++ならクラス、C等であればモジュールや関数に分けて、どのようなデータを加工するのか、<br />
　　　このクラス(モジュール)はなにを行うのかを決定していきます。<br />
<br />
<strong style="font-weight: normal">　詳細設計</strong>でのアウトプットは「<strong style="font-weight: normal">詳細設計</strong>書」となります。<strong style="font-weight: normal">詳細設計</strong>書の記述としては、使用するプログラム言語に偏った記述を行ってもかまいませんが、開発担当者のみでなくプロジェクトを引継ぐ人がその<strong style="font-weight: normal">設計書</strong>を読んで判るレベルで記述するとともに、プログラムを作成する時には<strong style="font-weight: normal">設計書</strong>をただプログラムに変換するだけでよくなるように詳細に記述する必要があります。 と、このように各設計段階を踏んでシステムを構築していく事になります。この設計段階を踏まない事には物を作成する事はできません。<br />
<br />
と、このように各設計段階を踏んでシステムを構築していく事になります。この設計段階を踏まない事には物を作成する事はできません。<br />
<br />
ここから引用<br />
<a href="http://www.stackasterisk.jp/tech/engineer/devp02_01.jsp#2">http://www.stackasterisk.jp/tech/engineer/devp02_01.jsp#2</a></span>]]>
    </description>
    <category>プログラム</category>
    <link>http://nichico.blog.shinobi.jp/%E3%83%97%E3%83%AD%E3%82%B0%E3%83%A9%E3%83%A0/%E5%9F%BA%E6%9C%AC%E8%A8%AD%E8%A8%88%E3%80%81%E8%A9%B3%E7%B4%B0%E8%A8%AD%E8%A8%88%E3%81%A8%E3%81%AF</link>
    <pubDate>Mon, 20 Apr 2009 02:00:40 GMT</pubDate>
    <guid isPermaLink="false">nichico.blog.shinobi.jp://entry/5</guid>
  </item>
    <item>
    <title>ファイアウォールとコンポーネントサービス</title>
    <description>
    <![CDATA[コマンドプロンプトを利用して以下の画面を開く<br />
<br />
ファイアウォール<br />
firewall.cpl<br />
<br />
コンポーネントサービス<br />
dcomcnfg<br />
<br />
を入力する]]>
    </description>
    <category>コマンドプロンプト</category>
    <link>http://nichico.blog.shinobi.jp/%E3%82%B3%E3%83%9E%E3%83%B3%E3%83%89%E3%83%97%E3%83%AD%E3%83%B3%E3%83%97%E3%83%88/%E3%83%95%E3%82%A1%E3%82%A4%E3%82%A2%E3%82%A6%E3%82%A9%E3%83%BC%E3%83%AB%E3%81%A8%E3%82%B3%E3%83%B3%E3%83%9D%E3%83%BC%E3%83%8D%E3%83%B3%E3%83%88%E3%82%B5%E3%83%BC%E3%83%93%E3%82%B9</link>
    <pubDate>Thu, 16 Apr 2009 02:06:50 GMT</pubDate>
    <guid isPermaLink="false">nichico.blog.shinobi.jp://entry/4</guid>
  </item>
    <item>
    <title>IPアドレスについて</title>
    <description>
    <![CDATA[<span class="Apple-style-span" style="word-spacing: 0px; font: 14px/25px 'Lucida Grande'; text-transform: none; color: rgb(0,0,0); text-indent: 0px; white-space: normal; letter-spacing: normal; border-collapse: separate; text-align: left; orphans: 2; widows: 2; -webkit-border-horizontal-spacing: 0px; -webkit-border-vertical-spacing: 0px; -webkit-text-decorations-in-effect: none; -webkit-text-size-adjust: auto; -webkit-text-stroke-width: 0">リモートIPアドレス<wbr style="line-height: 1.22"></wbr>とは接続先の相手のI<wbr style="line-height: 1.22"></wbr>Pアドレスという意味<wbr style="line-height: 1.22"></wbr>です。グローバルIP<wbr style="line-height: 1.22"></wbr>アドレスとは世間でた<wbr style="line-height: 1.22"></wbr>った一つのIPアドレ<wbr style="line-height: 1.22"></wbr>スのことをいいます。<wbr style="line-height: 1.22"></wbr>世界中からアクセスで<wbr style="line-height: 1.22"></wbr>きるウェブサイトのア<wbr style="line-height: 1.22"></wbr>ドレスなどはグローバ<wbr style="line-height: 1.22"></wbr>ルIPアドレスでない<wbr style="line-height: 1.22"></wbr>と不都合です。なおグ<wbr style="line-height: 1.22"></wbr>ローバルIPアドレス<wbr style="line-height: 1.22"></wbr>に対してこれは会社や<wbr style="line-height: 1.22"></wbr>ホームネットワークの<wbr style="line-height: 1.22"></wbr>中だけで有効なアドレ<wbr style="line-height: 1.22"></wbr>スをプライベートIP<wbr style="line-height: 1.22"></wbr>アドレスといいます。</span>]]>
    </description>
    <category>IPアドレス</category>
    <link>http://nichico.blog.shinobi.jp/ip%E3%82%A2%E3%83%89%E3%83%AC%E3%82%B9/ip%E3%82%A2%E3%83%89%E3%83%AC%E3%82%B9%E3%81%AB%E3%81%A4%E3%81%84%E3%81%A6</link>
    <pubDate>Thu, 16 Apr 2009 02:05:32 GMT</pubDate>
    <guid isPermaLink="false">nichico.blog.shinobi.jp://entry/3</guid>
  </item>
    <item>
    <title>表紙にだけページ番号を付けない方法</title>
    <description>
    <![CDATA[&nbsp;<span class="Apple-style-span" style="border-collapse: collapse; font-family: 'ms pgothic'; font-size: 14px; line-height: 19px; -webkit-border-horizontal-spacing: 2px; -webkit-border-vertical-spacing: 2px; ">ページ レイアウト-ページ設定 <br />
ページ設定の右下の矢印をクリックし、ページ設定の画面を起動する。<br />
<br />
その他タブ で ヘッダーとフッターの「先頭ページのみ別指定」をオン で<br />
挿入-ヘッダーとフッター-ページ番号▼、<br />
または、ヘッダー/フッターツール-デザイン-ヘッダーとフッター-ページ番号▼<br />
のページ番号の書式 で開始番号 を 0 にすれば<br />
2枚目からのページ番号が1から開始される</span>]]>
    </description>
    <category>word2007</category>
    <link>http://nichico.blog.shinobi.jp/word2007/%E8%A1%A8%E7%B4%99%E3%81%AB%E3%81%A0%E3%81%91%E3%83%9A%E3%83%BC%E3%82%B8%E7%95%AA%E5%8F%B7%E3%82%92%E4%BB%98%E3%81%91%E3%81%AA%E3%81%84%E6%96%B9%E6%B3%95</link>
    <pubDate>Wed, 01 Apr 2009 09:38:42 GMT</pubDate>
    <guid isPermaLink="false">nichico.blog.shinobi.jp://entry/2</guid>
  </item>
    <item>
    <title>ロック解除</title>
    <description>
    <![CDATA[<span class="Apple-style-span" style="color: rgb(85, 85, 85); font-family: 'ＭＳ Ｐゴシック'; font-size: 13px; ">SI ObjectbrowserやSQL*Plusで<br style="letter-spacing: normal; " />
<br style="letter-spacing: normal; " />
排他処理(for update nowaitなど）があり、COMMITまたはROLLBACKをがない<br style="letter-spacing: normal; " />
処理のテストをする場合、走行後にCOMMITまたはROLLBACKを発行しないと<br style="letter-spacing: normal; " />
ロック状態が開放されないことがある。<br style="letter-spacing: normal; " />
<br style="letter-spacing: normal; " />
なんらかの要因でSI ObjectbrowserやSQL*Plusを強制終了してしまうと<br style="letter-spacing: normal; " />
さらにその確立が高まる。<br style="letter-spacing: normal; " />
<br style="letter-spacing: normal; " />
<br style="letter-spacing: normal; " />
<br style="letter-spacing: normal; " />
●排他エラーメッセージ<br style="letter-spacing: normal; " />
&quot;ORA-00054: リソース・ビジー、NOWAITが指定されていました。&quot;<br style="letter-spacing: normal; " />
<br style="letter-spacing: normal; " />
●排他エラーコード判定(PL/SQL)<br style="letter-spacing: normal; " />
EXCEPTIONのWHEN OTHER句でSQLCODE = -54であれば排他エラー<br style="letter-spacing: normal; " />
<br style="letter-spacing: normal; " />
<br style="letter-spacing: normal; " />
●ロックしてしまった場合の情報を取得するには<br style="letter-spacing: normal; " />
SELECT xidusn,username,object_name,s.sid,serial#,<br style="letter-spacing: normal; " />
lmode,request,ctime,id2<br style="letter-spacing: normal; " />
FROM dba_objects o,v$locked_object l,v$session s ,v$lock v<br style="letter-spacing: normal; " />
WHERE o.object_id=l.object_id<br style="letter-spacing: normal; " />
and l.session_id=s.sid<br style="letter-spacing: normal; " />
and l.session_id=v.sid<br style="letter-spacing: normal; " />
and object_name='テーブル名';<br style="letter-spacing: normal; " />
<br style="letter-spacing: normal; " />
ctimeは、掴んでいる時間(s)<br style="letter-spacing: normal; " />
<br style="letter-spacing: normal; " />
<br style="letter-spacing: normal; " />
●ロック解除方法　<br style="letter-spacing: normal; " />
①<br style="letter-spacing: normal; " />
【コマンド】<br style="letter-spacing: normal; " />
alter system kill session 'sid,serial#';<br style="letter-spacing: normal; " />
<br style="letter-spacing: normal; " />
【SI ObjectBrowser】<br style="letter-spacing: normal; " />
ツールバーメニュー&rarr;管理&rarr;ロック情報　をクリック<br style="letter-spacing: normal; " />
ロックしているセッションを特定！<br style="letter-spacing: normal; " />
次に、ツールバーメニュー&rarr;管理&rarr;セッション情報　をクリック<br style="letter-spacing: normal; " />
特定したセッションを抹殺！<br style="letter-spacing: normal; " />
<br style="letter-spacing: normal; " />
※いずれもシステム権限(sysdba)がないとダメ<br style="letter-spacing: normal; " />
&rarr;sysdbaで接続は SQL>conn / as sysdba;<br style="letter-spacing: normal; " />
<br style="letter-spacing: normal; " />
②ひたすら待つ<br style="letter-spacing: normal; " />
<br style="letter-spacing: normal; " />
③SI ObjectbrowseなりSQL*Plusがあがったままなら<br style="letter-spacing: normal; " />
　COMMITなりROLLBACKなりSQL発行しまくれば、ロックは解放できる♪</span><br />]]>
    </description>
    <category>Oracle</category>
    <link>http://nichico.blog.shinobi.jp/oracle/%E3%83%AD%E3%83%83%E3%82%AF%E8%A7%A3%E9%99%A4</link>
    <pubDate>Mon, 30 Mar 2009 03:57:26 GMT</pubDate>
    <guid isPermaLink="false">nichico.blog.shinobi.jp://entry/1</guid>
  </item>

    </channel>
</rss>