With the rapid development of computer technology, especially the rapid development of network technology and the acceleration of global economic integration, electronic commerce has been used more and more widely. This also puts forward a new standard for the enterprise application computer to business activities. On one hand, we should take into account the advanced nature of the electronic commerce platform, on the other hand, we should make the existing business system of the enterprise more smoothly into the new business platform. Aiming at the problem of resource bot- tleneck in current e-commerce system, the application model of grid based electronic commerce system is put forward to be based on the application background of grid technology. How to make full use of the existing software and hardware resources, to obtain the largest data processing capacity has become an important part of the electronic commerce plat- form application system. With the rapid development of economic globalization and the rapid development of Internet technology, e- commerce which is a new business model has been the world's attention and recognition. It has become the only way for the development of enterprises, which is gradually changing the business model around the world and triggering a far-reaching economic revolution. With the continuous expansion of electronic commerce, traffic system is more and more big, size of the system database is also increasing, and the property problem of the database is getting more and more prominent. Therefore, the optimization is very impor- tant to electronic commerce system database. The basic prin- ciple of system performance optimization is: access to the required data through the least possible disk access. To evaluate the database performance, in the database before and after the adjustment of the evaluation indexes should be compared, including the trade-off between response time and throughput, the availability of a database, the hit rate of the database, and the use efficiency of memory. It can measure the effect of adjustment measures to guide the direction of adjustment. How to use limited computer system resources for more users? How to guarantee the user's response speed and service quality? These problems can improve the service quality of the electronic commerce platform.