检索规则说明:AND代表“并且”;OR代表“或者”;NOT代表“不包含”;(注意必须大写,运算符两边需空一格)
检 索 范 例 :范例一: (K=图书馆学 OR K=情报学) AND A=范并思 范例二:J=计算机应用与软件 AND (U=C++ OR U=Basic) NOT M=Visual
作 者:王奇成[1]
出 处:《铁路计算机应用》2010年第4期37-40,共4页Railway Computer Application
摘 要:Sybase临时表用于存储过程或批命令中多个SQL语句间传递数据,可分解事务处理流程,减轻并发压力,改善查询性能。应用临时表,首先提倡多用,使编程思路清晰,优化处理性能;其次要巧用,大幅度提高存储过程执行速度;第3要注意临时表对存储过程预编译执行计划的影响,采用强迫执行计划的策略避免出现应用性能陡降的问题。对这3个层次的应用技术,本文结合实践,给出一些具体样例。Sybase temporary table used between multiple SQL statements in the stored procedure or SQL batch to transfer data,could be decomposed processes,reduced concurrent pressure to improve query performance. First of all,it was promoted more use of temporary tables,cleared thinking programming ,and optimized processing performance. Second,it must good use temporary tables,so significantly improve that stored procedures and the execution speed. Third,it should pay attention to the impact of pre-compiled execution plan of stored procedure with temporary table,use specific measures to avoid steep drop application performance problems. According to the three levels applying technology,the paper given some actual example on the practice.
关 键 词:临时表 存储过程 SQL 性能优化 预编译 执行计划
分 类 号:TP39[自动化与计算机技术—计算机应用技术]
正在载入数据...
正在载入数据...
正在载入数据...
正在载入数据...
正在载入数据...
正在载入数据...
正在载入数据...
正在链接到云南高校图书馆文献保障联盟下载...
云南高校图书馆联盟文献共享服务平台 版权所有©
您的IP:216.73.216.44