<?xml version="1.0" encoding="utf-8" standalone="yes"?><rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom"><channel><title>Client instructions on Rudi Bruchez</title><link>https://www.pachadata.com/en/services/client-instructions/</link><description>Recent content in Client instructions on Rudi Bruchez</description><generator>Hugo</generator><language>en</language><atom:link href="https://www.pachadata.com/en/services/client-instructions/index.xml" rel="self" type="application/rss+xml"/><item><title>Collecting the state of an instance with SQL Auditor</title><link>https://www.pachadata.com/en/services/client-instructions/sql-auditor-collection/</link><pubDate>Mon, 30 Nov 2026 00:00:00 +0000</pubDate><guid>https://www.pachadata.com/en/services/client-instructions/sql-auditor-collection/</guid><description>&lt;p&gt;SQL Auditor is the collector I use for remote audits. It reads the system&#10;catalog views and dynamic management views of an instance (waits, index usage,&#10;missing indexes, configuration, backups) and writes the result to a &lt;code&gt;.zip&lt;/code&gt;&#10;archive. It only issues &lt;code&gt;SELECT&lt;/code&gt; statements, reads the contents of none of your&#10;application tables, writes nothing to your databases and installs nothing. It is&#10;free software:&#10;&lt;a href="https://github.com/rudi-bruchez/sql-auditor"&gt;github.com/rudi-bruchez/sql-auditor&lt;/a&gt;.&lt;/p&gt;&#10;&lt;p&gt;This page gives the simplest way to run it, on Windows, with an account that has&#10;every right. For a collection with a restricted login, or to review the tool&#10;before authorizing it, the&#10;&lt;a href="https://github.com/rudi-bruchez/sql-auditor/blob/main/docs/dba-guide.md"&gt;DBA guide&lt;/a&gt;&#10;covers everything.&lt;/p&gt;</description></item><item><title>Sending a database clone with no data</title><link>https://www.pachadata.com/en/services/client-instructions/database-clone/</link><pubDate>Mon, 30 Nov 2026 00:00:00 +0000</pubDate><guid>https://www.pachadata.com/en/services/client-instructions/database-clone/</guid><description>&lt;p&gt;&lt;a href="https://learn.microsoft.com/sql/t-sql/database-console-commands/dbcc-clonedatabase-transact-sql"&gt;&lt;code&gt;DBCC CLONEDATABASE&lt;/code&gt;&lt;/a&gt; creates a copy of a database that holds its&#10;schema, the statistics and the Query Store (query text, execution plans, runtime&#10;statistics), without any data. It is what will let me analyze the query history&#10;of a database without seeing its contents. With it, I have everything I need for&#10;a first performance analysis pass on the database.&lt;/p&gt;&#10;&lt;h2 id="creating-the-clone"&gt;Creating the clone&lt;/h2&gt;&#10;&lt;p&gt;Run this as a member of the &lt;code&gt;sysadmin&lt;/code&gt; role, on the instance that hosts the&#10;database. The example uses the &lt;code&gt;PachaDataFormation&lt;/code&gt; database: replace its name&#10;with yours, in both places, and keep the &lt;code&gt;_Clone&lt;/code&gt; suffix for the clone.&lt;/p&gt;</description></item></channel></rss>