dbTalk Databases Forums  

Expert advice

microsoft.public.sqlserver.clients microsoft.public.sqlserver.clients


Discuss Expert advice in the microsoft.public.sqlserver.clients forum.



Reply
 
Thread Tools Display Modes
  #1  
Old   
Rogers
 
Posts: n/a

Default Expert advice - 03-25-2008 , 11:06 AM






I am looking for expert advice regarding the simultaneous access one of our
production database.

In my database I have insert, update and select stored procedure and we have
registration database like people access that database simultaneously like
1000 users in 1 minute. We have one module called insert/update users and
other module is search. I am thinking in search stored procedure if I used
NOLOCK locking hint, this will solve my problem of searching, can anyone give
me expert advice on it.

Thanks

Reply With Quote
  #2  
Old   
Andrew J. Kelly
 
Posts: n/a

Default Re: Expert advice - 03-25-2008 , 01:05 PM






You really haven't told us anything about what your problem you are trying
to solve is. If you are being blocked by the inserts and updates then a
NOLOCK will read the rows anyway but you will get dirty reads. A simple
insert and update should not block but for a few milliseconds at most so I
doubt that is the real problem. If the search select is constructed properly
and has appropriate indexes it should not be bothered that much by some
inserts or updates. But if any of these do not have proper indexes and you
have to scan tables that is another story.

--
Andrew J. Kelly SQL MVP
Solid Quality Mentors


"Rogers" <Rogers (AT) discussions (DOT) microsoft.com> wrote

Quote:
I am looking for expert advice regarding the simultaneous access one of our
production database.

In my database I have insert, update and select stored procedure and we
have
registration database like people access that database simultaneously like
1000 users in 1 minute. We have one module called insert/update users and
other module is search. I am thinking in search stored procedure if I used
NOLOCK locking hint, this will solve my problem of searching, can anyone
give
me expert advice on it.

Thanks


Reply With Quote
  #3  
Old   
Andrew J. Kelly
 
Posts: n/a

Default Re: Expert advice - 03-25-2008 , 01:05 PM



You really haven't told us anything about what your problem you are trying
to solve is. If you are being blocked by the inserts and updates then a
NOLOCK will read the rows anyway but you will get dirty reads. A simple
insert and update should not block but for a few milliseconds at most so I
doubt that is the real problem. If the search select is constructed properly
and has appropriate indexes it should not be bothered that much by some
inserts or updates. But if any of these do not have proper indexes and you
have to scan tables that is another story.

--
Andrew J. Kelly SQL MVP
Solid Quality Mentors


"Rogers" <Rogers (AT) discussions (DOT) microsoft.com> wrote

Quote:
I am looking for expert advice regarding the simultaneous access one of our
production database.

In my database I have insert, update and select stored procedure and we
have
registration database like people access that database simultaneously like
1000 users in 1 minute. We have one module called insert/update users and
other module is search. I am thinking in search stored procedure if I used
NOLOCK locking hint, this will solve my problem of searching, can anyone
give
me expert advice on it.

Thanks


Reply With Quote
  #4  
Old   
Andrew J. Kelly
 
Posts: n/a

Default Re: Expert advice - 03-25-2008 , 01:05 PM



You really haven't told us anything about what your problem you are trying
to solve is. If you are being blocked by the inserts and updates then a
NOLOCK will read the rows anyway but you will get dirty reads. A simple
insert and update should not block but for a few milliseconds at most so I
doubt that is the real problem. If the search select is constructed properly
and has appropriate indexes it should not be bothered that much by some
inserts or updates. But if any of these do not have proper indexes and you
have to scan tables that is another story.

--
Andrew J. Kelly SQL MVP
Solid Quality Mentors


"Rogers" <Rogers (AT) discussions (DOT) microsoft.com> wrote

Quote:
I am looking for expert advice regarding the simultaneous access one of our
production database.

In my database I have insert, update and select stored procedure and we
have
registration database like people access that database simultaneously like
1000 users in 1 minute. We have one module called insert/update users and
other module is search. I am thinking in search stored procedure if I used
NOLOCK locking hint, this will solve my problem of searching, can anyone
give
me expert advice on it.

Thanks


Reply With Quote
  #5  
Old   
Andrew J. Kelly
 
Posts: n/a

Default Re: Expert advice - 03-25-2008 , 01:05 PM



You really haven't told us anything about what your problem you are trying
to solve is. If you are being blocked by the inserts and updates then a
NOLOCK will read the rows anyway but you will get dirty reads. A simple
insert and update should not block but for a few milliseconds at most so I
doubt that is the real problem. If the search select is constructed properly
and has appropriate indexes it should not be bothered that much by some
inserts or updates. But if any of these do not have proper indexes and you
have to scan tables that is another story.

--
Andrew J. Kelly SQL MVP
Solid Quality Mentors


"Rogers" <Rogers (AT) discussions (DOT) microsoft.com> wrote

Quote:
I am looking for expert advice regarding the simultaneous access one of our
production database.

In my database I have insert, update and select stored procedure and we
have
registration database like people access that database simultaneously like
1000 users in 1 minute. We have one module called insert/update users and
other module is search. I am thinking in search stored procedure if I used
NOLOCK locking hint, this will solve my problem of searching, can anyone
give
me expert advice on it.

Thanks


Reply With Quote
  #6  
Old   
Andrew J. Kelly
 
Posts: n/a

Default Re: Expert advice - 03-25-2008 , 01:05 PM



You really haven't told us anything about what your problem you are trying
to solve is. If you are being blocked by the inserts and updates then a
NOLOCK will read the rows anyway but you will get dirty reads. A simple
insert and update should not block but for a few milliseconds at most so I
doubt that is the real problem. If the search select is constructed properly
and has appropriate indexes it should not be bothered that much by some
inserts or updates. But if any of these do not have proper indexes and you
have to scan tables that is another story.

--
Andrew J. Kelly SQL MVP
Solid Quality Mentors


"Rogers" <Rogers (AT) discussions (DOT) microsoft.com> wrote

Quote:
I am looking for expert advice regarding the simultaneous access one of our
production database.

In my database I have insert, update and select stored procedure and we
have
registration database like people access that database simultaneously like
1000 users in 1 minute. We have one module called insert/update users and
other module is search. I am thinking in search stored procedure if I used
NOLOCK locking hint, this will solve my problem of searching, can anyone
give
me expert advice on it.

Thanks


Reply With Quote
  #7  
Old   
Andrew J. Kelly
 
Posts: n/a

Default Re: Expert advice - 03-25-2008 , 01:05 PM



You really haven't told us anything about what your problem you are trying
to solve is. If you are being blocked by the inserts and updates then a
NOLOCK will read the rows anyway but you will get dirty reads. A simple
insert and update should not block but for a few milliseconds at most so I
doubt that is the real problem. If the search select is constructed properly
and has appropriate indexes it should not be bothered that much by some
inserts or updates. But if any of these do not have proper indexes and you
have to scan tables that is another story.

--
Andrew J. Kelly SQL MVP
Solid Quality Mentors


"Rogers" <Rogers (AT) discussions (DOT) microsoft.com> wrote

Quote:
I am looking for expert advice regarding the simultaneous access one of our
production database.

In my database I have insert, update and select stored procedure and we
have
registration database like people access that database simultaneously like
1000 users in 1 minute. We have one module called insert/update users and
other module is search. I am thinking in search stored procedure if I used
NOLOCK locking hint, this will solve my problem of searching, can anyone
give
me expert advice on it.

Thanks


Reply With Quote
  #8  
Old   
Andrew J. Kelly
 
Posts: n/a

Default Re: Expert advice - 03-25-2008 , 01:05 PM



You really haven't told us anything about what your problem you are trying
to solve is. If you are being blocked by the inserts and updates then a
NOLOCK will read the rows anyway but you will get dirty reads. A simple
insert and update should not block but for a few milliseconds at most so I
doubt that is the real problem. If the search select is constructed properly
and has appropriate indexes it should not be bothered that much by some
inserts or updates. But if any of these do not have proper indexes and you
have to scan tables that is another story.

--
Andrew J. Kelly SQL MVP
Solid Quality Mentors


"Rogers" <Rogers (AT) discussions (DOT) microsoft.com> wrote

Quote:
I am looking for expert advice regarding the simultaneous access one of our
production database.

In my database I have insert, update and select stored procedure and we
have
registration database like people access that database simultaneously like
1000 users in 1 minute. We have one module called insert/update users and
other module is search. I am thinking in search stored procedure if I used
NOLOCK locking hint, this will solve my problem of searching, can anyone
give
me expert advice on it.

Thanks


Reply With Quote
  #9  
Old   
Andrew J. Kelly
 
Posts: n/a

Default Re: Expert advice - 03-25-2008 , 01:05 PM



You really haven't told us anything about what your problem you are trying
to solve is. If you are being blocked by the inserts and updates then a
NOLOCK will read the rows anyway but you will get dirty reads. A simple
insert and update should not block but for a few milliseconds at most so I
doubt that is the real problem. If the search select is constructed properly
and has appropriate indexes it should not be bothered that much by some
inserts or updates. But if any of these do not have proper indexes and you
have to scan tables that is another story.

--
Andrew J. Kelly SQL MVP
Solid Quality Mentors


"Rogers" <Rogers (AT) discussions (DOT) microsoft.com> wrote

Quote:
I am looking for expert advice regarding the simultaneous access one of our
production database.

In my database I have insert, update and select stored procedure and we
have
registration database like people access that database simultaneously like
1000 users in 1 minute. We have one module called insert/update users and
other module is search. I am thinking in search stored procedure if I used
NOLOCK locking hint, this will solve my problem of searching, can anyone
give
me expert advice on it.

Thanks


Reply With Quote
  #10  
Old   
Andrew J. Kelly
 
Posts: n/a

Default Re: Expert advice - 03-25-2008 , 01:05 PM



You really haven't told us anything about what your problem you are trying
to solve is. If you are being blocked by the inserts and updates then a
NOLOCK will read the rows anyway but you will get dirty reads. A simple
insert and update should not block but for a few milliseconds at most so I
doubt that is the real problem. If the search select is constructed properly
and has appropriate indexes it should not be bothered that much by some
inserts or updates. But if any of these do not have proper indexes and you
have to scan tables that is another story.

--
Andrew J. Kelly SQL MVP
Solid Quality Mentors


"Rogers" <Rogers (AT) discussions (DOT) microsoft.com> wrote

Quote:
I am looking for expert advice regarding the simultaneous access one of our
production database.

In my database I have insert, update and select stored procedure and we
have
registration database like people access that database simultaneously like
1000 users in 1 minute. We have one module called insert/update users and
other module is search. I am thinking in search stored procedure if I used
NOLOCK locking hint, this will solve my problem of searching, can anyone
give
me expert advice on it.

Thanks


Reply With Quote
Reply




Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off



Powered by vBulletin Version 3.5.3
Copyright ©2000 - 2012, Jelsoft Enterprises Ltd.