In this paper, some main methods and techniques of data mining are introduced, especially the clustering technology based on grid in detail, the technique base on grid. A new method of distance-based grid clustering algorithm is applied with foodmart data