{
  "format": "dataset-manifest/1",
  "slug": "virtual-infrastructure-management",
  "version": 2,
  "seed": "virtual-infrastructure-management:1",
  "spec": {
    "format": "dataset/1",
    "slug": "virtual-infrastructure-management",
    "name": "Virtual Infrastructure Management",
    "tagline": "Virtual machines, resource allocations, security configurations, and performance metrics from government agencies.",
    "description": "Government agencies manage virtual machines to optimize their hardware resources, running multiple operating systems on a single platform. This approach not only enhances efficiency but also bolsters security by isolating environments and streamlining resource allocation. The operational dynamics revolve around creating and maintaining virtual infrastructures that align with the agencies' various operational mandates, ensuring that every virtual machine is allocated the appropriate resources, equipped with robust security configurations, and monitored for performance metrics.\n\nIn the dataset, the 'virtual_machines' table provides a comprehensive list of all virtual instances utilized by the agencies, detailing their specifications and operational status. The 'resource_allocations' table links directly to the virtual machines, defining the resources assigned to each instance, including CPU, memory, and storage allocations. Meanwhile, the 'security_configs' table outlines the security measures implemented for each virtual machine, such as firewall settings and access controls, ensuring compliance with governmental security standards.\n\nPerformance is key, and the 'performance_metrics' table captures essential data on the operational efficiency of each virtual machine, including CPU usage, memory consumption, and response times. The 'deployment_logs' table acts as a historical record, tracking when virtual machines were deployed, modified, or decommissioned, providing valuable insights into the lifecycle and operational trends of the virtual infrastructure.\n\nTogether, these tables allow for in-depth analysis and reporting on questions such as resource utilization efficiency, security compliance across different virtual environments, and performance trends over time. This synthetic dataset is particularly useful for practicing data analysis, database management, and crafting reports that could support decision-making in a governmental context.",
    "domain": "government",
    "shape": "graph-edges",
    "useCases": [
      "sql-practice",
      "teaching"
    ],
    "keywords": [
      "virtual machines",
      "resource allocation",
      "security configurations",
      "performance metrics",
      "government agencies"
    ],
    "locale": "en",
    "license": "CC0-1.0",
    "version": 1,
    "tables": {
      "virtual_machines": {
        "description": "This table contains core information about each virtual machine, including their configurations and deployment status.",
        "rows": 200,
        "columns": {
          "id": {
            "kind": "pk",
            "description": "Unique identifier for each virtual machine."
          },
          "name": {
            "kind": "fullName",
            "description": "The name assigned to the virtual machine."
          },
          "os_type": {
            "kind": "enum",
            "values": [
              "Windows",
              "Linux",
              "macOS"
            ],
            "description": "The operating system type of the virtual machine.",
            "weights": [
              6,
              3,
              1
            ]
          },
          "template": {
            "kind": "bool",
            "trueRate": 0.1,
            "description": "Indicates if the virtual machine is a template for deployment."
          },
          "status": {
            "kind": "enum",
            "values": [
              "running",
              "stopped",
              "paused"
            ],
            "description": "Current operational status of the virtual machine.",
            "weights": [
              7,
              2,
              1
            ]
          }
        }
      },
      "resource_allocations": {
        "description": "This table tracks the allocation of resources such as CPU and memory to each virtual machine.",
        "rows": {
          "per": "virtual_machines",
          "via": "virtual_machine_id",
          "min": 1,
          "max": 5,
          "skew": "long-tail"
        },
        "columns": {
          "id": {
            "kind": "pk",
            "description": "Unique identifier for each resource allocation entry."
          },
          "virtual_machine_id": {
            "kind": "fk",
            "ref": "virtual_machines.id",
            "description": "References the virtual machine this allocation is for."
          },
          "cpu_cores": {
            "kind": "int",
            "min": 1,
            "max": 8,
            "description": "Number of CPU cores allocated to the virtual machine."
          },
          "memory_mb": {
            "kind": "int",
            "min": 512,
            "max": 16384,
            "description": "Amount of memory allocated in megabytes."
          }
        }
      },
      "security_configs": {
        "description": "This table contains security configuration details for each virtual machine to ensure compliance and protection.",
        "rows": {
          "per": "virtual_machines",
          "via": "virtual_machine_id",
          "min": 1,
          "max": 3,
          "skew": "long-tail"
        },
        "columns": {
          "id": {
            "kind": "pk",
            "description": "Unique identifier for each security configuration entry."
          },
          "virtual_machine_id": {
            "kind": "fk",
            "ref": "virtual_machines.id",
            "description": "References the virtual machine this security config applies to."
          },
          "firewall_enabled": {
            "kind": "bool",
            "trueRate": 0.9,
            "description": "Indicates if the firewall is enabled for the virtual machine."
          },
          "encryption": {
            "kind": "enum",
            "values": [
              "none",
              "full",
              "partial"
            ],
            "description": "Level of encryption applied to the virtual machine.",
            "weights": [
              5,
              3,
              2
            ]
          }
        }
      },
      "performance_metrics": {
        "description": "This table provides performance metrics for each virtual machine, helping in monitoring its efficiency.",
        "rows": {
          "per": "virtual_machines",
          "via": "virtual_machine_id",
          "min": 1,
          "max": 4,
          "skew": "long-tail"
        },
        "columns": {
          "id": {
            "kind": "pk",
            "description": "Unique identifier for each performance metric entry."
          },
          "virtual_machine_id": {
            "kind": "fk",
            "ref": "virtual_machines.id",
            "description": "References the virtual machine this metric applies to."
          },
          "cpu_usage_percent": {
            "kind": "decimal",
            "min": 0,
            "max": 100,
            "scale": 2,
            "description": "Current CPU usage percentage of the virtual machine.",
            "distribution": "high"
          },
          "memory_usage_percent": {
            "kind": "decimal",
            "min": 0,
            "max": 100,
            "scale": 2,
            "description": "Current memory usage percentage of the virtual machine.",
            "distribution": "high"
          },
          "disk_io_operations": {
            "kind": "int",
            "min": 0,
            "max": 1000,
            "description": "Number of disk I/O operations performed by the virtual machine.",
            "distribution": "long-tail"
          }
        }
      },
      "deployment_logs": {
        "description": "This table logs the deployment history of each virtual machine, tracking when and how they were deployed.",
        "rows": {
          "per": "virtual_machines",
          "via": "virtual_machine_id",
          "min": 1,
          "max": 5,
          "skew": "long-tail"
        },
        "columns": {
          "id": {
            "kind": "pk",
            "description": "Unique identifier for each deployment log entry."
          },
          "virtual_machine_id": {
            "kind": "fk",
            "ref": "virtual_machines.id",
            "description": "References the virtual machine that was deployed."
          },
          "deployed_at": {
            "kind": "datetime",
            "from": "2020-01-01",
            "to": "2023-12-31",
            "description": "Timestamp of when the virtual machine was deployed.",
            "dayProfile": "business"
          },
          "deployed_by": {
            "kind": "fullName",
            "description": "Name of the person or entity that deployed the virtual machine."
          }
        }
      }
    },
    "structure": "multi-table",
    "traits": [
      "categorical",
      "nullable",
      "timestamped",
      "high-cardinality"
    ],
    "analysisQuestions": [
      "What is the average CPU usage for running virtual machines?",
      "How many virtual machines have encryption enabled?",
      "What is the distribution of memory allocations across all virtual machines?",
      "Which virtual machines have the highest disk I/O operations?",
      "How does the deployment frequency of templates compare to standard configurations?"
    ],
    "suggestedQueries": [
      {
        "title": "Select all virtual machines and their statuses",
        "sql": "SELECT name, status FROM virtual_machines;",
        "dialect": "postgres"
      },
      {
        "title": "Get resource allocations for each virtual machine",
        "sql": "SELECT vm.name, ra.cpu_cores, ra.memory_mb FROM virtual_machines vm JOIN resource_allocations ra ON vm.id = ra.virtual_machine_id;",
        "dialect": "postgres"
      },
      {
        "title": "Count the number of security configurations per virtual machine",
        "sql": "SELECT vm.name, COUNT(sc.id) AS security_count FROM virtual_machines vm LEFT JOIN security_configs sc ON vm.id = sc.virtual_machine_id GROUP BY vm.name;",
        "dialect": "postgres"
      },
      {
        "title": "Find average performance metrics for running VMs",
        "sql": "SELECT vm.name, AVG(pm.cpu_usage_percent) AS avg_cpu_usage, AVG(pm.memory_usage_percent) AS avg_memory_usage FROM virtual_machines vm JOIN performance_metrics pm ON vm.id = pm.virtual_machine_id WHERE vm.status = 'running' GROUP BY vm.name;",
        "dialect": "postgres"
      },
      {
        "title": "List deployment logs for a specific VM",
        "sql": "SELECT dl.deployed_at, dl.deployed_by FROM deployment_logs dl JOIN virtual_machines vm ON dl.virtual_machine_id = vm.id WHERE vm.name = 'Example VM';",
        "dialect": "postgres"
      }
    ],
    "usageScenarios": [
      {
        "title": "Training for Government IT Staff",
        "body": "This dataset can be used in training programs for IT staff in government agencies, helping them understand how to manage and optimize virtual machines effectively. By working with real-world scenarios, trainees can practice SQL queries to analyze resource allocations, security configurations, and performance metrics."
      },
      {
        "title": "Academic Research on Virtualization",
        "body": "Researchers studying the impact of virtualization in government settings can utilize this dataset to draw conclusions about resource management, security compliance, and performance optimization. They can conduct analysis and present findings based on the data, enhancing the knowledge base in this field."
      },
      {
        "title": "Developing Educational Tools",
        "body": "Educators can leverage this dataset to create teaching materials and exercises for students learning about IT infrastructure and virtualization technologies. By using synthetic data, students can engage in hands-on practice without the need for access to real systems."
      },
      {
        "title": "Performance Monitoring Workshops",
        "body": "Workshops focusing on performance monitoring and optimization of virtual infrastructure can use this dataset to guide participants through practical exercises. Participants can learn how to analyze performance metrics and make data-driven decisions to improve efficiency within their virtual environments."
      }
    ]
  },
  "counts": {
    "virtual_machines": 200,
    "deployment_logs": 457,
    "performance_metrics": 366,
    "resource_allocations": 435,
    "security_configs": 337
  },
  "stats": {
    "virtual_machines": {
      "rows": 200,
      "columns": {
        "id": {
          "nulls": 0,
          "distinct": 200,
          "min": 1,
          "max": 200
        },
        "name": {
          "nulls": 0,
          "distinct": 198,
          "min": "Alice Torres",
          "max": "Zoe Moreau"
        },
        "os_type": {
          "nulls": 0,
          "distinct": 3,
          "min": "Linux",
          "max": "macOS"
        },
        "template": {
          "nulls": 0,
          "distinct": 2,
          "min": "false",
          "max": "true"
        },
        "status": {
          "nulls": 0,
          "distinct": 3,
          "min": "paused",
          "max": "stopped"
        }
      }
    },
    "resource_allocations": {
      "rows": 435,
      "columns": {
        "id": {
          "nulls": 0,
          "distinct": 435,
          "min": 1,
          "max": 435
        },
        "virtual_machine_id": {
          "nulls": 0,
          "distinct": 200,
          "min": 1,
          "max": 200
        },
        "cpu_cores": {
          "nulls": 0,
          "distinct": 8,
          "min": 1,
          "max": 8
        },
        "memory_mb": {
          "nulls": 0,
          "distinct": 429,
          "min": 564,
          "max": 16301
        }
      }
    },
    "security_configs": {
      "rows": 337,
      "columns": {
        "id": {
          "nulls": 0,
          "distinct": 337,
          "min": 1,
          "max": 337
        },
        "virtual_machine_id": {
          "nulls": 0,
          "distinct": 200,
          "min": 1,
          "max": 200
        },
        "firewall_enabled": {
          "nulls": 0,
          "distinct": 2,
          "min": "false",
          "max": "true"
        },
        "encryption": {
          "nulls": 0,
          "distinct": 3,
          "min": "full",
          "max": "partial"
        }
      }
    },
    "performance_metrics": {
      "rows": 366,
      "columns": {
        "id": {
          "nulls": 0,
          "distinct": 366,
          "min": 1,
          "max": 366
        },
        "virtual_machine_id": {
          "nulls": 0,
          "distinct": 200,
          "min": 1,
          "max": 200
        },
        "cpu_usage_percent": {
          "nulls": 0,
          "distinct": 343,
          "min": 0.15,
          "max": 100
        },
        "memory_usage_percent": {
          "nulls": 0,
          "distinct": 350,
          "min": 0.25,
          "max": 100
        },
        "disk_io_operations": {
          "nulls": 0,
          "distinct": 272,
          "min": 0,
          "max": 994
        }
      }
    },
    "deployment_logs": {
      "rows": 457,
      "columns": {
        "id": {
          "nulls": 0,
          "distinct": 457,
          "min": 1,
          "max": 457
        },
        "virtual_machine_id": {
          "nulls": 0,
          "distinct": 200,
          "min": 1,
          "max": 200
        },
        "deployed_at": {
          "nulls": 0,
          "distinct": 457,
          "min": "2020-01-02 10:21:38",
          "max": "2023-12-28 09:10:24"
        },
        "deployed_by": {
          "nulls": 0,
          "distinct": 450,
          "min": "Alice Becker",
          "max": "Zoe Park"
        }
      }
    }
  },
  "artifacts": [
    {
      "file": "csv/virtual_machines.csv",
      "format": "csv",
      "table": "virtual_machines",
      "key": "datasets/virtual-infrastructure-management/v2/csv/virtual_machines.csv",
      "url": "https://database-sample-website.s3.eu-north-1.amazonaws.com/datasets/virtual-infrastructure-management/v2/csv/virtual_machines.csv",
      "bytes": 7557,
      "sha256": "e3e1030fe3e43b40bb6e04b09c0fcc6212d666f70c54e1c099d25745edbf7c38",
      "rows": 200,
      "contentType": "text/csv; charset=utf-8"
    },
    {
      "file": "csv/deployment_logs.csv",
      "format": "csv",
      "table": "deployment_logs",
      "key": "datasets/virtual-infrastructure-management/v2/csv/deployment_logs.csv",
      "url": "https://database-sample-website.s3.eu-north-1.amazonaws.com/datasets/virtual-infrastructure-management/v2/csv/deployment_logs.csv",
      "bytes": 18474,
      "sha256": "7642538bdbc04dd884286d83c8a44984ae1b9a9a679cf8130e37955a9bf0dc19",
      "rows": 457,
      "contentType": "text/csv; charset=utf-8"
    },
    {
      "file": "csv/performance_metrics.csv",
      "format": "csv",
      "table": "performance_metrics",
      "key": "datasets/virtual-infrastructure-management/v2/csv/performance_metrics.csv",
      "url": "https://database-sample-website.s3.eu-north-1.amazonaws.com/datasets/virtual-infrastructure-management/v2/csv/performance_metrics.csv",
      "bytes": 8736,
      "sha256": "2a96b719d0a4ea794a14ecda9e14d4a62d430bd96b6846edd6cfb5a80f317510",
      "rows": 366,
      "contentType": "text/csv; charset=utf-8"
    },
    {
      "file": "csv/resource_allocations.csv",
      "format": "csv",
      "table": "resource_allocations",
      "key": "datasets/virtual-infrastructure-management/v2/csv/resource_allocations.csv",
      "url": "https://database-sample-website.s3.eu-north-1.amazonaws.com/datasets/virtual-infrastructure-management/v2/csv/resource_allocations.csv",
      "bytes": 6849,
      "sha256": "a65fed3eb7bb9ab3b2401adab024f21bbdd82a10a4df8d86321c83dc2e89a1f8",
      "rows": 435,
      "contentType": "text/csv; charset=utf-8"
    },
    {
      "file": "csv/security_configs.csv",
      "format": "csv",
      "table": "security_configs",
      "key": "datasets/virtual-infrastructure-management/v2/csv/security_configs.csv",
      "url": "https://database-sample-website.s3.eu-north-1.amazonaws.com/datasets/virtual-infrastructure-management/v2/csv/security_configs.csv",
      "bytes": 6421,
      "sha256": "6403dcbaba87e895e81052387a518596fc72499dc978f7f30e50a916fd1e2dab",
      "rows": 337,
      "contentType": "text/csv; charset=utf-8"
    },
    {
      "file": "virtual-infrastructure-management.json",
      "format": "json",
      "table": null,
      "key": "datasets/virtual-infrastructure-management/v2/virtual-infrastructure-management.json",
      "url": "https://database-sample-website.s3.eu-north-1.amazonaws.com/datasets/virtual-infrastructure-management/v2/virtual-infrastructure-management.json",
      "bytes": 240560,
      "sha256": "2341d178d90aa78b385fef54a87d205ba676472c3cd52f8968fe139a72e89e30",
      "rows": null,
      "contentType": "application/json; charset=utf-8"
    },
    {
      "file": "sql/postgres.sql",
      "format": "sql-postgres",
      "table": null,
      "key": "datasets/virtual-infrastructure-management/v2/sql/postgres.sql",
      "url": "https://database-sample-website.s3.eu-north-1.amazonaws.com/datasets/virtual-infrastructure-management/v2/sql/postgres.sql",
      "bytes": 72075,
      "sha256": "3be2d23e255d4dc57b35fa57f7e999c278f0fa27d4fd47006e4b83e2dc787687",
      "rows": null,
      "contentType": "application/sql; charset=utf-8"
    },
    {
      "file": "sql/mysql.sql",
      "format": "sql-mysql",
      "table": null,
      "key": "datasets/virtual-infrastructure-management/v2/sql/mysql.sql",
      "url": "https://database-sample-website.s3.eu-north-1.amazonaws.com/datasets/virtual-infrastructure-management/v2/sql/mysql.sql",
      "bytes": 69607,
      "sha256": "9982b85ad7639ff7eca871ae292fd2637cbb19874014b6915eb111366a62515e",
      "rows": null,
      "contentType": "application/sql; charset=utf-8"
    },
    {
      "file": "sql/mssql.sql",
      "format": "sql-mssql",
      "table": null,
      "key": "datasets/virtual-infrastructure-management/v2/sql/mssql.sql",
      "url": "https://database-sample-website.s3.eu-north-1.amazonaws.com/datasets/virtual-infrastructure-management/v2/sql/mssql.sql",
      "bytes": 71847,
      "sha256": "2b2804c0d4acc044c0650b0c8cc673631234c6dd930d205242871ad06cc4c71b",
      "rows": null,
      "contentType": "application/sql; charset=utf-8"
    },
    {
      "file": "sql/sqlite.sql",
      "format": "sql-sqlite",
      "table": null,
      "key": "datasets/virtual-infrastructure-management/v2/sql/sqlite.sql",
      "url": "https://database-sample-website.s3.eu-north-1.amazonaws.com/datasets/virtual-infrastructure-management/v2/sql/sqlite.sql",
      "bytes": 69325,
      "sha256": "328c7ab60cdda3b565c92742a338a41ecebf61af0b9bd50ec46b6da44abb231c",
      "rows": null,
      "contentType": "application/sql; charset=utf-8"
    },
    {
      "file": "prisma/seed.ts",
      "format": "prisma-seed",
      "table": null,
      "key": "datasets/virtual-infrastructure-management/v2/prisma/seed.ts",
      "url": "https://database-sample-website.s3.eu-north-1.amazonaws.com/datasets/virtual-infrastructure-management/v2/prisma/seed.ts",
      "bytes": 193322,
      "sha256": "2dab195de3d9e9258949645d43a791af3ea19fbb6ae29f55af187eff0f567f72",
      "rows": null,
      "contentType": "application/typescript; charset=utf-8"
    },
    {
      "file": "django/fixtures.json",
      "format": "django-fixture",
      "table": null,
      "key": "datasets/virtual-infrastructure-management/v2/django/fixtures.json",
      "url": "https://database-sample-website.s3.eu-north-1.amazonaws.com/datasets/virtual-infrastructure-management/v2/django/fixtures.json",
      "bytes": 331576,
      "sha256": "5fa28fc67984c5fd264b9ff2945353708cbc37a51fa953f29bcbbc5e4d2b39f9",
      "rows": null,
      "contentType": "application/json; charset=utf-8"
    }
  ],
  "publishedAt": 1788767292423,
  "updatedAt": 1788786722181
}
