Please start any new threads on our new site at https://forums.sqlteam.com. We've got lots of great SQL Server experts to answer whatever question you can come up with.

 All Forums
 SQL Server 2000 Forums
 SQL Server Development (2000)
 Buffer Cache issue

Author  Topic 

rajesh1207
Starting Member

3 Posts

Posted - 2009-12-28 : 07:52:19
We are trying to access the table in SQL server database through the JAVA program. While accessing the table, it is generating the .tmp file and it is getting increased some time. After some time process is getting killed and resulting with error as

[SQLServer JDBC Driver]Usage error for UtilPagedTempBuffer: offset can not be negative.

Anyone can please let us know the prob?

Thanks,
Rajesh

vijayisonly
Master Smack Fu Yak Hacker

1836 Posts

Posted - 2009-12-28 : 09:34:19
Have a look at this link.

http://support.microsoft.com/kb/817326

I dont think its your exact scenario, but the problem cud be same.
Go to Top of Page

rajesh1207
Starting Member

3 Posts

Posted - 2009-12-29 : 06:39:45
quote:
Originally posted by vijayisonly

Have a look at this link.

http://support.microsoft.com/kb/817326

I dont think its your exact scenario, but the problem cud be same.



Hi Vijay,
Thanks for the reply. But the issue is not exactly that mentioned in the link. When we access the table with huge data, the tmp file is generating. The table contains around 4GB. After around 1.6 GB process is getting killed. Please help me out if you have any idea on this.
Go to Top of Page

Transact Charlie
Master Smack Fu Yak Hacker

3451 Posts

Posted - 2009-12-29 : 06:50:35
what are you actually trying to do with the connection?

Are you trying to pull back the whole table? If so then you'd be much better off using some of the bulk import / extract tools (bcp, ect).

I'm geussing you are getting a timeout on your connections or a thread pool limit.

Check the database with sp_who2 while making the connection. Could be a blocking job also.


Charlie
===============================================================
Msg 3903, Level 16, State 1, Line 1736
The ROLLBACK TRANSACTION request has no corresponding BEGIN TRANSACTION
Go to Top of Page

rajesh1207
Starting Member

3 Posts

Posted - 2009-12-29 : 07:29:16
quote:
Originally posted by Transact Charlie

what are you actually trying to do with the connection?

Are you trying to pull back the whole table? If so then you'd be much better off using some of the bulk import / extract tools (bcp, ect).

I'm geussing you are getting a timeout on your connections or a thread pool limit.

Check the database with sp_who2 while making the connection. Could be a blocking job also.

Hi Chrlie,
Thanks for the reply. Just we are trying to run a third party tool which copies the SQL schema to Oracle. We observed that in the tool it self is trying get all the table data at a time. It generates a tmp file while accessing the table. We assumed like, the problem with the buffer cache. Please help me how to resolve this.

Charlie
===============================================================
Msg 3903, Level 16, State 1, Line 1736
The ROLLBACK TRANSACTION request has no corresponding BEGIN TRANSACTION


Go to Top of Page

Transact Charlie
Master Smack Fu Yak Hacker

3451 Posts

Posted - 2009-12-29 : 09:03:58
you could mount the database somewhere with a different name from the latest backup, delete all the information from the database (or maybe this particular table if you've isolated it down to that table). Run the tool to copy the schema and then bulk export the original data into the new database.

Apart from that suggestion then obviously contact the third party vendor.

Don't think I can be much more help.


Charlie
===============================================================
Msg 3903, Level 16, State 1, Line 1736
The ROLLBACK TRANSACTION request has no corresponding BEGIN TRANSACTION
Go to Top of Page

tkizer
Almighty SQL Goddess

38200 Posts

Posted - 2009-12-29 : 10:57:23
This is not a SQL Server buffer cache issue. You wouldn't see that in a Java error. You need to contact the vendor of the third party software.

Tara Kizer
Microsoft MVP for Windows Server System - SQL Server
http://weblogs.sqlteam.com/tarad/

Subscribe to my blog

"Let's begin with the premise that everything you've done up until this point is wrong."
Go to Top of Page

behrman
Yak Posting Veteran

76 Posts

Posted - 2010-01-03 : 10:26:59
Hi.
Please refer to the url below:
http://www.carehart.org/blog/client/index.cfm/2008/8/2/latest_technotes
Regards,
behrman.

RAQ Report: Web-based Excel-like Java reporting tool
Go to Top of Page
   

- Advertisement -