alkampfer on February 4th, 2012

NoSql is not a replacemente for SQL databases, but it is a valid alternative for a lot of situations where standard SQL is not the best approach to store your data. Since we were taught that whenever you need to store data on a “data store” and you need to query that data for retrieval, [...]

kick it on DotNetKicks.com

Continue reading about NoSql and a life without Schema

alkampfer on January 31st, 2012

I’ve a stored procedure with a query that runs on a quite big database, it was slow (more than one minute to run) and was optimized using a temp table. The result is that execution time dropped to ~2 secs, and since this was acceptable the optimization stopped. After a couple of months, the query [...]

kick it on DotNetKicks.com

Continue reading about When it is time to tweak SQL Server queries

alkampfer on January 31st, 2012

In a production Sql Server database we had some issue with the hardware, the result is that one very big database started to gave us errors on DBCC CHECKDB, the error is the following one. Msg 8929, Level 16, State 1, Line 1 Object ID xxxxxx, index ID 1, partition ID xxxxxx, alloc unit ID [...]

kick it on DotNetKicks.com

Continue reading about Hardcore fix error in Sql Server database

alkampfer on January 30th, 2012

I’ve more to say about the Traffic Light example I explained in a previous post, if you look at that post, you can notice that the Domain is composed by properties that have only getter and not setters. This needs is explained in this post, where I explain why you should protect the status of [...]

kick it on DotNetKicks.com

Continue reading about Traffic light, say goodbye to public properties

alkampfer on January 27th, 2012

This is a super basic and easy question, but I found quite often people asking me how to add an existing project to a TFS Team Project. It turns out that there are more than one way of doing this, but I usually suggests this simple path that is quite simple and is understandable from [...]

kick it on DotNetKicks.com

Continue reading about Add existing project to TFS