why the mooncake_create_table() files are found in /tmp/moonlink_temp_file, and restart pg will lost? #159
-
pg_mooncake v0.2.0 |
Beta Was this translation helpful? Give feedback.
Replies: 11 comments 12 replies
-
further more , when login with normal user but not superuser, then error is : duckdb.postgres_role is needed. ; but the parameter in postgresql.conf does not work? |
Beta Was this translation helpful? Give feedback.
-
Those are for temp files, not actual data files, that's why they get deleted upon PG restart
The actual data files (Iceberg table) are stored in
We will add it
Thanks for the bug report. We will fix it |
Beta Was this translation helpful? Give feedback.
-
/pg_mooncake/public/xx.id exist but nothing under the directory。 |
Beta Was this translation helpful? Give feedback.
-
CALL mooncake.create table('t2_iceberg ,'public.t2'); insert into t2 #INSERT 100000 rows success |
Beta Was this translation helpful? Give feedback.
-
export RUST_BACKTRACE=1 & restart PG dbmooncaketest=# CALL mooncake.create_table('public.t2_iceberg', 'public.t2'); dbmooncaketest=# select * from t2_iceberg; dbmooncaketest=# CALL mooncake.create_snapshot('public.t2'); dbmooncaketest=# |
Beta Was this translation helpful? Give feedback.
-
this is info of postgres.log thread 'tokio-runtime-worker' panicked at /bigdata/pg17/pg_mooncake/moonlink/src/moonlink_connectors/src/replication_manager.rs:106:61: |
Beta Was this translation helpful? Give feedback.
-
When you create a columnstore copy of your Postgres tables, Moonlink: Performs initial full table copy. |
Beta Was this translation helpful? Give feedback.
-
by the way , how long will the v0.2 be a stable release? |
Beta Was this translation helpful? Give feedback.
-
dear sir: |
Beta Was this translation helpful? Give feedback.
-
is it possible that pg_mooncake is not compatible with timescaledb 2.19.3 , as for the pg17.5.4 server restart repeatly once the two extension run together. ![]() |
Beta Was this translation helpful? Give feedback.
-
Beta Was this translation helpful? Give feedback.
That directory is used for Iceberg snapshots. Moonlink creates an Iceberg snapshot either periodically or after enough data has been written since the last snapshot. In your case, it seems not enough data has been written. You can manually trigger one by running
mooncake.create_snapshot("<table>")
Moonlink recovery support is currently under development: Mooncake-Labs/moonlink#613. It should be available very soon