由买买提看人间百态

boards

本页内容为未名空间相应帖子的节选和存档,一周内的贴子最多显示50字,超过一周显示500字 访问原贴
Database版 - 问个很低级的问题:truncate 一个 table takes forever
相关主题
Re: Is there any easy way to truncate the LDF file of SQL SERVER?Database Interview Questions
Oracle求助,thanks!!!SQL 2005 Intergration Service Q
Import data from excel into sql server 2000sql server 怎么关掉log
Truncation error import csv file to SQL tabledelete
Is there any easy way to truncate the LDF file of SQL SERVER?error file或者exception file
Access 'memo' data typeINSERT or UPDATE, which is faster?
SYBASE: truncation point 问题truncate和delete在ORACLE里有什么区别?
which one is faster? truncate or delete?谁能帮我看看这个sql query的优化
相关话题的讨论汇总
话题: truncate话题: table话题: forever
进入Database版参与讨论
1 (共1页)
m**y
发帖数: 18546
1
一个很简单的truncate statement,平时都很快就能run 完了,今天一直run都不结束
。别的
select statement 都没事。可能是什么原因啊?
j*****n
发帖数: 1781
2
other process locked the table...
sp_who2 active
m**y
发帖数: 18546
3

谢谢!解决了。确实有个ghost process locked the table

【在 j*****n 的大作中提到】
: other process locked the table...
: sp_who2 active

1 (共1页)
进入Database版参与讨论
相关主题
谁能帮我看看这个sql query的优化Is there any easy way to truncate the LDF file of SQL SERVER?
面试回来发考题1Access 'memo' data type
新手一问,关于delete和truncate table SYBASE: truncation point 问题
创建数据库问题which one is faster? truncate or delete?
Re: Is there any easy way to truncate the LDF file of SQL SERVER?Database Interview Questions
Oracle求助,thanks!!!SQL 2005 Intergration Service Q
Import data from excel into sql server 2000sql server 怎么关掉log
Truncation error import csv file to SQL tabledelete
相关话题的讨论汇总
话题: truncate话题: table话题: forever