<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
		xmlns:xhtml="http://www.w3.org/1999/xhtml"
>

<channel>
	<title>tdtshのブログ&#187; oracle</title>
	<atom:link href="http://www.tdtsh.com/blog/archives/category/oracle/feed" rel="self" type="application/rss+xml" />
	<link>http://www.tdtsh.com/blog</link>
	<description>ソーシャルメディアとか スレートとか Google App Engine とかの事の備忘録</description>
	<lastBuildDate>Tue, 07 Feb 2012 05:03:26 +0000</lastBuildDate>
	<language>ja</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.0.4</generator>
<xhtml:link rel="alternate" media="handheld" type="text/html" href="http://www.tdtsh.com/blog/archives/category/oracle/feed" />
		<item>
		<title>SEOはコンテンツありき、IPv4枯渇、マイナスのプロモーションなど</title>
		<link>http://www.tdtsh.com/blog/archives/1076</link>
		<comments>http://www.tdtsh.com/blog/archives/1076#comments</comments>
		<pubDate>Wed, 02 Feb 2011 03:05:22 +0000</pubDate>
		<dc:creator>tdtsh</dc:creator>
				<category><![CDATA[Amazon EC2]]></category>
		<category><![CDATA[Google App Engine]]></category>
		<category><![CDATA[knowledge]]></category>
		<category><![CDATA[management]]></category>
		<category><![CDATA[oracle]]></category>
		<category><![CDATA[web]]></category>
		<category><![CDATA[インフラ]]></category>
		<category><![CDATA[クラウド]]></category>
		<category><![CDATA[スレート・スマホ]]></category>
		<category><![CDATA[ソーシャルメディア]]></category>
		<category><![CDATA[光の道と電波ビッグバン]]></category>
		<category><![CDATA[電子書籍]]></category>

		<guid isPermaLink="false">http://www.tdtsh.com/blog/?p=1076</guid>
		<description><![CDATA[SEOとデザインは今後より密接になる理由 : could 良い記事。 WEBサイトもSEOもコンテンツありき、ですね。 そしてソーシャルメディアの場合は、コンテンツ≒人 ですね。 サイト（コンテンツ）を作る前に考えるべき [...]]]></description>
			<content:encoded><![CDATA[<blockquote><p>
	<a href="http://www.yasuhisa.com/could/article/seo-and-design/" target="_blank">SEOとデザインは今後より密接になる理由 : could</a>
</p></blockquote>
<p>良い記事。<br />
WEBサイトもSEOもコンテンツありき、ですね。<br />
そしてソーシャルメディアの場合は、コンテンツ≒人 ですね。</p>
<p>サイト（コンテンツ）を作る前に考えるべきこと</p>
<ul>
<li>Webサイトにおけるビジネスゴールは何か？</li>
<li>なぜ Web サイトが必要なのか？</li>
<li>誰に向けてコンテンツを配信したいか？</li>
<li>利用者に提供したいコンテンツは何か？</li>
<li>利用者が欲していると感じるコンテンツは何か？</li>
<li>どのように利用者のもつ問題を解決するのか？</li>
</ul>
<p>
&nbsp;</p>
<hr />
<blockquote><p>
	<a href="http://www.motoharusumi.com/%E3%82%86%E3%81%A3%E3%81%8F%E3%82%8A%E3%81%A8%E7%A2%BA%E5%AE%9F%E3%81%AB%E5%A4%89%E5%8C%96%E3%81%99%E3%82%8Bweb%E5%88%B6%E4%BD%9C%E3%81%AE%E3%83%AB%E3%83%BC%E3%83%AB" target="_blank">ゆっくりと確実に変化するWeb制作のルール | 住 太陽のブログ</a>
</p></blockquote>
<p>言っちゃった。<br />
WEBサービスがコモディティ化してるのに、それでも独自ドメインでイチからWEBサイトを製作するのは不誠実だ、と。</p>
<p>私が受託開発に未来は無いと思った一番の理由が、「ソフトウェアエンジニアは、車輪を再開発したがる」でした。<br />
少し業務要件を変えてでも、パッケージとかオープンソースとか有りものを活用した方がイイと判っていても、工数ほしいからイチから作っちゃう。<br />
今はウェブサービスを活用した方がクライアントの為だと本心では思っても、自分達が食べる為にはオーダーメードのシステムを作り続けないといけない。<br />
その構造と一緒ですね。</p>
<p>今は無料or格安でブログを立ち上げられるし、Twitter と Facebook がある。<br />
極端な話、大手のWEBサービスを使わないとしても、その3つで事足りてしまう気がする。<br />
今年あたり、Facebookファンページ上にECサイトを作る、という案件が急増しそうな予感。</p>
<p>
&nbsp;</p>
<hr />
<blockquote>
<p>	X. プロモーションする対象のサービス</p>
<p>	A. 最大限のマーケットの大きさ。つまりは全体でターゲットになるユーザが何人いるか。<br />
	B. Xをしらないユーザ<br />
	C. Xをしっているユーザ<br />
	D. Xをしっていて興味をもたなかったユーザ</p>
<p>	当然ながら、A=B+C+Dとなる。そして僕はプロモーションをするときにB,C,Dの比率がそれによってどう変化するかを考える。</p>
<p>	特に長期的な戦略を考える場合には重要視するモデルだ。</p>
<p>	このモデルのパラメータに実際にユーザになった数がはいっていないのも、僕的には重要なポイントだが、まあいい。あとで説明する。</p>
<p>	で、この場合のプロモーションでベストな基本戦略は以下のとおりだ。</p>
<p>	戦略１．　Bはできるだけ減らさない。</p>
<p>	戦略２．　Bが減った分、CとDが増えるが、できるだけCを増やして、Dは増えないようにする。</p>
<p>	↑これが効果のないプロモーションはマイナスのプロモーションになる理由だ。</p>
<p>	<a href="http://d.hatena.ne.jp/kawango/20110201" target="_blank">マイナスのプロモーション &#8211; はてなポイント３万を使い切るまで死なない日記</a>
</p></blockquote>
<p>すごく良い記事。<br />
プロモーションに関して言えば、「やらないよりやった方がマシ」では無く、「やらない方がマシ」が存在すると言う話。</p>
<p>
&nbsp;</p>
<hr />
<blockquote><p>
	<a href="http://www.publickey1.jp/blog/11/ianaipv4.html" target="_blank">IANAによるIPv4アドレスの配布が事実上終了 － Publickey</a></p>
<p>	<a href="http://www.geekpage.jp/blog/?id=2011/2/1/1" target="_blank">Geekなぺーじ : IPv4アドレス枯渇。その意味と恐らくこれから起きること</a>
</p></blockquote>
<p>ついにきた。</p>
<p>私がまだネットワークエンジニアのつもりだった頃IPv6を学んだのはもう10年以上前の様な気がする。<a href="http://www.kame.net/" target="_blank">KAME project</a>で踊るカメが見えたとか見えなかったとか。<br />
その当時は数年もすれば国策としてのIPv6が普及してIPv4は消えていくんだろうと思ってたけど、IPv4はNAPTを駆使してしぶとく生き残ってきた。</p>
<p>JPNICで枯渇するのも時間の問題です。<br />
いよいよ悠長な事言ってられなくなってきた訳です。<br />
新規でWEBサービス立ち上げるハードルが上がっちゃうじゃねーかコンチクショー！な人もいるかも知れませんが、そこはクラウドがあるじゃないですか。</p>
<p>
&nbsp;</p>
<hr />
<blockquote><p>
	あのテレビCMを見てGALAPAGOS（ガラパゴス）に飛びつく程度に、ITに詳しくない人たちが、果たして自宅の無線LAN構築から、GALAPAGOS（ガラパゴス）をWiFi端末として認識させるところまで、すんなりとできるだろうか。<br />
	<a href="http://tod.cocolog-nifty.com/diary/2011/02/sharpgalapagosc.html">SHARP、GALAPAGOS（ガラパゴス）の哀れをもよおすテレビCM: 愛と苦悩の日記</a>
</p></blockquote>
<p>GALAPAGOSに関する至極最もな疑問。<br />
誰に売るのか？この製品は誰を喜ばすものなのか？<br />
一見、GALAPAGOSの戦略にはグランドデザインが欠如している様にも思えるけど、GALAPAGOSメディアタブレットには明確な意思が込められている気がする。</p>
<p>キャリアに依存しない収益構造の模索、だ。<br />
模索してるから、製品設計のコンセプトもプロモーションもなんか的を射てなかったり、ブレてる。<br />
そう考えると、生暖かい目で見守る気にもなってくる。</p>
<p>私はiPadユーザだけど日本人だから、建設的な意見も述べてみます。<br />
GALAPAGOS は ePub3 がスタンダードになる前に、つまり2011年中に、利用者にとってXMDFが如何に優れているか徹底的にプロモーションし、端末をディスカウントしてでもシェアを伸ばすべきだ。今はそれ以外、無い。<br />
1万円台だったら、私も買います。</p>
<p>
&nbsp;</p>
<hr />
<blockquote><p>
	ブラウザでChromeを使ってる人はCtrl+Shift+Jを押せばHttpヘッダー情報見れます<br />
	<a href="http://d.hatena.ne.jp/bluerabbit/20110201/1296564298" target="_blank">Google App EngineではAdmin権限でリクエストするとCPU使用率と1リクエストあたりの課金額がわかる &#8211; あおうさ＠日記</a>
</p></blockquote>
<p>知らなかった！</p>
<p>Ctrl + Shift + J でDevelopper Tools起動 -> [Resources]タブ選択 -> 左ペイン[RESOURCES]からHTML本体をクリック -> 右で[Headers]タブ選択</p>
<p>でHTTP Responseヘッダが見られます。</p>
<pre>
	X-AppEngine-Estimated-CPM-US-Dollars:
	X-AppEngine-Resource-Usage:
</pre>
<p>がソレです。便利。</p>
<p>
&nbsp;</p>
<hr />
<blockquote><p>
	<a href="http://www.publickey1.jp/blog/11/amazonoracle_11g.html" target="_blank">Amazonクラウド、Oracle 11gのデータベースサービスを発表。パッチ適用やバックアップなど運用は全部クラウドにおまかせ － Publickey</a>
</p></blockquote>
<p><a href="http://aws.typepad.com/aws_japan/2011/01/introducing-amazon-beanstalk.html" target="_blank">AWS Elastic Beanstalk</a>もそうだけど、いよいよエンタープライズ分野を攻略する気マンマンなAmazon様が、Oracleも用意して下さる。<br />
これは良いニュースだ。<br />
ORACLEマスター涙目。</p>
<p>
&nbsp;</p>
<hr />
<blockquote><p>
	<a href="http://web-tan.forum.impressrd.jp/e/2011/02/01/9647" target="_blanl">サイトに設置した「いいね!」の押され具合をデータで解析する方法 | Web担当者Forum</a>
</p></blockquote>
<p>自サイトに設置したFacebook「イイね！」ボタンがどれ位押されたかを見るには、<a href="http://www.facebook.com/insights/" target="_blank">Facebookインサイト</a>を使えば出来る。Facebook用のタグが正しく記述されているかは<a href="http://developers.facebook.com/tools/lint" target="_blank">URLリンター</a>を使う。</p>
<p>
&nbsp;</p>
<hr />
<blockquote><p>
	昨年度の電波利用料収入は642億円。これは一般会計だが、実質的にはすべて総務省が使える隠れ特別会計になっている。来年度の総務省のICT予算が約1200億円だから、その半分以上の隠し財源を持っているのだ。<br />
	<a href="http://ikedanobuo.livedoor.biz/archives/51672451.html" target="_blank">池田信夫 blog : 電波利用料という「隠れ特別会計」 &#8211; ライブドアブログ</a>
</p></blockquote>
<p>総務省が周波数オークションを見送った理由は電波利用料が隠し財源になっているから、だそうです。<br />
いやぁ、許せませんな。</p>
<p>
&nbsp;</p>
<hr />
<blockquote><p>
	<a href="http://gigazine.net/news/20110201_android_world_share_no1/" target="_blank">Androidスマートフォンのシェアが全世界1位に、iPhoneもSymbian OSも抜き去る &#8211; GIGAZINE</a>
</p></blockquote>
<p>全世界でAndroidスマホのシェアが1位になったそうです。<br />
日本は？</p>
<p>
&nbsp;</p>
<hr />
<blockquote><p>
	<a href="http://goryugo.com/20110202/shotnote/">キングジムのEvernote対応メモ（ショットノート）がもうすぐ出ますよ | goryugo, addicted to Evernote</a>
</p></blockquote>
<p>これは・・・<br />
iPhoneに取り込む為の紙。<br />
<a href="http://www.kingjim.co.jp/sp/shotnote/manual.html">iPhoneアプリ</a>と組み合わせると、その紙のタイトル欄と日付欄がOCRで読み込まれるみたい。<br />
そしてEvernoteに投稿できるらしい。</p>
<div id="fb-root"></div>
   <script>
   window.fbAsyncInit = function() {
   FB.init({appId: "135970219784621", status: true, cookie: true,
		 xfbml: true});
	};
 (function() {
  var e = document.createElement("script"); e.async = true;
 e.src = document.location.protocol +
   "//connect.facebook.net/jv_ID/all.js";
 document.getElementById("fb-root").appendChild(e);
}());
</script><span class = ""  style = "  "><fb:like href="http://www.tdtsh.com/blog/archives/1076" send = "false" layout="standard" show_faces="false" width="" action="like" colorscheme="light" font="" /></span>]]></content:encoded>
			<wfw:commentRss>http://www.tdtsh.com/blog/archives/1076/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
	<xhtml:link rel="alternate" media="handheld" type="text/html" href="http://www.tdtsh.com/blog/archives/1076" />
	</item>
		<item>
		<title>ハードウェアやソフトウェアは壊れたら買う、と言う考え方</title>
		<link>http://www.tdtsh.com/blog/archives/921</link>
		<comments>http://www.tdtsh.com/blog/archives/921#comments</comments>
		<pubDate>Wed, 15 Sep 2010 09:25:17 +0000</pubDate>
		<dc:creator>tdtsh</dc:creator>
				<category><![CDATA[management]]></category>
		<category><![CDATA[oracle]]></category>
		<category><![CDATA[インフラ]]></category>

		<guid isPermaLink="false">http://www.tdtsh.com/blog/?p=921</guid>
		<description><![CDATA[ITProにて、「保守を打ち切る」という中々男らしい？記事が掲載されている。 記事ではタイトルの通り、保守契約を打ち切ることで運用コストを減らすという事例を紹介している。たとえば、東京海上日動火災保険では求められる可用性 [...]]]></description>
			<content:encoded><![CDATA[<blockquote><p>
ITProにて、「<a href="http://itpro.nikkeibp.co.jp/article/COLUMN/20100826/351502/">保守を打ち切る</a>」という中々男らしい？記事が掲載されている。</p>
<p>記事ではタイトルの通り、保守契約を打ち切ることで運用コストを減らすという事例を紹介している。たとえば、東京海上日動火災保険では求められる可用性が 99.8％以下のシステムについてハードウエア保守を打ち切り、99.9％以上のシステムについても冗長構成を取っている場合は年間保守契約を外すということで、年間で3億円のコスト削減を実現した。パソナでは、保守サポート期間が切れたオラクル製データベースを使い続けることで年間で数千万円のコストを削減したということらしい。</p>
<p>ハードであればスポットで十分ということもあるし、ソフトでも問題に対応できる能力があれば古いソフトでも構わないというのは理解できる。ただ、どこでもお薦めできる削減策ではなさそうだ。</p>
<p><a href="http://slashdot.jp/it/10/09/10/0611203.shtml">保守を打ち切るというコスト削減策 &#8211; スラッシュドット・ジャパン</a>
</p></blockquote>
<p>いわゆるミッションクリティカルな業務系のシステムでは利用者が多かったり、動くお金が大きかったり、必然的にシステム障害で失う信用やお金が大きい訳で、それなりに情報システムにお金をかけますし、ITベンダやSIerも頑張って色々とお金を使わせます。</p>
<p>IT技術者の立場としては、システムの規模もでかい事が多い訳ですし、適切な保守契約が無いと故障対応とかアップデートとかトラブルシュートとかのサポートが受けられない事そのものは重大なリスクであり、職責を果たす上で「サポートを受けない」と言う選択肢は取りたくない訳です。<br />
つまりIT技術者側に、保守サポートを打ち切るとか、BCPの金をケチるとか、そんな事にチャレンジする動機を持つ事が少ないです。</p>
<p>そういう現場では経営層もITって金かかるモンだと言う認識があって、それなりにITの重要性を認識しちゃってたりします。</p>
<p>でもこのご時勢ですし、今更ながら「なんでこんなにITに保守コストがかかるんだ」とか、「現状維持するだけなのになんでこんなに投資がいるんだ」なんて事を収益部門や管理部門の人たちは当然思うわけです。</p>
<p>ただ、保守サポートを切る、切らないとか言う議論には、少なからず情報セキュリティの問題も絡んでくるんで、もし何かあったら責任とれるんですか的な論理が通りやすいです。</p>
<p>また、IT技術者は本音では、古い機器は壊れたら捨てて新しいの買った方が結果的に安上がりじゃんと思ってても、償却が終わってない機器を捨てる事は罷りならんとか、キチンと4年保守契約を結びなさいなんていう内規になってる場合もあります。</p>
<p>そういう意味では、保守契約を打ち切る、という手段でコスト削減を図るのは、男らしいと言えば男らしいし、クレバーだと思います。<br />
正しくリスク分析が出来ていれば。</p>
<p>これが貧乏・ケチな現場では、初めから保守契約なんて考えてなかったり、リタンダンシー何それ旨いんか？的な感じだったり。<br />
まぁ往々にしてそういう現場のシステムは規模が小さいんですが、最初から男らしい？生き方しか選択出来ない場合もありますね。</p>
<p>オラクルの保守、高いですよね。<br />
貧乏な現場では、それこそ仮想化技術をフル活用して、8や9を延命している事でしょう。</p>
<p>とりわけWEBの世界では、ミドルウェアも自己責任でオープンソース、機械は壊れたら買う、と言う現場が割りと普通なんじゃないかと。<br />
勿論ある程度の冗長構成とかバックアップの運用とかが前提ではありますけど。</p>
<div id="fb-root"></div>
   <script>
   window.fbAsyncInit = function() {
   FB.init({appId: "135970219784621", status: true, cookie: true,
		 xfbml: true});
	};
 (function() {
  var e = document.createElement("script"); e.async = true;
 e.src = document.location.protocol +
   "//connect.facebook.net/jv_ID/all.js";
 document.getElementById("fb-root").appendChild(e);
}());
</script><span class = ""  style = "  "><fb:like href="http://www.tdtsh.com/blog/archives/921" send = "false" layout="standard" show_faces="false" width="" action="like" colorscheme="light" font="" /></span>]]></content:encoded>
			<wfw:commentRss>http://www.tdtsh.com/blog/archives/921/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
	<xhtml:link rel="alternate" media="handheld" type="text/html" href="http://www.tdtsh.com/blog/archives/921" />
	</item>
		<item>
		<title>WindowsのタスクスケジューラでOracleをRMANバックアップ</title>
		<link>http://www.tdtsh.com/blog/archives/848</link>
		<comments>http://www.tdtsh.com/blog/archives/848#comments</comments>
		<pubDate>Fri, 13 Aug 2010 15:10:42 +0000</pubDate>
		<dc:creator>tdtsh</dc:creator>
				<category><![CDATA[oracle]]></category>

		<guid isPermaLink="false">http://www.tdtsh.com/blog/?p=848</guid>
		<description><![CDATA[一応メモっとこ。 ビンボなんで管理サーバの無いスタンドアロンなOracleを立てて、バックアップをリモートのWindows機で取る、なんて運用を結構します。 DOSバッチファイルはこんな感じです。 RMAN target [...]]]></description>
			<content:encoded><![CDATA[<p>一応メモっとこ。</p>
<p>ビンボなんで管理サーバの無いスタンドアロンなOracleを立てて、バックアップをリモートのWindows機で取る、なんて運用を結構します。</p>
<p>DOSバッチファイルはこんな感じです。</p>
<pre>
RMAN target sys/pass@dbname @C:\pathtobatch\rman.txt log C:\pathtobatch\rman.log
</pre>
<p>rman.txt の中身はこんな感じ。</p>
<pre>
run {
	allocate channel Channel1 type disk format 'C:\path\to\backupset\bk_%u_%p_%c';
	backup ( archivelog all  delete input );
	backup ( database include current controlfile );

}
allocate channel for maintenance device type disk;
delete obsolete device type disk;
</pre>
<p>DBAもいない現場では最低この程度を日次でやっといてもらう事でサイアクの事態だけ防ぐです。<br />
小規模システム超モノグサ運用むけ。</p>
<p>ちなみにこの方法だと最新のバックアップListを含んだ制御ファイルが取れてないので、良い子は別途制御ファイルのバックアップを取りましょう。<br />
無くてもなんとか不完全リカバリできるけど、Point In Timeなリカバリが出来なくなっちゃうので。</p>
<div id="fb-root"></div>
   <script>
   window.fbAsyncInit = function() {
   FB.init({appId: "135970219784621", status: true, cookie: true,
		 xfbml: true});
	};
 (function() {
  var e = document.createElement("script"); e.async = true;
 e.src = document.location.protocol +
   "//connect.facebook.net/jv_ID/all.js";
 document.getElementById("fb-root").appendChild(e);
}());
</script><span class = ""  style = "  "><fb:like href="http://www.tdtsh.com/blog/archives/848" send = "false" layout="standard" show_faces="false" width="" action="like" colorscheme="light" font="" /></span>]]></content:encoded>
			<wfw:commentRss>http://www.tdtsh.com/blog/archives/848/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
	<xhtml:link rel="alternate" media="handheld" type="text/html" href="http://www.tdtsh.com/blog/archives/848" />
	</item>
		<item>
		<title>Oracle RMANでarchived log バックアップ時にエラー ORA-19625</title>
		<link>http://www.tdtsh.com/blog/archives/846</link>
		<comments>http://www.tdtsh.com/blog/archives/846#comments</comments>
		<pubDate>Fri, 13 Aug 2010 06:40:20 +0000</pubDate>
		<dc:creator>tdtsh</dc:creator>
				<category><![CDATA[oracle]]></category>

		<guid isPermaLink="false">http://www.tdtsh.com/blog/?p=846</guid>
		<description><![CDATA[開発機でOracle の RMAN (Recovery Manager) でアーカイブログのバックアップを実行しようとするとエラーになった。 RMAN-06059: expected archived log not f [...]]]></description>
			<content:encoded><![CDATA[<p>開発機でOracle の RMAN (Recovery Manager) でアーカイブログのバックアップを実行しようとするとエラーになった。</p>
<pre>
RMAN-06059: expected archived log not found, lost of archived log compromises recoverability
ORA-19625: ファイルXXXXXの識別中にエラーが発生しました。
ORA-27041: ファイルをオープンできません。
</pre>
<p>OSから手動でアーカイブログを削除した事が原因らしい。<br />
(制御ファイル中のlistと実ファイルが矛盾する)</p>
<p>バックアップの前に、<br />
crosscheck archivelog all;<br />
を実行すればOK。</p>
<p>参考サイト<br />
<a href="http://ameblo.jp/archive-redo-blog/entry-10035436637.html"> [Oracle] RMANでのバックアップ実行時にアーカイブログファイルの識別エラーが発生する｜Archive Redo Blog</a></p>
<div id="fb-root"></div>
   <script>
   window.fbAsyncInit = function() {
   FB.init({appId: "135970219784621", status: true, cookie: true,
		 xfbml: true});
	};
 (function() {
  var e = document.createElement("script"); e.async = true;
 e.src = document.location.protocol +
   "//connect.facebook.net/jv_ID/all.js";
 document.getElementById("fb-root").appendChild(e);
}());
</script><span class = ""  style = "  "><fb:like href="http://www.tdtsh.com/blog/archives/846" send = "false" layout="standard" show_faces="false" width="" action="like" colorscheme="light" font="" /></span>]]></content:encoded>
			<wfw:commentRss>http://www.tdtsh.com/blog/archives/846/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
	<xhtml:link rel="alternate" media="handheld" type="text/html" href="http://www.tdtsh.com/blog/archives/846" />
	</item>
		<item>
		<title>Access 2010 では DBエンジンに SQL Azure が使える様になる</title>
		<link>http://www.tdtsh.com/blog/archives/679</link>
		<comments>http://www.tdtsh.com/blog/archives/679#comments</comments>
		<pubDate>Tue, 15 Jun 2010 02:03:26 +0000</pubDate>
		<dc:creator>tdtsh</dc:creator>
				<category><![CDATA[oracle]]></category>
		<category><![CDATA[sqlserver]]></category>
		<category><![CDATA[クラウド]]></category>
		<category><![CDATA[データベース]]></category>

		<guid isPermaLink="false">http://www.tdtsh.com/blog/?p=679</guid>
		<description><![CDATA[マイクロソフトのAccess 2010では、ODBCを通じてクラウド上のリレーショナルデータベースであるSQL Azureに直接接続可能だと、MS Officeチームのブログのエントリ「Access 2010 and S [...]]]></description>
			<content:encoded><![CDATA[<blockquote><p>
マイクロソフトのAccess 2010では、ODBCを通じてクラウド上のリレーショナルデータベースであるSQL Azureに直接接続可能だと、MS Officeチームのブログのエントリ「Access 2010 and SQL Azure」で紹介されています。<br />
Access 2010 and SQL Azure &#8211; Microsoft Access &#8211; Site Home &#8211; MSDN Blogs</p>
<p>この機能を使えば、社内でSQL Serverの運用をすることなく、Access 2010から大規模なリレーショナルデータベースの機能を利用することができるようになります。」
</p></blockquote>
<p><a href="http://www.publickey1.jp/blog/10/access_2010odbcsql_azure.html">Access 2010からODBCでクラウドのSQL Azureに接続可能。そのメリットは？</a></p>
<p>JetエンジンのままAccessを多人数で使うのは、排他制御の面でも、性能の面でも、あまり宜しくないんですけど、現場によっては結構重宝されていますよね。</p>
<p>自動でシュリンクしないからファイルがどんどん肥大化するし、しょっちゅう壊れるし。<br />
せめてMSDE、今で言うとSQL Server Express Editionですかね、を使って欲しい訳です。</p>
<blockquote><p>
データベース管理者にとっては、SQL Serverのデータメンテナンスなど管理業務をAccessから行うことでずっと便利になるという指摘もいただきました。たしかに、それもぐっと楽になりそうです。
</p></blockquote>
<p>ODBCドライバさえあれば、OracleでもDB2でもデータ管理は出来ますね。<br />
SQL大好きな私にとってAccessのクエリを使うのは苦痛なんですけど、エンドユーザにはGUIで操作できるAccessは結構使いやすいみたいですね。</p>
<p>RDMBSはコモディティ化した感があります。<br />
今後のデータストアのプラットフォームは、完全にクラウド上での覇権争いになってきました。<br />
KVSで無くRDBMSじゃ無いと駄目な案件を、SQL Azure と VM Forceが受け皿になっていきそうな予感。</p>
<p>どうするOracle陣営。</p>
<div id="fb-root"></div>
   <script>
   window.fbAsyncInit = function() {
   FB.init({appId: "135970219784621", status: true, cookie: true,
		 xfbml: true});
	};
 (function() {
  var e = document.createElement("script"); e.async = true;
 e.src = document.location.protocol +
   "//connect.facebook.net/jv_ID/all.js";
 document.getElementById("fb-root").appendChild(e);
}());
</script><span class = ""  style = "  "><fb:like href="http://www.tdtsh.com/blog/archives/679" send = "false" layout="standard" show_faces="false" width="" action="like" colorscheme="light" font="" /></span>]]></content:encoded>
			<wfw:commentRss>http://www.tdtsh.com/blog/archives/679/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
	<xhtml:link rel="alternate" media="handheld" type="text/html" href="http://www.tdtsh.com/blog/archives/679" />
	</item>
		<item>
		<title>Oracleで ORA-01745: ホスト/バインド変数名が無効です。</title>
		<link>http://www.tdtsh.com/blog/archives/392</link>
		<comments>http://www.tdtsh.com/blog/archives/392#comments</comments>
		<pubDate>Mon, 28 Sep 2009 11:27:17 +0000</pubDate>
		<dc:creator>tdtsh</dc:creator>
				<category><![CDATA[oracle]]></category>

		<guid isPermaLink="false">http://www.tdtsh.com/blog/?p=392</guid>
		<description><![CDATA[たまにやるので、メモ。 ORA-01745: ホスト/バインド変数名が無効です。 なんて言われて、INSERTが失敗する。 何のことはない、VALUES句の後で、カンマを入れ忘れてた。 こんな感じ。 VALUES (?, [...]]]></description>
			<content:encoded><![CDATA[<p>たまにやるので、メモ。</p>
<p>ORA-01745: ホスト/バインド変数名が無効です。</p>
<p>なんて言われて、INSERTが失敗する。</p>
<p>何のことはない、VALUES句の後で、カンマを入れ忘れてた。</p>
<p>こんな感じ。</p>
<pre>
	 VALUES (?,?,? ?)
</pre>
<p>正しくは、こう。</p>
<pre>
	 VALUES (?,?,?,?)
</pre>
<p>実際は、バインド変数の数はもっと沢山あって、改行とか入っているから<br />
間違えに気づくのがちょっと遅かった。</p>
<div id="fb-root"></div>
   <script>
   window.fbAsyncInit = function() {
   FB.init({appId: "135970219784621", status: true, cookie: true,
		 xfbml: true});
	};
 (function() {
  var e = document.createElement("script"); e.async = true;
 e.src = document.location.protocol +
   "//connect.facebook.net/jv_ID/all.js";
 document.getElementById("fb-root").appendChild(e);
}());
</script><span class = ""  style = "  "><fb:like href="http://www.tdtsh.com/blog/archives/392" send = "false" layout="standard" show_faces="false" width="" action="like" colorscheme="light" font="" /></span>]]></content:encoded>
			<wfw:commentRss>http://www.tdtsh.com/blog/archives/392/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
	<xhtml:link rel="alternate" media="handheld" type="text/html" href="http://www.tdtsh.com/blog/archives/392" />
	</item>
		<item>
		<title>java.sql.SQLException: 列索引が無効です。</title>
		<link>http://www.tdtsh.com/blog/archives/343</link>
		<comments>http://www.tdtsh.com/blog/archives/343#comments</comments>
		<pubDate>Fri, 04 Sep 2009 11:07:13 +0000</pubDate>
		<dc:creator>tdtsh</dc:creator>
				<category><![CDATA[java]]></category>
		<category><![CDATA[oracle]]></category>
		<category><![CDATA[データベース]]></category>

		<guid isPermaLink="false">http://www.tdtsh.com/blog/?p=343</guid>
		<description><![CDATA[Spring Framework の JdbcTemplate を使ってて、こんなんでました。 java.sql.SQLException: 列索引が無効です。 [commons-dbutils] エラー：列索引が無効で [...]]]></description>
			<content:encoded><![CDATA[<p>Spring Framework の JdbcTemplate を使ってて、こんなんでました。</p>
<pre>
	java.sql.SQLException: 列索引が無効です。
</pre>
<p><a href="http://blogs.yahoo.co.jp/e_coc_e/4957344.html">[commons-dbutils] エラー：列索引が無効です。 &#8211; メモ！メモ！ &#8211; Yahoo!ブログ</a><br />
によると、</p>
<pre>
	PreparedStatementのプレースホルダの数と、設定しているパラメータの数が合っていない。
</pre>
<p>らしい。</p>
<p>が、数は有っている。</p>
<p>散々悩んだ挙句、ResultSetのgetXX の引数が、途中で間違ってた。<br />
こんな感じ。</p>
<pre>
	bean.setValue1(rs.getString(1));
	bean.setValue2(rs.getString(2));
	bean.setValue8(rs.getString(8));
	bean.setValue4(rs.getString(4));
	bean.setValue5(rs.getString(5));
	bean.setValue6(rs.getString(6));
</pre>
<p>実際は、列の数が200以上ある様なケースだったので、なかなか判らなかったのだ。</p>
<p>自戒の意味を込めて、書いておこう。</p>
<div id="fb-root"></div>
   <script>
   window.fbAsyncInit = function() {
   FB.init({appId: "135970219784621", status: true, cookie: true,
		 xfbml: true});
	};
 (function() {
  var e = document.createElement("script"); e.async = true;
 e.src = document.location.protocol +
   "//connect.facebook.net/jv_ID/all.js";
 document.getElementById("fb-root").appendChild(e);
}());
</script><span class = ""  style = "  "><fb:like href="http://www.tdtsh.com/blog/archives/343" send = "false" layout="standard" show_faces="false" width="" action="like" colorscheme="light" font="" /></span>]]></content:encoded>
			<wfw:commentRss>http://www.tdtsh.com/blog/archives/343/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
	<xhtml:link rel="alternate" media="handheld" type="text/html" href="http://www.tdtsh.com/blog/archives/343" />
	</item>
		<item>
		<title>Oracleで、exp、impでデータ移動、複製</title>
		<link>http://www.tdtsh.com/blog/archives/181</link>
		<comments>http://www.tdtsh.com/blog/archives/181#comments</comments>
		<pubDate>Wed, 22 Jul 2009 04:06:49 +0000</pubDate>
		<dc:creator>tdtsh</dc:creator>
				<category><![CDATA[oracle]]></category>
		<category><![CDATA[データベース]]></category>

		<guid isPermaLink="false">http://www.tdtsh.com/blog/?p=181</guid>
		<description><![CDATA[一連のRDBMSインスタンス間のデータ移動関係シリーズ PostgreSQLのCOPYコマンド LOADでCSVファイルをMySQLデータベースにインポートする pgdumpでPostgreSQLサーバ間でデータ移動、複 [...]]]></description>
			<content:encoded><![CDATA[<p>一連のRDBMSインスタンス間のデータ移動関係シリーズ</p>
<ul>
<li><a href="http://www.tdtsh.com/blog/archives/158">PostgreSQLのCOPYコマンド</a></li>
<li><a href="http://www.tdtsh.com/blog/archives/166">LOADでCSVファイルをMySQLデータベースにインポートする</a></li>
<li><a href="http://www.tdtsh.com/blog/archives/170">pgdumpでPostgreSQLサーバ間でデータ移動、複製</a></li>
</ul>
<p>今回はOracle版メモ。</p>
<h4>移行元サーバからデータをエクスポート</h4>
<pre>
exp "db_username/db_password@from_server file=dump.dmp tables=(table_a, table_b)"
</pre>
<h4>移行先サーバへデータをインポート</h4>
<pre>
imp "db_username/db_password@distination file=dump.dmp tables=(table_a, table_b)"
</pre>
<div id="fb-root"></div>
   <script>
   window.fbAsyncInit = function() {
   FB.init({appId: "135970219784621", status: true, cookie: true,
		 xfbml: true});
	};
 (function() {
  var e = document.createElement("script"); e.async = true;
 e.src = document.location.protocol +
   "//connect.facebook.net/jv_ID/all.js";
 document.getElementById("fb-root").appendChild(e);
}());
</script><span class = ""  style = "  "><fb:like href="http://www.tdtsh.com/blog/archives/181" send = "false" layout="standard" show_faces="false" width="" action="like" colorscheme="light" font="" /></span>]]></content:encoded>
			<wfw:commentRss>http://www.tdtsh.com/blog/archives/181/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
	<xhtml:link rel="alternate" media="handheld" type="text/html" href="http://www.tdtsh.com/blog/archives/181" />
	</item>
		<item>
		<title>Oracleで制御ファイルの自動バックアップ</title>
		<link>http://www.tdtsh.com/blog/archives/52</link>
		<comments>http://www.tdtsh.com/blog/archives/52#comments</comments>
		<pubDate>Tue, 23 Jun 2009 10:08:36 +0000</pubDate>
		<dc:creator>tdtsh</dc:creator>
				<category><![CDATA[oracle]]></category>
		<category><![CDATA[データベース]]></category>

		<guid isPermaLink="false">http://www.tdtsh.com/blog/?p=52</guid>
		<description><![CDATA[制御ファイルの自動バックアップの有効化 rman target sys/pass@hoge CONFIGURE CONTROLFILE AUTOBACKUP ON; CONFIGURE CONTROLFILE AUTOB [...]]]></description>
			<content:encoded><![CDATA[<div class="section">
<ul>
<ul>
<li> 制御ファイルの自動バックアップの有効化</li>
</ul>
</ul>
<p>rman target sys/pass@hoge</p>
<p>CONFIGURE CONTROLFILE AUTOBACKUP ON;</p>
<p>CONFIGURE CONTROLFILE AUTOBACKUP FORMAT FOR DEVICE TYPE DISK TO &#8216;/path_to_backup/ctl_%F&#8217;</p>
<p></p>
<ul>
<ul>
<li> 自動バックアップからの制御ファイルのリストア</li>
</ul>
</ul>
<p>set dbid = 682122420;</p>
<p>set CONTROLFILE AUTOBACKUP FORMAT FOR DEVICE TYPE DISK TO &#8216;/path_to_backup/ctl_%F&#8217;</p>
<p>restore controlfile from autobackup;</p>
</div>
<div id="fb-root"></div>
   <script>
   window.fbAsyncInit = function() {
   FB.init({appId: "135970219784621", status: true, cookie: true,
		 xfbml: true});
	};
 (function() {
  var e = document.createElement("script"); e.async = true;
 e.src = document.location.protocol +
   "//connect.facebook.net/jv_ID/all.js";
 document.getElementById("fb-root").appendChild(e);
}());
</script><span class = ""  style = "  "><fb:like href="http://www.tdtsh.com/blog/archives/52" send = "false" layout="standard" show_faces="false" width="" action="like" colorscheme="light" font="" /></span>]]></content:encoded>
			<wfw:commentRss>http://www.tdtsh.com/blog/archives/52/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
	<xhtml:link rel="alternate" media="handheld" type="text/html" href="http://www.tdtsh.com/blog/archives/52" />
	</item>
		<item>
		<title>Oracleの表領域を移動 備忘録</title>
		<link>http://www.tdtsh.com/blog/archives/53</link>
		<comments>http://www.tdtsh.com/blog/archives/53#comments</comments>
		<pubDate>Tue, 23 Jun 2009 08:01:41 +0000</pubDate>
		<dc:creator>tdtsh</dc:creator>
				<category><![CDATA[oracle]]></category>
		<category><![CDATA[データベース]]></category>

		<guid isPermaLink="false">http://www.tdtsh.com/blog/?p=53</guid>
		<description><![CDATA[すぐに忘れるのでメモ。 Oracle 9iで実行 ALTER TABLESPACE USERS offline; ここで表領域のデータファイルをコピーまたは移動する mv /PATH_TO_CURRENT/USERS01 [...]]]></description>
			<content:encoded><![CDATA[<div class="section">
<p>すぐに忘れるのでメモ。</p>
<p>Oracle 9iで実行</p>
<p>ALTER TABLESPACE USERS offline;</p>
<p>ここで表領域のデータファイルをコピーまたは移動する</p>
<p>mv /PATH_TO_CURRENT/USERS01.DBF /PATH_TO_MOVE/USERS01.DBF</p>
<p>ALTER TABLESPACE USERS RENAME DATAFILE &#8216;/PATH_TO_CURRENT/USERS01.DBF&#8217; to &#8216;/PATH_TO_MOVE/USERS01.DBF&#8217;;</p>
<p>ALTER TABLESPACE USERS online;</p>
</div>
<div id="fb-root"></div>
   <script>
   window.fbAsyncInit = function() {
   FB.init({appId: "135970219784621", status: true, cookie: true,
		 xfbml: true});
	};
 (function() {
  var e = document.createElement("script"); e.async = true;
 e.src = document.location.protocol +
   "//connect.facebook.net/jv_ID/all.js";
 document.getElementById("fb-root").appendChild(e);
}());
</script><span class = ""  style = "  "><fb:like href="http://www.tdtsh.com/blog/archives/53" send = "false" layout="standard" show_faces="false" width="" action="like" colorscheme="light" font="" /></span>]]></content:encoded>
			<wfw:commentRss>http://www.tdtsh.com/blog/archives/53/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
	<xhtml:link rel="alternate" media="handheld" type="text/html" href="http://www.tdtsh.com/blog/archives/53" />
	</item>
	</channel>
</rss>

