Showing posts with label RAC. Show all posts
Showing posts with label RAC. Show all posts

Friday, July 24, 2015

Identity generation in Hibernate (3of3)

Hibernate may be configured to assign unique identifiers to newly created entities. This feature is easy to use and does not need any tuning in single threaded, and single node environment. On the other hand, providing efficient configuration in distributed system requires careful analysis, design, and some of development effort. This note is Hibernate extension of documents "Maximize insert throughput in Oracle RAC system", and "Identity generation in load balanced WebLogic/RAC environment".

Identity generation in load balanced WebLogic/RAC environment (2of3)

This note specifies technical aspects of identity generation adjusted to multi node environment utilizing load balanced channels to Oracle RAC database. It's detailed extension of document "Maximize insert throughput in Oracle RAC system".

Maximize insert throughput in Oracle RAC system (1of3)

Many systems use surrogate primary keys generated by a sequence generator. It's simple, easy, and guarantees unique values. Unfortunately in a multithreaded environment it leads to issues with concurrent memory structures updates. The problem is additionally magnified in distributed environment with cache coherency. This analysis presents the problem and aims to find solutions.