Clone for performance testing
abhishek813
Posts: 4 New member
in SQL Clone
Is it recommended to use use a clone generated using sql clone for performance testing?
Tagged:
Comments
We would not recommend this as the clones image will be stored on a network location which could affect performance compared to a local database.
Dan Bainbridge
Product Support Engineer | Redgate Software
However, if you're looking at query tuning by using execution plans, then yes, absolutely. The plans generated are going to be the same, using Clone or not. If you're looking to see the volume of I/O of a query, how many pages it reads, then you can also use Clone as part of your performance tuning.
For me, it's whether or not you're attempting to measure system metrics or more granular information. The system metrics, especially I/O are going to be somewhat skewed because of Clone. Most of the other measures are going to be good enough for you to understand what's going on in terms of performance tuning. Just go into it with the knowledge that I/O speed is not something you can accurately measure because of Clone. The rest should be OK with that knowledge.
SQL Server MVP 2007-2012
Indicium Resources, Inc.
Now, if you actually ACCESS data (say for tuning some query or running some report) then you move the data to the local box. Thus the network becomes much more important piece of the infrastructure pie (as does the storage you create the image on).
SQL Server MVP 2007-2012
Indicium Resources, Inc.