ERROR: could not extend file "base/16401/321099.3525": No space left on device
HINT: Check free disk space.
ERROR: could not extend file "base/16401/321099.3525": No space left on device
HINT: Check free disk space.
name | owner | size
----------------------+-------------+-----------
rdsadmin | rdsadmin | No Access
<my_database> | <user_db> | 317 GB
name | owner | size
----------------------+-------------+-----------
rdsadmin | rdsadmin | No Access
<my_database> | <user_db> | 317 GB
datname | Temporary files | Size of temporary files
----------------------+-----------------+-------------------------
rdsadmin | 0 | 0
template0 | 0 | 0
postgres | 0 | 0
<my_database> | 1079 | 991097557473
template1 | 0 | 0
datname | Temporary files | Size of temporary files
----------------------+-----------------+-------------------------
rdsadmin | 0 | 0
template0 | 0 | 0
postgres | 0 | 0
<my_database> | 1079 | 991097557473
template1 | 0 | 0
QUERY PLAN
----------------------------------------------------------------------------------------------------------------------------------------------------------------------
Merge Right Join (cost=274164346.44..274773926.31 rows=24371195 width=104)
Merge Cond: ((d.run = t.run) AND (d.t = t.t))
CTE times
-> WindowAgg (cost=90827593.60..97529672.28 rows=243711952 width=100)
-> Sort (cost=90827593.60..91436873.48 rows=243711952 width=96)
Sort Key: clean_trajectories.run, (date_part('year'::text, clean_trajectories.init_dt)), clean_trajectories.id_source, clean_trajectories.hour_along
-> Seq Scan on clean_trajectories (cost=0.00..6897785.40 rows=243711952 width=96)
CTE dates_for_t
-> Unique (cost=72144047.24..73971886.88 rows=40000 width=56)
-> Sort (cost=72144047.24..72753327.12 rows=243711952 width=56)
Sort Key: times.run, times.t, times.traj_dt DESC
-> CTE Scan on times (cost=0.00..4874239.04 rows=243711952 width=56)
CTE agg_trajs_by_t
-> GroupAggregate (cost=88804047.24..95932621.83 rows=24371195 width=80)
Group Key: times_1.name_source, times_1.id_source, times_1.run, times_1.init_dt, times_1.t
-> Sort (cost=88804047.24..89413327.12 rows=243711952 width=96)
Sort Key: times_1.name_source, times_1.id_source, times_1.run, times_1.init_dt, times_1.t
-> CTE Scan on times times_1 (cost=0.00..4874239.04 rows=243711952 width=96)
-> Sort (cost=3857.54..3957.54 rows=40000 width=16)
Sort Key: d.run, d.t
-> CTE Scan on dates_for_t d (cost=0.00..800.00 rows=40000 width=16)
-> Materialize (cost=6726307.90..6848163.88 rows=24371195 width=80)
-> Sort (cost=6726307.90..6787235.89 rows=24371195 width=80)
Sort Key: t.run, t.t
-> CTE Scan on agg_trajs_by_t t (cost=0.00..487423.90 rows=24371195 width=80)
QUERY PLAN
----------------------------------------------------------------------------------------------------------------------------------------------------------------------
Merge Right Join (cost=274164346.44..274773926.31 rows=24371195 width=104)
Merge Cond: ((d.run = t.run) AND (d.t = t.t))
CTE times
-> WindowAgg (cost=90827593.60..97529672.28 rows=243711952 width=100)
-> Sort (cost=90827593.60..91436873.48 rows=243711952 width=96)
Sort Key: clean_trajectories.run, (date_part('year'::text, clean_trajectories.init_dt)), clean_trajectories.id_source, clean_trajectories.hour_along
-> Seq Scan on clean_trajectories (cost=0.00..6897785.40 rows=243711952 width=96)
CTE dates_for_t
-> Unique (cost=72144047.24..73971886.88 rows=40000 width=56)
-> Sort (cost=72144047.24..72753327.12 rows=243711952 width=56)
Sort Key: times.run, times.t, times.traj_dt DESC
-> CTE Scan on times (cost=0.00..4874239.04 rows=243711952 width=56)
CTE agg_trajs_by_t
-> GroupAggregate (cost=88804047.24..95932621.83 rows=24371195 width=80)
Group Key: times_1.name_source, times_1.id_source, times_1.run, times_1.init_dt, times_1.t
-> Sort (cost=88804047.24..89413327.12 rows=243711952 width=96)
Sort Key: times_1.name_source, times_1.id_source, times_1.run, times_1.init_dt, times_1.t
-> CTE Scan on times times_1 (cost=0.00..4874239.04 rows=243711952 width=96)
-> Sort (cost=3857.54..3957.54 rows=40000 width=16)
Sort Key: d.run, d.t
-> CTE Scan on dates_for_t d (cost=0.00..800.00 rows=40000 width=16)
-> Materialize (cost=6726307.90..6848163.88 rows=24371195 width=80)
-> Sort (cost=6726307.90..6787235.89 rows=24371195 width=80)
Sort Key: t.run, t.t
-> CTE Scan on agg_trajs_by_t t (cost=0.00..487423.90 rows=24371195 width=80)