13.07.2015 Views

Magazine - 1000 BiT

Magazine - 1000 BiT

Magazine - 1000 BiT

SHOW MORE
SHOW LESS

Create successful ePaper yourself

Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.

TPC-C Benchmark7 -.I. lie TPC-C bcncIi~-nark \\,as designed to mimic compleson-linc transaction proccssing (OLTP) as specifiedby the Tra~lsaction Processing PerformanceCouncil.' The TPC-(: ~rorkload depicts the activity ofa generic \vliolesale supplier conipany. Tlie companyconsists of n nurnbcr of distributed sales districts andassociated \\rarcho~~ses. Each \\~archo~~se has 10 districts.Each district ser\jiccs 3,000 customer rccluests. Each\\~arcliol~se maintains a stock of 100,000 items sold bytlie company. The database is scaled according tothro~~glipilt (that is, higher transaction rates Lue largerdatabases). Customers call thc company to placc ne\vorders or request the status of an esisting ordcr.MethodThe benchmark consists of five co~nples trans? - 'that access nine different tables.'Thc fivc transactionsarc \vcightcd as ti)llo\\s:' L~IOIIS1. Fortythree percent-A ne\v-order transactionplaces an order (an average of 10 lines) fi-om a \\,archousethrough a single databasc transactlon and~~pdatcs the corresponding stock level for each item.In 99 percent of the ne\\/-ordcr tr.ins'ictions, thesupplving \\larehouse is the locd ar arc house and only1 percent of tlic accesscs arc to a rernotc \\larehouse.2. For?-thrcc percent-A paylnent transactionprocesses a payrncnt for a customer, updates the customer'sbalance, and rctlccts the payment in thcdistrict and warehouse sales statistics. Tlie customerrcsident \\larehouse is thc honle \\larel~o~~se S5 percentof tlic tinie and is the rernotc \\,arehouse15 pcrccnt of tlie time.3. Four percent-An order-status tra~isaction returnsthe stat~~s ofa custo~iicr ordcr. The customer order isselectcd 60 pcrcent of the time by the last name and40 pcrccnt of the time by an identification number.4. Four percent-A deli\rcr!l transaction proccssesorders corresponding to 10 pcnding orders for eachdistrict \vitIi 10 items per order. The correspondingentry in the ne\v-order table is also deletcd. Thedelivery transaction is intcnded to bc executed inclefcrrcd niodc through a clueuing mcclianisni.Tlicre is no terminal rcsponse for completion.5. Four percent-A stocl

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!