Se rendre au contenu
Odoo Menu
  • Se connecter
  • Essai gratuit
  • Applications
    Finance
    • Comptabilité
    • Facturation
    • Notes de frais
    • Feuilles de calcul (BI)
    • Documents
    • Signature
    Ventes
    • CRM
    • Ventes
    • PdV Boutique
    • PdV Restaurant
    • Abonnements
    • Location
    Sites web
    • Site Web
    • eCommerce
    • Blog
    • Forum
    • Live Chat
    • eLearning
    Chaîne d'approvisionnement
    • Inventaire
    • Fabrication
    • PLM
    • Achats
    • Maintenance
    • Qualité
    Ressources Humaines
    • Employés
    • Recrutement
    • Congés
    • Évaluations
    • Recommandations
    • Parc automobile
    Marketing
    • Marketing Social
    • E-mail Marketing
    • SMS Marketing
    • Événements
    • Marketing Automation
    • Sondages
    Services
    • Projet
    • Feuilles de temps
    • Services sur Site
    • Assistance
    • Planification
    • Rendez-vous
    Productivité
    • Discussion
    • Validations
    • Internet des Objets
    • VoIP
    • Connaissances
    • WhatsApp
    Applications tierces Odoo Studio Plateforme Cloud d'Odoo
  • Industries
    Commerce de détail
    • Librairie
    • Magasin de vêtements
    • Magasin de meubles
    • Épicerie
    • Quincaillerie
    • Magasin de jouets
    Food & Hospitality
    • Bar et Pub
    • Restaurant
    • Fast-food
    • Maison d’hôtes
    • Distributeur de boissons
    • Hôtel
    Immobilier
    • Agence immobilière
    • Cabinet d'architecture
    • Construction
    • Gestion immobilière
    • Jardinage
    • Association de copropriétaires
    Consultance
    • Cabinet d'expertise comptable
    • Partenaire Odoo
    • Agence Marketing
    • Cabinet d'avocats
    • Aquisition de talents
    • Audit & Certification
    Fabrication
    • Textile
    • Métal
    • Meubles
    • Alimentation
    • Brewery
    • Cadeaux d'entreprise
    Santé & Fitness
    • Club de sports
    • Opticien
    • Salle de fitness
    • Praticiens bien-être
    • Pharmacie
    • Salon de coiffure
    Trades
    • Bricoleur
    • Matériel informatique et support
    • Systèmes photovoltaïques
    • Cordonnier
    • Services de nettoyage
    • Services CVC
    Autres
    • Organisation à but non lucratif
    • Agence environnementale
    • Location de panneaux d'affichage
    • Photographie
    • Leasing de vélos
    • Revendeur de logiciel
    Browse all Industries
  • Communauté
    Apprenez
    • Tutoriels
    • Documentation
    • Certifications
    • Formation
    • Blog
    • Podcast
    Renforcer l'éducation
    • Programme éducatif
    • Business Game Scale-Up!
    • Rendez-nous visite
    Obtenir le logiciel
    • Téléchargement
    • Comparez les éditions
    • Versions
    Collaborer
    • Github
    • Forum
    • Événements
    • Traductions
    • Devenez partenaire
    • Services for Partners
    • Enregistrer votre cabinet comptable
    Nos Services
    • Trouver un partenaire
    • Trouver un comptable
    • Rencontrer un conseiller
    • Services de mise en œuvre
    • Références clients
    • Assistance
    • Mises à niveau
    Github Youtube Twitter Linkedin Instagram Facebook Spotify
    +1 (650) 691-3277
    Obtenir une démonstration
  • Tarification
  • Aide

Odoo is the world's easiest all-in-one management software.
It includes hundreds of business apps:

  • CRM
  • e-Commerce
  • Comptabilité
  • Inventaire
  • PoS
  • Projet
  • MRP
All apps
Vous devez être inscrit pour interagir avec la communauté.
Toutes les publications Personnes Badges
Étiquettes (Voir toutl)
odoo accounting v14 pos v15
À propos de ce forum
Vous devez être inscrit pour interagir avec la communauté.
Toutes les publications Personnes Badges
Étiquettes (Voir toutl)
odoo accounting v14 pos v15
À propos de ce forum
Aide

Is Odoo slow by nature? (what is your experience in optimizing and speed-up)

S'inscrire

Recevez une notification lorsqu'il y a de l'activité sur ce poste

Cette question a été signalée
performancespeedoptimizationslow12.0
4 Réponses
48435 Vues
Avatar
Magen

After reading about the speed improvements and other features in Odoo 12 I took the adventure and risk of migrating my database and custom modules from 10.0 CE to 12.0 CE. It was a painful and time consuming work but the disappointment at the end was worse than the excitement at first.

 Not only not faster but I would say even slower than V10. I am talking about responsiveness - the overall  feeling of working and performing usual tasks.

There are big delays in the responses of the server and it makes you feel you are walking while trying to drag a big lame monster behind you. So my second conquest started - Let's speed up Odoo

Reading and reading online articles on that topic...

I am running odoo in a container and have given these resources:

  • 4 CPU x 2 CORE = 8

  • 8GB Memory

  • SDD Drive

  • Postgresql 9.6

  • behind Nginx proxy

After many tryouts have ended up with these configs (actually changes in the config had hardly any impact):

Odoo config:

proxy_mode = True
limit_memory_soft = 1629145600
limit_memory_hard = 4677721600
limit_request = 8192
limit_time_cpu = 600
limit_time_real = 1200
limit_time_real_cron = -1
max_cron_threads = 1
workers = 8

Postgresql Config:

max_connections = 200
shared_buffers = 1600MB
effective_cache_size = 4GB
maintenance_work_mem = 600MB
checkpoint_completion_target = 0.7
wal_buffers = 16MB
default_statistics_target = 100
random_page_cost = 1.1
effective_io_concurrency = 200
work_mem = 64MB
min_wal_size = 1GB
max_wal_size = 2GB
max_worker_processes = 4

max_parallel_workers_per_gather = 2

What I tried:

  • Different values for the config parameters for odoo and postgresql

  • uninstalling unused apps

  • using pgBouncer to speed up requests to the database

  • applying changes from https://github.com/odoo/odoo/pull/30274 to speed up Shop (there was little improvement)

  • many more things that came to my mind...

I am running Odoo locally with max 5 users.

Now The website takes 4 seconds to load a page with products (no multiple variants). I found this about it: https://github.com/odoo/odoo/pull/30274

The backend:

displaying sale orders in list view (80 SO per page) takes about 4 secs as well. Further investigation shows  search_read takes 2600ms for that

Adding products to SO line is also not very responsive: the most consuming is sale.order.line/onchange taking 265ms followed by sale.order/onchange taking 156ms overall takes more than a second after you select your product until it is added to the SO line.

I have spent so many hours already on that. Is Odoo supposed to do better than that ? What is your experience?




0
Avatar
Ignorer
Avatar
Roland Lee
Meilleure réponse

As Ray Carnes has mentioned, you can scale up by adding more hardware.

You can also try the Heimdall Proxy (HTTP://www.heimdalldata.com/odoo) Pg-bouncer or Pg-Pool-II does not work for Odoo because queries are in transactions. The Heimdall Proxy was specifically designed for Odoo to handle transactions and data consistency. It can support connection pooling, query caching, automated Postgres failover, and Read/Write split with Strong Consistency. Query caching will give you the biggest performance/scale boost. We have seen cache hit rates up to 90% on Odoo.

1
Avatar
Ignorer
Avatar
Ray Carnes (ray)
Meilleure réponse

The best way to assess Odoo performance on any given hardware setup is with a default install (including a default Odoo and PostgreSQL configuration file) using the demo data. 

With a VM running under Windows 10 (3GB single CPU) it is noticeably faster to refresh than v10 and v11.  Displaying the first 80 Sales Orders takes just over a second.

v11 was roughly 3 times faster with a default install and configuration than v10.

Custom modules can hinder performance a great deal if not written properly.

Something that won't take more than 10 minutes, and will show you how Odoo can perform with a default install over the web, is to setup a trial at https://www.odoo.com/trial

1
Avatar
Ignorer
Magen
Auteur

you have a point. I am going to make some tests and see what happens

Avatar
Talmid
Meilleure réponse

I followed some similar tutorials to improve speed. Odoo Backend in general has a good speed, what is slow for me is the Website, even though it's a simple site with only a few elements. 

I am using now the developer tools and in the Network tab you can see exactly what makes it slow to load. So now I can see what is making it slow and where to improve the loading. (Most of the time is the size of the images)

0
Avatar
Ignorer
Avatar
Bit Level Code
Meilleure réponse

Refer to the document below, it will help you make odoo fast from every side:

https://bitlevelcode.com/odoo-postgresql-performance-tuning/

-2
Avatar
Ignorer
Vous appréciez la discussion ? Ne vous contentez pas de lire, rejoignez-nous !

Créez un compte dès aujourd'hui pour profiter de fonctionnalités exclusives et échanger avec notre formidable communauté !

S'inscrire
Publications associées Réponses Vues Activité
Very slow response in eCommerce V12
performance optimization slow v12
Avatar
Avatar
Avatar
Avatar
4
août 21
12253
Ubuntu 18.04.2 and Odoo12 very slow after setup
performance speed slow odoo12
Avatar
0
févr. 19
5309
odoo 10 slow performance
performance slow
Avatar
1
mars 20
6160
How Can Beneficial Odoo Speed Optimization to Website?
speed optimization odoo
Avatar
Avatar
1
juin 23
1087
Poor performance-LARGE "Waiting for server response"
performance server optimization
Avatar
1
févr. 25
5352
Communauté
  • Tutoriels
  • Documentation
  • Forum
Open Source
  • Téléchargement
  • Github
  • Runbot
  • Traductions
Services
  • Hébergement Odoo.sh
  • Assistance
  • Migration
  • Développements personnalisés
  • Éducation
  • Trouver un comptable
  • Trouver un partenaire
  • Devenez partenaire
À propos
  • Notre société
  • Actifs de la marque
  • Contactez-nous
  • Emplois
  • Événements
  • Podcast
  • Blog
  • Clients
  • Informations légales • Confidentialité
  • Sécurité.
الْعَرَبيّة Català 简体中文 繁體中文 (台灣) Čeština Dansk Nederlands English Suomi Français Deutsch हिंदी Bahasa Indonesia Italiano 日本語 한국어 (KR) Lietuvių kalba Język polski Português (BR) română русский язык Slovenský jazyk slovenščina Español (América Latina) Español ภาษาไทย Türkçe українська Tiếng Việt

Odoo est une suite d'applications open source couvrant tous les besoins de votre entreprise : CRM, eCommerce, Comptabilité, Inventaire, Point de Vente, Gestion de Projet, etc.

Le positionnement unique d'Odoo est d'être à la fois très facile à utiliser et totalement intégré.

Website made with

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