Re: NETWORKIO?!?!
From: Marty Westra (marty_at_electronicsi.com)
Date: 04/29/04
- Next message: Allen Browne: "Re: Date Range"
- Previous message: Randal: "Re: Between...And Operator"
- In reply to: Jason McClellan: "Re: NETWORKIO?!?!"
- Next in thread: Jason McClellan: "Re: NETWORKIO?!?!"
- Reply: Jason McClellan: "Re: NETWORKIO?!?!"
- Messages sorted by: [ date ] [ thread ]
Date: 29 Apr 2004 06:43:28 -0700
You're right...there are several people with the same problem, no
answers though.
I have found what's causing my problem, I just don't know how to fix
it.
I've got an Access 2000 database with a couple ODBC linked tables to
SQL server 2000 on a Windows 2000 server. In this database, I have a
form with 2 combo boxes that have the rowsources set to those ODBC
linked tables. That part all works fine.
Once I add a text box on the form with a control source that
references a column of those combo boxes (ie =[combo0].[column](1)),
that's when it takes a dump on me and as long as you are sitting on
that form, the connection to SQL Server hangs there with a NETWORKIO
state. Once you leave the form, everything works fine again. Your
database wouldn't happen to have textboxes with column references,
would it?
It's not a big deal until 2-3 people access that form at the same
time. Then SQL Server is totally unresponsive.
I'm not sure what I'm going to do about this. I've tried making the
combo boxes and queries read only. I've tried, unsuccessfully, to use
a stored procedure as the rowsource of my combobox...I've found out it
can't be done. I'm to the point where I think I need to code around
the problem. I just don't know HOW to get the same results as the
column reference that I have now. I better figure something out as I
use column references all over the place and as I move more of my
tables to SQL Server. I have a feeling this thing is going to bite me
again and again.
All I know is this issue has got me stumped, that's for sure.
Marty
"Jason McClellan" <jason_mcc@obsfucated.myrealbox.com> wrote in message news:<#AgQUO$KEHA.3292@TK2MSFTNGP11.phx.gbl>...
> Nothing, Marty! I have found numerous questions about this same issue
> scattered about the internet, but not a single one has any real answers, no
> ideas what the cause may be. Just "NETWORKIO means it's waiting for network
> I/O" no-really? hmm.
>
> This started after the server was upgraded to Windows 2003 server. SQL is
> unchanged, the application is unchanged.
>
> We currently are simply working around the problem, in our case, it only
> does it when somebody runs a query, and then does nothing. The networkio
> state is held until they perform some further action on the query results,
> such as editing a record or filtering the results. Then, it is cleared and
> things return to normal. So, people are just being careful to not run any
> queries until they need to do something. Fortunately, in our application
> this is but a minor annoyance.
>
> My next plan is to install SQL on another server which is still running
> Windows 2000 and move the database there and see if the problem goes away.
>
> Jason
>
> "Marty Westra" <marty@electronicsi.com> wrote in message
> news:fdf601a2.0404260633.679f40ba@posting.google.com...
> > I know that I'm having the same problem. Have you come up with any type
> of fix?
> >
> > "Jason McClellan" <jason_mcc@obsfucated.myrealbox.com> wrote in message
> news:<eOo6QeFHEHA.912@TK2MSFTNGP12.phx.gbl>...
> > > Nobody knows anything?
> > > :(
> > > "Jason McClellan" <jason_mcc@obsfucated.myrealbox.com> wrote in message
> > > news:OQZDGf$GEHA.548@TK2MSFTNGP09.phx.gbl...
> > > > PS
> > > >
> > > > I also tried creating a stored procedure, and creating a passthrough
> query
> > > > in access to display it. This exhibits the exact same behaviour.
> > > >
> > > > Thanks
> > > >
> > > > "Jason McClellan" <jason_mcc@obsfucated.myrealbox.com> wrote in
> message
> > > > news:%23HXbmd$GEHA.3776@tk2msftngp13.phx.gbl...
> > > > > Hello.. I have a database here which is used for purchasing/stock
> etc.
> It
> > > > > is an Access front end, a very simple MDE with a few queries that
> people
> > > > > run. Backend is SQL, access utilizes linked tables. The queries
> return
> all
> > > > > records by default.
> > > > >
> > > > > Recently, two events occurred; the server which SQL lives on was
> > > > > re-installed with Windows 2003 server (SQL is version 2000 standard)
> and
> the
> > > > > database exceeded 32,768 records.
> > > > >
> > > > > Previously, everything worked fine. But now, I am seeing alot of
> lock
> > > > > contention, PID's will have 'runnable' status, with command
> 'SELECT',
> Wait
> > > > > Type 'NETWORKIO' and an ever-increasing Wait Time. This occurs only
> in
> a
> > > > > certain condition; if a query is run, this lock is exhibited. The
> lock
> is
> > > > > released as soon as they do something with the query, filter, edit
> > > > > something, or even just go to the last record (with the > button).
> But
> > > > > until something is done with it, this lock is held on the entire
> table,
> and
> > > > > nobody else can edit/add etc anything. This occurs even if the
> person
> > > > > running the query has read-only access.
> > > > >
> > > > > My only/best guess is that for whatever reason, there is some kind
> of
> pause,
> > > > > or timeout, or something occuring when access gets to the 32k
> records
> point,
> > > > > and this puts a kaibosh on the query until the user forces it to do
> > > > > something. I can't be 100% sure, but there was a time after the
> server
> was
> > > > > reinstalled during which it did not do this, so I am more inclined
> to
> lean
> > > > > towards the 32k theory, but I can't find any info on any possible
> causes..
> > > > > in fact I can find extremely little info even on the NETWORKIO wait
> type.
> > > > >
> > > > > I would appreciate any help/ideas/info anyone might have.
> > > > > Thanks
> > > > > Jason
> > > > >
> > > > >
> > > >
> > > >
- Next message: Allen Browne: "Re: Date Range"
- Previous message: Randal: "Re: Between...And Operator"
- In reply to: Jason McClellan: "Re: NETWORKIO?!?!"
- Next in thread: Jason McClellan: "Re: NETWORKIO?!?!"
- Reply: Jason McClellan: "Re: NETWORKIO?!?!"
- Messages sorted by: [ date ] [ thread ]