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

  1. Open a second connection in the BI tool. Leave the Redshift connection in place.
  2. Point the new connection at the host and port on the connect page. Database: pennylane.
  3. Run the heaviest report with an explicit filter on the documented filter keys.
  4. Compare row counts with the Redshift query for one company and one period.
  5. Switch incremental jobs to etl and use synchronized_at / deleted_at instead of a full reload.
  6. Move accounting.* readers to practice_management.*.

Back to top