Cannabis E-commerce 20/04/2023

Optimiser l'integrite des donnees pour Moodiday.com

Problemes d'integrite des donnees resolus par la refonte des jointures, l'ajout d'identifiants de session et l'amelioration de la fiabilite des rapports.

A&H Solutions Team

Equipe A&H Solutions

Cannabis e-commerce platform dashboard showing inventory and compliance metrics 1

Project Overview

Moodiday.com is a cannabis e-commerce platform serving regulated product catalogs. They needed to improve data integrity and analytics reliability across PostgreSQL databases hosted on Azure and DigitalOcean to keep reporting accurate and operations stable.

The Challenge

Data discrepancies appeared in analytics due to a complex join between pages and widget_in_view. A LEFT JOIN on non-unique identifiers inflated row counts and flattened the dataset, which compromised reporting accuracy. Because the ingestion pipeline had already introduced inconsistencies, the team needed a forward-looking fix that would prevent the issue from recurring while improving performance.

Our Solution

We redesigned the joining strategy by introducing a unique session/page-load identifier, ensuring each widget_in_view event could be reliably tied to a specific page load. This preserved event relationships without inflating the dataset and created a foundation for dependable reporting.

Key workstreams included:

  • Auditing ingestion and query logic across the data pipeline
  • Designing a stable identifier to normalize event relationships
  • Recommending schema and query improvements to reduce duplication
  • Aligning reporting structures with compliance expectations

Outcome

While historical inconsistencies could not be fully repaired due to prior ingestion constraints, the new model established a clean forward path. Moodiday gained clarity on the root cause, a scalable approach to session-level data integrity, and a stronger foundation for analytics and compliance reporting going forward.

Details du projet

Client

Moodiday.com

Cannabis E-commerce

Visiter le site

Technologies utilisees

PostgreSQL Redis Python Data Migration Tools Monitoring Systems Backup Solutions

Calendrier du projet

6 weeks

Resultats du projet

99.9%
Data Consistency Improvement
75%
Query Performance Increase
90%
System Downtime Reduction
100%
Compliance Accuracy

Services lies

Data Analytics & Visualization

Turn raw data into actionable insights with interactive dashboards and clear reporting tools.

En savoir plus

Cloud Solutions & Integration

Flexible, secure, and cost-efficient cloud infrastructure tailored to your scaling needs.

En savoir plus

Web App Development

Scalable, secure, and high-performance web applications built to power your business.

En savoir plus

Industries liees

Cannabis & Hemp Industry Technology Solutions

Advanced cannabis technology solutions that ensure compliance, streamline operations, and support growth in the highly regulated cannabis industry.

En savoir plus

E-commerce & Retail Technology Solutions

Advanced e-commerce technology solutions that drive online sales, streamline operations, and deliver exceptional customer experiences.

En savoir plus

Etiquettes

data-integrity ecommerce cannabis compliance optimization