<?xml version="1.0" encoding="utf-8"?>
<rss xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:pingback="http://madskills.com/public/xml/rss/module/pingback/" xmlns:trackback="http://madskills.com/public/xml/rss/module/trackback/" xmlns:wfw="http://wellformedweb.org/CommentAPI/" xmlns:slash="http://purl.org/rss/1.0/modules/slash/" xmlns:dc="http://purl.org/dc/elements/1.1/" version="2.0">
  <channel>
    <title>Hans Olav's Repeatable Read</title>
    <link>http://hansolav.net/blog/</link>
    <description>SELECT * INTO dbo.Blog FROM world.[Technology and related stuff];</description>
    <language>en-us</language>
    <copyright>Hans Olav Norheim</copyright>
    <lastBuildDate>Fri, 30 Jan 2009 02:08:08 GMT</lastBuildDate>
    <generator>newtelligence dasBlog 2.1.7341.768</generator>
    <managingEditor>hanorhei@c2i.net</managingEditor>
    <webMaster>hanorhei@c2i.net</webMaster>
    <item>
      <trackback:ping>http://hansolav.net/blog/Trackback.aspx?guid=d38e1245-2884-46b4-8943-a137405eca02</trackback:ping>
      <pingback:server>http://hansolav.net/blog/pingback.aspx</pingback:server>
      <pingback:target>http://hansolav.net/blog/PermaLink,guid,d38e1245-2884-46b4-8943-a137405eca02.aspx</pingback:target>
      <dc:creator>Hans Olav Norheim</dc:creator>
      <wfw:comment>http://hansolav.net/blog/CommentView,guid,d38e1245-2884-46b4-8943-a137405eca02.aspx</wfw:comment>
      <wfw:commentRss>http://hansolav.net/blog/SyndicationService.asmx/GetEntryCommentsRss?guid=d38e1245-2884-46b4-8943-a137405eca02</wfw:commentRss>
      <slash:comments>1</slash:comments>
      <body xmlns="http://www.w3.org/1999/xhtml">I'm in my last semester here at the Norwegian
University of Science and Technology, which means that I'm starting on my master thesis
these days. Actually, I'm not starting now, I'm continuing on the "pre-project" I
worked on together with my friend, Alex Brasetvik from August to December last year.<br /><br />
Our master thesis is about building a query optimizer for <a href="http://www.fast.no">Fast</a>'s
(now a subsidiary of <a href="http://www.microsoft.com">Microsoft</a>, they bought
them) new Enterprise Search solution. 
<br /><img src="http://hansolav.net/blog/content/binary/dag.jpg" align="right" /><br />
The report itself can be found here: <a href="http://hansolav.net/blog/content/binary/MasterProjectReport.pdf">MasterProjectReport.pdf</a>,
and the abstract is included below: 
<br /><blockquote><i>This document is the report for the authors’ joint eﬀort in researching
and designing a query optimizer for fast’s next-generation search platform, known
as MARS. This work was done during the pre-project to the master thesis at the Department
of Computer and Information Science at the Norwegian University of Science and Technology,
autumn 2008.<br /><br />
MARS does not currently employ any form of query optimizer, but does have a parser
and a runtime system. The report therefore focuses on the core query optimizing aspects,
like plan generation and optimizer design. First, we give an introduction to query
optimizers and selected problems. Then, we describe previous and ongoing eﬀorts regarding
query optimizers, before shifting focus to our own design and results.<br /><br />
MARS supports </i><i>DAG-structured query plans, which means that the optimizer must
do so too. This turned out to be a greater task than what it might seem like. The
optimizer also needed to be extensible, including the ability to deal with query operators
it does not know, as well as supporting arbitrary cost models.<br /><br />
During the course of the project, we have laid out the design of an optimizer we believe
satisfies these goals. DAGs are currently not </i><i>fully supported, but the design
can be extended to do so. Extensibility is solved by loose coupling between optimizer
components. </i><i>Rules are used to model operators, and the </i><i>cost model is
a separate, customizable component. We have also implemented a prototype that demonstrates
that the design actually works.<br /></i><br /></blockquote><p></p><img width="0" height="0" src="http://hansolav.net/blog/aggbug.ashx?id=d38e1245-2884-46b4-8943-a137405eca02" /></body>
      <title>Master of Technology in Computer Science Project</title>
      <guid isPermaLink="false">http://hansolav.net/blog/PermaLink,guid,d38e1245-2884-46b4-8943-a137405eca02.aspx</guid>
      <link>http://hansolav.net/blog/MasterOfTechnologyInComputerScienceProject.aspx</link>
      <pubDate>Fri, 30 Jan 2009 02:08:08 GMT</pubDate>
      <description>I'm in my last semester here at the Norwegian University of Science and Technology, which means that I'm starting on my master thesis these days. Actually, I'm not starting now, I'm continuing on the "pre-project" I worked on together with my friend, Alex Brasetvik from August to December last year.&lt;br&gt;
&lt;br&gt;
Our master thesis is about building a query optimizer for &lt;a href="http://www.fast.no"&gt;Fast&lt;/a&gt;'s
(now a subsidiary of &lt;a href="http://www.microsoft.com"&gt;Microsoft&lt;/a&gt;, they bought
them) new Enterprise Search solution. 
&lt;br&gt;
&lt;img src="http://hansolav.net/blog/content/binary/dag.jpg" align="right"&gt;
&lt;br&gt;
The report itself can be found here: &lt;a href="http://hansolav.net/blog/content/binary/MasterProjectReport.pdf"&gt;MasterProjectReport.pdf&lt;/a&gt;,
and the abstract is included below: 
&lt;br&gt;
&lt;blockquote&gt;&lt;i&gt;This document is the report for the authors’ joint eﬀort in researching
and designing a query optimizer for fast’s next-generation search platform, known
as MARS. This work was done during the pre-project to the master thesis at the Department
of Computer and Information Science at the Norwegian University of Science and Technology,
autumn 2008.&lt;br&gt;
&lt;br&gt;
MARS does not currently employ any form of query optimizer, but does have a parser
and a runtime system. The report therefore focuses on the core query optimizing aspects,
like plan generation and optimizer design. First, we give an introduction to query
optimizers and selected problems. Then, we describe previous and ongoing eﬀorts regarding
query optimizers, before shifting focus to our own design and results.&lt;br&gt;
&lt;br&gt;
MARS supports &lt;/i&gt;&lt;i&gt;DAG-structured query plans, which means that the optimizer must
do so too. This turned out to be a greater task than what it might seem like. The
optimizer also needed to be extensible, including the ability to deal with query operators
it does not know, as well as supporting arbitrary cost models.&lt;br&gt;
&lt;br&gt;
During the course of the project, we have laid out the design of an optimizer we believe
satisfies these goals. DAGs are currently not &lt;/i&gt;&lt;i&gt;fully supported, but the design
can be extended to do so. Extensibility is solved by loose coupling between optimizer
components. &lt;/i&gt;&lt;i&gt;Rules are used to model operators, and the &lt;/i&gt;&lt;i&gt;cost model is
a separate, customizable component. We have also implemented a prototype that demonstrates
that the design actually works.&lt;br&gt;
&lt;/i&gt;
&lt;br&gt;
&lt;/blockquote&gt;
&lt;p&gt;
&lt;/p&gt;
&lt;img width="0" height="0" src="http://hansolav.net/blog/aggbug.ashx?id=d38e1245-2884-46b4-8943-a137405eca02" /&gt;</description>
      <comments>http://hansolav.net/blog/CommentView,guid,d38e1245-2884-46b4-8943-a137405eca02.aspx</comments>
      <category>Coding</category>
      <category>Computer Science</category>
      <category>Microsoft</category>
      <category>Studying</category>
    </item>
    <item>
      <trackback:ping>http://hansolav.net/blog/Trackback.aspx?guid=29b91c9d-1b54-4857-ab4f-2a3ef1292dab</trackback:ping>
      <pingback:server>http://hansolav.net/blog/pingback.aspx</pingback:server>
      <pingback:target>http://hansolav.net/blog/PermaLink,guid,29b91c9d-1b54-4857-ab4f-2a3ef1292dab.aspx</pingback:target>
      <dc:creator>Hans Olav Norheim</dc:creator>
      <wfw:comment>http://hansolav.net/blog/CommentView,guid,29b91c9d-1b54-4857-ab4f-2a3ef1292dab.aspx</wfw:comment>
      <wfw:commentRss>http://hansolav.net/blog/SyndicationService.asmx/GetEntryCommentsRss?guid=29b91c9d-1b54-4857-ab4f-2a3ef1292dab</wfw:commentRss>
      <slash:comments>3</slash:comments>
      <body xmlns="http://www.w3.org/1999/xhtml">Here are the slides and T-SQL code I used
during Thursday's Norwegian .NET User Group presentation.<br />
I presented basic transaction processing with emphasis on concurrency and isolation.
I hope everyone had a good time. I definitely had a good time presenting.<br /><br />
I also got some really good questions, one of them being what would happen if SQL
Server were to lose the log file for one of its databases during operation. Since
I didn't give the full explanation at the presentation, I've written a blog post about
it. It can be found <a href="http://hansolav.net/blog/WhatHappensIfYouLoseTheDataFileMDFLogFileLDFOrBoth.aspx">here</a>.<br /><br />
Also, I mentioned that SQL Server 2008 RTM'ed (it's done!) on or sometime before 6th
of August with build number 10.0.1600.22. I didn't blog about it here since I was
OOF at the time :-)<br /><p></p><a href="http://hansolav.net/blog/content/binary/Transaksjoner,%20isolasjonsniv%C3%A5er%20og%20l%C3%A5sing%20i%20SQL%20Server.pptx">Transaksjoner,
isolasjonsnivåer og låsing i SQL Server.pptx (151.12 KB)</a><br /><a href="http://hansolav.net/blog/content/binary/NNUGDemos-2008-08-28-HON.zip">NNUGDemos-2008-08-28-HON.zip
(2.92 KB)</a><br /><br /><img src="http://hansolav.net/blog/content/binary/NNUG.png" /><br /><img width="0" height="0" src="http://hansolav.net/blog/aggbug.ashx?id=29b91c9d-1b54-4857-ab4f-2a3ef1292dab" /></body>
      <title>Slides and Code From Thursday's NNUG Session</title>
      <guid isPermaLink="false">http://hansolav.net/blog/PermaLink,guid,29b91c9d-1b54-4857-ab4f-2a3ef1292dab.aspx</guid>
      <link>http://hansolav.net/blog/SlidesAndCodeFromThursdaysNNUGSession.aspx</link>
      <pubDate>Mon, 01 Sep 2008 20:32:15 GMT</pubDate>
      <description>Here are the slides and T-SQL code I used during Thursday's Norwegian .NET User Group presentation.&lt;br&gt;
I presented basic transaction processing with emphasis on concurrency and isolation.
I hope everyone had a good time. I definitely had a good time presenting.&lt;br&gt;
&lt;br&gt;
I also got some really good questions, one of them being what would happen if SQL
Server were to lose the log file for one of its databases during operation. Since
I didn't give the full explanation at the presentation, I've written a blog post about
it. It can be found &lt;a href="http://hansolav.net/blog/WhatHappensIfYouLoseTheDataFileMDFLogFileLDFOrBoth.aspx"&gt;here&lt;/a&gt;.&lt;br&gt;
&lt;br&gt;
Also, I mentioned that SQL Server 2008 RTM'ed (it's done!) on or sometime before 6th
of August with build number 10.0.1600.22. I didn't blog about it here since I was
OOF at the time :-)&lt;br&gt;
&lt;p&gt;
&lt;/p&gt;
&lt;a href="http://hansolav.net/blog/content/binary/Transaksjoner,%20isolasjonsniv%C3%A5er%20og%20l%C3%A5sing%20i%20SQL%20Server.pptx"&gt;Transaksjoner,
isolasjonsnivåer og låsing i SQL Server.pptx (151.12 KB)&lt;/a&gt;
&lt;br&gt;
&lt;a href="http://hansolav.net/blog/content/binary/NNUGDemos-2008-08-28-HON.zip"&gt;NNUGDemos-2008-08-28-HON.zip
(2.92 KB)&lt;/a&gt;
&lt;br&gt;
&lt;br&gt;
&lt;img src="http://hansolav.net/blog/content/binary/NNUG.png"&gt;
&lt;br&gt;
&lt;img width="0" height="0" src="http://hansolav.net/blog/aggbug.ashx?id=29b91c9d-1b54-4857-ab4f-2a3ef1292dab" /&gt;</description>
      <comments>http://hansolav.net/blog/CommentView,guid,29b91c9d-1b54-4857-ab4f-2a3ef1292dab.aspx</comments>
      <category>Presentations</category>
      <category>SQL Server</category>
    </item>
    <item>
      <trackback:ping>http://hansolav.net/blog/Trackback.aspx?guid=0af6301b-e71f-44be-838f-905709eee792</trackback:ping>
      <pingback:server>http://hansolav.net/blog/pingback.aspx</pingback:server>
      <pingback:target>http://hansolav.net/blog/PermaLink,guid,0af6301b-e71f-44be-838f-905709eee792.aspx</pingback:target>
      <dc:creator>Hans Olav Norheim</dc:creator>
      <wfw:comment>http://hansolav.net/blog/CommentView,guid,0af6301b-e71f-44be-838f-905709eee792.aspx</wfw:comment>
      <wfw:commentRss>http://hansolav.net/blog/SyndicationService.asmx/GetEntryCommentsRss?guid=0af6301b-e71f-44be-838f-905709eee792</wfw:commentRss>
      <slash:comments>1</slash:comments>
      <body xmlns="http://www.w3.org/1999/xhtml">I got a question at a .NET Community Event
a few days ago about what would happen if SQL Server were to lose the log (LDF) or
data (MDF/NDFs) file for a database while in operation (e.g. the disk with the data
or log file on crashes). If I've got my SQL Server disaster recovery right, this should
be what would happen:<br /><br />
First, if <b>both data and log are lost</b>, it's simple - SQL Server will stop servicing
requests for that DB and we'll need to restore everything from our last backup (possibly
some minutes/hours/days old, depending on your backup scheme).<br /><img src="http://hansolav.net/blog/content/binary/harddrive.jpg" style="margin: 10px;" align="right" border="0" /><br />
Second, if the <b>data file is lost</b>, while the log is good, SQL Server will probably
stop servicing requests pretty quickly here too, but we shouldn't lose any data (assuming
we're running under the <b>full recovery model</b> and have taken at least one full
backup and have the log chain intact - that is, we haven't truncated the transaction
log and we've got all log backups since the last full or differential backup ready
for restore). We can just restore the last full backup, then the last differential
one and then all log backups consecutively, up to and including the tail of the log
that is still good.<br /><br />
Third, if the <b>log file is lost</b>, while the data file is good, we may have bigger
problems. SQL Server will at least stop servicing any requests involving writing to
the database, and we now have the potential to lose data.<br />
But wait - we have the complete data file - why would we lose data? The reason for
this is the way SQL Server handles buffering and recovery, using the <a href="http://en.wikipedia.org/wiki/Algorithms_for_Recovery_and_Isolation_Exploiting_Semantics">ARIES </a>algorithm.
ARIES uses a so-called STEAL/NO-FORCE approach to optimize performance for the buffer
pool (SQL Server's in-memory data cache), which basically means that data from <i>uncommitted </i>transactions
can be written to the MDF/NDFs on disk and that data from <i>committed </i>transactions
can still only reside in memory.<br /><br />
This means that if there are open transactions or any transactions have been writing
data to the database since the last <a href="http://msdn.microsoft.com/en-us/library/ms189573.aspx">checkpoint </a>at
the time of the crash (and possibly more scenarios), the data file is potentially
in an inconsistent state. Losing the log file in such a situation can cause database
corruption, broken constraints, half-finished transactions, lost data and all sorts
of crap, since SQL Server will not be able to roll back uncommitted transactions or
roll forward committed ones.<br /><br />
If the log is lost, it can be rebuilt using <a href="http://blogs.msdn.com/sqlserverstorageengine/archive/2006/06/18/636105.aspx"><i>Emergency
Mode Repair</i></a>, but as Paul S. Randall (former SQL Server employee) describes <a href="http://blogs.msdn.com/sqlserverstorageengine/archive/2006/06/15/632398.aspx">here</a>,
this is something that shouldn't be done unless you're out of other options.<br /><br />
So, the only way to ensure you don't lose data is, once again, a plan for <b>backup </b>and <b>disaster
recovery</b>. Murphy states that if you don't, you WILL find yourself in deep shit
at some time in the future.<br /><br />
And when we're on the topic of losing the log - I've seen some pretty ridiculous ways
of reducing the size of your log file around different forums. I've seen posts advising
people to just delete or rebuild the log file whenever it gets too big. <b>That is
a pretty bad piece of advise </b>(unless you know what you're doing and are checkpointing
or detaching the database first)<b>.</b> Rebuilding the log is, due to the reasons
above, a pretty quick and handy way of inducing corruption into your database. To
reduce the size of your transaction log, back it up using the BACKUP LOG statement,
optionally shrinking the log files afterward.<br /><br />
So, do you agree with me? Feel free to post comments if I've got something wrong.<br /><img width="0" height="0" src="http://hansolav.net/blog/aggbug.ashx?id=0af6301b-e71f-44be-838f-905709eee792" /></body>
      <title>What Happens If You Lose the Data File (MDF), Log File (LDF) or Both?</title>
      <guid isPermaLink="false">http://hansolav.net/blog/PermaLink,guid,0af6301b-e71f-44be-838f-905709eee792.aspx</guid>
      <link>http://hansolav.net/blog/WhatHappensIfYouLoseTheDataFileMDFLogFileLDFOrBoth.aspx</link>
      <pubDate>Mon, 01 Sep 2008 17:37:09 GMT</pubDate>
      <description>I got a question at a .NET Community Event a few days ago about what would happen if SQL Server were to lose the log (LDF) or data (MDF/NDFs) file for a database while in operation (e.g. the disk with the data or log file on crashes). If I've got my SQL Server disaster recovery right, this should be what would happen:&lt;br&gt;
&lt;br&gt;
First, if &lt;b&gt;both data and log are lost&lt;/b&gt;, it's simple - SQL Server will stop servicing
requests for that DB and we'll need to restore everything from our last backup (possibly
some minutes/hours/days old, depending on your backup scheme).&lt;br&gt;
&lt;img src="http://hansolav.net/blog/content/binary/harddrive.jpg" style="margin: 10px;" align="right" border="0"&gt;
&lt;br&gt;
Second, if the &lt;b&gt;data file is lost&lt;/b&gt;, while the log is good, SQL Server will probably
stop servicing requests pretty quickly here too, but we shouldn't lose any data (assuming
we're running under the &lt;b&gt;full recovery model&lt;/b&gt; and have taken at least one full
backup and have the log chain intact - that is, we haven't truncated the transaction
log and we've got all log backups since the last full or differential backup ready
for restore). We can just restore the last full backup, then the last differential
one and then all log backups consecutively, up to and including the tail of the log
that is still good.&lt;br&gt;
&lt;br&gt;
Third, if the &lt;b&gt;log file is lost&lt;/b&gt;, while the data file is good, we may have bigger
problems. SQL Server will at least stop servicing any requests involving writing to
the database, and we now have the potential to lose data.&lt;br&gt;
But wait - we have the complete data file - why would we lose data? The reason for
this is the way SQL Server handles buffering and recovery, using the &lt;a href="http://en.wikipedia.org/wiki/Algorithms_for_Recovery_and_Isolation_Exploiting_Semantics"&gt;ARIES &lt;/a&gt;algorithm.
ARIES uses a so-called STEAL/NO-FORCE approach to optimize performance for the buffer
pool (SQL Server's in-memory data cache), which basically means that data from &lt;i&gt;uncommitted &lt;/i&gt;transactions
can be written to the MDF/NDFs on disk and that data from &lt;i&gt;committed &lt;/i&gt;transactions
can still only reside in memory.&lt;br&gt;
&lt;br&gt;
This means that if there are open transactions or any transactions have been writing
data to the database since the last &lt;a href="http://msdn.microsoft.com/en-us/library/ms189573.aspx"&gt;checkpoint &lt;/a&gt;at
the time of the crash (and possibly more scenarios), the data file is potentially
in an inconsistent state. Losing the log file in such a situation can cause database
corruption, broken constraints, half-finished transactions, lost data and all sorts
of crap, since SQL Server will not be able to roll back uncommitted transactions or
roll forward committed ones.&lt;br&gt;
&lt;br&gt;
If the log is lost, it can be rebuilt using &lt;a href="http://blogs.msdn.com/sqlserverstorageengine/archive/2006/06/18/636105.aspx"&gt;&lt;i&gt;Emergency
Mode Repair&lt;/i&gt;&lt;/a&gt;, but as Paul S. Randall (former SQL Server employee) describes &lt;a href="http://blogs.msdn.com/sqlserverstorageengine/archive/2006/06/15/632398.aspx"&gt;here&lt;/a&gt;,
this is something that shouldn't be done unless you're out of other options.&lt;br&gt;
&lt;br&gt;
So, the only way to ensure you don't lose data is, once again, a plan for &lt;b&gt;backup &lt;/b&gt;and &lt;b&gt;disaster
recovery&lt;/b&gt;. Murphy states that if you don't, you WILL find yourself in deep shit
at some time in the future.&lt;br&gt;
&lt;br&gt;
And when we're on the topic of losing the log - I've seen some pretty ridiculous ways
of reducing the size of your log file around different forums. I've seen posts advising
people to just delete or rebuild the log file whenever it gets too big. &lt;b&gt;That is
a pretty bad piece of advise &lt;/b&gt;(unless you know what you're doing and are checkpointing
or detaching the database first)&lt;b&gt;.&lt;/b&gt; Rebuilding the log is, due to the reasons
above, a pretty quick and handy way of inducing corruption into your database. To
reduce the size of your transaction log, back it up using the BACKUP LOG statement,
optionally shrinking the log files afterward.&lt;br&gt;
&lt;br&gt;
So, do you agree with me? Feel free to post comments if I've got something wrong.&lt;br&gt;
&lt;img width="0" height="0" src="http://hansolav.net/blog/aggbug.ashx?id=0af6301b-e71f-44be-838f-905709eee792" /&gt;</description>
      <comments>http://hansolav.net/blog/CommentView,guid,0af6301b-e71f-44be-838f-905709eee792.aspx</comments>
      <category>SQL Server</category>
    </item>
    <item>
      <trackback:ping>http://hansolav.net/blog/Trackback.aspx?guid=2f446105-88ab-432e-ac85-fd2b68d060f5</trackback:ping>
      <pingback:server>http://hansolav.net/blog/pingback.aspx</pingback:server>
      <pingback:target>http://hansolav.net/blog/PermaLink,guid,2f446105-88ab-432e-ac85-fd2b68d060f5.aspx</pingback:target>
      <dc:creator>Hans Olav Norheim</dc:creator>
      <wfw:comment>http://hansolav.net/blog/CommentView,guid,2f446105-88ab-432e-ac85-fd2b68d060f5.aspx</wfw:comment>
      <wfw:commentRss>http://hansolav.net/blog/SyndicationService.asmx/GetEntryCommentsRss?guid=2f446105-88ab-432e-ac85-fd2b68d060f5</wfw:commentRss>
      <slash:comments>1</slash:comments>
      <body xmlns="http://www.w3.org/1999/xhtml">A few months ago <a href="http://hansolav.net/blog/NewsOnSQLServer2008RTMDate.aspx">I
wrote</a> that a SQL Server 2008 RC (Release Candidate) was scheduled for Q2 this
year.<br /><br />
Looks like Microsoft is staying on their schedule - RC0 was just released to MSDN
and TechNet subscribers!<br /><br /><b>EDIT: </b>RC0 is now available <a href="http://www.microsoft.com/downloads/details.aspx?FamilyId=35F53843-03F7-4ED5-8142-24A4C024CA05&amp;displaylang=en">here </a>for
the public as well.<br /><p></p><img width="0" height="0" src="http://hansolav.net/blog/aggbug.ashx?id=2f446105-88ab-432e-ac85-fd2b68d060f5" /></body>
      <title>SQL Server 2008 RC0</title>
      <guid isPermaLink="false">http://hansolav.net/blog/PermaLink,guid,2f446105-88ab-432e-ac85-fd2b68d060f5.aspx</guid>
      <link>http://hansolav.net/blog/SQLServer2008RC0.aspx</link>
      <pubDate>Sat, 07 Jun 2008 03:58:05 GMT</pubDate>
      <description>A few months ago &lt;a href="http://hansolav.net/blog/NewsOnSQLServer2008RTMDate.aspx"&gt;I
wrote&lt;/a&gt; that a SQL Server 2008 RC (Release Candidate) was scheduled for Q2 this
year.&lt;br&gt;
&lt;br&gt;
Looks like Microsoft is staying on their schedule - RC0 was just released to MSDN
and TechNet subscribers!&lt;br&gt;
&lt;br&gt;
&lt;b&gt;EDIT: &lt;/b&gt;RC0 is now available &lt;a href="http://www.microsoft.com/downloads/details.aspx?FamilyId=35F53843-03F7-4ED5-8142-24A4C024CA05&amp;amp;displaylang=en"&gt;here &lt;/a&gt;for
the public as well.&lt;br&gt;
&lt;p&gt;
&lt;/p&gt;
&lt;img width="0" height="0" src="http://hansolav.net/blog/aggbug.ashx?id=2f446105-88ab-432e-ac85-fd2b68d060f5" /&gt;</description>
      <comments>http://hansolav.net/blog/CommentView,guid,2f446105-88ab-432e-ac85-fd2b68d060f5.aspx</comments>
      <category>SQL Server</category>
    </item>
    <item>
      <trackback:ping>http://hansolav.net/blog/Trackback.aspx?guid=987894a9-22c4-4bd4-87cb-d3a3be08c735</trackback:ping>
      <pingback:server>http://hansolav.net/blog/pingback.aspx</pingback:server>
      <pingback:target>http://hansolav.net/blog/PermaLink,guid,987894a9-22c4-4bd4-87cb-d3a3be08c735.aspx</pingback:target>
      <dc:creator>Hans Olav Norheim</dc:creator>
      <wfw:comment>http://hansolav.net/blog/CommentView,guid,987894a9-22c4-4bd4-87cb-d3a3be08c735.aspx</wfw:comment>
      <wfw:commentRss>http://hansolav.net/blog/SyndicationService.asmx/GetEntryCommentsRss?guid=987894a9-22c4-4bd4-87cb-d3a3be08c735</wfw:commentRss>
      <slash:comments>1</slash:comments>
      <body xmlns="http://www.w3.org/1999/xhtml">Microsoft has published SQL Server's new
logo:<br /><br /><img src="http://i.microsoft.com/global/sqlserver/2008/en/us/PublishingImages/logo-header-sql08-dg.gif" /><br /><br /><br />
I think it looks good :-)<br /><br />
Courtesy of Wesley from <a temp_href="Courtesy of Wesley from http://blogs.msdn.com/wesleyb/archive/2008/06/03/sql-server-logo.aspx" href="Courtesy%20of%20Wesley%20from%20http://blogs.msdn.com/wesleyb/archive/2008/06/03/sql-server-logo.aspx">http://blogs.msdn.com/wesleyb/archive/2008/06/03/sql-server-logo.aspx</a><br /><p></p><img width="0" height="0" src="http://hansolav.net/blog/aggbug.ashx?id=987894a9-22c4-4bd4-87cb-d3a3be08c735" /></body>
      <title>New SQL Server Logo</title>
      <guid isPermaLink="false">http://hansolav.net/blog/PermaLink,guid,987894a9-22c4-4bd4-87cb-d3a3be08c735.aspx</guid>
      <link>http://hansolav.net/blog/NewSQLServerLogo.aspx</link>
      <pubDate>Wed, 04 Jun 2008 01:58:52 GMT</pubDate>
      <description>Microsoft has published SQL Server's new logo:&lt;br&gt;
&lt;br&gt;
&lt;img src="http://i.microsoft.com/global/sqlserver/2008/en/us/PublishingImages/logo-header-sql08-dg.gif"&gt;
&lt;br&gt;
&lt;br&gt;
&lt;br&gt;
I think it looks good :-)&lt;br&gt;
&lt;br&gt;
Courtesy of Wesley from &lt;a temp_href="Courtesy of Wesley from http://blogs.msdn.com/wesleyb/archive/2008/06/03/sql-server-logo.aspx" href="Courtesy%20of%20Wesley%20from%20http://blogs.msdn.com/wesleyb/archive/2008/06/03/sql-server-logo.aspx"&gt;http://blogs.msdn.com/wesleyb/archive/2008/06/03/sql-server-logo.aspx&lt;/a&gt;
&lt;br&gt;
&lt;p&gt;
&lt;/p&gt;
&lt;img width="0" height="0" src="http://hansolav.net/blog/aggbug.ashx?id=987894a9-22c4-4bd4-87cb-d3a3be08c735" /&gt;</description>
      <comments>http://hansolav.net/blog/CommentView,guid,987894a9-22c4-4bd4-87cb-d3a3be08c735.aspx</comments>
      <category>Microsoft</category>
      <category>SQL Server</category>
    </item>
    <item>
      <trackback:ping>http://hansolav.net/blog/Trackback.aspx?guid=3a2c0465-d7e8-4b8c-8c4f-5a65227cc67c</trackback:ping>
      <pingback:server>http://hansolav.net/blog/pingback.aspx</pingback:server>
      <pingback:target>http://hansolav.net/blog/PermaLink,guid,3a2c0465-d7e8-4b8c-8c4f-5a65227cc67c.aspx</pingback:target>
      <dc:creator>Hans Olav Norheim</dc:creator>
      <wfw:comment>http://hansolav.net/blog/CommentView,guid,3a2c0465-d7e8-4b8c-8c4f-5a65227cc67c.aspx</wfw:comment>
      <wfw:commentRss>http://hansolav.net/blog/SyndicationService.asmx/GetEntryCommentsRss?guid=3a2c0465-d7e8-4b8c-8c4f-5a65227cc67c</wfw:commentRss>
      <slash:comments>4</slash:comments>
      <body xmlns="http://www.w3.org/1999/xhtml">I recently wrote a paper at school about
how flash memory impacts the database world. Those who are interested can read it
here: <a href="http://hansolav.net/blog/content/binary/HowFlashMemory.pdf">How Flash
Memory Changes the DBMS World - An Introduction</a><br /><p></p><img width="0" height="0" src="http://hansolav.net/blog/aggbug.ashx?id=3a2c0465-d7e8-4b8c-8c4f-5a65227cc67c" /></body>
      <title>Flash Memory and the DBMS World</title>
      <guid isPermaLink="false">http://hansolav.net/blog/PermaLink,guid,3a2c0465-d7e8-4b8c-8c4f-5a65227cc67c.aspx</guid>
      <link>http://hansolav.net/blog/FlashMemoryAndTheDBMSWorld.aspx</link>
      <pubDate>Fri, 09 May 2008 14:30:30 GMT</pubDate>
      <description>I recently wrote a paper at school about how flash memory impacts the database world. Those who are interested can read it here: &lt;a href="http://hansolav.net/blog/content/binary/HowFlashMemory.pdf"&gt;How
Flash Memory Changes the DBMS World - An Introduction&lt;/a&gt;
&lt;br&gt;
&lt;p&gt;
&lt;/p&gt;
&lt;img width="0" height="0" src="http://hansolav.net/blog/aggbug.ashx?id=3a2c0465-d7e8-4b8c-8c4f-5a65227cc67c" /&gt;</description>
      <comments>http://hansolav.net/blog/CommentView,guid,3a2c0465-d7e8-4b8c-8c4f-5a65227cc67c.aspx</comments>
      <category>Computer Science</category>
      <category>Studying</category>
    </item>
    <item>
      <trackback:ping>http://hansolav.net/blog/Trackback.aspx?guid=1944e2db-e02d-4ce3-8e1e-148184656380</trackback:ping>
      <pingback:server>http://hansolav.net/blog/pingback.aspx</pingback:server>
      <pingback:target>http://hansolav.net/blog/PermaLink,guid,1944e2db-e02d-4ce3-8e1e-148184656380.aspx</pingback:target>
      <dc:creator>Hans Olav Norheim</dc:creator>
      <wfw:comment>http://hansolav.net/blog/CommentView,guid,1944e2db-e02d-4ce3-8e1e-148184656380.aspx</wfw:comment>
      <wfw:commentRss>http://hansolav.net/blog/SyndicationService.asmx/GetEntryCommentsRss?guid=1944e2db-e02d-4ce3-8e1e-148184656380</wfw:commentRss>
      <slash:comments>2</slash:comments>
      <body xmlns="http://www.w3.org/1999/xhtml">As promised, here are the resources from
the SQL Server 2008 presentation I did at NTNU 5/3. For those of you that didn't attend,
I still recommend you to take a look at the links below. I hope everyone had a good
time hearing about PowerShell, Reporting Services, and geospatial support - I sure
did have a good time presenting it.<br /><br /><b>Visual Studio</b><br />
How to configue Visual Studio to Debug .NET Framework Source Code: <a href="http://blogs.msdn.com/sburke/archive/2008/01/16/configuring-visual-studio-to-debug-net-framework-source-code.aspx">http://blogs.msdn.com/sburke/archive/2008/01/16/configuring-visual-studio-to-debug-net-framework-source-code.aspx</a><br /><br /><b>SQL Server and PowerShell:<br /></b>The PowerShell script for selecting data: <a href="http://hansolav.net/blog/content/binary/powershellsql.txt">http://hansolav.net/blog/content/binary/powershellsql.txt</a><br />
Microsoft SQL Server Homepage: <a href="http://www.microsoft.com/sql">http://www.microsoft.com/sql</a><br /><br /><b>Reporting Services</b><br />
The report I created with Reporting Services: <a href="http://hansolav.net/blog/content/binary/report.rdl.txt">http://hansolav.net/blog/content/binary/report.rdl.txt</a> (rename
to .rdl)<br /><br /><b>Geospatial</b><br />
The spatial queries: <a href="http://hansolav.net/blog/content/binary/spatial.sql.txt">http://hansolav.net/blog/content/binary/spatial.sql.txt</a><br />
Utilities for loading shapefiles into SQL Server and visualizing spatial query results: <a href="http://www.sharpgis.net/post/2007/12/Shapefile-to-SqlServer-2008-to-WPF.aspx">http://www.sharpgis.net/post/2007/12/Shapefile-to-SqlServer-2008-to-WPF.aspx<br /></a>Background image for the visualization tool: <a href="http://visibleearth.nasa.gov/view_rec.php?id=7105">http://visibleearth.nasa.gov/view_rec.php?id=7105</a><br />
Some shapefiles:<br /><a href="http://www.census.gov/geo/www/cob/bdy_files.html">http://www.census.gov/geo/www/cob/bdy_files.html</a><br /><a href="http://www.geog.ucsb.edu/%7Eta176/g176b/lab6/lab6_data.zip">http://www.geog.ucsb.edu/~ta176/g176b/lab6/lab6_data.zip</a><br /><a href="http://www.cipotato.org/diva/data/MoreData.htm">http://www.cipotato.org/diva/data/MoreData.htm</a><br /><a href="http://biogeo.berkeley.edu/bgm/gdata.php">http://biogeo.berkeley.edu/bgm/gdata.php</a><br /><br /><a href="http://visibleearth.nasa.gov/view_rec.php?id=7105"></a>Another visualization
tool that I didn't use: <a href="http://conceptdevelopment.net/Database/Geoquery/">http://conceptdevelopment.net/Database/Geoquery/</a><br />
Isaac's blog on MSDN: <a href="http://blogs.msdn.com/isaac/default.aspx">http://blogs.msdn.com/isaac/default.aspx</a><a href="http://www.microsoft.com/sql"></a><br />
The SQL Server Battleship game that I mentioned: <a href="http://www.conceptdevelopment.net/Database/Battleship2008/">http://www.conceptdevelopment.net/Database/Battleship2008/</a><a href="http://www.microsoft.com/sql"></a><br /><br /><b>Imagine Cup</b><br />
More information about Imagine Cup: <a href="http://msstudent.no/ImagineCupNorge/ImagineCup2008/tabid/647/Default.aspx">http://msstudent.no/ImagineCupNorge/ImagineCup2008/tabid/647/Default.aspx</a><br /><br />
Feel free to send me questions at hansolav *AT* hansolav.net.<br /><br /><div align="center"><img src="http://hansolav.net/blog/content/binary/images/geospatial.jpg" /><br /></div><p></p><img width="0" height="0" src="http://hansolav.net/blog/aggbug.ashx?id=1944e2db-e02d-4ce3-8e1e-148184656380" /></body>
      <title>Resources from SQL Server 2008 Presentation</title>
      <guid isPermaLink="false">http://hansolav.net/blog/PermaLink,guid,1944e2db-e02d-4ce3-8e1e-148184656380.aspx</guid>
      <link>http://hansolav.net/blog/ResourcesFromSQLServer2008Presentation.aspx</link>
      <pubDate>Thu, 06 Mar 2008 01:44:03 GMT</pubDate>
      <description>As promised, here are the resources from the SQL Server 2008 presentation I did at NTNU 5/3. For those of you that didn't attend, I still recommend you to take a look at the links below. I hope everyone had a good time hearing about PowerShell, Reporting Services, and geospatial support - I sure did have a good time presenting it.&lt;br&gt;
&lt;br&gt;
&lt;b&gt;Visual Studio&lt;/b&gt;
&lt;br&gt;
How to configue Visual Studio to Debug .NET Framework Source Code: &lt;a href="http://blogs.msdn.com/sburke/archive/2008/01/16/configuring-visual-studio-to-debug-net-framework-source-code.aspx"&gt;http://blogs.msdn.com/sburke/archive/2008/01/16/configuring-visual-studio-to-debug-net-framework-source-code.aspx&lt;/a&gt;
&lt;br&gt;
&lt;br&gt;
&lt;b&gt;SQL Server and PowerShell:&lt;br&gt;
&lt;/b&gt;The PowerShell script for selecting data: &lt;a href="http://hansolav.net/blog/content/binary/powershellsql.txt"&gt;http://hansolav.net/blog/content/binary/powershellsql.txt&lt;/a&gt;
&lt;br&gt;
Microsoft SQL Server Homepage: &lt;a href="http://www.microsoft.com/sql"&gt;http://www.microsoft.com/sql&lt;/a&gt;
&lt;br&gt;
&lt;br&gt;
&lt;b&gt;Reporting Services&lt;/b&gt;
&lt;br&gt;
The report I created with Reporting Services: &lt;a href="http://hansolav.net/blog/content/binary/report.rdl.txt"&gt;http://hansolav.net/blog/content/binary/report.rdl.txt&lt;/a&gt; (rename
to .rdl)&lt;br&gt;
&lt;br&gt;
&lt;b&gt;Geospatial&lt;/b&gt;
&lt;br&gt;
The spatial queries: &lt;a href="http://hansolav.net/blog/content/binary/spatial.sql.txt"&gt;http://hansolav.net/blog/content/binary/spatial.sql.txt&lt;/a&gt;
&lt;br&gt;
Utilities for loading shapefiles into SQL Server and visualizing spatial query results: &lt;a href="http://www.sharpgis.net/post/2007/12/Shapefile-to-SqlServer-2008-to-WPF.aspx"&gt;http://www.sharpgis.net/post/2007/12/Shapefile-to-SqlServer-2008-to-WPF.aspx&lt;br&gt;
&lt;/a&gt;Background image for the visualization tool: &lt;a href="http://visibleearth.nasa.gov/view_rec.php?id=7105"&gt;http://visibleearth.nasa.gov/view_rec.php?id=7105&lt;/a&gt;
&lt;br&gt;
Some shapefiles:&lt;br&gt;
&lt;a href="http://www.census.gov/geo/www/cob/bdy_files.html"&gt;http://www.census.gov/geo/www/cob/bdy_files.html&lt;/a&gt;
&lt;br&gt;
&lt;a href="http://www.geog.ucsb.edu/%7Eta176/g176b/lab6/lab6_data.zip"&gt;http://www.geog.ucsb.edu/~ta176/g176b/lab6/lab6_data.zip&lt;/a&gt;
&lt;br&gt;
&lt;a href="http://www.cipotato.org/diva/data/MoreData.htm"&gt;http://www.cipotato.org/diva/data/MoreData.htm&lt;/a&gt;
&lt;br&gt;
&lt;a href="http://biogeo.berkeley.edu/bgm/gdata.php"&gt;http://biogeo.berkeley.edu/bgm/gdata.php&lt;/a&gt;
&lt;br&gt;
&lt;br&gt;
&lt;a href="http://visibleearth.nasa.gov/view_rec.php?id=7105"&gt;&lt;/a&gt;Another visualization
tool that I didn't use: &lt;a href="http://conceptdevelopment.net/Database/Geoquery/"&gt;http://conceptdevelopment.net/Database/Geoquery/&lt;/a&gt;
&lt;br&gt;
Isaac's blog on MSDN: &lt;a href="http://blogs.msdn.com/isaac/default.aspx"&gt;http://blogs.msdn.com/isaac/default.aspx&lt;/a&gt;&lt;a href="http://www.microsoft.com/sql"&gt;&lt;/a&gt;
&lt;br&gt;
The SQL Server Battleship game that I mentioned: &lt;a href="http://www.conceptdevelopment.net/Database/Battleship2008/"&gt;http://www.conceptdevelopment.net/Database/Battleship2008/&lt;/a&gt;&lt;a href="http://www.microsoft.com/sql"&gt;&lt;/a&gt;
&lt;br&gt;
&lt;br&gt;
&lt;b&gt;Imagine Cup&lt;/b&gt;
&lt;br&gt;
More information about Imagine Cup: &lt;a href="http://msstudent.no/ImagineCupNorge/ImagineCup2008/tabid/647/Default.aspx"&gt;http://msstudent.no/ImagineCupNorge/ImagineCup2008/tabid/647/Default.aspx&lt;/a&gt;
&lt;br&gt;
&lt;br&gt;
Feel free to send me questions at hansolav *AT* hansolav.net.&lt;br&gt;
&lt;br&gt;
&lt;div align="center"&gt;&lt;img src="http://hansolav.net/blog/content/binary/images/geospatial.jpg"&gt;
&lt;br&gt;
&lt;/div&gt;
&lt;p&gt;
&lt;/p&gt;
&lt;img width="0" height="0" src="http://hansolav.net/blog/aggbug.ashx?id=1944e2db-e02d-4ce3-8e1e-148184656380" /&gt;</description>
      <comments>http://hansolav.net/blog/CommentView,guid,1944e2db-e02d-4ce3-8e1e-148184656380.aspx</comments>
      <category>SQL Server</category>
    </item>
    <item>
      <trackback:ping>http://hansolav.net/blog/Trackback.aspx?guid=053c54b7-9c1e-40dd-b33a-8f866320a5a5</trackback:ping>
      <pingback:server>http://hansolav.net/blog/pingback.aspx</pingback:server>
      <pingback:target>http://hansolav.net/blog/PermaLink,guid,053c54b7-9c1e-40dd-b33a-8f866320a5a5.aspx</pingback:target>
      <dc:creator>Hans Olav Norheim</dc:creator>
      <wfw:comment>http://hansolav.net/blog/CommentView,guid,053c54b7-9c1e-40dd-b33a-8f866320a5a5.aspx</wfw:comment>
      <wfw:commentRss>http://hansolav.net/blog/SyndicationService.asmx/GetEntryCommentsRss?guid=053c54b7-9c1e-40dd-b33a-8f866320a5a5</wfw:commentRss>
      <slash:comments>3</slash:comments>
      <body xmlns="http://www.w3.org/1999/xhtml">...is out!<br /><br />
Download it here: <a href="http://www.microsoft.com/downloads/details.aspx?familyid=749bd760-f404-4d45-9ac0-d7f1b3ed1053&amp;displaylang=en&amp;tm">http://www.microsoft.com/downloads/details.aspx?familyid=749bd760-f404-4d45-9ac0-d7f1b3ed1053&amp;displaylang=en&amp;tm</a><br /><p></p><img width="0" height="0" src="http://hansolav.net/blog/aggbug.ashx?id=053c54b7-9c1e-40dd-b33a-8f866320a5a5" /></body>
      <title>SQL2008 February CTP ...</title>
      <guid isPermaLink="false">http://hansolav.net/blog/PermaLink,guid,053c54b7-9c1e-40dd-b33a-8f866320a5a5.aspx</guid>
      <link>http://hansolav.net/blog/SQL2008FebruaryCTP.aspx</link>
      <pubDate>Thu, 21 Feb 2008 14:50:37 GMT</pubDate>
      <description>...is out!&lt;br&gt;
&lt;br&gt;
Download it here: &lt;a href="http://www.microsoft.com/downloads/details.aspx?familyid=749bd760-f404-4d45-9ac0-d7f1b3ed1053&amp;amp;displaylang=en&amp;amp;tm"&gt;http://www.microsoft.com/downloads/details.aspx?familyid=749bd760-f404-4d45-9ac0-d7f1b3ed1053&amp;amp;displaylang=en&amp;amp;tm&lt;/a&gt;
&lt;br&gt;
&lt;p&gt;
&lt;/p&gt;
&lt;img width="0" height="0" src="http://hansolav.net/blog/aggbug.ashx?id=053c54b7-9c1e-40dd-b33a-8f866320a5a5" /&gt;</description>
      <comments>http://hansolav.net/blog/CommentView,guid,053c54b7-9c1e-40dd-b33a-8f866320a5a5.aspx</comments>
    </item>
    <item>
      <trackback:ping>http://hansolav.net/blog/Trackback.aspx?guid=10bcf4d8-9e6e-4fb1-869c-19a8de6856f6</trackback:ping>
      <pingback:server>http://hansolav.net/blog/pingback.aspx</pingback:server>
      <pingback:target>http://hansolav.net/blog/PermaLink,guid,10bcf4d8-9e6e-4fb1-869c-19a8de6856f6.aspx</pingback:target>
      <dc:creator>Hans Olav Norheim</dc:creator>
      <wfw:comment>http://hansolav.net/blog/CommentView,guid,10bcf4d8-9e6e-4fb1-869c-19a8de6856f6.aspx</wfw:comment>
      <wfw:commentRss>http://hansolav.net/blog/SyndicationService.asmx/GetEntryCommentsRss?guid=10bcf4d8-9e6e-4fb1-869c-19a8de6856f6</wfw:commentRss>
      <slash:comments>2</slash:comments>
      <body xmlns="http://www.w3.org/1999/xhtml">
        <p>
I've been running Windows Server 2008 x64 on the server hosting this blog since September,
and I've got a couple of thoughts on running 64-bit. I didn't plan to install 64-bit
in the first place, but I had problems getting Win2k8 CTP 32-bit to install back then,
so I tried 64-bit, which worked, and ended up with that. I've kept upgrading it, most
recently to RTM last Sunday.
</p>
        <p>
For some reason, that screwed up the network drivers for my MS Virtual Server machines,
leaving them with no network. That combined with setting up a RAID1 volume for the
OS on the server, made me reinstall the whole server instead of troubleshooting the
drivers. And when I had the chance, I made the switch back to 32-bit.
</p>
        <p>
So, why did I switch back to 32-bit?
</p>
        <p>
First, I don't have more than 3 GBs of RAM on this server, so I don't really need
64-bit except for the "coolness" of running 64-bit.
</p>
        <p>
Second, I've has some issues with application compatibility.<br />
First out was DasBlog, the open source .NET blog engine behind this blog. They're
using a date picker tool that didn't support 64-bit, which broke the admin interface.
I was able to fix it by browsing forums, googling a bit and downloading the 64-bit
version of the date picker. Not too hard, but still, it didn't work out of the box.
</p>
        <p>
Number two was a bit bigger. I'm using <a href="http://www.sourcegear.com">SourceGear
Vault</a> (which is a very good tool, btw), as my source control system. It turns
out that they support 64-bit (with IIS in 32-bit mode, I should say), but not on Windows
Server 2008/Vista/IIS7. So I had no other choice than setting up a 32-bit Virtual
Server just for this.
</p>
        <p>
I haven't experienced number three first hand myself, but I know that (at least a
couple of months ago) the SharePoint Server SDK was only available for 32-bit, whcih
makes development a bit hard if you're running 64-bit.
</p>
        <p>
Finally, it should be mentioned that I haven't had a single 64-bit driver issue, so
things are going the right way.
</p>
        <p>
So, my conclusion is: Unless you have more than 3 GBs of RAM, 64 bit is (apart from
the "X-factor" of running 64 bit) little but just one more item on the list of possible
causes if something's not working. I don't know about you, but I'd like to keep that
list as short at possible.
</p>
        <img width="0" height="0" src="http://hansolav.net/blog/aggbug.ashx?id=10bcf4d8-9e6e-4fb1-869c-19a8de6856f6" />
      </body>
      <title>My 64-bit Experience</title>
      <guid isPermaLink="false">http://hansolav.net/blog/PermaLink,guid,10bcf4d8-9e6e-4fb1-869c-19a8de6856f6.aspx</guid>
      <link>http://hansolav.net/blog/My64bitExperience.aspx</link>
      <pubDate>Sun, 17 Feb 2008 20:40:38 GMT</pubDate>
      <description>&lt;p&gt;
I've been running Windows Server 2008 x64 on the server hosting this blog since September,
and I've got a couple of thoughts on running 64-bit. I didn't plan to install 64-bit
in the first place, but I had problems getting Win2k8 CTP 32-bit to install back then,
so I tried 64-bit, which worked, and ended up with that. I've kept upgrading it, most
recently to RTM last Sunday.
&lt;/p&gt;
&lt;p&gt;
For some reason, that screwed up the network drivers for my MS Virtual Server machines,
leaving them with no network. That combined with setting up a RAID1 volume for the
OS on the server, made me reinstall the whole server instead of troubleshooting the
drivers. And when I had the chance, I made the switch back to 32-bit.
&lt;/p&gt;
&lt;p&gt;
So, why did I switch back to 32-bit?
&lt;/p&gt;
&lt;p&gt;
First, I don't have more than 3 GBs of RAM on this server, so I don't really need
64-bit except for the "coolness" of running 64-bit.
&lt;/p&gt;
&lt;p&gt;
Second, I've has some issues with application compatibility.&lt;br&gt;
First out was DasBlog, the open source .NET blog engine behind this blog. They're
using a date picker tool that didn't support 64-bit, which broke the admin interface.
I was able to fix it by browsing forums, googling a bit and downloading the 64-bit
version of the date picker. Not too hard, but still, it didn't work out of the box.
&lt;/p&gt;
&lt;p&gt;
Number two was a bit bigger. I'm using &lt;a href="http://www.sourcegear.com"&gt;SourceGear
Vault&lt;/a&gt; (which is a very good tool, btw), as my source control system. It turns
out that they support 64-bit (with IIS in 32-bit mode, I should say), but not on Windows
Server 2008/Vista/IIS7. So I had no other choice than setting up a 32-bit Virtual
Server just for this.
&lt;/p&gt;
&lt;p&gt;
I haven't experienced number three first hand myself, but I know that (at least a
couple of months ago) the SharePoint Server SDK was only available for 32-bit, whcih
makes development a bit hard if you're running 64-bit.
&lt;/p&gt;
&lt;p&gt;
Finally, it should be mentioned that I haven't had a single 64-bit driver issue, so
things are going the right way.
&lt;/p&gt;
&lt;p&gt;
So, my conclusion is: Unless you have more than 3 GBs of RAM, 64 bit is (apart from
the "X-factor" of running 64 bit) little but just one more item on the list of possible
causes if something's not working. I don't know about you, but I'd like to keep that
list as short at possible.
&lt;/p&gt;
&lt;img width="0" height="0" src="http://hansolav.net/blog/aggbug.ashx?id=10bcf4d8-9e6e-4fb1-869c-19a8de6856f6" /&gt;</description>
      <comments>http://hansolav.net/blog/CommentView,guid,10bcf4d8-9e6e-4fb1-869c-19a8de6856f6.aspx</comments>
      <category>dasBlog</category>
      <category>Windows Servers</category>
    </item>
    <item>
      <trackback:ping>http://hansolav.net/blog/Trackback.aspx?guid=2c1fee1b-88c9-4608-b8c3-bb7c7cb09fe2</trackback:ping>
      <pingback:server>http://hansolav.net/blog/pingback.aspx</pingback:server>
      <pingback:target>http://hansolav.net/blog/PermaLink,guid,2c1fee1b-88c9-4608-b8c3-bb7c7cb09fe2.aspx</pingback:target>
      <dc:creator>Hans Olav Norheim</dc:creator>
      <wfw:comment>http://hansolav.net/blog/CommentView,guid,2c1fee1b-88c9-4608-b8c3-bb7c7cb09fe2.aspx</wfw:comment>
      <wfw:commentRss>http://hansolav.net/blog/SyndicationService.asmx/GetEntryCommentsRss?guid=2c1fee1b-88c9-4608-b8c3-bb7c7cb09fe2</wfw:commentRss>
      <body xmlns="http://www.w3.org/1999/xhtml">
        <p>
Francois Ajenstat has <a href="http://blogs.technet.com/dataplatforminsider/archive/2008/01/25/microsoft-sql-server-2008-roadmap-clarification.aspx">published
news</a> about the SQL Server 2008 release roadmap. Summarized:
</p>
        <ul>
          <li>
Feature complete CTP for the launch wave in Q1 2008 
</li>
          <li>
Release Canidate (RC) in Q2 2008 
</li>
          <li>
Release to manufacturing (RTM) expected in Q3 2008</li>
        </ul>
        <p>
Exciting!
</p>
        <img width="0" height="0" src="http://hansolav.net/blog/aggbug.ashx?id=2c1fee1b-88c9-4608-b8c3-bb7c7cb09fe2" />
      </body>
      <title>News on SQL Server 2008 RTM date</title>
      <guid isPermaLink="false">http://hansolav.net/blog/PermaLink,guid,2c1fee1b-88c9-4608-b8c3-bb7c7cb09fe2.aspx</guid>
      <link>http://hansolav.net/blog/NewsOnSQLServer2008RTMDate.aspx</link>
      <pubDate>Sun, 27 Jan 2008 03:59:40 GMT</pubDate>
      <description>&lt;p&gt;
Francois Ajenstat has &lt;a href="http://blogs.technet.com/dataplatforminsider/archive/2008/01/25/microsoft-sql-server-2008-roadmap-clarification.aspx"&gt;published
news&lt;/a&gt; about the SQL Server 2008 release roadmap. Summarized:
&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;
Feature complete CTP for the launch wave in Q1 2008 
&lt;li&gt;
Release Canidate (RC) in Q2 2008 
&lt;li&gt;
Release to manufacturing (RTM) expected in Q3 2008&lt;/li&gt;
&lt;/ul&gt;
&lt;p&gt;
Exciting!
&lt;/p&gt;
&lt;img width="0" height="0" src="http://hansolav.net/blog/aggbug.ashx?id=2c1fee1b-88c9-4608-b8c3-bb7c7cb09fe2" /&gt;</description>
      <comments>http://hansolav.net/blog/CommentView,guid,2c1fee1b-88c9-4608-b8c3-bb7c7cb09fe2.aspx</comments>
      <category>SQL Server</category>
    </item>
    <item>
      <trackback:ping>http://hansolav.net/blog/Trackback.aspx?guid=acfb0c27-2d60-4c41-93dd-2c2664b5b063</trackback:ping>
      <pingback:server>http://hansolav.net/blog/pingback.aspx</pingback:server>
      <pingback:target>http://hansolav.net/blog/PermaLink,guid,acfb0c27-2d60-4c41-93dd-2c2664b5b063.aspx</pingback:target>
      <dc:creator>Hans Olav Norheim</dc:creator>
      <wfw:comment>http://hansolav.net/blog/CommentView,guid,acfb0c27-2d60-4c41-93dd-2c2664b5b063.aspx</wfw:comment>
      <wfw:commentRss>http://hansolav.net/blog/SyndicationService.asmx/GetEntryCommentsRss?guid=acfb0c27-2d60-4c41-93dd-2c2664b5b063</wfw:commentRss>
      <slash:comments>4</slash:comments>
      <body xmlns="http://www.w3.org/1999/xhtml">
        <p>
A little while ago I promised to write about my internships at Microsoft, so
here's the first post. As you may have read on my blog, I've had two internships in
the Microsoft SQL Server Team in Redmond the last two summers, so I thought I
could write a few words about what it's like to have an internship at Microsoft and
how to get one.
</p>
        <p>
So how do you actually get an internship? If you're not so lucky that Microsoft call
YOU, you start out by applying for one. As I applied from Norway, the process is probably
a little different from what happens in the US.<img style="MARGIN-LEFT: 15px" src="http://hansolav.net/blog/content/binary/images/microsoft-campus.jpg" align="right" /></p>
        <p>
My internship story actually started in the spring of 2005, in my first year at NTNU,
the university where I study. I had just joined Microsoft Student Community NTNU,
and had heard that Microsoft offered internships in their headquarters in Redmond.
My first thought was that this was way out of my league, and I didn't plan to apply.
Then I talked to the ADE (Academic Developer Evangelist) in Microsoft Norway after
a Student Community event, and he encouraged me to apply. I ended up spending the
following night polishing my CV, before submitting it to Microsoft Norway the morning
after.
</p>
        <p>
A few days later, I got a call from Microsoft Norway, where they said that they wanted
me in for a screening interview. They flew me to Oslo and interviewed me, but unfortunately,
that year's story ended there, they didn't send me further on. In retrospect, I don't
think that was a very bad decision actually - I'm not sure if I would have been ready
for it at that time.
</p>
        <p>
Then, in the spring of 2006, the story continued. Microsoft Norway were again accepting
resumes and I submitted mine again, feeling a bit more ready this time. Now I got
past the screening process in Norway, and I was invited for interviewing in Paris,
France by Microsoft Corp. They sent me an email with some links about
software testing and some words about how to prepare.
</p>
        <p>
I was super-excited when I got the email, but at the same time also quite frightened.
Microsoft wanted to fly ME to Paris for a weekend and interview me, just a year and
a half into college. First, this was my first real job interview - and second, it
was going to happen in a few weeks time - in English! At that time I hadn't really
been using my English much in real life, and now I was going to do a programming interview
in English...
</p>
        <p>
Stay tuned for Part 2 - Interviewing with Microsoft.
</p>
        <p>
Before I end, I have a few points about writing a resume when applying for a programming
job. I'm no expert myself, but this is at least what I think and what I though about
when writing my resume.
</p>
        <ul>
          <li>
The resume is your point of entry to the interview - it is the only thing they will
see when making their decision about whether to call you in for an interview or not.
Make sure it's perfect! 
</li>
          <li>
You have to sell yourself - the resume is your personal ad. Include the good things
about yourself and not the bad things (but don't lie). 
</li>
          <li>
Make sure it shows that you have <strong>Passion for Technology</strong>. This is
what most companies look for. If you like testing the latest betas of Visual Studio
and SQL Server - mention it. If you're participating in open source projects - tell
which ones... 
</li>
          <li>
I would expect a decent looking resume from a programmer - spend some time making
your resume look nice. Not super-fancy, but nice. 
</li>
          <li>
DO NOT lie. If you've barely touched C++, don't write that you're an experienced C++
programmer. If the the interviewer unveils it, he or she will question the rest of
your resume. 
</li>
          <li>
Include your grades (or grade average) if they are good - if not, consider to provide
them if/when they ask for it.</li>
        </ul>
        <p>
Joel Spolsky has a very interesting post about sorting resumes on his <a href="http://joelonsoftware.com/articles/SortingResumes.html">blog,
"Joel on Software"</a>.
</p>
        <img width="0" height="0" src="http://hansolav.net/blog/aggbug.ashx?id=acfb0c27-2d60-4c41-93dd-2c2664b5b063" />
      </body>
      <title>Internship at Microsoft Part 1 - Applying</title>
      <guid isPermaLink="false">http://hansolav.net/blog/PermaLink,guid,acfb0c27-2d60-4c41-93dd-2c2664b5b063.aspx</guid>
      <link>http://hansolav.net/blog/InternshipAtMicrosoftPart1Applying.aspx</link>
      <pubDate>Sun, 27 Jan 2008 00:14:56 GMT</pubDate>
      <description>&lt;p&gt;
A little while ago I promised to write about my internships&amp;nbsp;at Microsoft, so
here's the first post. As you may have read on my blog, I've had two internships&amp;nbsp;in
the Microsoft SQL Server Team&amp;nbsp;in Redmond the last two summers, so I thought I
could write a few words about what it's like to have an internship at Microsoft and
how to get one.
&lt;/p&gt;
&lt;p&gt;
So how do you actually get an internship? If you're not so lucky that Microsoft call
YOU, you start out by applying for one. As I applied from Norway, the process is probably
a little different from what happens in the US.&lt;img style="MARGIN-LEFT: 15px" src="http://hansolav.net/blog/content/binary/images/microsoft-campus.jpg" align=right&gt;
&lt;/p&gt;
&lt;p&gt;
My internship story actually started in the spring of 2005, in my first year at NTNU,
the university where I study. I had just joined Microsoft Student Community NTNU,
and had heard that Microsoft offered internships in their headquarters in Redmond.
My first thought was that this was way out of my league, and I didn't plan to apply.
Then I talked to the ADE (Academic Developer Evangelist) in Microsoft Norway after
a Student Community event, and he encouraged me to apply. I ended up spending the
following night polishing my CV, before submitting it to Microsoft Norway the morning
after.
&lt;/p&gt;
&lt;p&gt;
A few days later, I got a call from Microsoft Norway, where they said that they wanted
me in for a screening interview. They flew me to Oslo and interviewed me, but unfortunately,
that year's story ended there, they didn't send me further on. In retrospect, I don't
think that was a very bad decision actually - I'm not sure if I would have been ready
for it at that time.
&lt;/p&gt;
&lt;p&gt;
Then, in the spring of 2006, the story continued. Microsoft Norway were again accepting
resumes and I submitted mine again, feeling a bit more ready this time. Now I got
past the screening process in Norway, and I was invited&amp;nbsp;for interviewing in Paris,
France by Microsoft Corp. They sent me an&amp;nbsp;email&amp;nbsp;with&amp;nbsp;some links&amp;nbsp;about
software testing and&amp;nbsp;some words about how to prepare.
&lt;/p&gt;
&lt;p&gt;
I was super-excited when I got the email, but at the same time also quite frightened.
Microsoft wanted to fly ME to Paris for a weekend and interview me, just a year and
a half into college. First, this was my first real job interview - and second, it
was going to happen in a few weeks time - in English! At that time I hadn't really
been using my English much in real life, and now I was going to do a programming interview
in English...
&lt;/p&gt;
&lt;p&gt;
Stay tuned for Part 2 - Interviewing with Microsoft.
&lt;/p&gt;
&lt;p&gt;
Before I end, I have a few points about writing a resume when applying for a programming
job. I'm no expert myself, but this is at least what I think and what I though about
when writing my resume.
&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;
The resume is your point of entry to the interview - it is the only thing they will
see when making their decision about whether to call you in for an interview or not.
Make sure it's perfect! 
&lt;li&gt;
You have to sell yourself - the resume is your personal ad. Include the good things
about yourself and not the bad things (but don't lie). 
&lt;li&gt;
Make sure it shows that you have &lt;strong&gt;Passion for Technology&lt;/strong&gt;. This is
what most companies look for. If you like testing the latest betas of Visual Studio
and SQL Server - mention it. If you're participating in open source projects - tell
which ones... 
&lt;li&gt;
I would expect a decent looking resume from a programmer - spend some time making
your resume look nice. Not super-fancy, but nice. 
&lt;li&gt;
DO NOT lie. If you've barely touched C++, don't write that you're an experienced C++
programmer. If the the interviewer unveils it, he or she will question the rest of
your resume. 
&lt;li&gt;
Include your grades (or grade average) if they are good - if not, consider to provide
them if/when they ask for it.&lt;/li&gt;
&lt;/ul&gt;
&lt;p&gt;
Joel Spolsky has a very interesting post about sorting resumes on his &lt;a href="http://joelonsoftware.com/articles/SortingResumes.html"&gt;blog,
"Joel on Software"&lt;/a&gt;.
&lt;/p&gt;
&lt;img width="0" height="0" src="http://hansolav.net/blog/aggbug.ashx?id=acfb0c27-2d60-4c41-93dd-2c2664b5b063" /&gt;</description>
      <comments>http://hansolav.net/blog/CommentView,guid,acfb0c27-2d60-4c41-93dd-2c2664b5b063.aspx</comments>
      <category>Microsoft</category>
    </item>
    <item>
      <trackback:ping>http://hansolav.net/blog/Trackback.aspx?guid=0ee46977-c27c-4929-8205-490c84fd649a</trackback:ping>
      <pingback:server>http://hansolav.net/blog/pingback.aspx</pingback:server>
      <pingback:target>http://hansolav.net/blog/PermaLink,guid,0ee46977-c27c-4929-8205-490c84fd649a.aspx</pingback:target>
      <dc:creator>Hans Olav Norheim</dc:creator>
      <wfw:comment>http://hansolav.net/blog/CommentView,guid,0ee46977-c27c-4929-8205-490c84fd649a.aspx</wfw:comment>
      <wfw:commentRss>http://hansolav.net/blog/SyndicationService.asmx/GetEntryCommentsRss?guid=0ee46977-c27c-4929-8205-490c84fd649a</wfw:commentRss>
      <slash:comments>4</slash:comments>
      <body xmlns="http://www.w3.org/1999/xhtml">
        <p>
While we could do the same thing in IIS6, IIS7 introduced a much more convenient
way to create self-signed SSL certificates for your web sites, as <a href="http://weblogs.asp.net/scottgu/archive/2007/04/06/tip-trick-enabling-ssl-on-iis7-using-self-signed-certificates.aspx">described
by ScottGu on his blog</a>. However, there is one problem with the way IIS7 does
this: No matter what you do (as far as I know), the certificate will be created with
the local computer network name as the CN, Common Name (the site name) in the certificate.
The Common Name should match the web site's DNS address to be valid, and often the
DNS name is different from the computer name. This site's DNS name is for instance <strong>hansolav.net</strong>,
while the name of the server hosting the site is <strong>LABBETUSS2008</strong>.
</p>
        <p align="center">
          <img src="http://hansolav.net/blog/content/binary/images/selfssl.png" />
        </p>
        <p>
If your certificate CN does not match the web site address, most browsers will tell
the users that you have a foobar SSL setup (even more foobar than not having a certificate
from a trusted authority), and some (the newest version of FireFox, among others,
I think) will completely refuse to open your site.
</p>
        <p>
The good thing is that there's a way to fix it, and that is reverting to the
way we had to do this in IIS6; using SelfSSL.exe from the IIS6 Resource Kit Tools.
Below are the steps to to this:
</p>
        <ol>
          <li>
Download and install the IIS6 Resource Kit Tools from here: <a href="http://www.microsoft.com/downloads/details.aspx?FamilyID=56FC92EE-A71A-4C73-B628-ADE629C89499&amp;displaylang=en">http://www.microsoft.com/downloads/details.aspx?FamilyID=56FC92EE-A71A-4C73-B628-ADE629C89499&amp;displaylang=en</a><br /><strong>Note:</strong> I don't know if the Resource Kit will install on Vista or Windows
Server 2008, I had the Resource Kit installed on a Windows 2003 box and just copied
SelfSSL.exe. 
</li>
          <li>
Look up the site ID of the web site you want to enable for SSL by selecting the "Sites"
node in the tree in IIS7 Manager. 
</li>
          <li>
Run <strong>SelfSSL /N:CN=&lt;your web site address (no http://)&gt; /V:&lt;how many
days the certificate should be valid&gt; /S:&lt;site ID from above&gt; [/P:&lt;port,
if not 443&gt;]</strong></li>
          <li>
Test your site.</li>
        </ol>
        <p>
          <strong>Note2:</strong> It is possible that you will need to install the IIS6
compatibilty components for IIS7 in order for this to work - I don't know. You install
them from the Add/Remove Windows Components dialog, or the Web Server Role configuation
in Windows Server 2008.
</p>
        <p>
Does anyone else know of an easier way to do this? I searched a bit without finding
anything. What about adding an option to choose the CN in the "Create Certificate
wizard", IIS7 team?
</p>
        <img width="0" height="0" src="http://hansolav.net/blog/aggbug.ashx?id=0ee46977-c27c-4929-8205-490c84fd649a" />
      </body>
      <title>Self-signed SSL Certificates on IIS7 and Common Names</title>
      <guid isPermaLink="false">http://hansolav.net/blog/PermaLink,guid,0ee46977-c27c-4929-8205-490c84fd649a.aspx</guid>
      <link>http://hansolav.net/blog/SelfsignedSSLCertificatesOnIIS7AndCommonNames.aspx</link>
      <pubDate>Wed, 16 Jan 2008 22:14:01 GMT</pubDate>
      <description>&lt;p&gt;
While we could do the same thing in IIS6, IIS7 introduced a&amp;nbsp;much more&amp;nbsp;convenient
way to create self-signed SSL certificates&amp;nbsp;for your web sites, as &lt;a href="http://weblogs.asp.net/scottgu/archive/2007/04/06/tip-trick-enabling-ssl-on-iis7-using-self-signed-certificates.aspx"&gt;described
by ScottGu on his blog&lt;/a&gt;. However, there is one problem with the way IIS7&amp;nbsp;does
this: No matter what you do (as far as I know), the certificate will be created with
the local computer network name as the CN, Common Name (the site name) in the certificate.
The Common Name should match the web site's DNS address to be valid, and often the
DNS name is different from the computer name. This site's DNS name is for instance &lt;strong&gt;hansolav.net&lt;/strong&gt;,
while the name of the server hosting the site is &lt;strong&gt;LABBETUSS2008&lt;/strong&gt;.
&lt;/p&gt;
&lt;p align="center"&gt;
&lt;img src="http://hansolav.net/blog/content/binary/images/selfssl.png"&gt;
&lt;/p&gt;
&lt;p&gt;
If your certificate CN does not match the web site address, most browsers will tell
the users that you have a foobar SSL setup (even more foobar than not having a certificate
from a trusted authority), and some (the newest version of FireFox, among others,
I think) will completely refuse to open your site.
&lt;/p&gt;
&lt;p&gt;
The good thing is that&amp;nbsp;there's a way to fix it, and that is reverting to the
way we had to do this in IIS6; using SelfSSL.exe from the IIS6 Resource Kit Tools.
Below are the steps to to this:
&lt;/p&gt;
&lt;ol&gt;
&lt;li&gt;
Download and install the IIS6 Resource Kit Tools&amp;nbsp;from here: &lt;a href="http://www.microsoft.com/downloads/details.aspx?FamilyID=56FC92EE-A71A-4C73-B628-ADE629C89499&amp;amp;displaylang=en"&gt;http://www.microsoft.com/downloads/details.aspx?FamilyID=56FC92EE-A71A-4C73-B628-ADE629C89499&amp;amp;displaylang=en&lt;/a&gt;
&lt;br&gt;
&lt;strong&gt;Note:&lt;/strong&gt; I don't know if the Resource Kit will install on Vista or Windows
Server 2008, I had the Resource Kit installed on a Windows 2003 box and just copied
SelfSSL.exe. 
&lt;/li&gt;
&lt;li&gt;
Look up the site ID of the web site you want to enable for SSL by selecting the "Sites"
node in the tree in IIS7 Manager. 
&lt;/li&gt;
&lt;li&gt;
Run &lt;strong&gt;SelfSSL /N:CN=&amp;lt;your web site address (no http://)&amp;gt; /V:&amp;lt;how many
days the certificate should be valid&amp;gt; /S:&amp;lt;site ID from above&amp;gt; [/P:&amp;lt;port,
if not 443&amp;gt;]&lt;/strong&gt; 
&lt;/li&gt;
&lt;li&gt;
Test your site.&lt;/li&gt;
&lt;/ol&gt;
&lt;p&gt;
&lt;strong&gt;Note2:&lt;/strong&gt; It is possible that you will&amp;nbsp;need to install the IIS6
compatibilty components for IIS7 in order for this to work - I don't know. You install
them from the Add/Remove Windows Components dialog, or the Web Server&amp;nbsp;Role configuation
in Windows Server 2008.
&lt;/p&gt;
&lt;p&gt;
Does anyone else know of an easier way to do this? I searched a bit without finding
anything. What about adding an option to choose the CN in the "Create Certificate
wizard", IIS7 team?
&lt;/p&gt;
&lt;img width="0" height="0" src="http://hansolav.net/blog/aggbug.ashx?id=0ee46977-c27c-4929-8205-490c84fd649a" /&gt;</description>
      <comments>http://hansolav.net/blog/CommentView,guid,0ee46977-c27c-4929-8205-490c84fd649a.aspx</comments>
      <category>IIS</category>
      <category>Microsoft</category>
      <category>Windows Servers</category>
    </item>
  </channel>
</rss>