计算机系统应用
計算機繫統應用
계산궤계통응용
APPLICATIONS OF THE COMPUTER SYSTEMS
2014年
1期
162-165
,共4页
SQL语句%线程%缓存区
SQL語句%線程%緩存區
SQL어구%선정%완존구
SQL statements%threads%cache
在采集、处理、解释一体化软件平台中,不可避免地有大量的 SQL 语句执行,而在这些 SQL 语句执行中,不需要返回的SQL语句又占主要比例。通过设计SQL语句缓存区,并把不需要返回的SQL语句实时放入此缓存区,最后通过设计高效的执行线程,对此缓存区内的SQL语句进行实时的处理。这种方法既分离了业务与数据库操作,也提高了业务对数据库操作请求的效率。
在採集、處理、解釋一體化軟件平檯中,不可避免地有大量的 SQL 語句執行,而在這些 SQL 語句執行中,不需要返迴的SQL語句又佔主要比例。通過設計SQL語句緩存區,併把不需要返迴的SQL語句實時放入此緩存區,最後通過設計高效的執行線程,對此緩存區內的SQL語句進行實時的處理。這種方法既分離瞭業務與數據庫操作,也提高瞭業務對數據庫操作請求的效率。
재채집、처리、해석일체화연건평태중,불가피면지유대량적 SQL 어구집행,이재저사 SQL 어구집행중,불수요반회적SQL어구우점주요비례。통과설계SQL어구완존구,병파불수요반회적SQL어구실시방입차완존구,최후통과설계고효적집행선정,대차완존구내적SQL어구진행실시적처리。저충방법기분리료업무여수거고조작,야제고료업무대수거고조작청구적효솔。
During the acquisition, processing and interpretation integrated software platform, there are a large number of SQL statements inevitably executed, while running these SQL statements, SQL statements that do not need to return occupy to a major proportion. This paper designs the SQL statements cache and SQL statements that do not need to return real-time put into this cache, and finally by designing the thread of executing SQL statements, SQL statements in the cache real-time process. This method does not only the separation of business and database operations, but also improves the business efficiency of requests for database operations.