Magicline Enterprise Data Warehouse¶
The Enterprise Data Warehouse (EDWH) gives gym operators using Magicline a stable, version-controlled way to access their data in near real-time — modelled for analytics, ready for BI tools, custom pipelines, and AI assistants.
Explore the data model See example use cases
Quick Start¶
Get from credentials to your first query in a few minutes.
1. Get your credentials¶
Your account manager provides:
- A single
USER,PASSWORD, andHOST - Access to one database of the same name as your user
- The connection is restricted to a static IP address we need from you
Access level
Your account's access level (Owner, Franchisee, or Franchise System) is agreed during setup and determines which data is visible and what is anonymized. See What is the EDWH.
2. Connect¶
The warehouse is a read-only Amazon Redshift schema modelled as a star/galaxy schema (fact, dimension, and bridge tables).
See the AWS ODBC documentation.
See the AWS JDBC documentation.
3. Run your first query¶
SELECT COUNT(*) AS active_members
FROM dim_customer
WHERE customer_status = 'MEMBER'
AND NOT COALESCE(archived, false)
AND NOT COALESCE(deceased, false);
Continue with ready-made recipes in Use Cases.
Build views with WITH NO SCHEMA BINDING
Our ETL drops and recreates tables. Always create late-binding views so your views keep working across refreshes:
Where to go next¶
-
What is the EDWH
How the warehouse is modelled, updated, and secured.
-
Use Cases
Copy-paste SQL for the most common operator questions.
-
Data Model
Tables, columns, relationships, and orphan tables.
-
AI Assistant
A downloadable skill that teaches your AI tool to query the EDWH.