i have this statement, but it runs very low
list( $parentId ) = Mage::getModel('catalog/product_type_configurable')
->getParentIdsByChild( $product->getId() );
anyone know how to get the sql it ran? i only know use getSelect() in collection, but how about in Model?