Bỏ qua để đến Nội dung
Tất cả diễn thuyết
  • Odoo Experience 2023
  • Buổi nói chuyện
  • Đơn vị triển lãm
  • Chương trình
  • Tất cả các Sự kiện
  • Odoo Experience 2023
  • Tất cả diễn thuyết
 
  • Odoo Experience 2023
  • Buổi nói chuyện
  • Đơn vị triển lãm
  • Chương trình


  • Diễn thuyết
  • Keynote - Vision & Strategy
    Fabien Pinckaers
    Hoàn tất
  • Opening Keynote - Unveiling Odoo 17
    Fabien Pinckaers
    Hoàn tất
  • OdooGPT: LLMs based on ChatGPT Trained specifically for Odoo Customers, Consultants, Developers and Partners
    Sohel Merchant
    Hoàn tất
  • Transforming Real Estate Management: The Palm City Residences Odoo Success Story
    Ghaith Sadok ammar
    Hoàn tất
  • How-to: From Netsuite to Odoo
    Marek Záda
    Hoàn tất
  • Implementing headless eCommerce with Odoo / Nuxt.js and Redis cache
    Diogo Duarte
    Hoàn tất
  • Revolutionising Real Estate Management with Odoo
    Van Baelen Geert
    Hoàn tất
  • Bay Alarm Rings the Sound of Success with a 36% Increase in ROI through Odoo
    Chintan Shah
    Hoàn tất
  • Data Migrator Tool
    Tony Masci
    Hoàn tất
  • Automatic classification of helpdesk tickets on the Odoo platform through Natural Language Processing techniques
    Serena Palazzo
    Hoàn tất
Đang tải video...
Database locks in Odoo
Developer Partner Community Odoo Enterprise
Vị trí: Hall 7.C - 11:00, 08/11/2023 - 11:30, 08/11/2023 (Europe/Brussels) (30 phút)
Database locks in Odoo
Fayolle Alexandre
Odoo Solution Architect tại Camptocamp France SAS
Fayolle Alexandre
Odoo Solution Architect tại Camptocamp France SAS

Alexandre has been working with Odoo at Camptocamp since 2012 and OpenERP 6.1. He is a long time Odoo community contributor, and he is passionate about sharing knowledge.


Odoo is using the Repeatable Read isolation level of PostgreSQL, and this has some implications on how the server behaves and how you should write the code of your custom addons to avoid costly retries or completely blocking interactive usage of the Odoo instance because a of a long running scheduled action.

This talk targets experienced Odoo developers. We will start by explaining the differences between the PostgreSQL transaction isolation level used by Odoo (Repeatable Read) and the default isolation level used by PostgreSQL (Read Committed). We will then see how concurrent access errors are reported and dealt with by Odoo server. Finally we will dig into the topic of correctly locking in custom modules, using both implicit locks and explicit locking, and how to properly wait for a lock to be released or check for the existence of a lock on some rows. We will also see some SQL tricks enabling to skip locked rows in a transaction.

Phiếu hỗ trợ
Từ US$ 0,00 đến US$ 1.140,48
Bảng giá: US: North America Bảng giá
US: North America

Odoo Experience on YouTube

1. Use the live chat to ask your questions.
2. The operator answers within a few minutes.

Live support on Youtube
Watch now