Postgresql : Pg cron

  Рет қаралды 13,212

E-MultiSkills Database  services

E-MultiSkills Database services

Күн бұрын

Пікірлер: 14
@shailendrasisodiya8243
@shailendrasisodiya8243 11 ай бұрын
2024-01-21 12:38:00.001 IST [3628] LOG: cron job 1 starting: SELECT insert_into_emp(); 2024-01-21 12:38:00.007 IST [3628] LOG: cron job 1 connection failed this is what is showing in my log files dont know whats wrong
@how_and_why
@how_and_why Жыл бұрын
How to use pg_profile extension in AWS RDS, i checked on Google it says we need to have the package at OS level but RDS doesn't support os access, how to do it?
@ricardochavarriafdz5928
@ricardochavarriafdz5928 11 ай бұрын
ERROR: syntax error at or near "pg_dump"
@ricardochavarriafdz5928
@ricardochavarriafdz5928 11 ай бұрын
output syntax error at or near "pg_dump"
@vinithvicky2017
@vinithvicky2017 3 жыл бұрын
Hello, Can we do this in AWS RDS Postgres ? If yes, then can tell how to install pg_cron ?
@EMultiSkillsDatabaseServices
@EMultiSkillsDatabaseServices 3 жыл бұрын
Yes , it can be done in rds .
@mohamedboudekak8574
@mohamedboudekak8574 3 жыл бұрын
Hello, thanks for the explanation, however i tried the backup line and it doesn't work. The cron is succesfully created but it doesn't work select cron.schedule('0 0 * * *', $$pg_dumpall > /home/odoo/backup/MyDB_$(date +%F).sql'$$); i've searched evrywhere in the web and stuck any help would be amazing, thank you
@EMultiSkillsDatabaseServices
@EMultiSkillsDatabaseServices 3 жыл бұрын
Did you check the permission at os level and also it it working as expected through cronjob?
@EMultiSkillsDatabaseServices
@EMultiSkillsDatabaseServices 3 жыл бұрын
Did you try with permissions
@ricardochavarriafdz5928
@ricardochavarriafdz5928 11 ай бұрын
@@EMultiSkillsDatabaseServices ERROR: syntax error at or near "pg_dump" LINE 1: pg_dump -d mydb -n borrame > schema.sql
@jakajhah-0
@jakajhah-0 4 ай бұрын
Did you find the answer?
@jakajhah-0
@jakajhah-0 4 ай бұрын
You need to ensure that pg_hba has trust authentication for this that solved my issue
51 - PostgreSQL : Slow long running and blocked queries in PostgreSQL
14:37
E-MultiSkills Database services
Рет қаралды 11 М.
REAL or FAKE? #beatbox #tiktok
01:03
BeatboxJCOP
Рет қаралды 18 МЛН
How Strong Is Tape?
00:24
Stokes Twins
Рет қаралды 96 МЛН
61 - pgBadger : PostgreSQL Log Analysis tool
19:25
E-MultiSkills Database services
Рет қаралды 12 М.
Solving one of PostgreSQL's biggest weaknesses.
17:12
Dreams of Code
Рет қаралды 221 М.
Automatically Schedule Python Scripts with Cron Jobs
13:25
NeuralNine
Рет қаралды 16 М.
PostgreSQL : PostgreSQL migration from one to another host using pg dumpall
11:42
E-MultiSkills Database services
Рет қаралды 13 М.
Part 1 - PostgreSQL : PostgreSQL Introduction and Architecture.
18:21
E-MultiSkills Database services
Рет қаралды 63 М.
How to Schedule Jobs in Postgres | Postgres PgAgent
7:21
Redincs Technology
Рет қаралды 6 М.