[Building Sakai] Experience with Oracle RAC
Steve Swinsburg
steve.swinsburg at gmail.com
Sat Oct 10 06:29:28 PDT 2009
Hi,
It would be fantastic if you could write up some docs on how RAC in
Sakai can work well. Confluence would be the space for it: http://confluence.sakaiproject.org
I personally know of at least one install having issue with Oracle
RAC, but seems there are more (as per this threa/) so a good guide
here would be great.
cheers,
Steve
On 11/10/2009, at 12:17 AM, Job Miller wrote:
> your comments below are a misinterpretation of how RAC works.
>
> RAC doesn't manage "segmentation". RAC doesn't split data/indexes
> up, RAC doesn't change the DB structure at all. It just allows
> multiple instances to access the data at the same time. The linear
> scalability of RAC is very well proven (assuming the application
> scales on an SMP box) and is in use by many large and small
> Universities for their ERP applications.
>
> I didn't read through all of your confluence postings, but if you
> want some help understanding how RAC works and how RAC for sakai can
> work, let me know. If you already own RAC from a licensing
> perspective and are interested in using it for Sakai you should
> spend the time to understand how it works and troubleshoot the
> outcome you experienced with someone that understands oracle
> diagnostics.
>
> If the App can't handle concurrency, because it serializes access on
> a single row and makes everyone wait for one person to update a
> single row before anyone else can do something, that will cause even
> more problems for RAC because instead of just lining up and waiting,
> now oracle is lining up and waiting and passing a block around
> between nodes.
>
> Small mostly read lookup tables aren't a problem for RAC. Small
> single tables (or more specifically blocks/rows within a table) that
> are updated concurrently by many different users thousands of times
> a minute can cause problems. But that problem exists for SMP as
> well as for RAC.
>
> In regards to segment space management, RAC environments and really
> all db environments should use ASSM (auto segment space
> management). It was introduced in 9i and it became the DEFAULT in
> 10gR2.
>
> In this release (10gR2), Automatic Segment Space Management (ASSM)
> is enabled by default. The tablespace attribute, Segment Space
> Management, now has the default value of AUTO.
>
> All new tablespaces created using default attributes benefit from
> the manageability and performance advantages of ASSM over Freelist-
> based space management.
>
> This has nothing to do with RAC though.
>
> Also, changing CBO related init.ora parameters such as
> optimizer_index_cost_adj is also a very bad idea unless you really
> know why you are changing them.
>
> Changing an init.ora parameter like that will change every
> calculation the Cost Based Optimizer does when determining which of
> the thousands of access paths it should take to ensure the fastest
> response time. By shifting those parameters you are telling Oracle
> that an index lookup is either very efficient or not so efficient.
> You really shouldn't change those defaults. Index use doesn't
> mean fast.
>
>
> --- On Wed, 10/7/09, Jon Gorrono <jpgorrono at ucdavis.edu> wrote:
>
>> From: Jon Gorrono <jpgorrono at ucdavis.edu>
>> Subject: Re: [Building Sakai] Experience with Oracle RAC
>> To: mame-awa.diop at hec.ca
>> Cc: "sakai-dev" <sakai-dev at collab.sakaiproject.org>
>> Date: Wednesday, October 7, 2009, 7:30 PM
>> Did you say Oracle RAC? Slowly I
>> turned... step by step....
>> (http://www.youtube.com/watch?v=9pQii1L8fGk)
>>
>> We have some cool headed doc's about our experiences with
>> rac in out
>> confluence, which I can dig out if you would like the
>> details.
>>
>> In contrast I can give you a sense of our experience with
>> RAC: it was
>> not good. There were to issues that bubbled to the top of
>> the heap and
>> lingered long enough for us to decide to give ip on the
>> RAC
>>
>> 1). a) the RAC insists on managing segment fragmentation
>> and b) it sux at it
>> - we would setup our tables views and mviews and a bunch
>> of nicely
>> performing indexes and the RAC would split up the table and
>> index
>> segments until the performance tanked. And we coul dnot
>> turn it off
>> even though it appeared that we had declaratively
>> 2) There was a lot of speculation that the number of small
>> tables used
>> in sakai for simple low data lookups would harm performance
>> in a RAC
>> environment due to the added overhead for synch'ing those
>> tables over
>> the RAC private network... but we never tested this: #1
>> killed the
>> project.
>>
>> On Tue, Oct 6, 2009 at 11:12 AM, Mame-Awa Diop <mame-awa.diop at hec.ca>
>> wrote:
>>> Hello everybody,
>>>
>>> I was wondering if you guys using Oracle as a database
>> for Sakai and using a
>>> clustering tool like Oracle RAC has had any special
>> behavior with the
>>> clustering tool ? Is there something worth monitoring
>> with the clustering
>>> tool ?
>>> If you use another clustering tool, your input would
>> be appreciated also.
>>>
>>>
>>> Cheers,
>>>
>>> --
>>>
>>> Mame Awa Diop
>>> Analyste programmeur
>>> Service de gestion des technologies et de
>> l'information
>>> HEC Montréal
>>> 3000, chemin de la côte-Sainte-Catherine
>>> Montréal (Québec) H3T 2A7
>>>
>>> GTI: 514.340.6000 #2029 - Bureau 3.755
>>> Projet OpenSyllabus: 514.340.6776 - Bureau 4.521
>>> 5255, avenue Decelles
>>> Montréal (Québec) Canada
>>> H3T 2B
>>>
>>> Télécopieur: (514)340-5637
>>>
>>> _______________________________________________
>>> sakai-dev mailing list
>>> sakai-dev at collab.sakaiproject.org
>>> http://collab.sakaiproject.org/mailman/listinfo/sakai-dev
>>>
>>> TO UNSUBSCRIBE: send email to sakai-dev-unsubscribe at collab.sakaiproject.org
>>> with a subject of "unsubscribe"
>>>
>>
>>
>>
>> --
>> Jon Gorrono
>> PGP Key: 0x5434509D -
>> http{pgp.mit.edu:11371/pks/lookup?search=0x5434509D&op=index}
>> Thawte Notary -
>> https{www.thawte.com/cgi/personal/wot/directory.exe?node=312}
>> GSWoT Introducer - {GSWoT:US75 5434509D Jon P. Gorrono
>> <jpgorrono - gswot.org>}
>> http{ats.ucdavis.edu}
>>
>> Sent from Davis, CA, United States
>> _______________________________________________
>> sakai-dev mailing list
>> sakai-dev at collab.sakaiproject.org
>> http://collab.sakaiproject.org/mailman/listinfo/sakai-dev
>>
>> TO UNSUBSCRIBE: send email to sakai-dev-unsubscribe at collab.sakaiproject.org
>> with a subject of "unsubscribe"
>>
>
>
>
> _______________________________________________
> sakai-dev mailing list
> sakai-dev at collab.sakaiproject.org
> http://collab.sakaiproject.org/mailman/listinfo/sakai-dev
>
> TO UNSUBSCRIBE: send email to sakai-dev-unsubscribe at collab.sakaiproject.org
> with a subject of "unsubscribe"
More information about the sakai-dev
mailing list