Hey support, I'm trying to figure out why my `rudd...
# support
a
Hey support, I'm trying to figure out why my
rudder-server
is not writing events to my PostgreSQL RDS warehouse destination. The events are making it to the S3 staging bucket. I have granted my db user
CREATE
and
TEMPORARY
permissions. I can see in the logs such as:
Copy code
...
INFO PG: Starting export to postgres for source:1kP1RXc47oMUNYGX2Pe3YsZZCkC and wh_upload:1
...
INFO PG: Starting load for all 3 tables
...
INFO WH: Setting table upload status: UPDATE wh_table_uploads SET status=$1
...
INFO PG: File reading completed while reading csv file for loading in staging table:rudder_staging_tracks_aef95f94636f41bebc1ba40ed8552535
INFO PG: Deduplicate records for table:tracks using staging table: DELETE FROM "http_source_dev"."tracks" USING...
INFO PG: Inserting records for table:tracks using staging table: INSERT INTO "http_source_dev"."tracks" (anonymous_id...
INFO WH: Setting table upload status: UPDATE wh_table_uploads SET status=$1, updated_at=$2 WHERE wh_upload_id=$3...
INFO PG: Complete load for table:tracks...
INFO PG: dropping table rudder_staging_tracks_aef95f94636f41bebc1ba40ed8552535
...
INFO PG: Completed load for all tables
INFO WH: Setting status of exported_data for wh_upload:1
When I query the RDS, it's all empty with no tables. I'm hoping I'm doing something silly 😐 Anyone got any suggestions for how to debug this?
Taking a look at the
wh_*
tables in the jobsdb - I can't see any obvious errors.
Never mind, figured it out. When I was looking at the schema, I assumed
\dt
showed all tables - it doesn't. I had to use
\dt "http_source_dev".*
.
n
👍