{
  "format": "dataset-manifest/1",
  "slug": "cryptocurrency-mining-monitoring-app",
  "version": 2,
  "seed": "cryptocurrency-mining-monitoring-app:1",
  "spec": {
    "format": "dataset/1",
    "slug": "cryptocurrency-mining-monitoring-app",
    "name": "Mining Operations Analytics",
    "tagline": "Performance metrics, maintenance logs, and alerts from multiple cryptocurrency mining rigs.",
    "description": "Cryptocurrency mining operators manage multiple rigs, each with its own performance metrics and operational challenges. This dataset captures critical information about rig performance, power consumption, cryptocurrency pools, and alerts related to operational anomalies. By analyzing this data, operators can improve efficiency, identify peak performance hours, and ensure the stability of their operations. The tables are related in a way that allows for comprehensive insights into how each component contributes to overall mining performance. With synthetic data generated for this purpose, users can practice ETL pipelines and teaching methodologies in a realistic environment. Each table provides unique insights that collectively answer questions like how power consumption affects performance, which rigs are most efficient, and what anomalies occur most frequently during mining operations.",
    "domain": "fintech",
    "shape": "slowly-changing",
    "useCases": [
      "etl-pipelines",
      "teaching"
    ],
    "keywords": [
      "cryptocurrency",
      "mining",
      "rig performance",
      "power consumption",
      "anomalies",
      "ETL"
    ],
    "locale": "en",
    "license": "CC0-1.0",
    "version": 1,
    "tables": {
      "rigs": {
        "description": "This table holds information about each mining rig, detailing its specifications and performance metrics. Each rig is identified by a unique rig_id and linked to its components.",
        "rows": 100,
        "columns": {
          "rig_id": {
            "kind": "pk",
            "description": "Unique identifier for each mining rig."
          },
          "name": {
            "kind": "fullName",
            "description": "The name of the mining rig."
          },
          "gpu_count": {
            "kind": "int",
            "min": 1,
            "max": 10,
            "description": "Number of GPUs in the rig."
          },
          "cpu_count": {
            "kind": "int",
            "min": 1,
            "max": 4,
            "description": "Number of CPUs in the rig."
          },
          "power_supply": {
            "kind": "decimal",
            "min": 500,
            "max": 2000,
            "scale": 0,
            "description": "Total power supply capacity in watts.",
            "nullable": true,
            "distribution": "normal"
          }
        }
      },
      "performance_metrics": {
        "description": "This table captures the performance metrics of each rig over time, allowing for analysis of efficiency and output. It links back to the rigs table via rig_id.",
        "rows": {
          "per": "rigs",
          "via": "rig_id",
          "min": 1,
          "max": 5,
          "skew": "long-tail"
        },
        "columns": {
          "metric_id": {
            "kind": "pk",
            "description": "Unique identifier for each performance metric entry."
          },
          "rig_id": {
            "kind": "fk",
            "ref": "rigs.rig_id",
            "description": "References the rig to which these metrics apply."
          },
          "hash_rate": {
            "kind": "decimal",
            "min": 0,
            "max": 10000,
            "scale": 2,
            "description": "Hash rate of the rig in MH/s.",
            "nullable": true,
            "distribution": "heavy-tail"
          },
          "power_consumption": {
            "kind": "decimal",
            "min": 0,
            "max": 2000,
            "scale": 2,
            "description": "Power consumption in watts.",
            "nullable": true,
            "distribution": "long-tail"
          },
          "timestamp": {
            "kind": "datetime",
            "from": "2022-01-01",
            "to": "2023-12-31",
            "description": "Timestamp of the recorded metrics.",
            "dayProfile": "waking"
          }
        }
      },
      "cryptocurrency_pools": {
        "description": "This table lists the different cryptocurrency pools that the rigs can connect to for mining, providing details on profitability and connection status.",
        "rows": 50,
        "columns": {
          "pool_id": {
            "kind": "pk",
            "description": "Unique identifier for each cryptocurrency pool."
          },
          "pool_name": {
            "kind": "fullName",
            "description": "The name of the cryptocurrency pool."
          },
          "profitability": {
            "kind": "decimal",
            "min": 0,
            "max": 10,
            "scale": 2,
            "description": "Profitability score of the pool.",
            "nullable": true,
            "when": {
              "column": "connection_status",
              "in": [
                "connected"
              ]
            },
            "distribution": "high"
          },
          "connection_status": {
            "kind": "enum",
            "values": [
              "connected",
              "disconnected"
            ],
            "description": "Current connection status of the pool.",
            "nullable": true
          }
        }
      },
      "alerts": {
        "description": "This table captures alerts generated from the mining rigs, focusing on operational anomalies like overheating or power supply issues. Each alert is linked back to the specific rig.",
        "rows": {
          "per": "rigs",
          "via": "rig_id",
          "min": 0,
          "max": 3,
          "skew": "heavy-tail"
        },
        "columns": {
          "alert_id": {
            "kind": "pk",
            "description": "Unique identifier for each alert."
          },
          "rig_id": {
            "kind": "fk",
            "ref": "rigs.rig_id",
            "description": "References the rig that generated the alert."
          },
          "alert_type": {
            "kind": "enum",
            "values": [
              "overheating",
              "power supply",
              "network issue"
            ],
            "description": "Type of alert generated by the rig."
          },
          "alert_timestamp": {
            "kind": "datetime",
            "from": "2022-01-01",
            "to": "2023-12-31",
            "description": "Timestamp when the alert was generated.",
            "nullable": true,
            "when": {
              "column": "alert_type",
              "in": [
                "overheating",
                "power supply",
                "network issue"
              ]
            },
            "dayProfile": "business"
          }
        }
      },
      "maintenance_logs": {
        "description": "This table tracks maintenance performed on each rig, including dates and types of maintenance activities. It links back to the rigs table.",
        "rows": {
          "per": "rigs",
          "via": "rig_id",
          "min": 1,
          "max": 2,
          "skew": "long-tail"
        },
        "columns": {
          "log_id": {
            "kind": "pk",
            "description": "Unique identifier for each maintenance log entry."
          },
          "rig_id": {
            "kind": "fk",
            "ref": "rigs.rig_id",
            "description": "References the rig that underwent maintenance."
          },
          "maintenance_date": {
            "kind": "datetime",
            "from": "2022-01-01",
            "to": "2023-12-31",
            "description": "Date when the maintenance was performed.",
            "trend": "growing"
          },
          "maintenance_type": {
            "kind": "words",
            "description": "Description of the maintenance type performed.",
            "nullable": true,
            "pool": [
              "inspection",
              "repair",
              "cleaning",
              "calibration",
              "replacement",
              "upgrade",
              "service",
              "diagnostics",
              "installation",
              "troubleshooting",
              "overhaul",
              "testing",
              "evaluation",
              "adjustment",
              "modification",
              "refurbishment",
              "safety",
              "audit",
              "checkup",
              "monitoring"
            ],
            "min": 1,
            "max": 3
          }
        }
      }
    },
    "structure": "multi-table",
    "traits": [
      "timestamped",
      "self-referencing",
      "nullable"
    ],
    "analysisQuestions": [
      "What are the peak performance hours for each rig?",
      "How does power consumption correlate with hash rate across different rigs?",
      "Which cryptocurrency pool has the highest profitability and connection rate?",
      "What types of alerts are most commonly generated and when do they occur?",
      "How often is maintenance performed on the rigs, and what types are most frequent?"
    ],
    "suggestedQueries": [
      {
        "title": "Get performance metrics for each rig",
        "sql": "SELECT r.name, pm.hash_rate, pm.power_consumption FROM rigs r JOIN performance_metrics pm ON r.rig_id = pm.rig_id;",
        "dialect": "postgres"
      },
      {
        "title": "Find average hash rate by cryptocurrency pool",
        "sql": "SELECT cp.pool_name, AVG(pm.hash_rate) FROM cryptocurrency_pools cp JOIN performance_metrics pm ON cp.pool_id = pm.rig_id GROUP BY cp.pool_name;",
        "dialect": "postgres"
      },
      {
        "title": "Count alerts by type for each rig",
        "sql": "SELECT r.name, a.alert_type, COUNT(a.alert_id) FROM rigs r LEFT JOIN alerts a ON r.rig_id = a.rig_id GROUP BY r.name, a.alert_type;",
        "dialect": "postgres"
      },
      {
        "title": "Summarize maintenance logs for each rig",
        "sql": "SELECT r.name, COUNT(ml.log_id) FROM rigs r JOIN maintenance_logs ml ON r.rig_id = ml.rig_id GROUP BY r.name;",
        "dialect": "postgres"
      }
    ],
    "usageScenarios": [
      {
        "title": "ETL Pipeline Development",
        "body": "Data engineers can utilize this dataset to build ETL pipelines that extract, transform, and load mining operation data into analytics platforms. This practice can enhance their skills in handling real-world data complexities."
      },
      {
        "title": "Teaching Data Analytics",
        "body": "Instructors can leverage this dataset to teach data analytics concepts, focusing on performance metrics, anomaly detection, and operational efficiency in cryptocurrency mining. It provides students with hands-on experience."
      },
      {
        "title": "Monitoring and Reporting",
        "body": "Mining operations managers can use the dataset to monitor rig performance and generate reports on operational efficiency. By analyzing the data, they can make informed decisions to optimize their mining strategies."
      },
      {
        "title": "Alert Management Systems",
        "body": "Developers can implement alert management systems by integrating this dataset, allowing for real-time monitoring of rig performance. This scenario can aid in understanding how alerts impact mining operations."
      }
    ]
  },
  "counts": {
    "cryptocurrency_pools": 50,
    "rigs": 100,
    "alerts": 83,
    "maintenance_logs": 129,
    "performance_metrics": 235
  },
  "stats": {
    "rigs": {
      "rows": 100,
      "columns": {
        "rig_id": {
          "nulls": 0,
          "distinct": 100,
          "min": 1,
          "max": 100
        },
        "name": {
          "nulls": 0,
          "distinct": 100,
          "min": "Amir Singh",
          "max": "Wei Evans"
        },
        "gpu_count": {
          "nulls": 0,
          "distinct": 10,
          "min": 1,
          "max": 10
        },
        "cpu_count": {
          "nulls": 0,
          "distinct": 4,
          "min": 1,
          "max": 4
        },
        "power_supply": {
          "nulls": 8,
          "distinct": 90,
          "min": 714,
          "max": 1790
        }
      }
    },
    "performance_metrics": {
      "rows": 235,
      "columns": {
        "metric_id": {
          "nulls": 0,
          "distinct": 235,
          "min": 1,
          "max": 235
        },
        "rig_id": {
          "nulls": 0,
          "distinct": 100,
          "min": 1,
          "max": 100
        },
        "hash_rate": {
          "nulls": 19,
          "distinct": 212,
          "min": 0,
          "max": 9980.53
        },
        "power_consumption": {
          "nulls": 26,
          "distinct": 208,
          "min": 1.91,
          "max": 1979.19
        },
        "timestamp": {
          "nulls": 0,
          "distinct": 235,
          "min": "2022-01-04 09:12:42",
          "max": "2023-12-29 17:05:59"
        }
      }
    },
    "cryptocurrency_pools": {
      "rows": 50,
      "columns": {
        "pool_id": {
          "nulls": 0,
          "distinct": 50,
          "min": 1,
          "max": 50
        },
        "pool_name": {
          "nulls": 0,
          "distinct": 50,
          "min": "Andre Nguyen",
          "max": "Zoe Kumar"
        },
        "profitability": {
          "nulls": 22,
          "distinct": 28,
          "min": 0.6,
          "max": 10
        },
        "connection_status": {
          "nulls": 4,
          "distinct": 2,
          "min": "connected",
          "max": "disconnected"
        }
      }
    },
    "alerts": {
      "rows": 83,
      "columns": {
        "alert_id": {
          "nulls": 0,
          "distinct": 83,
          "min": 1,
          "max": 83
        },
        "rig_id": {
          "nulls": 0,
          "distinct": 45,
          "min": 2,
          "max": 100
        },
        "alert_type": {
          "nulls": 0,
          "distinct": 3,
          "min": "network issue",
          "max": "power supply"
        },
        "alert_timestamp": {
          "nulls": 0,
          "distinct": 83,
          "min": "2022-01-22 10:05:20",
          "max": "2023-12-22 13:14:26"
        }
      }
    },
    "maintenance_logs": {
      "rows": 129,
      "columns": {
        "log_id": {
          "nulls": 0,
          "distinct": 129,
          "min": 1,
          "max": 129
        },
        "rig_id": {
          "nulls": 0,
          "distinct": 100,
          "min": 1,
          "max": 100
        },
        "maintenance_date": {
          "nulls": 0,
          "distinct": 129,
          "min": "2022-01-13 08:03:08",
          "max": "2023-12-31 06:13:51"
        },
        "maintenance_type": {
          "nulls": 10,
          "distinct": 91
        }
      }
    }
  },
  "artifacts": [
    {
      "file": "csv/cryptocurrency_pools.csv",
      "format": "csv",
      "table": "cryptocurrency_pools",
      "key": "datasets/cryptocurrency-mining-monitoring-app/v2/csv/cryptocurrency_pools.csv",
      "url": "https://database-sample-website.s3.eu-north-1.amazonaws.com/datasets/cryptocurrency-mining-monitoring-app/v2/csv/cryptocurrency_pools.csv",
      "bytes": 1544,
      "sha256": "467e1e9b0f6c2f046d3a115bbbe7bb562bea7c19e8649883634f0c242d3e73ba",
      "rows": 50,
      "contentType": "text/csv; charset=utf-8"
    },
    {
      "file": "csv/rigs.csv",
      "format": "csv",
      "table": "rigs",
      "key": "datasets/cryptocurrency-mining-monitoring-app/v2/csv/rigs.csv",
      "url": "https://database-sample-website.s3.eu-north-1.amazonaws.com/datasets/cryptocurrency-mining-monitoring-app/v2/csv/rigs.csv",
      "bytes": 2512,
      "sha256": "b1bd6360fe57b8085141e6c7d82e35b3d5ec4c7558c927e5a732906e00a8a797",
      "rows": 100,
      "contentType": "text/csv; charset=utf-8"
    },
    {
      "file": "csv/alerts.csv",
      "format": "csv",
      "table": "alerts",
      "key": "datasets/cryptocurrency-mining-monitoring-app/v2/csv/alerts.csv",
      "url": "https://database-sample-website.s3.eu-north-1.amazonaws.com/datasets/cryptocurrency-mining-monitoring-app/v2/csv/alerts.csv",
      "bytes": 3344,
      "sha256": "4f7a760c84ffa7865efee123881e4df08799c0bbfafcb0f6747e548710d9b92b",
      "rows": 83,
      "contentType": "text/csv; charset=utf-8"
    },
    {
      "file": "csv/maintenance_logs.csv",
      "format": "csv",
      "table": "maintenance_logs",
      "key": "datasets/cryptocurrency-mining-monitoring-app/v2/csv/maintenance_logs.csv",
      "url": "https://database-sample-website.s3.eu-north-1.amazonaws.com/datasets/cryptocurrency-mining-monitoring-app/v2/csv/maintenance_logs.csv",
      "bytes": 5876,
      "sha256": "678d82e4d5cfa3f45b7b9ae95dd9e78ba1541e862f37a655a6215794a8426c60",
      "rows": 129,
      "contentType": "text/csv; charset=utf-8"
    },
    {
      "file": "csv/performance_metrics.csv",
      "format": "csv",
      "table": "performance_metrics",
      "key": "datasets/cryptocurrency-mining-monitoring-app/v2/csv/performance_metrics.csv",
      "url": "https://database-sample-website.s3.eu-north-1.amazonaws.com/datasets/cryptocurrency-mining-monitoring-app/v2/csv/performance_metrics.csv",
      "bytes": 9601,
      "sha256": "cce90bc88d1f5f28efc9e01815f27afb005e04c5819f77faff718f7d9350d8ef",
      "rows": 235,
      "contentType": "text/csv; charset=utf-8"
    },
    {
      "file": "cryptocurrency-mining-monitoring-app.json",
      "format": "json",
      "table": null,
      "key": "datasets/cryptocurrency-mining-monitoring-app/v2/cryptocurrency-mining-monitoring-app.json",
      "url": "https://database-sample-website.s3.eu-north-1.amazonaws.com/datasets/cryptocurrency-mining-monitoring-app/v2/cryptocurrency-mining-monitoring-app.json",
      "bytes": 88231,
      "sha256": "d46ef48d27d6f7e4351894be3c335fe532d2c8787bc4be7fbd31c879103313cb",
      "rows": null,
      "contentType": "application/json; charset=utf-8"
    },
    {
      "file": "sql/postgres.sql",
      "format": "sql-postgres",
      "table": null,
      "key": "datasets/cryptocurrency-mining-monitoring-app/v2/sql/postgres.sql",
      "url": "https://database-sample-website.s3.eu-north-1.amazonaws.com/datasets/cryptocurrency-mining-monitoring-app/v2/sql/postgres.sql",
      "bytes": 33367,
      "sha256": "72cdb186ea41f15008ccd0fdee44e7da29de6f1021915c49114b8a0f081b96a1",
      "rows": null,
      "contentType": "application/sql; charset=utf-8"
    },
    {
      "file": "sql/mysql.sql",
      "format": "sql-mysql",
      "table": null,
      "key": "datasets/cryptocurrency-mining-monitoring-app/v2/sql/mysql.sql",
      "url": "https://database-sample-website.s3.eu-north-1.amazonaws.com/datasets/cryptocurrency-mining-monitoring-app/v2/sql/mysql.sql",
      "bytes": 32711,
      "sha256": "23fb3ea4ef507d48e467bfc0a0cba063c4a93744540c77345442b0ec8fc098f7",
      "rows": null,
      "contentType": "application/sql; charset=utf-8"
    },
    {
      "file": "sql/mssql.sql",
      "format": "sql-mssql",
      "table": null,
      "key": "datasets/cryptocurrency-mining-monitoring-app/v2/sql/mssql.sql",
      "url": "https://database-sample-website.s3.eu-north-1.amazonaws.com/datasets/cryptocurrency-mining-monitoring-app/v2/sql/mssql.sql",
      "bytes": 33919,
      "sha256": "21bab581fcd9198f779d6c94fe49c28d09291d6cd9e35515bfcc04eafe6b4617",
      "rows": null,
      "contentType": "application/sql; charset=utf-8"
    },
    {
      "file": "sql/sqlite.sql",
      "format": "sql-sqlite",
      "table": null,
      "key": "datasets/cryptocurrency-mining-monitoring-app/v2/sql/sqlite.sql",
      "url": "https://database-sample-website.s3.eu-north-1.amazonaws.com/datasets/cryptocurrency-mining-monitoring-app/v2/sql/sqlite.sql",
      "bytes": 32531,
      "sha256": "dcc1eaf6518bd215d9dea251c3499db9a372d76edfc8e385079d4a56b80298ba",
      "rows": null,
      "contentType": "application/sql; charset=utf-8"
    },
    {
      "file": "prisma/seed.ts",
      "format": "prisma-seed",
      "table": null,
      "key": "datasets/cryptocurrency-mining-monitoring-app/v2/prisma/seed.ts",
      "url": "https://database-sample-website.s3.eu-north-1.amazonaws.com/datasets/cryptocurrency-mining-monitoring-app/v2/prisma/seed.ts",
      "bytes": 75859,
      "sha256": "1add9d5677cbd0e14ae2754526952e867232b0801fcd36afdae71d44a5c50ecd",
      "rows": null,
      "contentType": "application/typescript; charset=utf-8"
    },
    {
      "file": "django/fixtures.json",
      "format": "django-fixture",
      "table": null,
      "key": "datasets/cryptocurrency-mining-monitoring-app/v2/django/fixtures.json",
      "url": "https://database-sample-website.s3.eu-north-1.amazonaws.com/datasets/cryptocurrency-mining-monitoring-app/v2/django/fixtures.json",
      "bytes": 114555,
      "sha256": "167ada1fcf8203874b3f21ffaf305d5b75bb4b5d83663b63dea91b31d62b98ae",
      "rows": null,
      "contentType": "application/json; charset=utf-8"
    }
  ],
  "publishedAt": 1788767896333,
  "updatedAt": 1788778110854
}
