selects_resident_memory.json 1.5 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100
  1. [
  2. {
  3. "QueryType": "table_drop",
  4. "Database": "db_test",
  5. "Datatable": "table_strong_consistency"
  6. },
  7. {
  8. "QueryType": "table_create",
  9. "Database": "db_test",
  10. "Datatable": "table_strong_consistency",
  11. "Definition": {
  12. "strong_consistency": true,
  13. "Columns": [
  14. {
  15. "Name": "KeyBoolean",
  16. "Type": "Boolean"
  17. },
  18. {
  19. "Name": "KeyLong",
  20. "Type": "Long"
  21. },
  22. {
  23. "Name": "KeyString",
  24. "Type": "String"
  25. },
  26. {
  27. "Name": "ValueBoolean",
  28. "Type": "Boolean"
  29. },
  30. {
  31. "Name": "ValueLong",
  32. "Type": "Long"
  33. },
  34. {
  35. "Name": "ValueString",
  36. "Type": "String"
  37. }
  38. ],
  39. "Key": [
  40. "KeyBoolean",
  41. "KeyLong",
  42. "KeyString"
  43. ],
  44. "Indexes": [
  45. {
  46. "Name": "index_0",
  47. "Columns": [
  48. "KeyString",
  49. "KeyLong",
  50. "KeyBoolean"
  51. ]
  52. },
  53. {
  54. "Name": "index_1",
  55. "Columns": [
  56. "ValueBoolean"
  57. ]
  58. },
  59. {
  60. "Name": "index_2",
  61. "Columns": [
  62. "ValueLong"
  63. ]
  64. },
  65. {
  66. "Name": "index_3",
  67. "Columns": [
  68. "ValueString"
  69. ]
  70. }
  71. ]
  72. }
  73. },
  74. {
  75. "QueryType": "batch_insert",
  76. "Database": "db_test",
  77. "Datatable": "table_strong_consistency",
  78. "InsertObjects": [
  79. {
  80. "KeyLong": 1,
  81. "KeyString": "a",
  82. "KeyBoolean": false,
  83. "ValueLong": 1,
  84. "ValueString": "a",
  85. "ValueBoolean": false
  86. }
  87. ]
  88. },
  89. {
  90. "QueryType": "select",
  91. "Database": "db_test",
  92. "Datatable": "table_strong_consistency",
  93. "Hint": "index_0",
  94. "Criteria": {
  95. "KeyLong": 1,
  96. "KeyString": "a",
  97. "KeyBoolean": false
  98. }
  99. }
  100. ]