Specified value | HiRDB processing | Advantages and application criteria |
---|---|---|
interval | Determines whether the lock has been released by checking the lock management area in the shared memory. HiRDB checks the lock management area at a regular interval; this interval is specified by the pd_lck_release_detect_interval operand. | Even if the process that has locked a resource releases the lock, the release will not be detected until the next time the lock management area is checked. Consequently, a UAP that has a fast processing time per transaction may end up waiting for a long time. However, this wait does not place any load on the CPU or open any file. If a small value is specified for the pd_lck_release_detect_interval operand, the CPU usage may increase too much, adversely affecting the throughput. Specifying interval has the effect of reducing the CPU load when a slow CPU is being used. |
pipe | Uses a semaphore to determine whether or not the lock has been released. The process that has locked a resource sends a lock release notice to the process that is waiting for release. When the process that has locked the resource releases it, the process that is waiting for the release can detect the release |
|