FAQ

Answers to the questions we get from firms and integrators. Connection settings are on Connect. Quotas are on Limits.

What is ClickHouse?

An analytical database built for large read volumes. Pennylane Data Sharing uses it because the Redshift share was timing out on the biggest ledgers.

Why move?

The volume shared in a year grew about ten times. On Redshift, general ledger and analytical ledger queries often ran for tens of minutes or failed. The same reads on ClickHouse finish in a few minutes, often under a minute. A full read of a ledger around 100 million lines takes a few minutes when you still filter on the documented keys.

When can I connect?

Now. Use the host, port, and database on the connect page. The ClickHouse host is not shown in the Pennylane product yet. Your user stays u_<id> and the same Data Sharing password.

Does it cost more?

The access that matches today’s Redshift share stays included. That covers most use. Extra capacity for the heaviest workloads may be offered later. Pricing for that option is not set. Your data stays available either way. The option is only more room, not a condition to read the data.

Will my queries break?

Table names and column names are the same. Some SQL is not. ClickHouse is not Redshift. Dates, string functions, and SELECT * habits are the usual breaks. See Migrate from Redshift.

How should I write queries?

ClickHouse stores columns, not rows. Name the columns you need. Do not SELECT * on a ledger.

Filter on the documented keys: company and period. Join on the documented Int64 id columns.

A huge join of two ledgers is slower than filtering each side first. An IN subquery on an id list is often the lighter form. Joins are supported.

Can I keep my BI tool or ETL?

Yes, if the tool can use ClickHouse over HTTPS. JDBC, clickhouse-connect (Python), and curl are covered on the connect page. Your integrator uses the same page.

The native clickhouse-client does not work on this host. It gets ClickHouse code 102 (UNEXPECTED_PACKET_FROM_SERVER) because only HTTP is exposed. The Python package clickhouse-driver fails the same way. Use clickhouse-connect.

MyReport and Power BI

Setup for each tool:

Both use the host on Connect. Database pennylane.

When do I have to leave Redshift?

Both systems run in parallel for several months. There is no date to switch this week. Redshift will not get new tables, new fields, or fixes. Those land on ClickHouse only.

The day Redshift stops is not set. You will be told 30 days before, then 7 days before.

Are all tables available?

The tables on this site cover most of the queries we see, including general ledger and analytical ledger. The goal is to publish the rest as they are ready.

Customer invoice lines, supplier invoice lines, and quote lines are not published. practice_management.mission_invoice_lines is firm billing (missions), not the lines of a customer invoice.

How fresh is the data?

Changes in Pennylane are available here within 2 hours.

Ledger, invoice, bank, tax, VAT, and user tables expose synchronized_at (when that row was last written). companies, customers, suppliers, and fiscal_years do not. etl also has deleted_at for rows removed in Pennylane. pennylane only keeps live rows and has no deleted_at.

Is it as secure?

Same rule as the Redshift share for pennylane and etl. A query only returns companies your user can open in Pennylane. practice_management follows the rules on Practice management. The ClickHouse service is a separate instance from the Pennylane application.

Are there usage limits?

Yes. They are already in place. The numbers are on Limits: 1 thread, 3 queries at a time per user, 30 minutes per query, 20 GiB memory, 600 queries and 2 hours of execution per hour. The shared entry point also caps the whole service (500 running queries, 3,000 queries per minute, a queue). You can set a lower value. A higher value is rejected (ClickHouse code 452, HTTP 500).

Who do I contact?

Your usual Pennylane contact. They will raise it internally. There is no separate ClickHouse support address.

What is the difference between pennylane, etl, and practice_management?

Database Use it for
pennylane Reads and reporting. Live rows. Default database.
etl Incremental loads. Same columns, plus synchronized_at and deleted_at.
practice_management Firm portfolio. Firm users and Pennylane employees. Row rules are on Practice management.

Where is the data hosted?

ClickHouse Cloud, in AWS eu-west-1 (Ireland). Data files are on Amazon S3.


Back to top