vdimenna
Mon Jun 25 13:31:34 CDT 2007
On Jun 25, 12:25 am, "swdev2" <wsand...@dotnetconversions.bob.com>
wrote:
> Take a look here -
http://support.microsoft.com/kb/198606/en-us?spid=7992&sid=200
>
> And review the sql server settings - I'm betting there's a sql server
> setting that needs to be tweaked a bit.
>
> Lemme know how it turns out.
>
> Regards [Bill]
>
> --
> ===================
> William Sanders / EFG VFP / mySql / MS-SQLwww.efgroup.net/vfpwebhostingwww.terrafox.net www.viasqlserver.net
>
> <vdime...@gmail.com> wrote in message
>
> news:1182541234.402553.8940@m37g2000prh.googlegroups.com...
>
>
>
> > On Jun 22, 2:56 pm, "swdev2" <wsand...@dotnetconversions.bob.com>
> > wrote:
> > > In addition to what Dan Said -
>
> > > Rework your views so they only use ONE connection, a SHARED connection,
> per
> > > NAMED connection in your DBC.
>
> > > If each view gets its own connection, and you have 30 views load in a
> form
> > > all at the same time,
> > > then you have 30 connections back to the SQL Backend.
>
> > > Also - do you need all of the views to load simultaneously?
> > > Way back in '99, I helped formulate a technique using the 'noload'
> option on
> > > parameterized remote views,
> > > and the traffic stabilized even over a 64K ATM pipe back to the sql db.
>
> > > FWIW - 30 users is not heavy.
> > > 400+ users is heavy.
>
> > > Mondo Regards [Bill]
> > > --
> > > ===================
> > > William Sanders / EFG VFP / mySql /
>
> MS-SQLwww.efgroup.net/vfpwebhostingwww.terrafox.netwww.viasqlserver.net
>
>
>
>
>
> > > <vdime...@gmail.com> wrote in message
>
> > >news:1182526027.175169.295100@g4g2000hsf.googlegroups.com...
>
> > > > I have a FoxPro 9 Application which primarily uses FoxPro views with a
> > > > SqlServer 2000 back end. During heavy loads (30 concurrent users).
> > > > I've randomly seen cases where blocking occurs on the database. At
> > > > times it will bring the application to a halt.
> > > > Have I reached a scaling point with views and should start looking
> > > > into converting to SPT?
>
> > > > Thanks in Advance
> > > > Vic- Hide quoted text -
>
> > > - Show quoted text -
>
> > We're using a shared connection in the the dbc as well as 'noload'
> > where applicable.
> > The one thing I find odd is when I do see blocking in the sql database
> > the transcount is 1 indicating the statement is in a transaction. I
> > know we're not setting transactions any where and originally thought
> > it was a result of the view doing something behind the scene.
>
> > When creating a view is it possible to use the SQL Server nolock
> > hint?- Hide quoted text -
>
> - Show quoted text -- Hide quoted text -
>
> - Show quoted text -
We can have anywhere between 50-100 views (most are updateable) open
per session at any given time.
I couldn't find any particular SQL server setting to be a fit for my
condition. The ansi null option under ODBC config is something I will
look into.