ClickHouse

Technology stack · 4softerp ERP

ClickHouse — the columnar analytics engine for real-time ERP reporting

Financial reports in 4softerp — trial balance, cash flow, profit and loss, cost center analysis — run on ClickHouse. A columnar engine designed for aggregations across tens of millions of rows in milliseconds, not minutes.

Why ClickHouse for ERP analytics

OLAP queries on millions of transactions in < 1 second

ClickHouse compresses and reads only the columns needed by a report — a sum on account 4111 over 3 years of transactions runs in under 200 ms regardless of total volume.

Real-time cash flow dashboards

Payment, collection and bank statement events are streamed into ClickHouse via Kafka. The cash flow dashboard reflects today's state, without nightly batch jobs.

Multi-company aggregations without ETL

Group reports — consolidated balance sheet, consolidated P&L, intercompany — run directly on ClickHouse tables partitioned by company_id, without moving data to a separate data warehouse.

LZ4 + Zstd compression on financial data

Accounting data compressed with Zstd achieves 15–20× ratios, reducing storage cost on 10-year fiscal archives.

Materialized Views for pre-computed KPIs

Critical KPIs (stock rotation, DSO, DPO, cash days) are incrementally pre-computed via Materialized Views — displayed instantly without complex queries on every refresh.

Native PostgreSQL integration via PeerDB

Changes from PostgreSQL (OLTP source) are replicated into ClickHouse via PeerDB CDC without discernible latency — one source of truth, two specialized engines.

FAQ about ClickHouse in 4softerp

Does ClickHouse replace PostgreSQL in 4softerp?

No. PostgreSQL is the OLTP source of truth (writes, transactions). ClickHouse is the OLAP layer (analytical reads, reports). The two are automatically synchronized.

Can I export ClickHouse reports to Excel?

Yes — all dashboard reports have a CSV/XLSX export button. The REST API also allows direct queries with JWT authentication.

How long does it take to generate a 5-year balance sheet?

Under 2 seconds for a single company, under 10 seconds for a group of 20 companies — thanks to pre-computed Materialized Views.

Is ClickHouse available in a self-hosted version?

Yes. 4softerp Enterprise includes a dedicated ClickHouse deployment on the client's infrastructure, with assisted migration.

Instant financial reports with ClickHouse

Try 4softerp free for 6 months and see how your company's balance, cash flow and P&L are generated in seconds.

4b2b.net
Business Ecosystem
4conta.ro
Accounting
4invoices.net
Invoicing App
4expenses.net
Expense Management
4notify.net
Notifications
4hosting.net
Hosting
4database.net
Databases
4buildsite.net
Website Builder
4myapp.net
App Builder
4avatars.net
AI Avatars
4chaty.net
AI Chatbot
4webagency.net
Web Agency Software
4softedu.net
Education Websites
4softcrm.net
CRM Platform
4softerp.net
ERP System
4softhr.net
HR Management
4mystaff.net
Staff Portal
4myprojects.net
Project Manager
4mycontracts.net
Contracts
4docs.net
Document Management
4appointments.net
Appointments
4marketingonline.net
Marketing
4insurance.net
Insurance
4property.net
Real Estate
4lawyers.net
Legal Software
4mygarage.net
Auto Service
4driving.net
Driving Schools
4fleet.net
Fleet Management
4myevents.net
Events
4therapy.net
Therapy
4clinics.net
Clinics
4dental.net
Dental Practices
4restaurants.net
Restaurants
4beautify.net
Beauty Salon
4gym.net
Fitness Gyms
4guards.net
Security Companies
4softvet.net
Veterinary Clinics
4softauto.net
Automotive Business Software
4construct.net
Construction Companies
4marketplace.net
Marketplace
4shopy.net
Online Store
4pricing.net
Price Comparison
4salefood.net
Food Delivery
4rentify.net
Rentals
4transports.net
Transport
4agencytravel.net
Travel Agency
4hotel.net
Hotel Management
4ong.net
NGO Management