Re: Using MARS with JDBC Driver
- From: "Angel Saenz-Badillos[MS]" <angelsa@xxxxxxxxxxxxxxxxxxxx>
- Date: Wed, 18 Jan 2006 17:11:24 -0800
To be clear I am talking about the MICROSOFT SQL SERVER 2005 JDBC DRIVER
--
Angel Saenz-Badillos [MS] DataWorks
This posting is provided "AS IS", with no warranties, and confers no
rights.Please do not send email directly to this alias.
This alias is for newsgroup purposes only.
I am now blogging: http://weblogs.asp.net/angelsb/
"Angel Saenz-Badillos[MS]" <angelsa@xxxxxxxxxxxxxxxxxxxx> wrote in message
news:eHKsFQJHGHA.3176@xxxxxxxxxxxxxxxxxxxxxxx
> Wes,
> Mars is not supported with the v1.0 driver, it is a feature that we are
> looking to implement in a later release (given how extremely hard this is
> to implement and the poor bang for the buck this feature gives it will
> probably be implemented post v1.1).
>
> As per JDBC spec MARS like behavior is supported in this driver, (the
> driver will behave as if MARS is enabled thanks to some under the covers
> "magic") The two accepted ways to do this in the JDBC space are to either
> create a new connection under the covers whenever you ask for a second
> resultset or to client side cache the data from your entire resultset so
> that the tds buffer is free and available for a second resultset at any
> time. For this driver and keeping in mind that Pooling will be mostly
> supported by application servers we decided against opening a second
> connection (this basically kills your pooling story) and opted for client
> side caching.
>
> The obvious problem with client side caching is that it becomes really
> inneficient to retrieve large resultsets, in extreme cases you may
> actually run out of JVM memory! The workarround is to retrieve smaller
> ammounts of data (always a good recomendation) or when this is not
> feasible to use server side cursors. When you use server side cursors you
> only client side cache the specified (fetchsize) number of rows. We are
> providing a very granular server side cursor story in this driver.
>
> I hope this helps, let me know if you have any specific comments or
> concerns.
>
> --
> Angel Saenz-Badillos [MS] DataWorks
> This posting is provided "AS IS", with no warranties, and confers no
> rights.Please do not send email directly to this alias.
> This alias is for newsgroup purposes only.
> I am now blogging: http://weblogs.asp.net/angelsb/
>
>
>
>
> "Wes Clark" <WesClark@xxxxxxxxxxxxxxxxxxxxxxxxx> wrote in message
> news:9CE9D427-E6A4-42F8-82A9-023666DB084E@xxxxxxxxxxxxxxxx
>> Is MARS supported through JDBC? Is the connection the same? Is this
>> documented anywhere?
>
>
.
- Follow-Ups:
- Re: Using MARS with JDBC Driver
- From: Jerry Brenner
- Re: Using MARS with JDBC Driver
- References:
- Re: Using MARS with JDBC Driver
- From: Angel Saenz-Badillos[MS]
- Re: Using MARS with JDBC Driver
- Prev by Date: Re: Using MARS with JDBC Driver
- Next by Date: Re: Using MARS with JDBC Driver
- Previous by thread: Re: Using MARS with JDBC Driver
- Next by thread: Re: Using MARS with JDBC Driver
- Index(es):
Relevant Pages
|
Loading