|
福州大学学报(自然科学版) 2015
MySQL数据库的多线程引擎
|
Abstract:
在研究数据库MySQL优化技术基础上,重点考虑数据处理速度问题,采用C++动态链接库的方式对数据库MySQL C API(application programming interfaces,应用程序编程接口)进行封装. 运用分层架构设计理念,并结合连接池、多线程等技术对其优化设计. 测试结果表明,经优化后的数据库业务操作简单、便捷,数据处理速度和执行效率大幅度提高,且系统的可维护性和可移植性良好 基本达到预期目标.
The speed of data processing is the key issue in the research of MySQL optimization techniques,this article aims to encapsulate MySQL C API (application programming interfaces) by taking C++ dynamic link library method. Combined hierarchical design idea with techniques of connection pool and multi-thread,the database is optimized. The test results show that the optimized database is easy to operate and the efficiency and the speed of data processing is greatly improved. With sound maintainability and portability,the system has achieved expected target