Fast Times at SQL Server High - PowerPoint PPT Presentation

1 / 21
About This Presentation
Title:

Fast Times at SQL Server High

Description:

Andy Korczynski - Red Bull Racing. Overview. What is NASCAR? Typical NASCAR ... for Stock Car Auto Racing. NASCAR Sprint Cup Series ... in racing is ... – PowerPoint PPT presentation

Number of Views:89
Avg rating:3.0/5.0
Slides: 22
Provided by: redb3
Category:
Tags: sql | auto | fast | high | racing | server | times

less

Transcript and Presenter's Notes

Title: Fast Times at SQL Server High


1
Fast Times at SQL Server High
  • Data Management Inside a NASCAR Race Team

Andy Korczynski - Red Bull Racing
2
Overview
  • What is NASCAR?
  • Typical NASCAR team organization
  • How does SQL Server help?
  • Possible SQL Server architectures
  • NASCAR is highly competitive
  • No application demos, code samples, or specific
    details on architecture

3
Overview of NASCAR
  • National Association for Stock Car Auto Racing
  • NASCAR Sprint Cup Series (NSCS)
  • NASCAR Nationwide Series (NNS)
  • NASCAR Craftsman Truck Series (NCTS)
  • Various regional series
  • NSCS has 36 races in a season

4
Overview of NASCAR (cont)
  • Roughly 18 teams compete each week
  • 15 Million to field a car for the year
  • 5 Million in purse money per race
  • Most teams field 2 cars
  • Toyota, Chevy, Dodge, and Ford
  • 8 Million TV viewers
  • Events can attract 100,000 people

5
Cup Car Specs
  • Carbureted V8 Engine
  • 750 HP
  • 4 speed manual transmission
  • 3400 lbs
  • 3-4 MPG
  • Unleaded Gasoline
  • Power Steering!

6
Cup Team Overview
  • Approximately 100 employees per car
  • Teams employ 20-30 engineers
  • Track side organization
  • Crew Chief
  • Race Engineer
  • Car Chief
  • Mechanics
  • Pit Crew

7
How Can SQL Server Help?
  • Document Management
  • Enterprise Resource Planning (ERP)
  • Manufacturing Resource Planning (MRP)
  • Race car setup data management
  • Race car data systems management
  • Simulation data management
  • Workflow management

8
Document Management
  • Practice/Race Reports
  • Car design/CAD management
  • Technical Bulletins
  • Timing and Scoring Reports
  • Best practices

9
Race Car Data Systems
  • Most teams use Pi Data Systems for sensor data
    collection
  • Typical setup involves 30 sensors
  • A practice outing produces about 10-15MB of data
  • Data must be disseminated to track and shop
    personnel as quickly as possible

10
Race Car Setup
  • Tire data
  • Shock data
  • Vehicle setup information
  • Sensor Data
  • Practice vehicle outing/run data
  • Race log
  • Driver feedback

11
Simulation Data
  • Rig data results
  • Computer simulation results
  • Must be fed with real data
  • Results must be fed back to central database

12
SQL Server to the Rescue!
  • All data is stored in SQL Server
  • Security
  • Provides an easy way to back up all critical
    data
  • Provides replication services to maintain a high
    level of data availability

13
SQL Server Replication
  • Snapshot replication
  • Provides initial set of data for merge
    replication
  • Good for infrequently changing data
  • Merge replication
  • Good for server to client applications
  • Transactional replication
  • Ideally suited for server to server

14
Merge Replication
  • Snapshot replication used to populate initial
    data
  • Can be based on a push or pull system
  • Can create multiple publications from the same
    database
  • Based on a Publisher/Subscriber system
  • Can deal with schema changes

15
Merge Replication Types (Push)
  • Publisher (Server) connects to the Subscriber
    (client)
  • Works with SQL Server Express
  • Can bog down server if there are a lot of clients
    (each client is synchronized via a SQL Server
    Agent job)

16
Merge Replication Types (Pull)
  • Subscriber (client) initiates connection to
    Publisher (client)
  • Not available with SQL Express (No SQL Server
    Agent)
  • Can use anonymous subscriptions and write your
    own synchronization agent

17
Merge Replication Limits
  • 256 Articles
  • Limits the number of stored procedures
  • Creating multiple publications can be hazardous!
  • 246 Columns in a table
  • Think vertical table design
  • 1024 Bytes for a column used in a row filter

18
Central Race Team Scenario
  • SQL Server cluster at the main facility
  • Local non-travelling clients connect directly to
    cluster
  • Travelling clients run SQL Express and connect
    periodically
  • Information is available and updated throughout
    the race
  • Allows everyone to be a backseat crew chief

19
The Hauler Scenario
  • This is where the race team lives on the
    weekends
  • Local Server SQL that can act as publisher and
    subscriber
  • Local SQL provides faster replication times for
    local clients
  • Allows replication within a team even if
    connection to shop goes down

20
SQL Server Compact
  • Can participate in replication
  • Great for small devices used for data entry
  • Tire data
  • Trackside weather information
  • GPS enabled devices

21
In Conclusion
  • SQL Server in racing is exciting!!!!
  • New SQL Server Filestream data type will make
    working with large data types easier
  • Technology and data sharing really do help win
    races
  • THANK YOU!
Write a Comment
User Comments (0)
About PowerShow.com