2830
English speaking PostgreSQL public chat. This group is for discussions on PostgreSQL-related topics and strives to provide best-effort support as well.
https://chat.whatsapp.com/I3EPdf8Yik7FcJAQf8G3jz
Читать полностью…
Anything between a couple of seconds and a couple of days. In link/clone mode, the complexity of the schema determines how long it takes, basically.
Читать полностью…
How much downtime needed 1 tb db upgrade with pg_upgrade
Читать полностью…
Check limitations https://docs.aws.amazon.com/dms/latest/userguide/CHAP_Source.PostgreSQL.html#CHAP_Source.PostgreSQL.Limitations
Читать полностью…
Hi
Has anyone tried replicating a postgres db from VM to Rds ?
Im aware that the streaming replication won't work since it requires physical backup restore.
Is it possible in Logical Replication? If yes anyone can guide me. Thanks in advance
im not doing delete.
im talking about insert into - will this lock the main_table? the table that i select from
Hi
does running insert into table from main_table can somehow create a lock on main_table?
It's for tiny databases with no real users where large downtime is affordable.
Читать полностью…
If you're going the pg_dumpall route i would suggest to export only the schema, apply the schema, check that there are no errors, and then import the data separately
Читать полностью…
Namely: a function that called a function by an extention that changed an IMMUTABLE to MUTABLE
Читать полностью…
As far as I understand, using pg_dumpall for upgrading will still be more reliable
Читать полностью…
That's why we do testing before running in production. Not so much issues these days on Linux.
Читать полностью…
Pg upgrade with link method depends on number of tables rather than db size or number of databases. On good enough hardware it can still be very fast. Crunchy article has some stats.
https://www.crunchydata.com/blog/examining-postgres-upgrades-with-pg_upgrade
Hello there, I need your help
When I’m about to finish the installation, this error shows up ( Problem running post-install step. Installation may not complete correctly
The database cluster initialisation failed. )
How can I fix this?
There's no GRANT SELECT ON ALL OBJECTS IN ALL DATABASES. You'll need to generate/write an SQL command at least for each schema in each DB.
Hi everyone can i know how to create a user with no superuser and he has only select privilege for all databases.
Читать полностью…
Logical replication should work, provided there is access to target rds from VM. AWS DMS uses same postgres logical replication under the hood.
Читать полностью…
Nope but all bets are off if it's redshift. You should ask AWS support, it's not community postgres.
Читать полностью…
then during the query on table, you won't be able to delete tuples from main_table because it would render the foreign constraint invalid
Читать полностью…
why exactly if there are constraints/fk it will require lock on the main_table?
waht about if it's redshift?
Hello and welcome to this chat. Here we discuss PostgreSQL and provide best-effort voluntary support on Postgresql issues.
If you have any question, try asking kindly, including log files, error descriptions and perhaps what you're trying to do.
- 🚫 photos and screenshots
- 🚫 spam and offtopic
- ✅ questions with log files and clear explanation of what's gone wrong
⬇️ Press the button down here ⬇️
I ran tests myself a while ago, from very small to TB range. The only measurable difference was schema complexity... I.e. how many tables in how many databases. Creating the hardlinks is essentially instant.
Читать полностью…
However, sometimes you might also benefit from dropping indexes, keys and constraints and readding them later if you have a lot of interwined tables
Читать полностью…
Migrating data-only databases i've never had any issues whatsoever
Migrating databases that also implement functions and stored procedures and materialized views using said procedures, i had issues where some things were deprecated or changed and so some functions would not be valid anymore
I don't see a much trouble on this approach.
This may require a lot of attention to constraints/constraint functions/user-defined types/sequences...
Every type of that expected to be dealt with once, though.
There may be troubles at 1000 replications running in parallel. At least, I expect significant wal writing slowdowns due to 1000 decoders.
However, base-by-base approach should get rid of it.
I read somewhere that pg upgrade can cause errors, although everything was updated well in my test
Читать полностью…
Yeah but this one automates 100% of it, no need to ask the developers whenever they need to shuffle dbs around
Читать полностью…