Answered step by step
Verified Expert Solution
Question
1 Approved Answer
Formative Assessment 3 1 0 0 Marks Garage Management System: Expanded Scenario and Data Joe's Garage is a bustling family - owned business operating in
Formative Assessment Marks
Garage Management System: Expanded Scenario and Data
Joe's Garage is a bustling familyowned business operating in Pretoria, South Africa, for over years.
They cater to a diverse clientele, from individual car owners to corporate fleets. However, their aging
Excel system struggles to manage:
Growing customer base: Over customers with varying vehicle types and service histories.
Complex service offerings: Including routine maintenance, repairs, diagnostics, performance
upgrades, and tire services.
Expanding inventory: Parts, tools, and consumables across various brands and categories.
Multiple employees: Mechanics, technicians, service advisors, and administrative staff with
varying roles and permissions.
Financial tracking: Invoicing, payments, accounts payablereceivable and payroll management.
Data Expansion:
Customers: Include loyalty programs, contact preferences, vehicle purchase history, and service
preferences.
Vehicles: Add VIN numbers, model years, mileage, fuel types, and service records with dates,
descriptions, and costs.
Services: Expand with specific labor costs, parts used linked to inventory and warranty
information.
Invoices: Include payment methods, discounts, taxes, and technician assigned.
Inventory: Implement categories, suppliers, minimummaximum stock levels, reorder points,
and purchase orders.
Employees: Include roles, departments, salaries, work schedules, and access control levels.
Database Design & Development:
Develop an EntityRelationship Diagram ERD representing the entities mentioned in the
scenario and their relationships. Ensure it adheres to normalization principles.
Create tables in your chosen DBMS eg MySQL based on the ERD, defining appropriate data
types, constraints, primaryforeign keys, and relationships.
Populate the database with realistic dummy data covering customers, vehicles, services,
invoices, inventory limited scope for this project and employees limited scope Ensure the
data represents the diverse clientele, service offerings, and employee roles outlined in the
scenario.
Develop code eg Python with pandas to read the Excel data, transform it if necessary, and
insert it into the database tables efficiently. Include error handling in your code.
Database Optimization:
Identify frequently used columns in queries and create indexes on them to improve query
performance. Use code eg SQL queries to create and manage indexes.
Evaluate the tradeoffs between data redundancy and query performance for specific scenarios.
Justify any strategic denormalization you implement while maintaining data integrity. Use code
to implement the changes.
Analyze slow queries using tools like EXPLAIN PLAN. Use code eg SQL queries to rewrite
inefficient queries with techniques like joins optimization and subquery elimination.
Automation Tasks:
Implement automated data backups periodically eg daily using code eg shell scripts and
tools like mysqldump. Automate restoration scripts for potential disaster recovery.
Develop code eg Python, SQL to automatically generate invoices upon service completion
based on service and parts data. Integrate with payment gateways for automated billing.
Create triggers or stored procedures to track inventory levels and automatically generate
reorder points when stock falls below a threshold. Use code to automate purchase orders when
triggered.
Disaster Recovery:
Set up database replication to a secondary server for redundancy and failover in case of primary
server failure. Use code eg mysqldump scripts to automate replication setup and
management.
Explore high availability HA solutions like clustering for further resilience. Research tools like
Galera Cluster or DRBD for MySQL clustering and discuss their feasibility.
Develop a comprehensive disaster recovery plan documenting steps to recover from various
scenarios eg hardware failure, data corruption Include database restoration, application
recovery, and data synchronization procedures.
Mark Allocation:
Database Design & Development :
ERD clarity, completeness, and adherence to normalization principles
Table structure, data types, constraints, and relationships
Dummy data realism, quantity, and coverage of entities
Data import code efficiency and error handling
Database Optimization :
Indexing strategy and impact on query performance
Denormalization justification and implementation
Query optimization techniques and performance improvement
Automation Tasks :
Data backup & restore automation effectiveness and reliability
Invoice generation code functionality and integration
Inventory management triggersprocedures and purchase order automation
Disaster Recovery :
Replication setu
Step by Step Solution
There are 3 Steps involved in it
Step: 1
Get Instant Access to Expert-Tailored Solutions
See step-by-step solutions with expert insights and AI powered tools for academic success
Step: 2
Step: 3
Ace Your Homework with AI
Get the answers you need in no time with our AI-driven, step-by-step assistance
Get Started