<?xml version="1.0" encoding="UTF-8" ?>
<?xml-stylesheet type="text/xsl" href="http://sqlblogcasts.com/utility/FeedStylesheets/atom.xsl" media="screen"?><feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en"><title type="html">My two cents</title><subtitle type="html">Tips, opinions, tests (and misspellings) from a Brazilian DBA in UK</subtitle><id>http://sqlblogcasts.com/blogs/leopasta/atom.aspx</id><link rel="alternate" type="text/html" href="http://sqlblogcasts.com/blogs/leopasta/default.aspx" /><link rel="self" type="application/atom+xml" href="http://sqlblogcasts.com/blogs/leopasta/atom.aspx" /><generator uri="http://communityserver.org" version="3.1.20917.1142">Community Server</generator><updated>2007-06-25T23:50:00Z</updated><entry><title>Which queries are missing indexes?</title><link rel="alternate" type="text/html" href="http://sqlblogcasts.com/blogs/leopasta/archive/2008/05/08/which-queries-are-missing-indexes.aspx" /><id>http://sqlblogcasts.com/blogs/leopasta/archive/2008/05/08/which-queries-are-missing-indexes.aspx</id><published>2008-05-08T20:48:28Z</published><updated>2008-05-08T20:48:28Z</updated><content type="html">One of the things I really enjoy when doing performance tuning on 2005 (I still work on a mix of several SQL 2000 and some SQL 2005) is the sys.dm_db_missing_index* DMVs. As the query processor evaluates queries, it detects if that specific query could benefit from an index and how much it expect that index would reduce the cost (in terms of IO), exposing these information as views that we can query. I won&amp;#39;t delve in the structure of it, but you can use my procedure sp_dba_missingindex as an...(&lt;a href="http://sqlblogcasts.com/blogs/leopasta/archive/2008/05/08/which-queries-are-missing-indexes.aspx"&gt;read more&lt;/a&gt;)&lt;img src="http://sqlblogcasts.com/aggbug.aspx?PostID=10381" width="1" height="1"&gt;</content><author><name>leo.pasta</name><uri>http://sqlblogcasts.com/members/leo.pasta.aspx</uri></author></entry><entry><title>SQLBits</title><link rel="alternate" type="text/html" href="http://sqlblogcasts.com/blogs/leopasta/archive/2008/03/02/sqlbits.aspx" /><id>http://sqlblogcasts.com/blogs/leopasta/archive/2008/03/02/sqlbits.aspx</id><published>2008-03-02T21:47:24Z</published><updated>2008-03-02T21:47:24Z</updated><content type="html">Yesterday I attended the SQL Server focused conference called SQLBits , which this year took place in Birmingham. First of all, many thanks to Tony Rogerson , Simon Sabin and all organisers. You did a hell of a good job!!! As a suggestion for the next ones, I would find useful to have an indication if it is a session intended for beginners or if it will be more in-depth sessions. I got a couple of sessions &amp;quot;wrong&amp;quot; because I misjudge it from the Session title and description. In this post...(&lt;a href="http://sqlblogcasts.com/blogs/leopasta/archive/2008/03/02/sqlbits.aspx"&gt;read more&lt;/a&gt;)&lt;img src="http://sqlblogcasts.com/aggbug.aspx?PostID=8452" width="1" height="1"&gt;</content><author><name>leo.pasta</name><uri>http://sqlblogcasts.com/members/leo.pasta.aspx</uri></author></entry><entry><title>Data purity</title><link rel="alternate" type="text/html" href="http://sqlblogcasts.com/blogs/leopasta/archive/2007/11/26/data-purity.aspx" /><id>http://sqlblogcasts.com/blogs/leopasta/archive/2007/11/26/data-purity.aspx</id><published>2007-11-26T22:39:41Z</published><updated>2007-11-26T22:39:41Z</updated><content type="html">Reviewing DBCC CHECKDB syntax for SQL Server 2005, I found a [DATA_PURITY] option added to its syntax. This option enable the following checks on each column value of those datatypes: Unicode character - The data length should be a multiple of 2. Datetime - The days field should be between Jan 1 1753 and Dec 31 9999. The time field must be earlier than '11:59:59:999PM' . Real and Float - Check for existence of invalid floating point values like SNAN, QNAN, NINF, ND, PD, PINF. For a database created...(&lt;a href="http://sqlblogcasts.com/blogs/leopasta/archive/2007/11/26/data-purity.aspx"&gt;read more&lt;/a&gt;)&lt;img src="http://sqlblogcasts.com/aggbug.aspx?PostID=4776" width="1" height="1"&gt;</content><author><name>leo.pasta</name><uri>http://sqlblogcasts.com/members/leo.pasta.aspx</uri></author><category term="SQL Server" scheme="http://sqlblogcasts.com/blogs/leopasta/archive/tags/SQL+Server/default.aspx" /><category term="Recovery" scheme="http://sqlblogcasts.com/blogs/leopasta/archive/tags/Recovery/default.aspx" /></entry><entry><title>Losing your Transaction log</title><link rel="alternate" type="text/html" href="http://sqlblogcasts.com/blogs/leopasta/archive/2007/11/20/losing-your-transaction-log.aspx" /><id>http://sqlblogcasts.com/blogs/leopasta/archive/2007/11/20/losing-your-transaction-log.aspx</id><published>2007-11-20T00:17:50Z</published><updated>2007-11-20T00:17:50Z</updated><content type="html">Technorati Tags: SQL Server , Recovery Some days ago, my boss got on my desk asking if I could take a look at one database that was not opening. That DB was in a virtual machine used for our sales presentations. For some reason, several files got corrupted in that VM, and between those was our beloved transaction log file. It was a perfect opportunity to sharpen my database recovery skills, there was quite some time that I didn’t played with those tools and to be honest I had forgot almost everything...(&lt;a href="http://sqlblogcasts.com/blogs/leopasta/archive/2007/11/20/losing-your-transaction-log.aspx"&gt;read more&lt;/a&gt;)&lt;img src="http://sqlblogcasts.com/aggbug.aspx?PostID=4348" width="1" height="1"&gt;</content><author><name>leo.pasta</name><uri>http://sqlblogcasts.com/members/leo.pasta.aspx</uri></author><category term="SQL Server" scheme="http://sqlblogcasts.com/blogs/leopasta/archive/tags/SQL+Server/default.aspx" /><category term="Recovery" scheme="http://sqlblogcasts.com/blogs/leopasta/archive/tags/Recovery/default.aspx" /></entry><entry><title>The sound of silence</title><link rel="alternate" type="text/html" href="http://sqlblogcasts.com/blogs/leopasta/archive/2007/09/06/the-sound-of-silence.aspx" /><id>http://sqlblogcasts.com/blogs/leopasta/archive/2007/09/06/the-sound-of-silence.aspx</id><published>2007-09-06T22:14:01Z</published><updated>2007-09-06T22:14:01Z</updated><content type="html">This one isn't related to SQL Server. But do you know when sometimes you get stuck in an almost infinite loop of dialog boxes and for some reason you don't want to kill the application? "Sorry &amp;lt;beep&amp;gt; guys, this &amp;lt;beep&amp;gt; should &amp;lt;beep&amp;gt; end in &amp;lt;beep&amp;gt; any mome&amp;lt;beep&amp;gt;nt now &amp;lt;beep&amp;gt;." Well it happened to me these days and I decided that enough was enough and I would request the help of Saint Google! It turns out that at least on XP and Vista there is a nice registry key...(&lt;a href="http://sqlblogcasts.com/blogs/leopasta/archive/2007/09/06/the-sound-of-silence.aspx"&gt;read more&lt;/a&gt;)&lt;img src="http://sqlblogcasts.com/aggbug.aspx?PostID=2501" width="1" height="1"&gt;</content><author><name>leo.pasta</name><uri>http://sqlblogcasts.com/members/leo.pasta.aspx</uri></author><category term="Windows" scheme="http://sqlblogcasts.com/blogs/leopasta/archive/tags/Windows/default.aspx" /></entry><entry><title>Page splits</title><link rel="alternate" type="text/html" href="http://sqlblogcasts.com/blogs/leopasta/archive/2007/08/13/page-splits.aspx" /><id>http://sqlblogcasts.com/blogs/leopasta/archive/2007/08/13/page-splits.aspx</id><published>2007-08-13T20:36:07Z</published><updated>2007-08-13T20:36:07Z</updated><content type="html">These days, investigating a fairly simple insert which was taking longer than what I would consider reasonable for that particular piece of code, I explored several possible causes. One thing that raised my attention was that the "Pages split/sec" perfmon counter was constantly above 0, so I began to wonder which index was causing most of it. I ended up reading an interesting blog entry from Greg Linwood which inspired me to write a small stored procedure to monitor it for a longer period: USE master...(&lt;a href="http://sqlblogcasts.com/blogs/leopasta/archive/2007/08/13/page-splits.aspx"&gt;read more&lt;/a&gt;)&lt;img src="http://sqlblogcasts.com/aggbug.aspx?PostID=2198" width="1" height="1"&gt;</content><author><name>leo.pasta</name><uri>http://sqlblogcasts.com/members/leo.pasta.aspx</uri></author><category term="SQL Server" scheme="http://sqlblogcasts.com/blogs/leopasta/archive/tags/SQL+Server/default.aspx" /></entry><entry><title>Database CCTV*</title><link rel="alternate" type="text/html" href="http://sqlblogcasts.com/blogs/leopasta/archive/2007/07/10/database-cctv.aspx" /><id>http://sqlblogcasts.com/blogs/leopasta/archive/2007/07/10/database-cctv.aspx</id><published>2007-07-10T21:21:00Z</published><updated>2007-07-10T21:21:00Z</updated><content type="html">* CCTV - Closed Circuit Television. Widely used in UK (and for sure in many other parts of the globe) to monitor against social misbehavior. Policy Manager A policy manager is one important piece in the centralized administration puzzle. The general idea is to define a set of rules and have it enforced consistently for all related objects (servers, databases, tables, etc) you manage. Databases, for example, let’s say you have a (sensible) rule that prohibits databases with Auto-shrink ON. How can...(&lt;a href="http://sqlblogcasts.com/blogs/leopasta/archive/2007/07/10/database-cctv.aspx"&gt;read more&lt;/a&gt;)&lt;img src="http://sqlblogcasts.com/aggbug.aspx?PostID=2040" width="1" height="1"&gt;</content><author><name>leo.pasta</name><uri>http://sqlblogcasts.com/members/leo.pasta.aspx</uri></author><category term="Katmai" scheme="http://sqlblogcasts.com/blogs/leopasta/archive/tags/Katmai/default.aspx" /><category term="SQL Server" scheme="http://sqlblogcasts.com/blogs/leopasta/archive/tags/SQL+Server/default.aspx" /><category term="SQL Server 2008" scheme="http://sqlblogcasts.com/blogs/leopasta/archive/tags/SQL+Server+2008/default.aspx" /><category term="DMF" scheme="http://sqlblogcasts.com/blogs/leopasta/archive/tags/DMF/default.aspx" /></entry><entry><title>Instant gratification</title><link rel="alternate" type="text/html" href="http://sqlblogcasts.com/blogs/leopasta/archive/2007/07/03/instant-gratification.aspx" /><id>http://sqlblogcasts.com/blogs/leopasta/archive/2007/07/03/instant-gratification.aspx</id><published>2007-07-02T23:14:49Z</published><updated>2007-07-02T23:14:49Z</updated><content type="html">I expected that my first “real” post would be about one of the features that had more appeal to me on SQL Server Katmai, but I will have to post about a discovery that was so useful to me, and yet so basic that I am almost ashamed to have found it only today. So let’s put aside my desire to pretend I knew it for a long time and post it, after all I hope that there is at least a couple of DBAs who still don’t know it: Having beginning to work with VLDB recently, I am more involved in optimizing long...(&lt;a href="http://sqlblogcasts.com/blogs/leopasta/archive/2007/07/03/instant-gratification.aspx"&gt;read more&lt;/a&gt;)&lt;img src="http://sqlblogcasts.com/aggbug.aspx?PostID=1973" width="1" height="1"&gt;</content><author><name>leo.pasta</name><uri>http://sqlblogcasts.com/members/leo.pasta.aspx</uri></author><category term="SQL Server" scheme="http://sqlblogcasts.com/blogs/leopasta/archive/tags/SQL+Server/default.aspx" /></entry><entry><title>Getting on board</title><link rel="alternate" type="text/html" href="http://sqlblogcasts.com/blogs/leopasta/archive/2007/06/25/getting-on-board.aspx" /><id>http://sqlblogcasts.com/blogs/leopasta/archive/2007/06/25/getting-on-board.aspx</id><published>2007-06-25T22:50:00Z</published><updated>2007-06-25T22:50:00Z</updated><content type="html">Ok, I confess, I always wanted to be part of the blog community, but I have never found a compelling reason to fight the inertia and start blogging. But after Tony Rogerson invitation on http://sqlblogcasts.com/blogs/tonyrogerson/archive/2007/06/22/sqlblogsters-first-quarterly-meal-in-london.aspx I could not resist the temptation (not that I like KFC that much). So, I have decided to blog about my tests on SQL Server “Katmai” (the 2008 version, if the usual delays don’t end up forcing a name change...(&lt;a href="http://sqlblogcasts.com/blogs/leopasta/archive/2007/06/25/getting-on-board.aspx"&gt;read more&lt;/a&gt;)&lt;img src="http://sqlblogcasts.com/aggbug.aspx?PostID=1923" width="1" height="1"&gt;</content><author><name>leo.pasta</name><uri>http://sqlblogcasts.com/members/leo.pasta.aspx</uri></author><category term="Katmai" scheme="http://sqlblogcasts.com/blogs/leopasta/archive/tags/Katmai/default.aspx" /></entry></feed>