freetds AT lists.ibiblio.org
Subject: FreeTDS Development Group
List archive
- From: Norman Palardy <norm AT kirais.com>
- To: TDS Development Group <freetds AT franklin.oit.unc.edu>
- Subject: Re: SQL Server Emulation
- Date: Wed, 20 Jun 2001 08:50:05 -0600
> I'll respectfully disagree that using stored procs is a bad idea.
>
> (yes it hurts portability, but it allows for better performance, for
> data hiding, and for single location query tuning).
I agree with the data hiding and location query tuning, but not the
performance item.
We have very large very active tables (something like 20 million rows in one
of them) and stored procs are not great in this situation because of how
they cache query plans. This is on Sybase 11.9.x and Sybase 12.x
The only way to get around this is to create the proc with recompile option,
which effectively makes it run about the same as an embedded SQL query.
There ARE situations where procs can be enormous performance boosts, but
they tend to be on tables where the data distribution is not changing much.
The single biggest boost we've seen on these tables has come from
re-examining the indexes used by queries and recreating them so the indexes
are used more frequently by more queries.
-
Re: SQL Server Emulation
, (continued)
- Re: SQL Server Emulation, Brian Bruns, 06/19/2001
- Re: SQL Server Emulation, Antonio Ognio, 06/20/2001
- Re: SQL Server Emulation, Antonio Ognio, 06/20/2001
- Re: SQL Server Emulation, Geoff Winkless, 06/20/2001
- Re: SQL Server Emulation, Brian Bruns, 06/20/2001
- Re: SQL Server Emulation, Michael Peppler, 06/20/2001
- Re: SQL Server Emulation, Geoff Winkless, 06/20/2001
- Re: SQL Server Emulation, Rui Ribeiro, 06/20/2001
- Re: SQL Server Emulation, Geoff Winkless, 06/20/2001
- Re: SQL Server Emulation, Michael Peppler, 06/20/2001
- Re: SQL Server Emulation, Norman Palardy, 06/20/2001
- Re: SQL Server Emulation, Norman Palardy, 06/20/2001
- Re: SQL Server Emulation, Lowden, James K, 06/20/2001
- Re: SQL Server Emulation, Lowden, James K, 06/20/2001
- Re: SQL Server Emulation, Steve Langasek, 06/20/2001
- Re: SQL Server Emulation, Norman Palardy, 06/20/2001
- Re: SQL Server Emulation, Geoff Winkless, 06/20/2001
- Re: SQL Server Emulation, James Cameron, 06/20/2001
- Re: SQL Server Emulation, James K. Lowden, 06/20/2001
- Re: SQL Server Emulation, Mark H. Wood, 06/21/2001
- Re: SQL Server Emulation, Brian Bruns, 06/26/2001
Archive powered by MHonArc 2.6.24.