Přejít na obsah
Odoo Menu
  • Přihlásit se
  • Vyzkoušejte zdarma
  • Aplikace
    Finance
    • Účetnictví
    • Fakturace
    • Výdaje
    • Spreadsheet (BI)
    • Dokumenty
    • Podpisy
    Prodej
    • CRM
    • Prodej
    • POS Obchod
    • POS Restaurace
    • Předplatné
    • Pronájem
    Webové stránky
    • Webové stránky
    • E-shop
    • Blog
    • Fórum
    • Živý chat
    • eLearning
    Dodavatelský řetězec
    • Sklad
    • Výroba
    • PLM
    • Nákup
    • Údržba
    • Kvalita
    Lidské zdroje
    • Zaměstnanci
    • Nábor
    • Volno
    • Hodnocení zaměstnanců
    • Doporučení
    • Vozový park
    Marketing
    • Marketing sociálních sítí
    • Emailový marketing
    • SMS Marketing
    • Události
    • Marketingová automatizace
    • Dotazníky
    Služby
    • Projekt
    • Časové výkazy
    • Práce v terénu
    • Helpdesk
    • Plánování
    • Schůzky
    Produktivita
    • Diskuze
    • Schvalování
    • IoT
    • VoIP
    • Znalosti
    • WhatsApp
    Aplikace třetích stran Odoo Studio Odoo cloudová platforma
  • Branže
    Maloobchod
    • Knihkupectví
    • Obchod s oblečením
    • Obchod s nábytkem
    • Potraviny
    • Obchod s hardwarem
    • Hračkářství
    Jídlo a pohostinství
    • Bar a Pub
    • Restaurace
    • Fast Food
    • Penzion
    • Distributor nápojů
    • Hotel
    Nemovitost
    • Realitní kancelář
    • Architektonická firma
    • Stavba
    • Správa nemovitostí
    • Zahradnictví
    • Asociace vlastníků nemovitosti
    Poradenství
    • Účetní firma
    • Odoo Partner
    • Marketingová agentura
    • Právník
    • Akvizice talentů
    • Audit a certifikace
    Výroba
    • Textile
    • Kov
    • Nábytek
    • Jídlo
    • Brewery
    • Korporátní dárky
    Zdraví a fitness
    • Sportovní klub
    • Prodejna brýli
    • Fitness Centrum
    • Wellness praktikové
    • Lékárna
    • Kadeřnictví
    Transakce
    • Údržbář
    • IT hardware a podpora
    • Systémy solární energie
    • Výrobce obuvi
    • Úklidové služby
    • Služby HVAC
    Ostatní
    • Nezisková organizace
    • Agentura pro životní prostředí
    • Pronájem billboardů
    • Fotografování
    • Leasing jízdních kol
    • Prodejce softwaru
    Browse all Industries
  • Komunita
    Edukační program
    • Tutoriály
    • Dokumentace
    • Certifikace
    • Vzdělávání
    • Blog
    • Podcast
    Podpora vzdělávání
    • Vzdělávací program
    • Scale Up! Hra na firmu
    • Navštivte Odoo
    Získat software
    • Stáhnout
    • Porovnejte edice
    • Verze
    Spolupráce
    • Github
    • Fórum
    • Události
    • Překlady
    • Stát se partnerem
    • Services for Partners
    • Registrujte svou účetní firmu
    Získat služby
    • Najít partnera
    • Najít účetní
    • Setkejte se s poradcem
    • Implementační služby
    • Zákaznické reference
    • Podpora
    • Upgrady
    Github Youtube Twitter Linkedin Instagram Facebook Spotify
    +1 (650) 691-3277
    Dohodnout demo
  • Ceník
  • Pomoc

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

  • CRM
  • e-Commerce
  • Účetnictví
  • Sklad
  • PoS
  • Projekty
  • MRP
All apps
You need to be registered to interact with the community.
All Posts Lidé Odznaky
Štítky (View all)
odoo accounting v14 pos v15
O tomto fóru
You need to be registered to interact with the community.
All Posts Lidé Odznaky
Štítky (View all)
odoo accounting v14 pos v15
O tomto fóru
Pomoc

How to access Postgres db Odoo.sh

Odebírat

Get notified when there's activity on this post

This question has been flagged
pgadminremoteodoo.sh
5 Odpovědi
42382 Zobrazení
Avatar
Alexis O. Hinestroza S.

How can I access postgres db remotely on odoo.sh?

THX

6
Avatar
Zrušit
Jan Beckhoff

I was looking at this in the context of connecting a Business Intelligence tool to the database hosted on odoo.sh. Unfortunately, it is not possible to connect directly to PostgreSQL (according to odoo support).

In my case the only option would be to build a connector.

Emilio San Jose

Hi everyone,

It'd be very interesting to be able to connect Power BI or Google Data Studio for some additional representations of the data. Is this possible with the current version odoo.sh?

Thanks!

Nicolas Fischer

Hi, we are looking for the same use case.

We like to connect our Odoo db through a staging area (ETL process) with the data warehouse and in the end, we like to connect a BI Tool to the DWH. 

Was anyone able to connect the Odoo db to a Datawarehouse? or implement odoo to his data infrastructure?  

Ray Carnes (ray)

See my answer from yesterday and the discussion with James. Also, if you ANSWER a post, only the OP is notified. I happened to see your QUESTION and converted it into a comment.

Ray Carnes (ray)

35% of the data from the database is not stored in PostgreSQL.

10,524 non-stored fields from a total of 30,172 fields in a full schema with all modules installed. Your percentage could vary depending on which modules/Apps are installed.

Avatar
Alf Olsen
Nejlepší odpověď

You have access to your database in the shell directly on odoo.sh

Look here under "Shell", but basically just type psql and your in

https://www.odoo.com/documentation/user/11.0/odoo_sh/getting_started/branches.html

0
Avatar
Zrušit
Avatar
Ulises J
Nejlepší odpověď

You can not access through Postgres or any other DBMS, the correct way to access through the API or its default, you could access via shell (psql) and create queries of the entities you want and extract them with /copy

0
Avatar
Zrušit
Avatar
Ray Carnes (ray)
Nejlepší odpověď

We do not provide direct access. It conflicts with our security, performance and uptime SLA's.

If your Use Case is "building reports" then you are better off automating a backup and restore to a data warehouse.

If your Use Case is "auditing" then you are better off enhancing track changes on fields you care about.

Or you can move on premise and be responsible for keeping Odoo running fast and reliably 99.99% of the time.

0
Avatar
Zrušit
James Dean

Hi Ray,
can you direct us to any examples of the solution you propose? We need real time, read-only access to our .sh database. It seems rather wasteful of resources, but how would we mirror the data to a server that is not locked down to the same degree?

Ray Carnes (ray)

Ask around for "PostgreSQL database replication" - since underneath the magic that's all an Odoo database is. The data warehouse can live in a place where Odoo is not even a rumor (ie: a vanilla PostgreSQL database server). The fastest way to bring down an Odoo database on our infrastructure (that is optimized for the kinds of conversations over half a million people have had at over 75,000 organizations ABOVE the database layer) is to start having conversations with it that bypass our ORM layer, even read only ones. If you NEED this, you learn all the skills needed to self-host. I define NEED as "we tried to go without, we failed miserably (not just got hurt, but had to go on life support) and have ruled out every possible workaround we dreamed up as well as all the workarounds we were forced to try from the so called experts".

James Dean

Thanks Ray, that policy position is clear!
I assume the database replication service would have to be running "inside " the .sh server and sending data out to an external server, and we can't request data from outside. What would be acceptable to Odoo to install on the .sh system? What implications would this have to the server "workers"?

Ray Carnes (ray)

You would SEND the backup to another server. Apps like https://apps.odoo.com/apps/modules/15.0/auto_backup/ can do that straight to a server with an open FTP port. You only need one way replication from SH to your outside server. The work of taking a backup is already something we've tuned the server to do (we do it daily without interrupting users). So you just pick a time when most of them are asleep. You are essentially scripting the creation and moving of that backup (or using the App), then scripting the pickup up and ingesting it on the other server (the one with no knowledge of Odoo). The workers on the Odoo server won't know anything about what you are doing, they will just notice the server a tiny bit slower than normal when the backup is being taken. You can delete the database on your external server prior to each "refresh". Then you can talk all night long to the replica without either the workers or the users on the Odoo server knowing anything about it. Also, as a so called expert, I would recommend you eliminate the Odoo Documents App and the fancy Odoo Spreadsheets that provide real time access to data via an interface that is pixel identical to GSuite, with additional functionality, including things like bidirectionality. If the audience looking at the sheet sees an ratio that is too high or too low, they click to see the transactions impacting the ratio and keep drilling down to find the Customer, Vendor, Employee, Product, Project or Campaign responsible.

Ray Carnes (ray)

One more point. In case you don't already know. Not all data Users see in Odoo is persisted in table fields. Python code is run to calculate values stored only in memory. So before you start your journey be sure the information you want to extract is available. Look at the Fields Menu in Odoo and filter for fields not stored (Stored = False) to check.

Ray Carnes (ray)

35% of the data from the database is not stored in PostgreSQL.

10,524 non-stored fields from a total of 30,172 fields in a full schema with all modules installed. Your percentage could vary depending on which modules/Apps are installed.

Avatar
Alessandro Fiorino
Nejlepší odpověď

If you don't need a real-time BI, you can transfer and load the daily backup in another postgresql database to be hosted wherever you want, and do whatever you want with it.


0
Avatar
Zrušit
James Dean

We simply want real-time access to our database, on a read-only basis.

Avatar
Traction Consulting Group
Nejlepší odpověď

We tried for a while to work this out - instead we made a module that shadow-copies entities (via API) to a SQL Azure database, and then from there get Power BI Reports.  Let me know if you'd like more info on that project.

0
Avatar
Zrušit
James Dean

We are (still!) in the same situation as Jan described on 24 May 2018: We want to connect a Business Intelligence tool to the database hosted on odoo.sh. We started looking into an automated download of the odoo.sh database, but a daily dump is too far out of sync. If you have a strategy you are happy to share, I'd greatly appreciate it!

Juhász Krisztián

Hi, What is the module to make shadow-copies?

Enjoying the discussion? Don't just read, join in!

Create an account today to enjoy exclusive features and engage with our awesome community!

Přihlásit se
Related Posts Odpovědi Zobrazení Aktivita
Can I access Odoo.sh backups via SSH? Vyřešeno
backup access remote odoo.sh
Avatar
Avatar
Avatar
2
srp 24
17095
Odoo.sh initiating shutdown every 5-10 mins
odoo.sh
Avatar
Avatar
1
čvc 25
2834
Odoo 11: How to edit odoo.conf file in odoo.sh for queue jobs?
odoo.sh
Avatar
Avatar
Avatar
Avatar
Avatar
4
dub 25
13460
odoo.sh determine production or dev instance from code ? Vyřešeno
odoo.sh
Avatar
1
úno 25
4522
Odoo DB Expired - Odoo not reacting
odoo.sh
Avatar
Avatar
1
led 25
2155
Komunita
  • Tutoriály
  • Dokumentace
  • Fórum
Open Source
  • Stáhnout
  • Github
  • Runbot
  • Překlady
Služby
  • Odoo.sh hostování
  • Podpora
  • Upgrade
  • Nestandardní vývoj
  • Edukační program
  • Najít účetní
  • Najít partnera
  • Stát se partnerem
O nás
  • Naše společnost
  • Podklady značky
  • Kontakujte nás
  • Práce
  • Události
  • Podcast
  • Blog
  • Zákazníci
  • Právní dokumenty • Soukromí
  • Zabezpečení
الْعَرَبيّة 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 je balíček open-source aplikací, které pokrývají všechny potřeby vaší společnosti: CRM, e-shop, účetnictví, sklady, kasy, projektové řízení a další.

Unikátní nabídka od Odoo poskytuje velmi jednoduché uživatelské rozhraní a vše je integrované na jednom místě.

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