This topic has been archived. It cannot be replied.
-
工作学习 / IT技术讨论 / 请问这个ADO Error Message 如何解决?在ASP中我用了如下:
sqlFolder="INSERT INTO Folders (...) VALUE (...) "
Conn.execute(sqlFolder)
在大部分时候,可以正确执行,但有些时候(未知)会返回以下Error Message:
Internal Query Processor Error: The query processor ran out of stack space during query optimization.
数据库是:SQLServer2000
-yadocld(yadocld);
2002-9-19
{299}
(#755996@0)
-
don't know. did you try to search on google by this error message? sounds like you SQL server has some configuaration problem.
-ningxin0809(雁影行洲);
2002-9-19
(#756021@0)
-
Here is the MSDN explanation,but I don't think it applies to my situation.
-yadocld(yadocld);
2002-9-19
{646}
(#756038@0)
-
as I understood it is. I didn't know much about stack. but a DBA will.
-ningxin0809(雁影行洲);
2002-9-19
(#756041@0)
-
maybe something wrong in your SQL server configuration?
-reed(芦苇);
2002-9-19
(#756042@0)
-
think so
-ningxin0809(雁影行洲);
2002-9-19
(#756045@0)
-
is there anybody know how to config the database to avoid this problem?it really bothers me, because in most time it won't happen, but sometime it jumps out. I don't know how to handle it since I am just a programmer and we don't have a DBA here. and as my opion, sqlserver is like a silly DB don't need administration at all if not caring about the efficiency and performence.
-yadocld(yadocld);
2002-9-19
{310}
(#756060@0)
-
1. Apply the latest service pack (sp2) to your database server.
2. Check your memory setting and allocate more memory to your sql service.
3. Check the size of your tempdb partition.
-yangn(Raymond);
2002-9-19
(#756375@0)
-
Thank you very much, I will try it.
-yadocld(yadocld);
2002-9-20
(#757889@0)
-
the tempdb filesize is set to automatic grow. and unrestricted file size,is that ok?
-yadocld(yadocld);
2002-9-20
(#757897@0)
-
有时查询过大的话TEMP空间也会满的,最好的做法是估计可能需要的空间,然后设置成自动的就可以了
-antmm(xiao ant);
2002-9-20
(#758220@0)
-
tempdb只有在一种情况下才会满,就是其所在的partition或logical drive再没有可分配的自由空间。很多公司在dba缺乏的情况下常把tempdb放在default location (master data 所在的location),这是很要不得的。tempdb should be on the dedicated partition with RAID 1 configuration. and the size should be set up as "automatically grow".
-yangn(Raymond);
2002-9-20
{127}
(#758821@0)
-
不知道2000的结构如何,如果是7.0的话,可能是日志满了,或者是TEMP空间满了
-antmm(xiao ant);
2002-9-19
(#756051@0)
-
You could be running a huge query, trying to do a huge aggregation function, or sorting a huge set of data
-handd(handd);
2002-9-19
(#756316@0)