An introduction on the algorithm Apriori and FP-growth is given. And their advantages and disadvantages are pointed out. The rule of mining transaction databases has two common formats, horizontal layout and vertical layout. Normally, algorithm using vertical database layout is often superior to those using horizontal layout. A new Eclat algorithm was brought out, which is an improvement of Eclat and show good performance with a lot of datasets.