[转载] intensive I/O and odbc problem# Database - 数据库
f*y
1 楼
【 以下文字转载自 Programming 讨论区,原文如下 】
发信人: fay (小飞), 信区: Programming
标 题: intensive I/O and odbc problem
发信站: Unknown Space - 未名空间 (Wed Aug 27 14:09:26 2003) WWW-POST
I have a segment code calling stored procedures to update a record and insert
a new record to another database, after these, there's a file copy. Due a bug
in the code, the file copy part uses _read and _write for 400MByte file in one
function call. After the write finishes, the system hung.
The weird thing is the two stored procedures
发信人: fay (小飞), 信区: Programming
标 题: intensive I/O and odbc problem
发信站: Unknown Space - 未名空间 (Wed Aug 27 14:09:26 2003) WWW-POST
I have a segment code calling stored procedures to update a record and insert
a new record to another database, after these, there's a file copy. Due a bug
in the code, the file copy part uses _read and _write for 400MByte file in one
function call. After the write finishes, the system hung.
The weird thing is the two stored procedures