JTDS And Tempdb Objects

Sep 15, 2006

Is anyone aware of a problem with jTDS and runaway tempdb objects ? 25,000 in my case that did not drop ?

thanks,
Paul

View 2 Replies


ADVERTISEMENT

SQL Server 2012 :: Limitation Of Number Of Objects In TempDB Database?

Dec 9, 2014

how to know the limitation of number of objects(Maximum no.of objects allow tempdb database) in a tempdb database?

View 2 Replies View Related

Jtds And Fulltextsearch (SQL Server 2005)

Mar 1, 2008

Hi all,

back in the day we switched to SQLServer2005, we had trouble with fulltextsearch stored procedures, it wouldn't work because in 2005, calling those stored procedure (like sp_fulltext_table) would automatically create a transaction.
The error is "procedure cannot be executed within a transaction"
So the fix was to call execute those stored procedures in autocommit mode.
It worked fine until switch from jDriver to jtds, while it was OK with jDriver, jtds is complaining that "commit() should not be called in autocommit mode"
To summarize :
if we don't set autocommit, the execution fails with the follwoing error
Got exception=[java.sql.SQLException: The procedure 'sys.sp_fulltext_table' cannot be executed within a transaction.] for sql=[sp_fulltext_table 'AttrsBlobTab', 'create', 'AttrsBlobTab_cat', 'ARIBAPK334']
if we do set autocommit, execution fails with an other error
Got exception=[java.sql.SQLException: commit() should not be called while in auto-commit mode.] for sql=[sp_fulltext_table 'AttrsBlobTab', 'create', 'AttrsBlobTab_cat', 'ARIBAPK204']

it seems like we can get around this with replacing stored procedures calls by DDL statements but it's really cumbersome in my case, I was wondering if there was a way to avoid this.

Any idea ?

Thanks,

Farid

View 1 Replies View Related

Default Charset In Sqlserver 2000? / Jtds

Nov 2, 2005

Hi,I am writing to a text column in my SQL Server 2000 database. The textcomes from a web form in my java web application, where the characterencoding is ISO-8859-1. (I have no control over the charset, my app isa plugin inside another app.)Characters such as €(ascii 128) and '(ascii 146) are inserted intothe db as '?'.I'm connecting using the free jtds driver, and I'm not specifying anydetails about charsets in my usage of the driver.Can anyone tell me what the default charset in sqlserver 2000 is?Should I be specifying this charset when using my driver?Thanks.

View 4 Replies View Related

SQL 2012 :: Connection Hang Or Timeout With JTDS Driver

Aug 27, 2015

When SSL is enable on SQL Server (Force Encryption = Yes). Connecting to SQL Server via JDBC using the open source driver jTDS driver take a while and eventually hang or timeout. I tried using jtds-1.2.8-dist and jtds-1.3.1-dist. In the connection property, I added "ss=request". I also tried with "ssl=require".

I am using SQL Server 2012 SP2 and SQL Server 2014 SP1. Samething happen in SQL Server 2005 as well.

I am using this JAVA version "ibm-java-x86_64-sdk-7.0-9.10"

I know this used to work for me when we where using "ibm-java-x86_64-sdk-7.0-8.0"

This is my connection string:

net.sourceforge.jtds.jdbc.Driver
jdbc:jtds:sqlserver://fqdn:1433/master;USENTLMV2=true;SSL=request;

View 0 Replies View Related

Putting Names Of Objects To Control-flow Loop Creating Objects

Dec 27, 2006

please help newbieI need to create a lot of objects the same type (let's say: schemas)I wish to use paramerized block in loop to do so.- how to put names of my objects to such control-flow?belss you for help

View 5 Replies View Related

SQL Server 2012 :: Select Data From XML - Objects Within Objects?

Nov 20, 2013

passing serialised objects to a stored procedure for the purpose of data inserts. I see this as being a way to handle multiple row inserts efficiently.

However, in my limited use of XML data I am not so sure how to link the data when I have a dependency on another "object" within the serialised XML.

Below is a code snippet showing what I have so far.

The first insert statement works fine - but how to retrieve the identifier created by the DB - I want to use an SQL statement that finds the record in the table based on the XML representation (of the PluginInfo), allowing me to insert the ConfigurationInfo with the correct reference to the PluginInfo

DECLARE @Config NVARCHAR(MAX)
DECLARE @Handle AS INT
DECLARE @TransactionCount AS INT
SELECT @Config = '
<ConfigurationDirectory >
<ConfigurationInfo groupKey="Notifications" sectionKey="App.Customization.PluginInfo"

[code]....

View 1 Replies View Related

Tempdb Is Skipped. You Cannot Run A Query That Requires Tempdb

Jul 14, 2004

Has anyone seen the SQL Server error:

"tempdb is skipped. You cannot run a query that requires tempdb"?

We're running a .Net web application with a SQL Server 2000 backend, and we get the error intermittently. Restarting the SQL Server service seems to fix it, as it causes tempdb to be rebuilt, but this isn't a long term solution. Any direction or hints would be greatly appreciated. Thanks!
- Mike

View 11 Replies View Related

OLE Objects

Aug 27, 2001

Hi, there,

I use VB to make an dll file and register on my local PC, then use sp_OACreate to create OLE object on local SQL server, it works fine. But when I register that dll on other SQL server, it dosen't work, anybody have idea about this? Thank you.

Tony

View 1 Replies View Related

How To Use Objects??

Jul 17, 2000

I see these type of objects in Books on Online. I was just wondering
if anyone knows how to use these objects, seems to have lot of good
information. Could these objects be called in VB?

--------------------------------
CreateDate Property (SQL-DMO)
The CreateDate property indicates the date and time the referenced SQLServer object was created.

Applies To
Database Object Table Object
DBObject Object TransactionLog Object
Default Object Trigger Object
Rule Object View Object
StoredProcedure Object


Syntax
object.CreateDate

Part Description
object Expression that evaluates to an object in the Applies To list


Remarks
The string returned is formatted by using the locale setting of the workstation.

Data Type
String

Modifiable
Read-only

Prototype (C/C++)
HRESULT GetCreateDate(SQLDMO_LPBSTR pRetVal);
--------------------------------------------------------

View 1 Replies View Related

Sys.objects

Sep 21, 2007



Anyone know how to grant a user to see all data in sys.objects view?

Thanks.

View 1 Replies View Related

Sys.objects

Sep 21, 2007



Anyone know how to grant a user (who is not a sa) to see all data in sys.objects view?

Thanks.

View 1 Replies View Related

COM Objects Under 64-bit?

Jan 25, 2007

Hi everyone,
 
Primary platform is Framework 2.0 under 32-bit
Production platform will be Framework 2.0 under 64-bit.
 
I'm concerned about what object should I use in order to launch DTS 2000/7.0 from our .Net service.
 
Currently it tested fine from a 32-bit environment (sql server 2005 as backend).
 
Reference: "Microsoft DTSPackage Object Library"
Physical file:  dtspkg.dll
 
My wonder,  is there any limitation when it's gonna to work on 64-bit?
 
Generally speaking, any limitation/issue/drawback for COM objects under 64 bit??
In my project properties appears Any CPU, x86, x64. I've got now Any CPU.
 
Thanks for your advices,
 
 

View 13 Replies View Related

About TempDB

Jun 1, 2005

TempDB is one of the databases equipped with MSSQL Server by default.What is the purpose of it?Why do we use this temp database?

View 4 Replies View Related

Tempdb Help

Apr 9, 2002

Hi,


THis is sql server 6.5 question.
I have tempdb data device size default 2 MB, which has completely filled up. I am trying to expand data device to it.
I created new device tempdb_data_ext (250 MB) and tried to expand tempdb data device. But everytime I do it, it ends up adding space to tempdb log device. How can I expand tempdb data device?

It's extremely urgent.

Thanks

View 1 Replies View Related

TempDB

Apr 16, 2001

Hi,
How can I control the growth of tempdb in SQl server.It's growing like anything.
CAn I create some alerts or jobs and what those alerts/job are supposed to do?
All help appreciated.
Jai

View 1 Replies View Related

Tempdb

Jun 27, 2001

Hello!
This is error message I discovered in NT even viewer:
c:MSSQL7DATATEMPDB.MDF: Operating system error 112(There is not enough space on the disk.) encountered.

In SQL Server error log the errors are:
Error: 1101, Severity: 17, State: 10

Could not allocate new page for database 'TEMPDB'. There are no more pages available in filegroup DEFAULT. Space can be created by dropping objects, adding additional files, or allowing file growth..

Currently tempdb rezides on C drive and it's almost out of space.
What should I do?
Detach tempdb and then move to different drive?
What's the procedure?

Thanks

Lena

View 4 Replies View Related

TEMPDB

May 10, 2000

TEMPDB in one of our production servers does not clear up so every three to four weeks I have to restart NT. Nothing like this happens on any of the other three servers. Does anybody know where I should look at to correct the problem. I sure would appreciate it.
Thanks
Shashu

View 2 Replies View Related

Tempdb

Feb 2, 2001

I have never done this before and thought I would ask. Is it possible to detach the tempdb database, move it to another drive or partition, and then re-attach it? What would be the downside or side-affects to doing such a thing?

Thanks. JT

View 2 Replies View Related

SQL 7.0 TEMPDB

Jan 17, 2001

We want to shrink the size of our TEMPDB , Does anyone know how to without blowing it away and re creating it.

Also, our tempdb expands to occupy all available space on the server, the space is not released until the server is restarted.


Any ideas would be appreciated.

View 3 Replies View Related

Tempdb

Oct 18, 2000

Hi why I cannot backup the tempdb. Is this a normal or there is something that I am doing wrong.

Ali

View 1 Replies View Related

Need Help Tempdb

Apr 6, 2000

Hi

I get a message:

Error : 933, Severity: 22, State: 1
Logical page 258 of the log encountered while retrieving highest timestamp in database 'tempdb' is not the last page of the log and we are not currently recovering that database.

I use sqlserver -T4022 to start my SQL Server since it will not start with out it. When I start sqlserver without the option, it tells me that

Error : 615, Severity: 21, State: 1
Unable to find database table id = 2, name = 'tempdb'.

I just want my SQL Server back. Please help!

Thanks
Betty Lee

View 4 Replies View Related

Tempdb!!

Apr 20, 2000

I need to move tempdb to another drive,also increase the size.Largest database is 15GB.Can anyone suggest the size and also the exact commands to move.Do I need to backup the databases before I do this task?If SP1 is not installed,will it be o.k for me for this tempdb problem.If we have a larger tempdb like 4GB,will it effect anything?...Urgent!!

View 2 Replies View Related

Tempdb

Aug 29, 2000

The tempdb has grown to over 2 GB on our DB. There are no user tables or SP in it. Is there a way to clean up and are there any consequences to this?

View 4 Replies View Related

TempDB

Jan 13, 2000

I read an article on this site by Michael Hotek re "Basic SQL Server 6.5 Configuration Options". In the paragraph about TempDB he says that you should always avoid using Temp tables in stored procs. I use this feature a lot when trying to do "not in" type queries (I filter out a portion of a larger table and then use the "not in" on the temp table rather than the entire table.)
Is there a better way to run a Not in query. I have the table well indexed (i think) but it seems to do a full table scan if I use the entire table.

Any ideas???

View 1 Replies View Related

Tempdb Way To Big

Jan 22, 2003

Our Tempdb.mdf file is 11 gigs. I have tried several things to shrink this but with no luck. Does anybody have a suggestion on how I can free up that space. I have tried to re-start Sql but that didn't do anything. I thought that there was a bug, if the files got above 4 gig that sql wouldn't clear them, but I could be wrong

I thought I could detach it, and attach a new file, but makes me nervous without knowing if that’s correct.

Thanks for the help

View 2 Replies View Related

TempDB In RAM

Nov 3, 1999

Hi,

I moved my tempdb (2MB) to RAM and restarted the server. It did restart but when I tried to connect thru ISQL, it gave me an ERROR -

A connection could not be established to <server-name> - DB-Library. Unable to Connect.

What could be the possible reason.

To move tempdb to RAM, do i just have to change the values of the MEMORY and TEMPDB IN RAM parms and restart or do I have to do anything else.

Please help.

Thanks
Nishant

View 2 Replies View Related

TempDb In RAM

Mar 18, 1999

Hi

When should I put tempdb in RAM and when should I not ?

Thanks in advance

Vijay

View 3 Replies View Related

Tempdb In Ram Not &#34;going Away&#34;

Feb 24, 1999

I am trying to configure a 6.5 server to set the tempdb to run off disk. I reset the tempdb in ram = 0 in the configuration, and restarted the service, but it left it as running in ram, with 0 configured. I then rebooted the server, and it still left the tempdb in ram. Any ideas?

View 2 Replies View Related

TempDB

Dec 4, 2006

Hi All,

I am trying to get some information about tempdb database. I've tried BOL but I couldn't find a whole lot of info. I am trying to find out what size should tempdb be to not to cause problems. Also, I am trying to shrink tempdb by using shrink database option in EM, but it only shrinks the tempdb transaction log not the datafile, and I don't know why it is happening.

Thanks

View 2 Replies View Related

Tempdb In RAM

Aug 19, 1998

We are using Peoplesoft HRMS version 7.0 on NT Server 4.0 and SQL Server 6.5, service packs on both up-to-date.

The server is a HP LX Pro with 4 200 MHz 1MB cache processors with 2,560 MB of RAM and 18 9GB drives configured with different combinations of RAID 1, 1+0, and 5.

The database is 2.3GB in actual size with the specific size of 6GB for data and 2GB for log on separate RAIDs.

We would like to use tempdb in RAM to boost the speed of complex queries that use the tempdb for intermediate working tables.

We would like to know of any experience of running tempdb in RAM, issues to overcome, of how to setup.

There are articles and books not recommending using tempdb in RAM. Comments anyone?

Note: Have looked in SQL Server DBA Survival Guide, and SQL Server Unleashed, along with the normal MS Documentation, technet, online books, and knowledge base searches.

View 1 Replies View Related

Tempdb In RAM

Nov 1, 1998

System: Pentium II - Dual 450. 13 GIG RAID. 128 MB RAM.

Everything I've ever heard or seen says not to put tempDB in RAM, citing reasons of negligible benefit or even worse performance as it steals memory from SQL's cache memory.

My issue is I need to take anywhere from 500 to 3000 records (games played) in a batch every five minutes from a table, ordered by game id. There's no guarantee of sequential order to how the records are inserted, so I need to do an ORDER BY in my query. I also do a stored procedure for ranking that requires an ORDER BY.

The performance difference between the two is staggering. 1000 records with a 200 mb tempdb database (not in RAM) takes about 300 seconds. With a 16 MB tempdb database IN ram, it takes just under 127 seconds. Only problem? I'm constantly getting, after a few batches have run, "out of space in syslogs for tempdb ram messages. "

Is there a way to net such performance from tempdb without putting it in RAM, and if not, is there a way to explicity clear out tempdb. Thanks for any help.

View 2 Replies View Related

Tempdb

Mar 6, 2001

Hello All~

I have a problem with Tempdb database on SQL 6.5 server.....when i create a temporary table,
i block other users in other databases. Actually i run a stored procedure which creates a temporary table and then the procedure insets some values of a table from my test database. When the spored procedure is executed, users in other databases also get blocked and no new user will be allowd to log on to the server. When i check as to what the other users are executing, i find that they are also creting or droping a temp table.
So i will have to either kill my SP or let it finish and continue blocking other users.

As of now, i am not able to find a reason for that and i try to run the Stored procedure in offpeak hrs.

I have not played around much with Temp tables in SQL 6.5. Pl do suggest me as to what to do....

Some details you would be interested on :

Server - SQL Server 6.5
Front End - Great Plains
Size of Tempdb - Data Space Available( It says shared with data)
database_name database_size unallocated space
------------------------------ ------------------ ------------------
tempdb 1502.00 MB -6301.82 MB

reserved data index_size unused
------------------ ------------------ ------------------ ------------------
7991108 KB 7996222 KB 72 KB -5186 KB


Hope this information helps.

Thanks in Advance...

Siv

View 2 Replies View Related







Copyrights 2005-15 www.BigResource.com, All rights reserved