This is not a duplicate of Postgresql Transaction ID Not Found
I do not have any issue with small tables, but there is a huge table about (4TB) and am trying to copy it from a db to another both located in RDS AWS (Postgresql), after a day or two I receive this message with no additional warning/message and I have to Connect again. I am using pgAdmin 4 v3.
Transaction ID not found in the session.
SET tcp_keepalives_idle = 60 ;
select
"k","LP_FK","ASSET_PK","Distance"
,"Order",pk into t22 from
dblink('address.address port=1111
user=user
password=password dbname=DB', 'select
"k","LP_FK","ASSET_PK","Distance"
,"Order",pk FROM one_view_feature ') tt (
"k" integer,
"LP_FK" integer,
"ASSET_PK" integer,
"Distance" double precision,
"Order" double precision,
pk bigint)
As the worst case scenario, I might transfer data in different bunches, but I am sure it will be very slow.