<?xml version="1.0" encoding="UTF-8"?>
<?xml-stylesheet type="text/xsl" media="screen" href="/~d/styles/rss2full.xsl"?><?xml-stylesheet type="text/css" media="screen" href="http://feeds.feedburner.com/~d/styles/itemcontent.css"?><rss 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/" version="2.0">

<channel>
	<title>ChoirulAmri.org</title>
	
	<link>http://choirulamri.org</link>
	<description>born to train, forced to code::SQL Server, SharePoint, .Net, Business Intelligence</description>
	<lastBuildDate>Sat, 27 Jun 2009 04:18:50 +0000</lastBuildDate>
	<generator>http://wordpress.org/?v=2.8</generator>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
			<atom10:link xmlns:atom10="http://www.w3.org/2005/Atom" rel="self" href="http://feeds.feedburner.com/choirulamrifeed" type="application/rss+xml" /><item>
		<title>KPI Report with Reporting Services 2008</title>
		<link>http://choirulamri.org/archives/445</link>
		<comments>http://choirulamri.org/archives/445#comments</comments>
		<pubDate>Fri, 26 Jun 2009 18:59:03 +0000</pubDate>
		<dc:creator>mca</dc:creator>
				<category><![CDATA[Download]]></category>
		<category><![CDATA[SQL Server]]></category>
		<category><![CDATA[business intelligence]]></category>
		<category><![CDATA[Reporting services]]></category>
		<category><![CDATA[SQL Server 2008]]></category>

		<guid isPermaLink="false">http://choirulamri.org/archives/445</guid>
		<description><![CDATA[Reporting Services 2008 brings many enhancements for data visualization. The queen is Gauge, which is ideal tool to create scorecard and KPI. Imagine the report popping up in front of manager with colourful and fancy indicators like this:
 
Gauge is only one among many other things. Charting is more fun than ever, with many 3D [...]]]></description>
		<wfw:commentRss>http://choirulamri.org/archives/445/feed</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>Some Notes on SQL Server 2008 Backup compression</title>
		<link>http://choirulamri.org/archives/433</link>
		<comments>http://choirulamri.org/archives/433#comments</comments>
		<pubDate>Thu, 11 Jun 2009 08:20:13 +0000</pubDate>
		<dc:creator>mca</dc:creator>
				<category><![CDATA[SQL Server]]></category>
		<category><![CDATA[SQL Performance]]></category>
		<category><![CDATA[SQL Server 2008]]></category>

		<guid isPermaLink="false">http://choirulamri.org/archives/433</guid>
		<description><![CDATA[I blogged about backup compression here, and I mentioned that the main advantages are saving space, reduced backup and restore time. After discussion with some fellow MVPs, I have to revise my statement in previous post.
Yes, backup compression saves backup and restore time only if there are enough CPU and IO resources available. This is [...]]]></description>
		<wfw:commentRss>http://choirulamri.org/archives/433/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>PPT from CTU 2009: Reporting with Data Mining</title>
		<link>http://choirulamri.org/archives/359</link>
		<comments>http://choirulamri.org/archives/359#comments</comments>
		<pubDate>Tue, 02 Jun 2009 16:24:53 +0000</pubDate>
		<dc:creator>mca</dc:creator>
				<category><![CDATA[Download]]></category>
		<category><![CDATA[SQL Server]]></category>
		<category><![CDATA[data mining]]></category>
		<category><![CDATA[Data Warehouse]]></category>
		<category><![CDATA[Reporting services]]></category>

		<guid isPermaLink="false">http://choirulamri.org/?p=359</guid>
		<description><![CDATA[Well, traditional reporting is quite common. It connects to relational database, perform calculation and agregation, then display it in a nice and neat report. What is data mining reporting anyway?
It is also a report, but connects to mining model rather than traditional RDBMS. Example: a model to forecast the customer behavior created in SSAS. It [...]]]></description>
		<wfw:commentRss>http://choirulamri.org/archives/359/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Installing SQL 2005 (X64) on Windows 7 RC</title>
		<link>http://choirulamri.org/archives/358</link>
		<comments>http://choirulamri.org/archives/358#comments</comments>
		<pubDate>Mon, 01 Jun 2009 16:37:31 +0000</pubDate>
		<dc:creator>mca</dc:creator>
				<category><![CDATA[SQL Server]]></category>
		<category><![CDATA[Windows 7]]></category>
		<category><![CDATA[SQL Server 2005]]></category>

		<guid isPermaLink="false">http://choirulamri.org/archives/358</guid>
		<description><![CDATA[I was forced to install SQL Server 2005 X64 in my system, because my development DB was X64. Since my machine runs Win 7 X64, I was tempted to install on top of it. Anyway, I don’t have a spare machine, and VPC also does not support X64 OS  .
I was thinking that everything [...]]]></description>
		<wfw:commentRss>http://choirulamri.org/archives/358/feed</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>Sharepoint – Reporting Services Integration</title>
		<link>http://choirulamri.org/archives/417</link>
		<comments>http://choirulamri.org/archives/417#comments</comments>
		<pubDate>Sat, 30 May 2009 20:57:00 +0000</pubDate>
		<dc:creator>mca</dc:creator>
				<category><![CDATA[Download]]></category>
		<category><![CDATA[SQL Server]]></category>
		<category><![CDATA[SharePoint]]></category>
		<category><![CDATA[business intelligence]]></category>
		<category><![CDATA[Reporting services]]></category>

		<guid isPermaLink="false">http://choirulamri.org/archives/417</guid>
		<description><![CDATA[I did presentation for MaxIT event on May 29, 2009 and one of the interesting discussion was SharePoint integration with Reporting Services. I know that SharePoint is hot here in Singapore. I also did demo on some new features of SSRS 2008 such as tablix and charting. My presentation slide can be downloaded here:
<iframe scrolling="no" marginheight="0" marginwidth="0" frameborder="0" style="width:240px;height:66px;margin:3px;padding:0;border:1px solid #dde5e9;background-color:#ffffff;" src="http://cid-a2fea47247652396.skydrive.live.com/embedrowdetail.aspx/Public/ChoirulPresentation/SSRS2008-Excel-SharePoint.pdf"></iframe>
There are several advantages of integrating SSRS with SharePoint:
<ul>
	<li>Seamless UI for end user. They do not need to jump from one screen to another to open report and SharePoint dashboard at the same time.</li>
	<li>All reports are deployed as document library, so it follows all SharePoint library setting. It saves lots of time instead of managing report in separate report manager.</li>
	<li>All reports are under SharePoint security setting, giving better consolidated administrative from SharePoint perspective</li>
	<li>Render reports inside web part. It makes building SharePoint dashboard faster and easier.</li>
</ul>
What do we need to configure this:
<ul>
	<li>SharePoint Services 3.0 or MOSS 2007, It’s better if upgraded to SP1 or SP2.</li>
	<li>SQL Server 2005 Reporting Services with SP2, or Reporting Services 2008.</li>
	<li>Reporting Services add-in for SharePoint. There are 2 versions of add-in: <a href="http://www.microsoft.com/downloads/details.aspx?familyid=0ACB75A6-7C1D-4E2B-AF69-7E5F9ECAD299&#38;displaylang=en">SSRS 2005</a> and <a href="http://www.microsoft.com/downloads/details.aspx?FamilyID=58edd0e4-255b-4361-bd1e-e530d5aab78f&#38;displaylang=en">SSRS 2008</a>.</li>
</ul>
Configuration can be simple (all in one box) or scale up to separate boxes. Below is the logical architecture if SSRS and SharePoint are installed on separate boxes:

<a href="http://choirulamri.org/wp-content/uploads/2009/06/ssrssharepoint.png"><img style="border-right-width: 0px; display: inline; border-top-width: 0px; border-bottom-width: 0px; border-left-width: 0px" title="ssrs-sharepoint" src="http://choirulamri.org/wp-content/uploads/2009/06/ssrssharepoint-thumb.png" border="0" alt="ssrs-sharepoint" width="536" height="303" /></a>

Assuming that SharePoint already installed, below are the explanations to do integration.]]></description>
		<wfw:commentRss>http://choirulamri.org/archives/417/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>End to End SSIS Sample</title>
		<link>http://choirulamri.org/archives/342</link>
		<comments>http://choirulamri.org/archives/342#comments</comments>
		<pubDate>Sun, 01 Mar 2009 17:11:54 +0000</pubDate>
		<dc:creator>mca</dc:creator>
				<category><![CDATA[Download]]></category>
		<category><![CDATA[SQL Server]]></category>
		<category><![CDATA[Data Warehouse]]></category>
		<category><![CDATA[Integration Services]]></category>

		<guid isPermaLink="false">http://choirulamri.org/archives/342</guid>
		<description><![CDATA[This is a quick post of my presentation slide and demo codes for Singapore SQL Server User Group last week. I presented the following topics:

What is data warehouse 
Data warehouse design 
How to load dimension and fact table 
Performance trade of 
Best practices in DW design and ETL 
Demos on SSIS 

Grab my PPT and [...]]]></description>
		<wfw:commentRss>http://choirulamri.org/archives/342/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>New in SQL Server 2008: Backup Compression</title>
		<link>http://choirulamri.org/archives/376</link>
		<comments>http://choirulamri.org/archives/376#comments</comments>
		<pubDate>Fri, 06 Feb 2009 19:57:39 +0000</pubDate>
		<dc:creator>mca</dc:creator>
				<category><![CDATA[SQL Server]]></category>
		<category><![CDATA[SQL Server 2008]]></category>

		<guid isPermaLink="false">http://choirulamri.org/?p=376</guid>
		<description><![CDATA[Backing up database is a routine DBA job. This easy task become a headache when the machine runs out of disk space. We need to cleanup the disk or attach a new one to do the backup. Fortunately, SQL Server 2008 comes with built in compression feature of backup set. We can do backup and compress at the same time. What does it mean?
<ul>
	<li>Save disk space, the compressed size is only around 10% of normal backup.</li>
	<li>Faster backup time.</li>
	<li>Faster restore time (surprise)!.</li>
</ul>
This is very convenience approach instead of doing normal backup and compress it with Winzip. According to benchmark I did, Winzip compression works slower than backup with compress on the fly. Not mention that we also have to unzip the file to restore from backup.

I am also surprise because restoring compressed backup is faster than non compressed. Logically, it needs to decompress and restore so it should be slower than restoring normal one. But my benchmark showed the opposite. I modified the AdventureWorks2008 sample database and insert additional data to make it bigger.

Below is my benchmark results with 900 MB size.
<ul>
	<li>Backup with no compress: 115 seconds</li>
	<li>Backup with compress: 49 seconds</li>
	<li>Restore from non compressed backup : 123 seconds</li>
	<li>Restore from compressed backup : 113 seconds</li>
</ul>
So, are you convinced? Here are the scripts to do compressed backup.]]></description>
		<wfw:commentRss>http://choirulamri.org/archives/376/feed</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
		<item>
		<title>Running SharePoint on Windows 7</title>
		<link>http://choirulamri.org/archives/330</link>
		<comments>http://choirulamri.org/archives/330#comments</comments>
		<pubDate>Wed, 28 Jan 2009 16:41:11 +0000</pubDate>
		<dc:creator>mca</dc:creator>
				<category><![CDATA[SharePoint]]></category>

		<guid isPermaLink="false">http://choirulamri.org/archives/330</guid>
		<description><![CDATA[I know that running SharePoint on Vista or Windows 7 is not for production, but as a developer I need a handy tool for coding and testing instead of VPC or VMWare. Well, installing SharePoint on Windows 7 is not officially supported, but if you are a geek enthusiast, here are the steps:

<strong>First, prepare IIS 7 for ASP.NET component</strong>. I configured the following components in my Win 7: 
<table border="0" cellspacing="0" cellpadding="2" width="400">
<tbody>
<tr>
<td width="200" valign="top"><a href="http://choirulamri.org/wp-content/uploads/2009/01/prepareiis71.png"><img style="border-right-width: 0px; display: inline; border-top-width: 0px; border-bottom-width: 0px; border-left-width: 0px" title="prepareIIS71" src="http://choirulamri.org/wp-content/uploads/2009/01/prepareiis71-thumb.png" border="0" alt="prepareIIS71" width="278" height="311" /></a></td>
<td width="200" valign="top"><a href="http://choirulamri.org/wp-content/uploads/2009/01/prepareiis72.png"><img style="border-right-width: 0px; display: inline; border-top-width: 0px; border-bottom-width: 0px; border-left-width: 0px" title="prepareIIS7" src="http://choirulamri.org/wp-content/uploads/2009/01/prepareiis7-thumb1.png" border="0" alt="prepareIIS7" width="262" height="362" /></a> </td>
</tr>
</tbody></table>]]></description>
		<wfw:commentRss>http://choirulamri.org/archives/330/feed</wfw:commentRss>
		<slash:comments>3</slash:comments>
		</item>
		<item>
		<title>Shrink and manage huge SQL log file</title>
		<link>http://choirulamri.org/archives/369</link>
		<comments>http://choirulamri.org/archives/369#comments</comments>
		<pubDate>Sat, 03 Jan 2009 09:46:00 +0000</pubDate>
		<dc:creator>mca</dc:creator>
				<category><![CDATA[SQL Server]]></category>
		<category><![CDATA[SQL Server 2005]]></category>
		<category><![CDATA[SQL Server 2008]]></category>
		<category><![CDATA[SQL tips]]></category>

		<guid isPermaLink="false">http://choirulamri.org/archives/369</guid>
		<description><![CDATA[I had a bad experience with transaction log file, it was 8 years ago. But thanks to Mr.Bad, I learnt very important lesson as newbie DBA at that time. This is the story: my ERP application which sitting on top of SQL Server 2000 was fine at Friday afternoon. I went home for a weekend, only to find everybody was starred at me at Monday morning. What had happened? The ERP was crashed, actually it couldn’t start at all.

I went to my SQL Server box, and the guy was stopped. It’s not started. I checked everything from security permission to possibility of virus, nil. Then I found that the disk was out of space because of transaction log explosion. The accounting guy was doing quarterly stock journal in the system, and it caused transaction log growth exponentially. There was an audit table which recording all journal operation, and obviously the INSERT operation was the source of problem.

<em>Moral of the story: make sure you have automated way to manage transaction log growth.</em>

There are 2 way to shrink the log:
<ul>
	<li>Detach database, delete the big log, and re-attach without log file. SQL Server will create a new, fresh log file with minimum initial size. It is 2MB by default. Disadvantage: the database will not be available during the process. Offline duration depends on how fast is the detach – attach operation takes time.</li>
	<li>Better approach: use SHRINKFILE of DBCC command. This is better because I do not need to bring the system OFF.</li>
</ul>
Regardless of the approach, make sure to do full database backup. Shrinking the log deletes historical transaction that may be needed to restore database to specific point of time. Just in case, make sure to do full backup. You have been warned right :).

These are the steps to shrink a huge log file:]]></description>
		<wfw:commentRss>http://choirulamri.org/archives/369/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Slide Deck and Demo on SharePoint + Silverlight</title>
		<link>http://choirulamri.org/archives/306</link>
		<comments>http://choirulamri.org/archives/306#comments</comments>
		<pubDate>Mon, 15 Dec 2008 10:54:30 +0000</pubDate>
		<dc:creator>mca</dc:creator>
				<category><![CDATA[Download]]></category>
		<category><![CDATA[SharePoint]]></category>

		<guid isPermaLink="false">http://choirulamri.org/archives/306</guid>
		<description><![CDATA[Technorati Tags: Silverlight,Sharepoint
This is a quick post for my presentation slide and demos at SharePoint Pro Singapore User Group Meeting last week. I discussed about configuration on SharePoint box to make it Silverlight enabled, and also giving some demos to write Silverlight video player then deploy it to SharePoint. 
 
The PPT and demos are [...]]]></description>
		<wfw:commentRss>http://choirulamri.org/archives/306/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>
