An improved DBSCAN algorithm is presented, which is insensitive to input parameter by discovering connected clusters. The new algorithm produces better clustering results, while maintaining the high performance of the origin algorithm at the same time. The results of experiments demonstrate that the new algorithm outperforms OPTICS.