<?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:georss="http://www.georss.org/georss" xmlns:geo="http://www.w3.org/2003/01/geo/wgs84_pos#" xmlns:media="http://search.yahoo.com/mrss/"
	>

<channel>
	<title>Haiyanliang's Weblog</title>
	<atom:link href="http://haiyanliang.wordpress.com/feed/" rel="self" type="application/rss+xml" />
	<link>http://haiyanliang.wordpress.com</link>
	<description>Just another WordPress.com weblog</description>
	<lastBuildDate>Fri, 01 Apr 2011 04:29:44 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.com/</generator>
<cloud domain='haiyanliang.wordpress.com' port='80' path='/?rsscloud=notify' registerProcedure='' protocol='http-post' />
<image>
		<url>http://s2.wp.com/i/buttonw-com.png</url>
		<title>Haiyanliang's Weblog</title>
		<link>http://haiyanliang.wordpress.com</link>
	</image>
	<atom:link rel="search" type="application/opensearchdescription+xml" href="http://haiyanliang.wordpress.com/osd.xml" title="Haiyanliang&#039;s Weblog" />
	<atom:link rel='hub' href='http://haiyanliang.wordpress.com/?pushpress=hub'/>
		<item>
		<title>70-432 认证考试题库分享-3</title>
		<link>http://haiyanliang.wordpress.com/2011/04/01/70-432-%e8%ae%a4%e8%af%81%e8%80%83%e8%af%95%e9%a2%98%e5%ba%93%e5%88%86%e4%ba%ab-3/</link>
		<comments>http://haiyanliang.wordpress.com/2011/04/01/70-432-%e8%ae%a4%e8%af%81%e8%80%83%e8%af%95%e9%a2%98%e5%ba%93%e5%88%86%e4%ba%ab-3/#comments</comments>
		<pubDate>Fri, 01 Apr 2011 04:28:32 +0000</pubDate>
		<dc:creator>haiyanliang</dc:creator>
				<category><![CDATA[Uncategorized]]></category>

		<guid isPermaLink="false">http://haiyanliang.wordpress.com/?p=225</guid>
		<description><![CDATA[TS:MS SQL Server@ 2008,Implementation and Maintenance 科目编号：70-432 科目名称：TS:MS SQL Server@ 2008,Implementation and Maintenance 考题数目：171 Q&#38;As 更新日期：2009-11-24 TS:MS SQL Server@ 2008,Implementation and Maintenance 认证作为全球IT领域专家 Microsoft 热门认证之一，是许多大中IT企业选择人才标准的必备条件。 如果你正在准备 70-432 考试，为 Microsoft TS:MS SQL Server@ 2008,Implementation and Maintenance认证做最后冲刺，又苦于没有绝对权威的考试真题模拟，Pass4side 希望能助你成功。 70-432 认证考试题库分享 1. You work in a company which is named Wiikigo Corp. The company uses SQL Server 200 [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=haiyanliang.wordpress.com&amp;blog=4946715&amp;post=225&amp;subd=haiyanliang&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>TS:MS SQL Server@ 2008,Implementation and Maintenance<br />
科目编号：70-432<br />
科目名称：TS:MS SQL Server@ 2008,Implementation and Maintenance<br />
考题数目：171 Q&amp;As<br />
更新日期：2009-11-24</p>
<p>TS:MS SQL Server@ 2008,Implementation and Maintenance 认证作为全球IT领域专家 <strong><a href="http://www.pass4side.cn/Microsoft.html"><em>Microsoft</em></a></strong><strong> </strong> 热门认证之一，是许多大中IT企业选择人才标准的必备条件。 如果你正在准备 70-432 考试，为 Microsoft TS:MS SQL  Server@ 2008,Implementation and  Maintenance认证做最后冲刺，又苦于没有绝对权威的考试真题模拟，Pass4side 希望能助你成功。</p>
<p>70-432 认证考试题库分享<br />
1. You work in a company which is named Wiikigo Corp. The company uses  SQL Server 200 You are the administrator of the company database. Now  you are in charge of a SQL Server 2008 instance. Now your company CIO  assigns a task to you. The company CIO wants you to configure FILESTREAM  data and the two requirements below must be met: you must enable  FILESTREAM for file I/O streaming access; remote client computers must  be able to have streaming access to FILESTREAM data. You must make sure  that FILESTREAM data is enabled. Which service should you configure?<br />
A. You should configure SQL Server VSS Writer<br />
B. You should configure Distributed File System<br />
C. You should configure SQL Server<br />
D. You should configure SQL Server Full Text<br />
Answer: C</p>
<p>2. You work in a company which is named Wiikigo Corp. The company  uses SQL Server 2008. You are the administrator of the company database.  Now you are in charge of a SQL Server 2008 instance. There is an  Internet Information Services application. This application will use  anonymous access to access the SSAS instance. You must make sure that  the application can access the SSAS instance. What should you do?<br />
A. The SecurityRequireClientAuthentication server configuration should be set to False<br />
B. The SecurityRequireClientAuthentication server configuration should be set to True.<br />
C. The NTLM Security Support Provider Interface (SSPI) provider should  be added to the SecuritySecurityPackageList server configuration.<br />
D. The Kerberos Security Support Provider Interface (SSPI) provider  should be added to the SecuritySecurityPackageList server configuration<br />
Answer: A</p>
<p>3. You work in a company which is named Wiikigo Corp. The company  uses SQL Server 2008. You are the administrator of the company database.  Now for a new application, a SQL Server 2008 instance has to be  installed on an existing server. The server contains a default SQL  Server 2005 instance. Your company CIO wants their corresponding  certified third-party applications can access to both database  instances. The company assigns this task to you. You must achieve this  by using as little database administrative effort as possible, and never  change the existing application environments. What should you do?<br />
A. You should install SQL Server 2008 as the default instance, and configure the new application to use the default instance<br />
B. You should upgrade the SQL Server 2005 application to use SQL Server 2008<br />
C. You should upgrade the SQL Server 2005 instance to a SQL Server 2008 instance<br />
D. You should install SQL Server 2008 as a named instance, and make the new application use the new instance.<br />
Answer: D</p>
<p>4. You work in a company which is named Wiikigo Corp. The company  uses SQL Server 2008. You are the administrator of the company database.  Now you are in charge of a SQL Server 2008 instance. According to the  company requirement, the names of all user-defined stored procedures  must contain the prefix usp_ on all instances. Besides this, you must  make sure that stored procedures that do not contain this prefix cannot  be created by you. What should you do?<br />
A. A policy should be created. The policy targets the name of the stored procedure that is evaluated on demand.<br />
B. A policy should be created. The policy targets the name of the stored procedure that is evaluated on change.<br />
C. A condition should be created. The condition targets the name of the stored procedure that is evaluated on change<br />
D. A condition should be created. The condition targets the name of stored procedure that is evaluated on demand.<br />
Answer: B</p>
<p>5. You work in a company which is named Wiikigo Corp. The company  uses SQL Server 2008. You are the administrator of the company database.  Now you are in charge of a SQL Server 2008 instance. You configure the  SQL Server instance to use the -T1222 and -T1204 trace flags during  startup. You must make sure that your failure recovery plan performs  backup of the use of the trace flags. So what action should you perform  to achieve this goal?<br />
A. You should backup the master database<br />
B. You should backup the default.trc file<br />
C. You should backup the SQL Server registry hive.<br />
D. You should backup the resource database<br />
Answer: C</p>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/haiyanliang.wordpress.com/225/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/haiyanliang.wordpress.com/225/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/haiyanliang.wordpress.com/225/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/haiyanliang.wordpress.com/225/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/haiyanliang.wordpress.com/225/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/haiyanliang.wordpress.com/225/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/haiyanliang.wordpress.com/225/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/haiyanliang.wordpress.com/225/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/haiyanliang.wordpress.com/225/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/haiyanliang.wordpress.com/225/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/haiyanliang.wordpress.com/225/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/haiyanliang.wordpress.com/225/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/haiyanliang.wordpress.com/225/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/haiyanliang.wordpress.com/225/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=haiyanliang.wordpress.com&amp;blog=4946715&amp;post=225&amp;subd=haiyanliang&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://haiyanliang.wordpress.com/2011/04/01/70-432-%e8%ae%a4%e8%af%81%e8%80%83%e8%af%95%e9%a2%98%e5%ba%93%e5%88%86%e4%ba%ab-3/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://1.gravatar.com/avatar/5d28c348394387403438762637d71738?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">haiyanliang</media:title>
		</media:content>
	</item>
		<item>
		<title>最新 testpassport MCITP 70-432题库 -2</title>
		<link>http://haiyanliang.wordpress.com/2011/04/01/%e6%9c%80%e6%96%b0-testpassport-mcitp-70-432%e9%a2%98%e5%ba%93-2/</link>
		<comments>http://haiyanliang.wordpress.com/2011/04/01/%e6%9c%80%e6%96%b0-testpassport-mcitp-70-432%e9%a2%98%e5%ba%93-2/#comments</comments>
		<pubDate>Fri, 01 Apr 2011 03:41:10 +0000</pubDate>
		<dc:creator>haiyanliang</dc:creator>
				<category><![CDATA[Uncategorized]]></category>

		<guid isPermaLink="false">http://haiyanliang.wordpress.com/?p=223</guid>
		<description><![CDATA[1. You work in a company which is named Wiikigo Corp. The company uses SQL Server 2008. You are the administrator of the company database. Now you are in charge of a SQL Server 2008 instance. There is a computer which hosts several applications in your company. The instance runs on the computer. A job [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=haiyanliang.wordpress.com&amp;blog=4946715&amp;post=223&amp;subd=haiyanliang&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>1.  You work in a company which is named Wiikigo Corp. The company uses SQL  Server 2008. You are the administrator of the company database. Now you  are in charge of a SQL Server 2008 instance. There is a computer which  hosts several applications in your company. The instance runs on the  computer. A job named DiliveryList is created by you. This job requires a  file to be written to a file server. But because the job cannot access  the file server, it fails to run. You intend to configure the SQL Server  Agent service so that only the SQL Server Agent service has read and  write access to the file server. Which account type should you use?</p>
<p>A. You should use local Service account</p>
<p>B. You should use network Service account</p>
<p>C. You should use domain account</p>
<p>D. You should use local System account</p>
<p><strong>Answer: </strong>C</p>
<p>2.  You work in a company which is named Wiikigo Corp. The company uses SQL  Server 2008. You are the administrator of the company database. Now you  are in charge of a SQL Server 2008 instance. There is a database named  DB1 in the instance. On DB1, quite few logged operations are performed.  Now according to the requirement of the company CIO, you must validate  that the database can be restored to a specific point in time. So what  action should you perform to achieve this goal?</p>
<p>A. You should verify that the simple recovery model is used by the database</p>
<p>B. You should verify that the full recovery model is used by the database.</p>
<p>C. You should verify that the checksum page verify option is used by the database</p>
<p>D. You should verify that the bulk-logged recovery model is used by the database</p>
<p><strong>Answer: </strong>B</p>
<p>3.  You work in a company which is named Wiikigo Corp. The company uses SQL  Server 2008. You are the administrator of the company database. Now you  are in charge of a SQL Server 2008 instance. There is a SQL Server 7.0  database. You upgrade the database to the SQL Server instance. According  to the company requirement, you must make sure that suspect pages can  be detected in the database. So what action should you perform to  achieve this goal?</p>
<p>A. For the database, you should turn on the TRUSTWORTHY database option</p>
<p>B. For the database, the PAGE_VERIFY database option should be set to CHECKSUM</p>
<p>C. For the database, the database compatibility level option should be set to 10.</p>
<p>D. For the model database, the PAGE_VERIFY database option should be set to</p>
<p>TORN_PAGE_DETECTION.</p>
<p><strong>Answer: </strong>B</p>
<p>4.  You work in a company which is named Wiikigo Corp. The company uses SQL  Server 2008. You are the administrator of the company database. Now you  are in charge of a SQL Server 2008 instance. You configure the SQL  Server instance to use the -T1222 and -T1204 trace flags during startup.  You must make sure that your failure recovery plan performs backup of  the use of the trace flags. So what action should you perform to achieve  this goal?</p>
<p>A. You should backup the master database</p>
<p>B. You should backup the default.trc file</p>
<p>C. You should backup the SQL Server registry hive.</p>
<p>D. You should backup the resource database</p>
<p><strong>Answer: </strong>C</p>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/haiyanliang.wordpress.com/223/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/haiyanliang.wordpress.com/223/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/haiyanliang.wordpress.com/223/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/haiyanliang.wordpress.com/223/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/haiyanliang.wordpress.com/223/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/haiyanliang.wordpress.com/223/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/haiyanliang.wordpress.com/223/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/haiyanliang.wordpress.com/223/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/haiyanliang.wordpress.com/223/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/haiyanliang.wordpress.com/223/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/haiyanliang.wordpress.com/223/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/haiyanliang.wordpress.com/223/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/haiyanliang.wordpress.com/223/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/haiyanliang.wordpress.com/223/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=haiyanliang.wordpress.com&amp;blog=4946715&amp;post=223&amp;subd=haiyanliang&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://haiyanliang.wordpress.com/2011/04/01/%e6%9c%80%e6%96%b0-testpassport-mcitp-70-432%e9%a2%98%e5%ba%93-2/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://1.gravatar.com/avatar/5d28c348394387403438762637d71738?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">haiyanliang</media:title>
		</media:content>
	</item>
		<item>
		<title>Microsoft 70-432认证题库-1</title>
		<link>http://haiyanliang.wordpress.com/2011/04/01/microsoft-70-432%e8%ae%a4%e8%af%81%e9%a2%98%e5%ba%93-1/</link>
		<comments>http://haiyanliang.wordpress.com/2011/04/01/microsoft-70-432%e8%ae%a4%e8%af%81%e9%a2%98%e5%ba%93-1/#comments</comments>
		<pubDate>Fri, 01 Apr 2011 03:32:15 +0000</pubDate>
		<dc:creator>haiyanliang</dc:creator>
				<category><![CDATA[Uncategorized]]></category>

		<guid isPermaLink="false">http://haiyanliang.wordpress.com/?p=218</guid>
		<description><![CDATA[Title    :  TS:MS SQL Server@ 2008,Implementation and Maintenance Version :  Demo 1. You work in a company which is named Wiikigo Corp. The company uses SQL Server 2008. You are the administrator of the company database.Now you are in charge of a SQL Server 2008 instance. There is a computer which hosts several applications in [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=haiyanliang.wordpress.com&amp;blog=4946715&amp;post=218&amp;subd=haiyanliang&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>Title    :  TS:MS SQL Server@ 2008,Implementation and Maintenance<br />
Version :  Demo</p>
<p>1.  You work in a company which is named Wiikigo Corp. The company uses SQL  Server 2008. You are the administrator of the company database.Now  you are in charge of a SQL Server 2008 instance. There is a computer  which hosts several applications in your company. The instance runs on  the computer. A job named DiliveryList is created by you. This job  requires a file to be written to a file server. But because the job cannot  access the file server, it fails to run. You intend to configure the  SQL Server Agent service so that only the SQL Server Agent service has read and write access to the file server. Which account type should you use?<br />
A. You should use local Service account<br />
B. You should use network Service account<br />
C. You should use domain account<br />
D. You should use local System account<br />
Answer: C</p>
<p>2.  You work in a company which is named Wiikigo Corp. The company uses SQL  Server 2008. You are the administrator of the company database. Now  you are in charge of a SQL Server 2008 instance. According to the  company requirement, the names of all user-defined stored procedures must  contain the prefix usp_ on all instances. Besides this, you must make  sure that stored procedures that do not contain this prefix cannot be created by you. What should you do?<br />
A. A policy should be created. The policy targets the name of the stored procedure that is evaluated on demand.<br />
B. A policy should be created. The policy targets the name of the stored procedure that is evaluated on change.<br />
C. A condition should be created. The condition targets the name of the stored procedure that is evaluated on change<br />
D. A condition should be created. The condition targets the name of stored procedure that is evaluated on demand.<br />
Answer: B</p>
<p>3.  You work in a company which is named Wiikigo Corp. The company uses SQL  Server 2008. You are the administrator of the company database. Now  you are in charge of a SQL Server 2008 instance. Now your company CIO  assigns a task to you. The company CIO wants you to configure FILESTREAM  data and the two requirements below must be met: you must enable  FILESTREAM for file I/O streaming access; remote client computers must  be able to have streaming access to FILESTREAM data. You must make sure  that FILESTREAM data is enabled. Which service should you configure?<br />
A. You should configure SQL Server VSS Writer<br />
B. You should configure Distributed File System<br />
C. You should configure SQL Server<br />
D. You should configure SQL Server Full Text<br />
Answer: C</p>
<p>4.  You work in a company which is named Wiikigo Corp. The company uses SQL  Server 2008. You are the administrator of the company database. Now  you are in charge of two instances both of which run on the same  computer. One is a SQL Server 2008 instance; another is a SQL Server 2005  instance. There is a database named DB1 in the SQL Server 2008  instance. DB1 uses the Fulltext indexes. Several records that include  the word &#8220;root&#8221; are added to DB1. An empty resultset is returned  when the Fulltext index is queried for the word &#8220;root.&#8221; You must make  sure the query can return records that contain the word &#8220;root&#8221;. What should you do?<br />
A. You should terminate and restart the MSFTESQL service<br />
B. You should rebuild the full-text index<br />
C. The word &#8220;root&#8221; should be added to the stop list<br />
D. The word &#8220;root&#8221; should be added to the thesaurus file<br />
Answer: B</p>
<p>5.  You work in a company which is named Wiikigo Corp. The company uses SQL  Server 2008. You are the administrator of the company database. Now  you are in charge of a SQL Server 2008 instance. There is a database  named Dworks in the instance. Now you get a report from users saying that  DB1 meets deadlock problems. As the technical support, you have to  capture the deadlock information to the SQL Server error log. What should you do?<br />
A. For the AdventureWorks database, enable Server Auditing<br />
B. First you should set the appropriate trace flags as a startup parameter, and then restart the SQL Server instance<br />
C. You should configure the data collector and make it capture the deadlock graphs<br />
D. You should configure a SQL Profiler trace, and make it capture the deadlock graphs<br />
Answer: B</p>
<p>6.  You work in a company which is named Wiikigo Corp. The company uses SQL  Server 2008. You are the administrator of the company database. Now  you are in charge of a SQL Server 2008 instance. There is a database  named Dworks in the instance. The Dworks database has a table named Orderthings.  According to the company requirement, you have to export all data from  the Orderthings table to a file. During the export, you must make  sure that the data export process is saved for reuse and a Microsoft  Office Open XML document format is used. What should you do?<br />
A. You should run the bulk copy program utility along with an output file and no format file<br />
B. You should run the SQLCmd utility and save the output to a file<br />
C. You should run the SQL Import and Export Data Wizard and save the output to a file.<br />
D. You should run the bulk copy program utility along with a format file and an output file.<br />
Answer: C</p>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/haiyanliang.wordpress.com/218/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/haiyanliang.wordpress.com/218/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/haiyanliang.wordpress.com/218/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/haiyanliang.wordpress.com/218/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/haiyanliang.wordpress.com/218/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/haiyanliang.wordpress.com/218/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/haiyanliang.wordpress.com/218/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/haiyanliang.wordpress.com/218/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/haiyanliang.wordpress.com/218/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/haiyanliang.wordpress.com/218/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/haiyanliang.wordpress.com/218/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/haiyanliang.wordpress.com/218/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/haiyanliang.wordpress.com/218/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/haiyanliang.wordpress.com/218/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=haiyanliang.wordpress.com&amp;blog=4946715&amp;post=218&amp;subd=haiyanliang&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://haiyanliang.wordpress.com/2011/04/01/microsoft-70-432%e8%ae%a4%e8%af%81%e9%a2%98%e5%ba%93-1/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://1.gravatar.com/avatar/5d28c348394387403438762637d71738?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">haiyanliang</media:title>
		</media:content>
	</item>
		<item>
		<title>How do I &#8216;lock Computer&#8217;, on Windows 2000, with a single key stroke?</title>
		<link>http://haiyanliang.wordpress.com/2010/09/24/how-do-i-lock-computer-on-windows-2000-with-a-single-key-stroke/</link>
		<comments>http://haiyanliang.wordpress.com/2010/09/24/how-do-i-lock-computer-on-windows-2000-with-a-single-key-stroke/#comments</comments>
		<pubDate>Fri, 24 Sep 2010 18:23:07 +0000</pubDate>
		<dc:creator>haiyanliang</dc:creator>
				<category><![CDATA[Uncategorized]]></category>
		<category><![CDATA[windows]]></category>

		<guid isPermaLink="false">http://haiyanliang.wordpress.com/?p=212</guid>
		<description><![CDATA[01. Start / Settings / Taskbar &#38; Start Menu / Advanced / Add. 02. Type rundll32.exe user32.dll,LockWorkStation and press Next. 03. Select the Location of this shortcut. I chose Start Menu. 04. Enter a Name. I chose Lock Workstation. 05. Press Finish. 06. Navigate to the shortcut by right-clicking the Start button and clicking Explore. [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=haiyanliang.wordpress.com&amp;blog=4946715&amp;post=212&amp;subd=haiyanliang&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>01. Start / Settings / Taskbar &amp; Start Menu / Advanced / Add.</p>
<p>02. Type rundll32.exe user32.dll,LockWorkStation and press Next.</p>
<p>03. Select the Location of this shortcut. I chose Start Menu.</p>
<p>04. Enter a Name. I chose Lock Workstation.</p>
<p>05. Press Finish.</p>
<p>06. Navigate to the shortcut by right-clicking the Start button and clicking Explore.</p>
<p>07. Right click the Lock Workstation shortcut and press Properties.</p>
<p>08 Set it to run Minimized.</p>
<p>09. Click in Shortcut Key and press the key you want to use to lock Computer.</p>
<p>10. Press OK.</p>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/haiyanliang.wordpress.com/212/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/haiyanliang.wordpress.com/212/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/haiyanliang.wordpress.com/212/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/haiyanliang.wordpress.com/212/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/haiyanliang.wordpress.com/212/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/haiyanliang.wordpress.com/212/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/haiyanliang.wordpress.com/212/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/haiyanliang.wordpress.com/212/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/haiyanliang.wordpress.com/212/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/haiyanliang.wordpress.com/212/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/haiyanliang.wordpress.com/212/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/haiyanliang.wordpress.com/212/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/haiyanliang.wordpress.com/212/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/haiyanliang.wordpress.com/212/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=haiyanliang.wordpress.com&amp;blog=4946715&amp;post=212&amp;subd=haiyanliang&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://haiyanliang.wordpress.com/2010/09/24/how-do-i-lock-computer-on-windows-2000-with-a-single-key-stroke/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://1.gravatar.com/avatar/5d28c348394387403438762637d71738?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">haiyanliang</media:title>
		</media:content>
	</item>
		<item>
		<title>How to maximize window in flex?</title>
		<link>http://haiyanliang.wordpress.com/2010/08/01/how-to-maximize-window-in-flex/</link>
		<comments>http://haiyanliang.wordpress.com/2010/08/01/how-to-maximize-window-in-flex/#comments</comments>
		<pubDate>Sun, 01 Aug 2010 06:00:21 +0000</pubDate>
		<dc:creator>haiyanliang</dc:creator>
				<category><![CDATA[Uncategorized]]></category>
		<category><![CDATA[flex]]></category>

		<guid isPermaLink="false">http://haiyanliang.wordpress.com/?p=210</guid>
		<description><![CDATA[this.maximize(); --- &#60;?xml version="1.0" encoding="utf-8"?&#62; &#60;mx:WindowedApplication xmlns:mx="http://www.adobe.com/2006/mxml" layout="absolute" applicationComplete="onApplicationComplete();"&#62; &#60;mx:Script&#62; &#60;![CDATA[ private function onApplicationComplete():void { stage.nativeWindow.maximize(); } ]]&#62; &#60;/mx:Script&#62; &#60;/mx:WindowedApplication&#62;<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=haiyanliang.wordpress.com&amp;blog=4946715&amp;post=210&amp;subd=haiyanliang&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<pre>this.maximize(); 

---
<pre>&lt;?xml version="1.0" encoding="utf-8"?&gt;
&lt;mx:WindowedApplication xmlns:mx="http://www.adobe.com/2006/mxml" layout="absolute"
    applicationComplete="onApplicationComplete();"&gt;

    &lt;mx:Script&gt;
        &lt;![CDATA[

            private function onApplicationComplete():void {
                stage.nativeWindow.maximize();
            }

        ]]&gt;
    &lt;/mx:Script&gt;

&lt;/mx:WindowedApplication&gt;</pre>
</pre>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/haiyanliang.wordpress.com/210/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/haiyanliang.wordpress.com/210/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/haiyanliang.wordpress.com/210/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/haiyanliang.wordpress.com/210/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/haiyanliang.wordpress.com/210/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/haiyanliang.wordpress.com/210/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/haiyanliang.wordpress.com/210/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/haiyanliang.wordpress.com/210/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/haiyanliang.wordpress.com/210/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/haiyanliang.wordpress.com/210/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/haiyanliang.wordpress.com/210/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/haiyanliang.wordpress.com/210/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/haiyanliang.wordpress.com/210/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/haiyanliang.wordpress.com/210/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=haiyanliang.wordpress.com&amp;blog=4946715&amp;post=210&amp;subd=haiyanliang&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://haiyanliang.wordpress.com/2010/08/01/how-to-maximize-window-in-flex/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://1.gravatar.com/avatar/5d28c348394387403438762637d71738?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">haiyanliang</media:title>
		</media:content>
	</item>
		<item>
		<title>Drop USER CASCADE TOO SLOW</title>
		<link>http://haiyanliang.wordpress.com/2010/01/26/drop-user-cascade-too-slow/</link>
		<comments>http://haiyanliang.wordpress.com/2010/01/26/drop-user-cascade-too-slow/#comments</comments>
		<pubDate>Tue, 26 Jan 2010 22:19:39 +0000</pubDate>
		<dc:creator>haiyanliang</dc:creator>
				<category><![CDATA[Uncategorized]]></category>

		<guid isPermaLink="false">http://haiyanliang.wordpress.com/?p=204</guid>
		<description><![CDATA[Problem:  The command &#8220;drop user hrtest cascade; &#8221; is slow and probably dropping 10 objects per second. Tried: alter session set optimizer_mode = CHOOSE; &#8212; no good exec dbms_stats.gather_database_stats;   &#8212; take too long to complete Solution from Tom Kyte - http://www.oracle.com/technology/oramag/oracle/06-jul/o46asktom.html We have an application that creates users and places private synonyms in users&#8217; accounts. [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=haiyanliang.wordpress.com&amp;blog=4946715&amp;post=204&amp;subd=haiyanliang&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>Problem:  The command &#8220;drop user hrtest cascade; &#8221; is slow and probably dropping 10 objects per second.</p>
<p>Tried:</p>
<p>alter session set optimizer_mode = CHOOSE; &#8212; no good</p>
<p>exec dbms_stats.gather_database_stats;   &#8212; take too long to complete</p>
<p>Solution from Tom Kyte</p>
<p>- <a href="http://www.oracle.com/technology/oramag/oracle/06-jul/o46asktom.html">http://www.oracle.com/technology/oramag/oracle/06-jul/o46asktom.html</a></p>
<p>We have an application that creates users and places private synonyms in users&#8217; accounts. On occasion a security administrator drops multiple users who no longer need access to the database. It can take about two minutes to drop a user that contains about a thousand synonyms. I&#8217;m getting complaints that it takes too long to remove the obsolete accounts. Apart from transitioning the system to using public synonyms, do you have any suggestions on improving the performance of the DROP USER command?</p>
<p>It is all about perception. Whenever I have a long-running process, I think about how I can &#8220;background&#8221; it so an unlucky end user never has to wait for it to complete. If the end user doesn&#8217;t have to wait for it, it will seem instantaneous.</p>
<p>So, move long-running processes into the background, and the end users think, &#8220;Wow, this is really fast!&#8221; What I recommend is to turn the process of DROP USER USERNAME CASCADE into the following:</p>
<p>1. <tt>ALTER USER USERNAME LOCK;</tt> (The account is disabled, so the &#8220;secure goal&#8221; is achieved.)<br />
2.<tt> dbms_job.submit( l_job, 'execute immediate ''drop user a cascade'';' );</tt><br />
3.<tt> commit;</tt></p>
<p>And give the user a message immediately that says &#8220;OK.&#8221; The locking of the account will achieve the &#8220;goal&#8221; of dropping the user (by removing access), and the actual dropping of the user schema—which might take a bit of time—will happen shortly after the COMMIT, in the background, without making the end user wait. As far as the end user is concerned, the act of dropping the user is instantaneous and the response time is always the same. Consistency is important to end users.</p>
<p>I do this with lots of apparently slow things—hide the real work in the background and let the end users continue, and they think the application is much faster than it is.</p>
<p>So,</p>
<p>1.</p>
<p>declare<br />
l_job binary_integer;<br />
begin<br />
dbms_job.submit( l_job, &#8216;execute immediate &#8221;drop user hrtest cascade&#8221;;&#8217; );<br />
commit;<br />
dbms_output.put_line(l_job);<br />
end;<br />
/</p>
<p>Execution result:</p>
<p>SYS@SPRT&gt; declare<br />
2  l_job binary_integer;<br />
3  begin<br />
4  dbms_job.submit( l_job, &#8216;execute immediate &#8221;drop user hrtest cascade&#8221;;&#8217; );<br />
5  commit;<br />
6  dbms_output.put_line(l_job);<br />
7  end;<br />
8  /<br />
179824</p>
<p>PL/SQL procedure successfully completed.</p>
<p>SYS@SPRT&gt;</p>
<p>2. select TOTAL_TIME, failures from dba_jobs where job = 179824;</p>
<p>Execution result:</p>
<p>SYSTEM@SPRT&gt; select TOTAL_TIME, failures from dba_jobs where job = 179824;</p>
<p>TOTAL_TIME   FAILURES<br />
&#8212;&#8212;&#8212;- &#8212;&#8212;&#8212;-<br />
54</p>
<p>SYSTEM@SPRT&gt;</p>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/haiyanliang.wordpress.com/204/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/haiyanliang.wordpress.com/204/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/haiyanliang.wordpress.com/204/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/haiyanliang.wordpress.com/204/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/haiyanliang.wordpress.com/204/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/haiyanliang.wordpress.com/204/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/haiyanliang.wordpress.com/204/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/haiyanliang.wordpress.com/204/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/haiyanliang.wordpress.com/204/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/haiyanliang.wordpress.com/204/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/haiyanliang.wordpress.com/204/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/haiyanliang.wordpress.com/204/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/haiyanliang.wordpress.com/204/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/haiyanliang.wordpress.com/204/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=haiyanliang.wordpress.com&amp;blog=4946715&amp;post=204&amp;subd=haiyanliang&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://haiyanliang.wordpress.com/2010/01/26/drop-user-cascade-too-slow/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://1.gravatar.com/avatar/5d28c348394387403438762637d71738?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">haiyanliang</media:title>
		</media:content>
	</item>
		<item>
		<title>export table in mysql into Oracle</title>
		<link>http://haiyanliang.wordpress.com/2010/01/24/export-table-in-mysql-into-csv-file/</link>
		<comments>http://haiyanliang.wordpress.com/2010/01/24/export-table-in-mysql-into-csv-file/#comments</comments>
		<pubDate>Sun, 24 Jan 2010 07:27:36 +0000</pubDate>
		<dc:creator>haiyanliang</dc:creator>
				<category><![CDATA[Uncategorized]]></category>

		<guid isPermaLink="false">http://haiyanliang.wordpress.com/?p=199</guid>
		<description><![CDATA[mysql&#62; select * into outfile &#8216;/tmp/result.csv&#8217; fields TERMINATED BY &#8216;,&#8217; OPTIONALLY ENCLOSED BY &#8216;&#8221;&#8216; -&#62; ESCAPED by &#8216;\\&#8217; lines terminated by &#8216;\n&#8217; from movie where 1; Query OK, 1321 rows affected (0.01 sec) select * into outfile &#8216;/tmp/movie.txt&#8217; fields TERMINATED BY &#8216;&#124;&#124;&#124;&#124;&#8217; terminated by &#8216;\n&#8217; from movie where 1; select * into outfile &#8216;/tmp/movie.txt&#8217; fields [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=haiyanliang.wordpress.com&amp;blog=4946715&amp;post=199&amp;subd=haiyanliang&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>mysql&gt; select * into outfile &#8216;/tmp/result.csv&#8217; fields TERMINATED BY &#8216;,&#8217; OPTIONALLY ENCLOSED BY &#8216;&#8221;&#8216;<br />
-&gt; ESCAPED by &#8216;\\&#8217; lines terminated by &#8216;\n&#8217; from movie where 1;<br />
Query OK, 1321 rows affected (0.01 sec)</p>
<p>select * into outfile &#8216;/tmp/movie.txt&#8217; fields TERMINATED BY &#8216;||||&#8217; terminated by &#8216;\n&#8217; from movie where 1;</p>
<p>select * into outfile &#8216;/tmp/movie.txt&#8217; fields TERMINATED BY &#8216;||||&#8217; ESCAPED by &#8216;\\&#8217; lines terminated by &#8216;\n&#8217; from movie where 1;</p>
<p>Create External Table in Oracle</p>
<p><span style="font-family:Courier;">CREATE TABLE ext_tab (<br />
empno  CHAR(4),<br />
ename  CHAR(20),<br />
job    CHAR(20),<br />
deptno CHAR(2))<br />
<span style="color:#0000ff;">ORGANIZATION EXTERNAL</span> (<br />
<span style="color:#0000ff;">TYPE</span> oracle_loader<br />
<span style="color:#0000ff;">DEFAULT DIRECTORY</span> ext<br />
<span style="color:#0000ff;">ACCESS PARAMETERS</span> (<br />
RECORDS DELIMITED BY NEWLINE<br />
<span style="color:#0000ff;">BADFILE</span> &#8216;bad_%a_%p.bad&#8217;<br />
<span style="color:#0000ff;">LOGFILE</span> &#8216;log_%a_%p.log&#8217;<br />
<span style="color:#0000ff;">FIELDS TERMINATED BY</span> &#8216;,&#8217;<br />
<span style="color:#0000ff;">MISSING FIELD VALUES ARE NULL</span><br />
<span style="color:#0000ff;">REJECT ROWS WITH ALL NULL FIELDS</span><br />
(empno, ename, job, deptno))<br />
<span style="color:#0000ff;">LOCATION</span> (&#8216;demo1.dat&#8217;)<br />
)<br />
PARALLEL<br />
REJECT LIMIT 0<br />
NOMONITORING;</span></p>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/haiyanliang.wordpress.com/199/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/haiyanliang.wordpress.com/199/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/haiyanliang.wordpress.com/199/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/haiyanliang.wordpress.com/199/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/haiyanliang.wordpress.com/199/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/haiyanliang.wordpress.com/199/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/haiyanliang.wordpress.com/199/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/haiyanliang.wordpress.com/199/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/haiyanliang.wordpress.com/199/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/haiyanliang.wordpress.com/199/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/haiyanliang.wordpress.com/199/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/haiyanliang.wordpress.com/199/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/haiyanliang.wordpress.com/199/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/haiyanliang.wordpress.com/199/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=haiyanliang.wordpress.com&amp;blog=4946715&amp;post=199&amp;subd=haiyanliang&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://haiyanliang.wordpress.com/2010/01/24/export-table-in-mysql-into-csv-file/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://1.gravatar.com/avatar/5d28c348394387403438762637d71738?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">haiyanliang</media:title>
		</media:content>
	</item>
		<item>
		<title>Linux FSCK tips</title>
		<link>http://haiyanliang.wordpress.com/2010/01/24/linux-fsck-tips/</link>
		<comments>http://haiyanliang.wordpress.com/2010/01/24/linux-fsck-tips/#comments</comments>
		<pubDate>Sun, 24 Jan 2010 05:37:30 +0000</pubDate>
		<dc:creator>haiyanliang</dc:creator>
				<category><![CDATA[Uncategorized]]></category>

		<guid isPermaLink="false">http://haiyanliang.wordpress.com/?p=195</guid>
		<description><![CDATA[1. How to check the last time FSCK was run ou should be able to tell by using tune2fs tune2fs -l /dev/sXxN &#124; grep Last checked See the man page for more information on the options available with tune2fs 2. Force fsck on boot using /forcefsck # touch /forcefsck 3. Show/change check intervals &#8211; Maximum [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=haiyanliang.wordpress.com&amp;blog=4946715&amp;post=195&amp;subd=haiyanliang&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>1. <strong>How to check the last time FSCK was run</strong></p>
<p>ou should be able to tell by using tune2fs</p>
<p>tune2fs -l /dev/sXxN | grep Last checked</p>
<p>See the man page for more information on the options available with tune2fs</p>
<p>2. Force fsck on boot using  /forcefsck</p>
<p><code># touch /forcefsck</code></p>
<p>3. Show/change check intervals &#8211; Maximum mount count ,  Check interval</p>
<p>tune2fs -i &#8230;</p>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/haiyanliang.wordpress.com/195/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/haiyanliang.wordpress.com/195/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/haiyanliang.wordpress.com/195/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/haiyanliang.wordpress.com/195/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/haiyanliang.wordpress.com/195/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/haiyanliang.wordpress.com/195/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/haiyanliang.wordpress.com/195/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/haiyanliang.wordpress.com/195/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/haiyanliang.wordpress.com/195/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/haiyanliang.wordpress.com/195/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/haiyanliang.wordpress.com/195/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/haiyanliang.wordpress.com/195/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/haiyanliang.wordpress.com/195/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/haiyanliang.wordpress.com/195/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=haiyanliang.wordpress.com&amp;blog=4946715&amp;post=195&amp;subd=haiyanliang&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://haiyanliang.wordpress.com/2010/01/24/linux-fsck-tips/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://1.gravatar.com/avatar/5d28c348394387403438762637d71738?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">haiyanliang</media:title>
		</media:content>
	</item>
		<item>
		<title>WOL Configure for MCP6P M2+ with OEL installed</title>
		<link>http://haiyanliang.wordpress.com/2010/01/23/wol-configure-for-mcp6p-m2-with-oel-installed/</link>
		<comments>http://haiyanliang.wordpress.com/2010/01/23/wol-configure-for-mcp6p-m2-with-oel-installed/#comments</comments>
		<pubDate>Sat, 23 Jan 2010 06:52:00 +0000</pubDate>
		<dc:creator>haiyanliang</dc:creator>
				<category><![CDATA[Uncategorized]]></category>

		<guid isPermaLink="false">http://haiyanliang.wordpress.com/?p=175</guid>
		<description><![CDATA[1. $ ethtool eth0 Settings for eth0: Supported ports: [ MII ] Supported link modes:   10baseT/Half 10baseT/Full 100baseT/Half 100baseT/Full Supports auto-negotiation: Yes Advertised link modes:  10baseT/Half 10baseT/Full 100baseT/Half 100baseT/Full Advertised auto-negotiation: Yes Speed: 100Mb/s Duplex: Full Port: MII PHYAD: 1 Transceiver: external Auto-negotiation: on Supports Wake-on: g Wake-on: d Link detected: yes 2. vi rc.local [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=haiyanliang.wordpress.com&amp;blog=4946715&amp;post=175&amp;subd=haiyanliang&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>1. $ ethtool eth0<br />
Settings for eth0:<br />
Supported ports: [ MII ]<br />
Supported link modes:   10baseT/Half 10baseT/Full<br />
100baseT/Half 100baseT/Full<br />
Supports auto-negotiation: Yes<br />
Advertised link modes:  10baseT/Half 10baseT/Full<br />
100baseT/Half 100baseT/Full<br />
Advertised auto-negotiation: Yes<br />
Speed: 100Mb/s<br />
Duplex: Full<br />
Port: MII<br />
PHYAD: 1<br />
Transceiver: external<br />
Auto-negotiation: on<br />
<strong>Supports Wake-on: g<br />
Wake-on: d</strong><br />
Link detected: yes</p>
<p>2. vi rc.local<br />
ethtool -s eth0 wol g<br />
exit 0</p>
<p>3. # ethtool eth0<br />
Settings for eth0:<br />
Supported ports: [ TP MII ]<br />
&#8230;<br />
PHYAD: 1<br />
Transceiver: internal<br />
Auto-negotiation: on<br />
<strong>Supports Wake-on: g<br />
Wake-on: g</strong><br />
Current message level: 0&#215;00000007 (7)<br />
Link detected: yes</p>
<p>4. Shutdown or poweroff</p>
<p>shutdown -h -P now</p>
<p>poweroff</p>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/haiyanliang.wordpress.com/175/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/haiyanliang.wordpress.com/175/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/haiyanliang.wordpress.com/175/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/haiyanliang.wordpress.com/175/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/haiyanliang.wordpress.com/175/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/haiyanliang.wordpress.com/175/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/haiyanliang.wordpress.com/175/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/haiyanliang.wordpress.com/175/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/haiyanliang.wordpress.com/175/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/haiyanliang.wordpress.com/175/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/haiyanliang.wordpress.com/175/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/haiyanliang.wordpress.com/175/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/haiyanliang.wordpress.com/175/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/haiyanliang.wordpress.com/175/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=haiyanliang.wordpress.com&amp;blog=4946715&amp;post=175&amp;subd=haiyanliang&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://haiyanliang.wordpress.com/2010/01/23/wol-configure-for-mcp6p-m2-with-oel-installed/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://1.gravatar.com/avatar/5d28c348394387403438762637d71738?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">haiyanliang</media:title>
		</media:content>
	</item>
		<item>
		<title>1Z0-043 Notes – CH 11 – Managing Storage</title>
		<link>http://haiyanliang.wordpress.com/2010/01/17/1z0-043-notes-%e2%80%93-ch-11-%e2%80%93-managing-storage/</link>
		<comments>http://haiyanliang.wordpress.com/2010/01/17/1z0-043-notes-%e2%80%93-ch-11-%e2%80%93-managing-storage/#comments</comments>
		<pubDate>Sun, 17 Jan 2010 03:07:55 +0000</pubDate>
		<dc:creator>haiyanliang</dc:creator>
				<category><![CDATA[1Z0-043]]></category>
		<category><![CDATA[Oracle database]]></category>

		<guid isPermaLink="false">http://haiyanliang.wordpress.com/?p=163</guid>
		<description><![CDATA[Space Management Overview Space is automatically managed by the Oracledatabase. It generates alerts about potential problems and recommends possible solutions. Features include: • Oracle Managed Files (OMF) • Free-space management with bitmaps (“locallymanaged”) and automatic data file extension • Proactive space management (default thresholds and server-generated alerts) • Space reclamation (shrinking segments, online table redefinition) [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=haiyanliang.wordpress.com&amp;blog=4946715&amp;post=163&amp;subd=haiyanliang&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p><strong>Space Management Overview</strong><br />
Space is automatically managed by the Oracledatabase. It generates alerts about potential problems and recommends possible solutions. Features include:<br />
• Oracle Managed Files (OMF)<br />
• Free-space management with bitmaps (“locallymanaged”) and automatic data file extension<br />
• Proactive space management (default thresholds and server-generated alerts)<br />
• Space reclamation (shrinking segments, online table redefinition)<br />
• Capacity planning (growth reports)</p>
<p><strong>Allocating Extents</strong><br />
With locally managed tablespaces, the Oracle database looks for free space to allocate to a new extent by first determining a candidate data file in the tablespace and then searching the<br />
data file’s bitmap for the required number of adjacent free blocks. If that data file does not have enough adjacent free space, then the Oracle database looks in another data file.<br />
Two clauses affect the sizing of extents:<br />
• With the UNIFORM clause, the database creates all extents of a uniform size that you specified (or a default size) for any objects created in the tablespace.<br />
• With the AUTOALLOCATE clause, the database determines the extent-sizing policy for the tablespace.</p>
<p><strong>Block Space Management</strong><br />
Space management involves the management of free space at the block level. With Automatic Segment Space Management, each block is divided into four sections, named FS1 (between 0 and 25% of free space), FS2 (25% to50% free), FS3 (50% to 75% free), and FS4 (75% to100% free).<br />
Depending on the level of free space in the block, its status is automatically updated. That way, depending on the length of an inserted row, you can tell whether a particular block can<br />
be used to satisfy an insert operation. Note that a “full” status means that a block is no longer available for inserts.</p>
<p><strong>Row Chaining and Migrating</strong><br />
In two circumstances, the data for a row in a table may be too large to fit into a single data block. In the first case, the row is too large to fit into one data block when it is first inserted. In this case, the Oracle database stores the data for the row in a chain of data blocks (one or more) reserved for that segment. Row chaining most often occurs with large rows, such as<br />
rows that contain a column of data type LONG or LONG RAW. Row chaining in these cases is unavoidable.<br />
However, in the second case, a row that originally fit into one data block is updated, so that the overall row length increases, and the block’s free space is already completely filled. In this case, the Oracle database migrates the data for the entire row to a new data block, assuming that the entire row can fit in a new block. The database preserves the original row piece of a migrated row to point to the new block containing the migrated row. The ROWID of a migrated row does not change.<br />
When a row is chained or migrated, I/O performance associated with this row decreases because the Oracle database must scan more than one data block to retrieve the information<br />
for the row.<br />
The Segment Advisor finds the segments containing migrated rows that result from an UPDATE.</p>
<p><strong>Proactive Tablespace Monitoring</strong><br />
Tablespace disk space usage is proactively managed by the database in the following ways:<br />
• Through the use of database alerts, you are informed when a tablespace runs low on available disk space as well as when particular segments are running out of space. You<br />
can then provide the tablespace with more disk space, thus avoiding out-of-space conditions.<br />
• Information gathered is stored in the Automatic Workload Repository (AWR) and is used to perform growth trend analysis and capacity planning of the database.</p>
<p><strong>Monitoring Tablespace Space Usage (tips)</strong><br />
The database tracks space utilization while performing regular space management activities. This information is aggregated every 10 minutes by the MMON process. An alert is triggered when the threshold for a tablespace has been reached or cleared.<br />
• Alerts should not be flagged on tablespaces that are in read-only mode, or tablespaces that were taken offline, because there is not much to do for them.<br />
• In temporary tablespaces, the threshold value has to be defined as a limit on the used space in the tablespace.<br />
• For undo tablespaces, an extent is reusable if it does not contain active or unexpired undo. For the computation of threshold violation, the sum of active and unexpired<br />
extents is considered as used space.<br />
• For tablespaces with autoextensible files, the thresholds are computed according to the maximum file size you specified, or the maximum OS file size.</p>
<p><strong>Shrinking Segments</strong><br />
The diagram in the slide describes the two phases of a table shrink operation. The first phase does the compaction. During this phase, rows are moved to the left part of the segment as<br />
much as possible. Internally, rows are moved by packets to avoid locking issues. After the rows have been moved, the second phase of the shrink operation is started. During this phase, the high-water mark (HWM) is adjusted and the unused space is released.<br />
The COMPACT clause is useful if you have long-running queries that might span the shrink operation and attempt to read from blocks that have been reclaimed. When you specify the<br />
SHRINK SPACE COMPACT clause, the progress of the shrink operation is saved in the bitmap blocks of the corresponding segment. This means that the next time a shrink operation is<br />
executed on the same segment, the Oracle database remembers what has been done already.<br />
You can then reissue the SHRINK SPACE clause without the COMPACT clause during offpeak hours to complete the second phase.</p>
<p><strong>Results of Shrink Operation</strong><br />
• Improved performance and space utilization<br />
• Indexes maintained<br />
• Triggers not executed<br />
• Number of migrated rows may be reduced<br />
• Rebuilding secondary indexes on IOTs recommended</p>
<p><strong>Space Reclamation with ASSM</strong><br />
A shrink operation is an online and in-place operation because it does not need extra database space to be executed.<br />
• You <strong>cannot execute a shrink operation</strong> on segments managed by free lists. Segments in automatic segment-space managed tablespaces can be shrunk. However, the following<br />
objects stored in ASSM tablespaces <strong>cannot be shrunk</strong>:<br />
- Tables in clusters<br />
- Tables with LONG columns<br />
- Tables with on-commit materialized views<br />
- Tables with ROWID-based materialized views<br />
- IOT mapping tables<br />
- Tables with function-based indexes<br />
• ROW MOVEMENT must be enabled for heap-organized segments.<br />
Note: Automatic Segment Space Management (ASSM) is the default type of segment space management</p>
<p><strong>Free Space Management</strong></p>
<p>• Automatic<br />
• Enabled by the use of locally managed tablespaces<br />
• Tracked by bitmaps in segments</p>
<p>Benefits:<br />
• More flexible spaceutilization<br />
• Run-time adjustment<br />
• Multiple process search of BMBs</p>
<p><strong>Managing Resumable Space Allocation</strong><br />
A resumable statement:<br />
• Enables you to suspend large operations instead of receiving an error<br />
• Gives you a chance to fix the problem while the operation is suspended, rather than starting over<br />
• Is suspended for the following conditions:<br />
– Out of space<br />
– Maximum extents reached<br />
– Space quota exceeded</p>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/haiyanliang.wordpress.com/163/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/haiyanliang.wordpress.com/163/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/haiyanliang.wordpress.com/163/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/haiyanliang.wordpress.com/163/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/haiyanliang.wordpress.com/163/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/haiyanliang.wordpress.com/163/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/haiyanliang.wordpress.com/163/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/haiyanliang.wordpress.com/163/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/haiyanliang.wordpress.com/163/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/haiyanliang.wordpress.com/163/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/haiyanliang.wordpress.com/163/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/haiyanliang.wordpress.com/163/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/haiyanliang.wordpress.com/163/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/haiyanliang.wordpress.com/163/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=haiyanliang.wordpress.com&amp;blog=4946715&amp;post=163&amp;subd=haiyanliang&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://haiyanliang.wordpress.com/2010/01/17/1z0-043-notes-%e2%80%93-ch-11-%e2%80%93-managing-storage/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://1.gravatar.com/avatar/5d28c348394387403438762637d71738?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">haiyanliang</media:title>
		</media:content>
	</item>
	</channel>
</rss>
