Advertisement
Guest User

Untitled

a guest
Dec 22nd, 2014
141
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.09 KB | None | 0 0
  1. table: legacy
  2.  
  3. # The CQL for creating a table you wish to stress (optional if it already exists)
  4. table_definition: |
  5. CREATE TABLE legacy (
  6. pkey blob primary key,
  7. c0 blob,
  8. c1 blob,
  9. c2 blob,
  10. c3 blob,
  11. c4 blob) WITH compression = {'sstable_compression':''};
  12.  
  13. ### Column Distribution Specifications ###
  14. columnspec:
  15. - name: pkey
  16. size: fixed(10)
  17. - name: c0
  18. size: fixed(34)
  19. - name: c1
  20. size: fixed(34)
  21. - name: c2
  22. size: fixed(34)
  23. - name: c3
  24. size: fixed(34)
  25. - name: c4
  26. size: fixed(34)
  27.  
  28. ### Batch Ratio Distribution Specifications ###
  29. insert:
  30. partitions: fixed(1) # Our partition key is the domain so only insert one per batch
  31. select: fixed(1)/1 #one row per batch
  32. batchtype: UNLOGGED # Unlogged batches
  33.  
  34.  
  35. #
  36. # A list of queries you wish to run against the schema
  37. #
  38. queries:
  39. querylimit:
  40. cql: select * from legacy where pkey = ? LIMIT 1
  41. fields: samerow
  42. query:
  43. cql: select * from legacy where pkey = ?
  44. fields: samerow
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement