Abstract:At present, text,graphics, images and other large data in many database application system are directly stored into the large field of database, while the text of large data is saved with ASCII code, that brings many problems to database,such as,the rapid expansion of databases, poor confidentiality, slow transmission, low access efficiency. The highest compression ratio, more efficient LZMA compression algorithm and compression custom binary data storage structure, the core compression algorithm binary API packaged as dynamic link library, are used by calling interface functions to compress large data, then the data saved to the database Blob field,when there is need to be used,the compressed data will be restored.Thus,not only disk space is saved,but also the access rate will rise much