Migrate from Redshift
Use this when a report already runs on Redshift and you are pointing it at ClickHouse.
What stays the same
- Pennylane username
u_<id>and the Data Sharing password for that user. The ClickHouse host is not shown in the product yet. - Table names (
companies,general_ledger,customer_invoices, …). - The meaning of the columns that exist on both sides. French and English descriptions on this site were copied from the Redshift contract when the column name matches.
- Company permissions. You still only see companies your user can open in Pennylane.
What you change
| Redshift | ClickHouse |
|---|---|
| Host from the Redshift screen | datasharing.pennylane.com |
Port 5439 | Port 443, TLS |
| Driver: Redshift / Postgres | Driver: ClickHouse HTTP |
Schema pennylane | Database pennylane |
Schema etl | Database etl |
Schema practice_management | Database practice_management |
Schema accounting | Folded into practice_management |
| SQL dialect | ClickHouse SQL |
Example:
-- Redshift
SELECT id, name
FROM pennylane.companies
-- ClickHouse
SELECT id, name
FROM pennylane.companies
Suggested order
- Open a second connection in the BI tool. Leave the Redshift connection in place.
- Point the new connection at the host and port on the connect page. Database:
pennylane. - Run the heaviest report with an explicit filter on the documented filter keys.
- Compare row counts with the Redshift query for one company and one period.
- Switch incremental jobs to
etland usesynchronized_at/deleted_atinstead of a full reload. - Move
accounting.*readers topractice_management.*.