fast times at sql server high
DESCRIPTION
Fast Times at SQL Server High. Data Management Inside a NASCAR Race Team. Andy Korczynski - Red Bull Racing. Overview. What is NASCAR? Typical NASCAR team organization How does SQL Server help? Possible SQL Server architectures NASCAR is highly competitive - PowerPoint PPT PresentationTRANSCRIPT
Fast Times at SQL Server Fast Times at SQL Server HighHigh
Data Management Inside a Data Management Inside a NASCAR Race TeamNASCAR Race Team
Andy Korczynski - Red Bull Racing
OverviewOverviewWhat is NASCAR?What is NASCAR?Typical NASCAR team organizationTypical NASCAR team organizationHow does SQL Server help?How does SQL Server help?Possible SQL Server architecturesPossible SQL Server architecturesNASCAR is highly competitiveNASCAR is highly competitiveNo application demos, code samples, or No application demos, code samples, or
specific details on architecturespecific details on architecture
Overview of NASCAROverview of NASCARNational Association for Stock Car Auto National Association for Stock Car Auto
RacingRacingNASCAR Sprint Cup Series (NSCS)NASCAR Sprint Cup Series (NSCS)NASCAR Nationwide Series (NNS)NASCAR Nationwide Series (NNS)NASCAR Craftsman Truck Series (NCTS)NASCAR Craftsman Truck Series (NCTS)Various regional series Various regional series
NSCS has 36 races in a seasonNSCS has 36 races in a season
Overview of NASCAR (cont)Overview of NASCAR (cont)Roughly 18 teams compete each weekRoughly 18 teams compete each week~$15 Million to field a car for the year~$15 Million to field a car for the year~$5 Million in purse money per race~$5 Million in purse money per raceMost teams field 2+ carsMost teams field 2+ carsToyota, Chevy, Dodge, and FordToyota, Chevy, Dodge, and Ford8 Million TV viewers8 Million TV viewersEvents can attract 100,000+ peopleEvents can attract 100,000+ people
Cup Car SpecsCup Car SpecsCarbureted V8 EngineCarbureted V8 Engine~750 HP~750 HP4 speed manual transmission4 speed manual transmission~3400 lbs~3400 lbs3-4 MPG3-4 MPGUnleaded GasolineUnleaded GasolinePower Steering!Power Steering!
Cup Team OverviewCup Team OverviewApproximately 100 employees per carApproximately 100 employees per carTeams employ 20-30 engineersTeams employ 20-30 engineersTrack side organizationTrack side organization
Crew ChiefCrew ChiefRace EngineerRace EngineerCar ChiefCar ChiefMechanicsMechanicsPit CrewPit Crew
How Can SQL Server Help?How Can SQL Server Help?Document ManagementDocument ManagementEnterprise Resource Planning (ERP)Enterprise Resource Planning (ERP)Manufacturing Resource Planning (MRP)Manufacturing Resource Planning (MRP)Race car setup data managementRace car setup data managementRace car data systems managementRace car data systems managementSimulation data managementSimulation data managementWorkflow managementWorkflow management
Document ManagementDocument ManagementPractice/Race ReportsPractice/Race ReportsCar design/CAD managementCar design/CAD managementTechnical BulletinsTechnical BulletinsTiming and Scoring ReportsTiming and Scoring ReportsBest practices Best practices
Race Car Data SystemsRace Car Data SystemsMost teams use Pi Data Systems for Most teams use Pi Data Systems for
sensor data collectionsensor data collectionTypical setup involves 30+ sensorsTypical setup involves 30+ sensorsA practice outing produces about 10-15MB A practice outing produces about 10-15MB
of dataof dataData must be disseminated to track and Data must be disseminated to track and
shop personnel as quickly as possibleshop personnel as quickly as possible
Race Car SetupRace Car SetupTire dataTire dataShock dataShock dataVehicle setup informationVehicle setup informationSensor DataSensor DataPractice vehicle outing/run dataPractice vehicle outing/run dataRace logRace logDriver feedback Driver feedback
Simulation DataSimulation DataRig data resultsRig data resultsComputer simulation resultsComputer simulation resultsMust be fed with real dataMust be fed with real dataResults must be fed back to central Results must be fed back to central
databasedatabase
SQL Server to the Rescue!SQL Server to the Rescue!All data is stored in SQL ServerAll data is stored in SQL ServerSecuritySecurityProvides an easy way to back up all Provides an easy way to back up all
critical datacritical dataProvides replication services to maintain a Provides replication services to maintain a
high level of data availabilityhigh level of data availability
SQL Server ReplicationSQL Server ReplicationSnapshot replicationSnapshot replication
Provides initial set of data for merge Provides initial set of data for merge replicationreplication
Good for infrequently changing dataGood for infrequently changing dataMerge replicationMerge replication
Good for server to client applicationsGood for server to client applicationsTransactional replicationTransactional replication
Ideally suited for server to serverIdeally suited for server to server
Merge ReplicationMerge ReplicationSnapshot replication used to populate Snapshot replication used to populate
initial datainitial dataCan be based on a push or pull systemCan be based on a push or pull systemCan create multiple publications from the Can create multiple publications from the
same databasesame databaseBased on a Publisher/Subscriber systemBased on a Publisher/Subscriber systemCan deal with schema changesCan deal with schema changes
Merge Replication Types (Push)Merge Replication Types (Push)
Publisher (Server) connects to the Publisher (Server) connects to the Subscriber (client)Subscriber (client)
Works with SQL Server ExpressWorks with SQL Server ExpressCan bog down server if there are a lot of Can bog down server if there are a lot of
clients (each client is synchronized via a clients (each client is synchronized via a SQL Server Agent job)SQL Server Agent job)
Merge Replication Types (Pull)Merge Replication Types (Pull)Subscriber (client) initiates connection to Subscriber (client) initiates connection to
Publisher (client)Publisher (client)Not available with SQL Express (No SQL Not available with SQL Express (No SQL
Server Agent)Server Agent)Can use anonymous subscriptions and Can use anonymous subscriptions and
write your own synchronization agentwrite your own synchronization agent
Merge Replication LimitsMerge Replication Limits256 Articles256 Articles
Limits the number of stored proceduresLimits the number of stored proceduresCreating multiple publications can be Creating multiple publications can be
hazardous!hazardous!246 Columns in a table246 Columns in a table
Think vertical table designThink vertical table design1024 Bytes for a column used in a row 1024 Bytes for a column used in a row
filterfilter
Central Race Team ScenarioCentral Race Team ScenarioSQL Server cluster at the main facilitySQL Server cluster at the main facilityLocal non-travelling clients connect Local non-travelling clients connect
directly to clusterdirectly to clusterTravelling clients run SQL Express and Travelling clients run SQL Express and
connect periodicallyconnect periodically Information is available and updated Information is available and updated
throughout the racethroughout the raceAllows everyone to be a “backseat” crew Allows everyone to be a “backseat” crew
chiefchief
The Hauler ScenarioThe Hauler ScenarioThis is where the race team lives on the This is where the race team lives on the
weekendsweekendsLocal Server SQL that can act as Local Server SQL that can act as
publisher and subscriberpublisher and subscriberLocal SQL provides faster replication Local SQL provides faster replication
times for local clientstimes for local clientsAllows replication within a team even if Allows replication within a team even if
connection to shop goes downconnection to shop goes down
SQL Server CompactSQL Server CompactCan participate in replicationCan participate in replicationGreat for small devices used for data entryGreat for small devices used for data entry
Tire dataTire dataTrackside weather informationTrackside weather informationGPS enabled devicesGPS enabled devices
In ConclusionIn ConclusionSQL Server in racing is exciting!!!!SQL Server in racing is exciting!!!!New SQL Server Filestream data type will New SQL Server Filestream data type will
make working with large data types easiermake working with large data types easierTechnology and data sharing really do Technology and data sharing really do
help win raceshelp win races
THANK YOU!THANK YOU!