Reader small image

You're reading from  Managing Data Integrity for Finance

Product typeBook
Published inJan 2024
PublisherPackt
ISBN-139781837630141
Edition1st Edition
Right arrow
Author (1)
Jane Sarah Lat
Jane Sarah Lat
author image
Jane Sarah Lat

Jane Sarah Lat is a finance consultant with over 14 years of experience in financial management and analysis for multiple blue-chip multinational organizations. In addition to being a Certified Management Accountant (CMA U.S.) and having a Graduate Diploma in Chartered Accounting (GradDipCA), she also holds various technical certifications, including Microsoft Certified Data Analyst Associate and Advanced Proficiency in KNIME Analytics Platform. Over the past few years, she has been sharing her experience and expertise at international conferences to discuss practical strategies on finance, data analysis, and management accounting. She is also president of the Institute of Management Accountants (IMA) Australia and New Zealand chapter.
Read more about Jane Sarah Lat

Right arrow

Best practices when using database locks

When working with database locks, it is important to follow best practices to ensure smooth and efficient operations. Here are some best practices to keep in mind:

  • Use locks when they are needed: Applying locks can affect performance, so only do it when it’s absolutely required. Reduce the time that locks are in place. Locks should be applied as late as possible, and then released as soon as they are no longer required.
  • Use appropriate lock granularity: Instead of locking entire tables or large sections, lock the specific rows or objects that need protection. This limits the scope of the lock and improves concurrency.
  • Understand transaction isolation levels: The acquisition and release of locks are affected by various isolation levels. Learn about the many isolation levels that are available and select the best one for your application’s concurrency and consistency requirements.
  • Avoid deadlocks: The use of explicit...
lock icon
The rest of the page is locked
Previous PageNext Page
You have been reading a chapter from
Managing Data Integrity for Finance
Published in: Jan 2024Publisher: PacktISBN-13: 9781837630141

Author (1)

author image
Jane Sarah Lat

Jane Sarah Lat is a finance consultant with over 14 years of experience in financial management and analysis for multiple blue-chip multinational organizations. In addition to being a Certified Management Accountant (CMA U.S.) and having a Graduate Diploma in Chartered Accounting (GradDipCA), she also holds various technical certifications, including Microsoft Certified Data Analyst Associate and Advanced Proficiency in KNIME Analytics Platform. Over the past few years, she has been sharing her experience and expertise at international conferences to discuss practical strategies on finance, data analysis, and management accounting. She is also president of the Institute of Management Accountants (IMA) Australia and New Zealand chapter.
Read more about Jane Sarah Lat