Pular para o conteúdo
Odoo Menu
  • Entrar
  • Experimente grátis
  • Aplicativos
    Finanças
    • Financeiro
    • Faturamento
    • Despesas
    • Planilhas (BI)
    • Documentos
    • Assinar Documentos
    Vendas
    • CRM
    • Vendas
    • PDV Loja
    • PDV Restaurantes
    • Assinaturas
    • Locação
    Websites
    • Criador de Sites
    • e-Commerce
    • Blog
    • Fórum
    • Chat ao Vivo
    • e-Learning
    Cadeia de mantimentos
    • Inventário
    • Fabricação
    • PLM - Ciclo de Vida do Produto
    • Compras
    • Manutenção
    • Qualidade
    Recursos Humanos
    • Funcionários
    • Recrutamento
    • Folgas
    • Avaliações
    • Indicações
    • Frota
    Marketing
    • Redes Sociais
    • Marketing por E-mail
    • Marketing por SMS
    • Eventos
    • Automação de Marketing
    • Pesquisas
    Serviços
    • Projeto
    • Planilhas de Horas
    • Serviço de Campo
    • Central de Ajuda
    • Planejamento
    • Compromissos
    Produtividade
    • Mensagens
    • Aprovações
    • Internet das Coisas
    • VoIP
    • Conhecimento
    • WhatsApp
    Aplicativos de terceiros Odoo Studio Plataforma Odoo Cloud
  • Setores
    Varejo
    • Loja de livros
    • Loja de roupas
    • Loja de móveis
    • Mercearia
    • Loja de ferramentas
    • Loja de brinquedos
    Comida e hospitalidade
    • Bar e Pub
    • Restaurante
    • Fast Food
    • Hospedagem
    • Distribuidor de bebidas
    • Hotel
    Imóveis
    • Imobiliária
    • Escritório de arquitetura
    • Construção
    • Administração de propriedades
    • Jardinagem
    • Associação de proprietários de imóveis
    Consultoria
    • Escritório de Contabilidade
    • Parceiro Odoo
    • Agência de marketing
    • Escritório de advocacia
    • Aquisição de talentos
    • Auditoria e Certificação
    Fabricação
    • Têxtil
    • Metal
    • Móveis
    • Alimentação
    • Cervejaria
    • Presentes corporativos
    Saúde e Boa forma
    • Clube esportivo
    • Loja de óculos
    • Academia
    • Profissionais de bem-estar
    • Farmácia
    • Salão de cabeleireiro
    Comércio
    • Handyman
    • Hardware e Suporte de TI
    • Sistemas de energia solar
    • Sapataria
    • Serviços de limpeza
    • Serviços de climatização
    Outros
    • Organização sem fins lucrativos
    • Agência Ambiental
    • Aluguel de outdoors
    • Fotografia
    • Aluguel de bicicletas
    • Revendedor de software
    Navegar por todos os setores
  • Comunidade
    Aprenda
    • Tutoriais
    • Documentação
    • Certificações
    • Treinamento
    • Blog
    • Podcast
    Empodere a Educação
    • Programa de educação
    • Scale Up! Jogo de Negócios
    • Visite a Odoo
    Obtenha o Software
    • Baixar
    • Comparar edições
    • Releases
    Colaborar
    • Github
    • Fórum
    • Eventos
    • Traduções
    • Torne-se um parceiro
    • Serviços para parceiros
    • Cadastre seu escritório contábil
    Obtenha os serviços
    • Encontre um parceiro
    • Encontre um Contador
    • Conheça um consultor
    • Serviços de Implementação
    • Referências de Clientes
    • Suporte
    • Upgrades
    Github YouTube Twitter Linkedin Instagram Facebook Spotify
    +1 (650) 691-3277
    Faça uma demonstração
  • Preços
  • Ajuda

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

  • CRM
  • e-Commerce
  • Financeiro
  • Inventário
  • PoS
  • Projeto
  • MRP
All apps
É necessário estar registrado para interagir com a comunidade.
Todas as publicações Pessoas Emblemas
Marcadores (Ver tudo)
odoo accounting v14 pos v15
Sobre este fórum
É necessário estar registrado para interagir com a comunidade.
Todas as publicações Pessoas Emblemas
Marcadores (Ver tudo)
odoo accounting v14 pos v15
Sobre este fórum
Ajuda

How to access Postgres db Odoo.sh

Inscrever

Seja notificado quando houver atividade nesta publicação

Esta pergunta foi sinalizada
pgadminremoteodoo.sh
5 Respostas
42417 Visualizações
Avatar
Alexis O. Hinestroza S.

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

THX

6
Avatar
Cancelar
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
Melhor resposta

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
Cancelar
Avatar
Alessandro Fiorino
Melhor resposta

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
Cancelar
James Dean

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

Avatar
Ulises J
Melhor resposta

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
Cancelar
Avatar
Traction Consulting Group
Melhor resposta

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
Cancelar
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?

Avatar
Ray Carnes (ray)
Melhor resposta

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
Cancelar
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.

Está gostando da discussão? Não fique apenas lendo, participe!

Crie uma conta hoje mesmo para aproveitar os recursos exclusivos e interagir com nossa incrível comunidade!

Inscreva-se
Publicações relacionadas Respostas Visualizações Atividade
Can I access Odoo.sh backups via SSH? Resolvido
backup access remote odoo.sh
Avatar
Avatar
Avatar
2
ago. 24
17122
Demande d'explication - odoo.sh | odoo online Resolvido
odoo.sh
Avatar
Avatar
1
nov. 25
213
Odoo.sh initiating shutdown every 5-10 mins
odoo.sh
Avatar
Avatar
1
jul. 25
2846
Odoo 11: How to edit odoo.conf file in odoo.sh for queue jobs?
odoo.sh
Avatar
Avatar
Avatar
Avatar
Avatar
4
abr. 25
13471
odoo.sh determine production or dev instance from code ? Resolvido
odoo.sh
Avatar
1
fev. 25
4528
Comunidade
  • Tutoriais
  • Documentação
  • Fórum
Open Source
  • Baixar
  • Github
  • Runbot
  • Traduções
Serviços
  • Odoo.sh Hosting
  • Suporte
  • Upgrade
  • Desenvolvimentos personalizados
  • Educação
  • Encontre um Contador
  • Encontre um parceiro
  • Torne-se um parceiro
Sobre nós
  • Nossa empresa
  • Ativos da marca
  • Contato
  • Empregos
  • Eventos
  • Podcast
  • Blog
  • Clientes
  • Legal • Privacidade
  • Segurança
الْعَرَبيّة 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 é um conjunto de aplicativos de negócios em código aberto que cobre todas as necessidades de sua empresa: CRM, comércio eletrônico, contabilidade, estoque, ponto de venda, gerenciamento de projetos, etc.

A proposta de valor exclusiva Odoo é ser, ao mesmo tempo, muito fácil de usar e totalmente integrado.

Site feito com

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