Passa al contenuto
Odoo Menu
  • Accedi
  • Provalo gratis
  • App
    Finanze
    • Contabilità
    • Fatturazione
    • Note spese
    • Fogli di calcolo (BI)
    • Documenti
    • Firma
    Vendite
    • CRM
    • Vendite
    • Punto vendita Negozio
    • Punto vendita Ristorante
    • Abbonamenti
    • Noleggi
    Siti web
    • Configuratore sito web
    • E-commerce
    • Blog
    • Forum
    • Live chat
    • E-learning
    Supply chain
    • Magazzino
    • Produzione
    • PLM
    • Acquisti
    • Manutenzione
    • Qualità
    Risorse umane
    • Dipendenti
    • Assunzioni
    • Ferie
    • Valutazioni
    • Referral dipendenti
    • Parco veicoli
    Marketing
    • Social marketing
    • E-mail marketing
    • SMS marketing
    • Eventi
    • Marketing automation
    • Sondaggi
    Servizi
    • Progetti
    • Fogli ore
    • Assistenza sul campo
    • Helpdesk
    • Pianificazione
    • Appuntamenti
    Produttività
    • Comunicazioni
    • Approvazioni
    • IoT
    • VoIP
    • Knowledge
    • WhatsApp
    App di terze parti Odoo Studio Piattaforma cloud Odoo
  • Settori
    Retail
    • Libreria
    • Negozio di abbigliamento
    • Negozio di arredamento
    • Alimentari
    • Ferramenta
    • Negozio di giocattoli
    Cibo e ospitalità
    • Bar e pub
    • Ristorante
    • Fast food
    • Pensione
    • Grossista di bevande
    • Hotel
    Agenzia immobiliare
    • Agenzia immobiliare
    • Studio di architettura
    • Edilizia
    • Gestione immobiliare
    • Impresa di giardinaggio
    • Associazione di proprietari immobiliari
    Consulenza
    • Società di contabilità
    • Partner Odoo
    • Agenzia di marketing
    • Studio legale
    • Selezione del personale
    • Audit e certificazione
    Produzione
    • Tessile
    • Metallo
    • Arredamenti
    • Alimentare
    • Birrificio
    • Ditta di regalistica aziendale
    Benessere e sport
    • Club sportivo
    • Negozio di ottica
    • Centro fitness
    • Centro benessere
    • Farmacia
    • Parrucchiere
    Commercio
    • Tuttofare
    • Hardware e assistenza IT
    • Ditta di installazione di pannelli solari
    • Calzolaio
    • Servizi di pulizia
    • Servizi di climatizzazione
    Altro
    • Organizzazione non profit
    • Ente per la tutela ambientale
    • Agenzia di cartellonistica pubblicitaria
    • Studio fotografico
    • Punto noleggio di biciclette
    • Rivenditore di software
    Carica tutti i settori
  • Community
    Apprendimento
    • Tutorial
    • Documentazione
    • Certificazioni 
    • Formazione
    • Blog
    • Podcast
    Potenzia la tua formazione
    • Programma educativo
    • Scale Up! Business Game
    • Visita Odoo
    Ottieni il software
    • Scarica
    • Versioni a confronto
    • Note di versione
    Collabora
    • Github
    • Forum
    • Eventi
    • Traduzioni
    • Diventa nostro partner
    • Servizi per partner
    • Registra la tua società di contabilità
    Ottieni servizi
    • Trova un partner
    • Trova un contabile
    • Incontra un esperto
    • Servizi di implementazione
    • Testimonianze dei clienti
    • Supporto
    • Aggiornamenti
    GitHub Youtube Twitter Linkedin Instagram Facebook Spotify
    +1 (650) 691-3277
    Richiedi una demo
  • Prezzi
  • Aiuto

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

  • CRM
  • e-Commerce
  • Contabilità
  • Magazzino
  • PoS
  • Progetti
  • MRP
All apps
È necessario essere registrati per interagire con la community.
Tutti gli articoli Persone Badge
Etichette (Mostra tutto)
odoo accounting v14 pos v15
Sul forum
È necessario essere registrati per interagire con la community.
Tutti gli articoli Persone Badge
Etichette (Mostra tutto)
odoo accounting v14 pos v15
Sul forum
Assistenza

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

Iscriviti

Ricevi una notifica quando c'è un'attività per questo post

La domanda è stata contrassegnata
performancespeedoptimizationslow12.0
4 Risposte
48215 Visualizzazioni
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
Abbandona
Avatar
Roland Lee
Risposta migliore

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
Abbandona
Avatar
Ray Carnes (ray)
Risposta migliore

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
Abbandona
Magen
Autore

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

Avatar
Talmid
Risposta migliore

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
Abbandona
Avatar
Bit Level Code
Risposta migliore

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

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

-2
Avatar
Abbandona
Ti stai godendo la conversazione? Non leggere soltanto, partecipa anche tu!

Crea un account oggi per scoprire funzionalità esclusive ed entrare a far parte della nostra fantastica community!

Registrati
Post correlati Risposte Visualizzazioni Attività
Very slow response in eCommerce V12
performance optimization slow v12
Avatar
Avatar
Avatar
Avatar
4
ago 21
12170
Ubuntu 18.04.2 and Odoo12 very slow after setup
performance speed slow odoo12
Avatar
0
feb 19
5269
odoo 10 slow performance
performance slow
Avatar
1
mar 20
6075
How Can Beneficial Odoo Speed Optimization to Website?
speed optimization odoo
Avatar
Avatar
1
giu 23
1087
Poor performance-LARGE "Waiting for server response"
performance server optimization
Avatar
1
feb 25
5272
Community
  • Tutorial
  • Documentazione
  • Forum
Open source
  • Scarica
  • Github
  • Runbot
  • Traduzioni
Servizi
  • Hosting Odoo.sh
  • Supporto
  • Aggiornamenti
  • Sviluppi personalizzati
  • Formazione
  • Trova un contabile
  • Trova un partner
  • Diventa nostro partner
Chi siamo
  • La nostra azienda
  • Branding
  • Contattaci
  • Lavora con noi
  • Eventi
  • Podcast
  • Blog
  • Clienti
  • Note legali • Privacy
  • Sicurezza
الْعَرَبيّة 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 è un gestionale di applicazioni aziendali open source pensato per coprire tutte le esigenze della tua azienda: CRM, Vendite, E-commerce, Magazzino, Produzione, Fatturazione elettronica, Project Management e molto altro.

Il punto di forza di Odoo è quello di offrire un ecosistema unico di app facili da usare, intuitive e completamente integrate tra loro.

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