The data excavating technology can be used for predicting the efficiency of oil well sidetracking, and assisting the determination of a proper sidetracking well locating, thus provides a scientific and reliable basis for sidetracking the abandoned well.