<?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/"
	>

<channel>
	<title>I&#039;m CaLendarW Blog &#187; database</title>
	<atom:link href="http://wongkalun.idv.hk/tag/database/feed/" rel="self" type="application/rss+xml" />
	<link>http://wongkalun.idv.hk</link>
	<description>Put the technology in correct places</description>
	<lastBuildDate>Sun, 18 Apr 2010 16:19:55 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.0</generator>
		<item>
		<title>Error 29506 when installing SQL Server 2005 Management Studio Express on Windows 7</title>
		<link>http://wongkalun.idv.hk/2009/08/25/error-29506-when-installing-sql-server-2005-management-studio-express-on-windows-7/</link>
		<comments>http://wongkalun.idv.hk/2009/08/25/error-29506-when-installing-sql-server-2005-management-studio-express-on-windows-7/#comments</comments>
		<pubDate>Tue, 25 Aug 2009 15:26:21 +0000</pubDate>
		<dc:creator>calendarw</dc:creator>
				<category><![CDATA[error handling]]></category>
		<category><![CDATA[database]]></category>
		<category><![CDATA[installation]]></category>
		<category><![CDATA[sql]]></category>
		<category><![CDATA[windows7]]></category>

		<guid isPermaLink="false">http://wongkalun.idv.hk/?p=692</guid>
		<description><![CDATA[部 x60 今日好似傻傻地, 所以係部 tx2 度預備返個 development environment, 而用開 xp 既我, 換左 win7 之後連入野都好似有 d 問題&#8230;&#8230; 好在係網上搵到以下呢個 procedure: Click &#8220;All Programs&#8221;, select &#8220;Accessories&#8221;, right click the Command Prompt shortcut and select &#8220;Run as Administrator&#8221;. Click &#8220;Yes&#8221; to accept the warning Use command &#8220;cd&#8221; to navigate to the installation directory. Type the installation file to execute [...]]]></description>
			<content:encoded><![CDATA[<div>部 x60 今日好似傻傻地, 所以係部 tx2 度預備返個 development environment, 而用開 xp 既我, 換左 win7 之後連入野都好似有 d 問題&#8230;&#8230;</div>
<div></div>
<div>好在係網上搵到以下呢個 procedure:</div>
<ol>
<li>Click &#8220;All Programs&#8221;, select &#8220;Accessories&#8221;, right click the Command Prompt shortcut and select &#8220;Run as Administrator&#8221;.</li>
<li>Click &#8220;Yes&#8221; to accept the warning</li>
<li>Use command &#8220;cd&#8221; to navigate to the installation directory.</li>
<li>Type the installation file to execute file. (e.g. SQLServer2005_SSMSEE_x64.msi) and complete the installation.</li>
</ol>


<div class="shr-bookmarks shr-bookmarks-expand shr-bookmarks-center shr-bookmarks-bg-enjoy">
<ul class="socials">
		<li class="shr-comfeed">
			<a href="http://wongkalun.idv.hk/2009/08/25/error-29506-when-installing-sql-server-2005-management-studio-express-on-windows-7/feed" rel="nofollow" class="external" title="Subscribe to the comments for this post?">Subscribe to the comments for this post?</a>
		</li>
		<li class="shr-delicious">
			<a href="http://delicious.com/post?url=http://wongkalun.idv.hk/2009/08/25/error-29506-when-installing-sql-server-2005-management-studio-express-on-windows-7/&amp;title=Error+29506+when+installing+SQL+Server+2005+Management+Studio+Express+on+Windows+7" rel="nofollow" class="external" title="Share this on del.icio.us">Share this on del.icio.us</a>
		</li>
		<li class="shr-digg">
			<a href="http://digg.com/submit?phase=2&amp;url=http://wongkalun.idv.hk/2009/08/25/error-29506-when-installing-sql-server-2005-management-studio-express-on-windows-7/&amp;title=Error+29506+when+installing+SQL+Server+2005+Management+Studio+Express+on+Windows+7" rel="nofollow" class="external" title="Digg this!">Digg this!</a>
		</li>
		<li class="shr-diigo">
			<a href="http://www.diigo.com/post?url=http://wongkalun.idv.hk/2009/08/25/error-29506-when-installing-sql-server-2005-management-studio-express-on-windows-7/&amp;title=Error+29506+when+installing+SQL+Server+2005+Management+Studio+Express+on+Windows+7&amp;desc=%E9%83%A8%20x60%20%E4%BB%8A%E6%97%A5%E5%A5%BD%E4%BC%BC%E5%82%BB%E5%82%BB%E5%9C%B0%2C%20%E6%89%80%E4%BB%A5%E4%BF%82%E9%83%A8%20tx2%20%E5%BA%A6%E9%A0%90%E5%82%99%E8%BF%94%E5%80%8B%20development%20environment%2C%20%E8%80%8C%E7%94%A8%E9%96%8B%20xp%20%E6%97%A2%E6%88%91%2C%20%E6%8F%9B%E5%B7%A6%20win7%20%E4%B9%8B%E5%BE%8C%E9%80%A3%E5%85%A5%E9%87%8E%E9%83%BD%E5%A5%BD%E4%BC%BC%E6%9C%89%20d%20%E5%95%8F%E9%A1%8C......%0D%0A%0D%0A%E5%A5%BD%E5%9C%A8%E4%BF%82%E7%B6%B2%E4%B8%8A%E6%90%B5%E5%88%B0%E4%BB%A5%E4%B8%8B%E5%91%A2%E5%80%8B%20procedure%3A%0D%0A%0D%0A%09Click%20%22All%20Programs%22%2C%20select%20%22Accessories%22%2C%20right%20click%20the%20Command%20Prompt%20shortcut" rel="nofollow" class="external" title="Post this on Diigo">Post this on Diigo</a>
		</li>
		<li class="shr-googlebuzz">
			<a href="http://www.google.com/buzz/post?url=http://wongkalun.idv.hk/2009/08/25/error-29506-when-installing-sql-server-2005-management-studio-express-on-windows-7/&amp;imageurl=" rel="nofollow" class="external" title="Post on Google Buzz">Post on Google Buzz</a>
		</li>
		<li class="shr-misterwong">
			<a href="http://www.mister-wong.com/addurl/?bm_url=http://wongkalun.idv.hk/2009/08/25/error-29506-when-installing-sql-server-2005-management-studio-express-on-windows-7/&amp;bm_description=Error+29506+when+installing+SQL+Server+2005+Management+Studio+Express+on+Windows+7&amp;plugin=sexybookmarks" rel="nofollow" class="external" title="Add this to Mister Wong">Add this to Mister Wong</a>
		</li>
		<li class="shr-mixx">
			<a href="http://www.mixx.com/submit?page_url=http://wongkalun.idv.hk/2009/08/25/error-29506-when-installing-sql-server-2005-management-studio-express-on-windows-7/&amp;title=Error+29506+when+installing+SQL+Server+2005+Management+Studio+Express+on+Windows+7" rel="nofollow" class="external" title="Share this on Mixx">Share this on Mixx</a>
		</li>
		<li class="shr-reddit">
			<a href="http://reddit.com/submit?url=http://wongkalun.idv.hk/2009/08/25/error-29506-when-installing-sql-server-2005-management-studio-express-on-windows-7/&amp;title=Error+29506+when+installing+SQL+Server+2005+Management+Studio+Express+on+Windows+7" rel="nofollow" class="external" title="Share this on Reddit">Share this on Reddit</a>
		</li>
		<li class="shr-stumbleupon">
			<a href="http://www.stumbleupon.com/submit?url=http://wongkalun.idv.hk/2009/08/25/error-29506-when-installing-sql-server-2005-management-studio-express-on-windows-7/&amp;title=Error+29506+when+installing+SQL+Server+2005+Management+Studio+Express+on+Windows+7" rel="nofollow" class="external" title="Stumble upon something good? Share it on StumbleUpon">Stumble upon something good? Share it on StumbleUpon</a>
		</li>
		<li class="shr-technorati">
			<a href="http://technorati.com/faves?add=http://wongkalun.idv.hk/2009/08/25/error-29506-when-installing-sql-server-2005-management-studio-express-on-windows-7/" rel="nofollow" class="external" title="Share this on Technorati">Share this on Technorati</a>
		</li>
		<li class="shr-twitter">
			<a href="http://twitter.com/home?status=Error+29506+when+installing+SQL+Server+2005+Management+Studio+Express+on+Windows%5B..%5D+-+http://bit.ly/9tQXwb&amp;source=shareaholic" rel="nofollow" class="external" title="Tweet This!">Tweet This!</a>
		</li>
</ul>
<div style="clear:both;"></div>
</div>




		<!-- Added by WP-DragToShare-eXtended Plugin -->
		<script type="text/javascript">
			dtsv.dtse_post_692_permalink = 'http://wongkalun.idv.hk/2009/08/25/error-29506-when-installing-sql-server-2005-management-studio-express-on-windows-7/';
			dtsv.dtse_post_692_title = 'Error 29506 when installing SQL Server 2005 Management Studio Express on Windows 7';
		</script>
		<!-- End of WP-DragToShare-eXtended Plugin -->]]></content:encoded>
			<wfw:commentRss>http://wongkalun.idv.hk/2009/08/25/error-29506-when-installing-sql-server-2005-management-studio-express-on-windows-7/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Rebuild Index on MsSQL</title>
		<link>http://wongkalun.idv.hk/2009/04/28/rebuild-index-on-mssql/</link>
		<comments>http://wongkalun.idv.hk/2009/04/28/rebuild-index-on-mssql/#comments</comments>
		<pubDate>Tue, 28 Apr 2009 15:57:45 +0000</pubDate>
		<dc:creator>calendarw</dc:creator>
				<category><![CDATA[database]]></category>
		<category><![CDATA[sql]]></category>

		<guid isPermaLink="false">http://wongkalun.idv.hk/?p=501</guid>
		<description><![CDATA[今日要對現有既 Table 做 Performance Testing, 但因為要 join 太多既 Table, 搜尋一個要 join 4 個 Table 先拎到想要既 &#8220;一隻&#8221; Record 既時間竟然要 11 秒, 可想而知個 Table Size 有幾大吧 (其實七位數字既 Record Count 啫, 而 where case 只有兩個用 &#8216;=&#8217; 既 criteria, 而且所有 Record 只能 insert, 不能 delete). 經過我 rebuild 過接近 10 個已有既 index 之後 (等了好幾分鐘), 搜尋時間減少至只需 5 秒&#8230; 以下係 mssql 2005 [...]]]></description>
			<content:encoded><![CDATA[<p>今日要對現有既 Table 做 Performance Testing, 但因為要 join 太多既 Table, 搜尋一個要 join 4 個 Table 先拎到想要既 &#8220;一隻&#8221; Record 既時間竟然要 11 秒, 可想而知個 Table Size 有幾大吧 (其實七位數字既 Record Count 啫, 而 where case 只有兩個用 &#8216;=&#8217; 既 criteria, 而且所有 Record 只能 insert, 不能 delete).</p>
<p>經過我 rebuild 過接近 10 個已有既 index 之後 (等了好幾分鐘), 搜尋時間減少至只需 5 秒&#8230;</p>
<p>以下係 mssql 2005 下 rebuild index 既一個 statement 既例子</p>
<pre class="brush: sql;">ALTER INDEX IX_tblMaster ON tblMaster REBUILD;</pre>
<p>IX_tblMaster 係 index 名<br />
tblMaster 係 table 名</p>


<div class="shr-bookmarks shr-bookmarks-expand shr-bookmarks-center shr-bookmarks-bg-enjoy">
<ul class="socials">
		<li class="shr-comfeed">
			<a href="http://wongkalun.idv.hk/2009/04/28/rebuild-index-on-mssql/feed" rel="nofollow" class="external" title="Subscribe to the comments for this post?">Subscribe to the comments for this post?</a>
		</li>
		<li class="shr-delicious">
			<a href="http://delicious.com/post?url=http://wongkalun.idv.hk/2009/04/28/rebuild-index-on-mssql/&amp;title=Rebuild+Index+on+MsSQL" rel="nofollow" class="external" title="Share this on del.icio.us">Share this on del.icio.us</a>
		</li>
		<li class="shr-digg">
			<a href="http://digg.com/submit?phase=2&amp;url=http://wongkalun.idv.hk/2009/04/28/rebuild-index-on-mssql/&amp;title=Rebuild+Index+on+MsSQL" rel="nofollow" class="external" title="Digg this!">Digg this!</a>
		</li>
		<li class="shr-diigo">
			<a href="http://www.diigo.com/post?url=http://wongkalun.idv.hk/2009/04/28/rebuild-index-on-mssql/&amp;title=Rebuild+Index+on+MsSQL&amp;desc=%E4%BB%8A%E6%97%A5%E8%A6%81%E5%B0%8D%E7%8F%BE%E6%9C%89%E6%97%A2%20Table%20%E5%81%9A%20Performance%20Testing%2C%20%E4%BD%86%E5%9B%A0%E7%82%BA%E8%A6%81%20join%20%E5%A4%AA%E5%A4%9A%E6%97%A2%20Table%2C%20%E6%90%9C%E5%B0%8B%E4%B8%80%E5%80%8B%E8%A6%81%20join%204%20%E5%80%8B%20Table%20%E5%85%88%E6%8B%8E%E5%88%B0%E6%83%B3%E8%A6%81%E6%97%A2%20%22%E4%B8%80%E9%9A%BB%22%20Record%20%E6%97%A2%E6%99%82%E9%96%93%E7%AB%9F%E7%84%B6%E8%A6%81%2011%20%E7%A7%92%2C%20%E5%8F%AF%E6%83%B3%E8%80%8C%E7%9F%A5%E5%80%8B%20Table%20Size%20%E6%9C%89%E5%B9%BE%E5%A4%A7%E5%90%A7%20%28%E5%85%B6%E5%AF%A6%E4%B8%83%E4%BD%8D%E6%95%B8%E5%AD%97%E6%97%A2%20Record%20Count%20%E5%95%AB%2C%20%E8%80%8C%20where%20case%20%E5%8F%AA%E6%9C%89%E5%85%A9%E5%80%8B%E7%94%A8%20%27%3D%27%20%E6" rel="nofollow" class="external" title="Post this on Diigo">Post this on Diigo</a>
		</li>
		<li class="shr-googlebuzz">
			<a href="http://www.google.com/buzz/post?url=http://wongkalun.idv.hk/2009/04/28/rebuild-index-on-mssql/&amp;imageurl=" rel="nofollow" class="external" title="Post on Google Buzz">Post on Google Buzz</a>
		</li>
		<li class="shr-misterwong">
			<a href="http://www.mister-wong.com/addurl/?bm_url=http://wongkalun.idv.hk/2009/04/28/rebuild-index-on-mssql/&amp;bm_description=Rebuild+Index+on+MsSQL&amp;plugin=sexybookmarks" rel="nofollow" class="external" title="Add this to Mister Wong">Add this to Mister Wong</a>
		</li>
		<li class="shr-mixx">
			<a href="http://www.mixx.com/submit?page_url=http://wongkalun.idv.hk/2009/04/28/rebuild-index-on-mssql/&amp;title=Rebuild+Index+on+MsSQL" rel="nofollow" class="external" title="Share this on Mixx">Share this on Mixx</a>
		</li>
		<li class="shr-reddit">
			<a href="http://reddit.com/submit?url=http://wongkalun.idv.hk/2009/04/28/rebuild-index-on-mssql/&amp;title=Rebuild+Index+on+MsSQL" rel="nofollow" class="external" title="Share this on Reddit">Share this on Reddit</a>
		</li>
		<li class="shr-stumbleupon">
			<a href="http://www.stumbleupon.com/submit?url=http://wongkalun.idv.hk/2009/04/28/rebuild-index-on-mssql/&amp;title=Rebuild+Index+on+MsSQL" rel="nofollow" class="external" title="Stumble upon something good? Share it on StumbleUpon">Stumble upon something good? Share it on StumbleUpon</a>
		</li>
		<li class="shr-technorati">
			<a href="http://technorati.com/faves?add=http://wongkalun.idv.hk/2009/04/28/rebuild-index-on-mssql/" rel="nofollow" class="external" title="Share this on Technorati">Share this on Technorati</a>
		</li>
		<li class="shr-twitter">
			<a href="http://twitter.com/home?status=Rebuild+Index+on+MsSQL+-+http://bit.ly/doyYeg&amp;source=shareaholic" rel="nofollow" class="external" title="Tweet This!">Tweet This!</a>
		</li>
</ul>
<div style="clear:both;"></div>
</div>




		<!-- Added by WP-DragToShare-eXtended Plugin -->
		<script type="text/javascript">
			dtsv.dtse_post_501_permalink = 'http://wongkalun.idv.hk/2009/04/28/rebuild-index-on-mssql/';
			dtsv.dtse_post_501_title = 'Rebuild Index on MsSQL';
		</script>
		<!-- End of WP-DragToShare-eXtended Plugin -->]]></content:encoded>
			<wfw:commentRss>http://wongkalun.idv.hk/2009/04/28/rebuild-index-on-mssql/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>
