Re: Reporting Services DISABLES DEFAULT Transaction Isolation Level!!!

From: Ian Posner (ian.posner.removethisantispamclause_at_tdsecurities.com)
Date: 03/12/04


Date: Fri, 12 Mar 2004 14:10:31 -0000

What version are you running? The fact is that the installation of Reporting
Services CHANGES THE BEHAVIOUR OF THE SAME TEST on the same version of SQL
Server when run pre- and post- Reporting Services install.

It's like the Reporting Services team removed the read committed isolation
level to make their product run with no locks being honoured.

I've repeated the same test twice, reinstalling SQL Server 2000 sp3a and the
results can be recreated.

Ian

"Tibor Karaszi" <tibor_please.no.email_karaszi@hotmail.nomail.com> wrote in
message news:%23%23KryYBCEHA.2556@TK2MSFTNGP12.phx.gbl...
> Ian,
>
> I have not installed reporting services on my machine, and my connection 2
> does not get blocked either. I agree that this is a bit surprising, but
> there are some optimizations in SQL Server where SQL Server will know that
> data hasn't been modified and hence doesn't enforce blocking.
>
> One could question whether this is expected behavior, but it is a
deliberate
> optimization in SQL Server. If you wish to call it a bug, you can open a
> case with MS and see if they will consider changing the behavior (remove
the
> optimization). To be honest, I think that your chances are slim, though...
> --
> Tibor Karaszi, SQL Server MVP
> http://www.karaszi.com/sqlserver/default.asp
>
>
> "Ian Posner" <ian.posner.removethisantispamclause@tdsecurities.com> wrote
in
> message news:%23RA4Jo3BEHA.3024@tk2msftngp13.phx.gbl...
> > I've installed Reporting Services Evaluation to a SQL Server 2000
(version
> > 8.00.760). After installation, I open two connections to the Northwind
> > database using 2 instances of OSQL:
> >
> > On connection 1:
> >
> > 1> BEGIN TRAN
> > 2> UPDATE Customers SET companyname = companyname
> > 3>GO
> >
> > On connection 2:
> > 1>SET TRANSACTION ISOLATION LEVEL READ COMMITTED <The default: this is
> > optional and can be omitted>
> > 2>SELECT * FROM Customers
> > 3>GO
> >
> > The CORRECT behaviour should be for Connection 2 to pause outputting the
> > query results until the transaction opened on Connection 1 is either
> > committed or rolled back, or for the query to timeout (if a query
timeout
> > has been set).
> >
> > However AFTER INSTALLING THE REPORTING SERVICES, the query outputs
> > immediately as one would expect from the READ UNCOMMITTED isolation
level,
> > even with the READ COMMITTED isolation level explicitly defined for the
> > connection. Issuing an sp_lock shows the Customers table has the
required
> > exclusive locks -- it's just that the secondary connection is ignoring
> them!
> >
> > This is not the same behaviour as occurs on the very same SQL Server
> before
> > Reporting Services are installed.
> >
> > Is this by design or by accident? If by design, it's pretty poor as the
> > implications for the consistency of data obtained from other databases
on
> > the same server is compromised. Is it possible to reconfigure the server
> > back to the default isolation level? Surely the transaction isolation
> level
> > used by reporting services should be defined by the user?
> >
> > Would someone from Microsoft please comment?
> >
> > Thanks
> >
> > Ian P
> >
> >
> >
>
>



Relevant Pages

  • Re: Project REAL webcast
    ... then just the SQL Server 2005 addins are registered. ... >> the server installation? ... >>> Services, Analysis Services, Reporting Services, Data Mining, etc. ... >>> BI SystemsTeam ...
    (microsoft.public.sqlserver.olap)
  • Re: How to install 32-bit Reporting Services on 64-bit Windows
    ... Uninstall the 64-bit instance of Reporting Services ... Start SQL Server 2008 Installation Center ... Select "New SQL Server stand-alone installation or add features to an existing installation" and install only Reporting Services ... I have 64-bit Windows because of Analysis Services. ...
    (microsoft.public.sqlserver.setup)
  • RE: Need to Stop/Start or Reboot SQL Server as part of RS Install
    ... starting or rebooting SQL Server is not required. ... >>From your description, it's a Reporting Services ... installation issue and you would like someone to confirm ... SQL Server services or reboot the machine during ...
    (microsoft.public.sqlserver.setup)
  • SQL Server 2000 Reporting Services and Visual Studio 2005 problem
    ... I have Visual Studio 2005 installed on my Windows XP machine, ... installed SQL Server 2000 and SQL Server 2000 Reporting Services. ... SQL Server 2000 Reporting Services installation, ...
    (microsoft.public.vsnet.general)
  • Re: Reporting Services DISABLES DEFAULT Transaction Isolation Level!!!
    ... installing RS specifically, while I see it without such install. ... Tibor Karaszi, SQL Server MVP ... > Server when run pre- and post- Reporting Services install. ... > It's like the Reporting Services team removed the read committed isolation ...
    (microsoft.public.sqlserver.server)

Loading