This must have been asked somewhere here before, but I cannot seem to find it.
I am using \left( and \right) around an xymatrix, but the parenthesis are far too big;

with the following code;
\begin{equation*}
\left(\xymatrix{ A \ar[r] \ar[d] & B \ar[d] \\
X \ar[r]_f & Y}\right)
\end{equation*}