Unix Technical Forum

Internal locks

This is a discussion on Internal locks within the Oracle Database forums, part of the Database Server Software category; --> Hi all, I am running a forum DB, and most of my users ask for the most recent page ...


Go Back   Unix Technical Forum > Database Server Software > Oracle Database

FAQ Members List Calendar Search Today's Posts Mark Forums Read
  #1 (permalink)  
Old 02-23-2008, 06:58 AM
Ofer
 
Posts: n/a
Default Internal locks

Hi all,

I am running a forum DB, and most of my users ask for the most recent page
or message.
Since everybody turn to the same block, I have many internal locks on that
block...

I increased the number of latches, and it helped for a while, but as the
volume of the users goes up, my DB suffers from that problem again.
As far as I understand, the problem is that most of the viewed data is at
the same block, and get locked while retrieved...

Is there a way to store the data in different random blocks, or any other
solution for that problem?

Thanks,
Ofer


Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #2 (permalink)  
Old 02-23-2008, 06:58 AM
Mark D Powell
 
Posts: n/a
Default Re: Internal locks

"Ofer" <oferr@realcommerce.co.il> wrote in message news:<c0q6at$2om$1@news2.netvision.net.il>...
> Hi all,
>
> I am running a forum DB, and most of my users ask for the most recent page
> or message.
> Since everybody turn to the same block, I have many internal locks on that
> block...
>
> I increased the number of latches, and it helped for a while, but as the
> volume of the users goes up, my DB suffers from that problem again.
> As far as I understand, the problem is that most of the viewed data is at
> the same block, and get locked while retrieved...
>
> Is there a way to store the data in different random blocks, or any other
> solution for that problem?
>
> Thanks,
> Ofer


Ofer, by default Oracle does not lock data when it is read. Also a
latching problem and a locking problem are not one and the same in
Oracle, which problem do you have?

Is is select for update in use? You need to explain the processing
and your analysis of the locks and latches to get decent responses on
what your problem might be.

HTH -- Mark D Powell --
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #3 (permalink)  
Old 02-23-2008, 06:58 AM
Ron
 
Posts: n/a
Default Re: Internal locks


Hello Ofer,

if you can generate and post for the group review statspack report from
the time period when database is experiencing bad performance it would be
great.

Regards,

Ron
DBA Infopower
http://www.dbainfopower.com
Standard disclaimer:
http://www.dbainfopower.com/dbaip_ad...isclaimer.html



"Ofer" <oferr@realcommerce.co.il> wrote in message
news:c0q6at$2om$1@news2.netvision.net.il...
> Hi all,
>
> I am running a forum DB, and most of my users ask for the most recent page
> or message.
> Since everybody turn to the same block, I have many internal locks on that
> block...
>
> I increased the number of latches, and it helped for a while, but as the
> volume of the users goes up, my DB suffers from that problem again.
> As far as I understand, the problem is that most of the viewed data is at
> the same block, and get locked while retrieved...
>
> Is there a way to store the data in different random blocks, or any other
> solution for that problem?
>
> Thanks,
> Ofer
>
>



Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
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
Trackbacks are On
Pingbacks are On
Refbacks are On
Forum Jump


All times are GMT. The time now is 11:20 PM.


Powered by vBulletin® Version 3.6.5
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
SEO by vBSEO 3.2.0
www.UnixAdminTalk.com