forked from spearce/jgit_cassandra
-
Notifications
You must be signed in to change notification settings - Fork 0
/
schema.cs
41 lines (36 loc) · 1.08 KB
/
schema.cs
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
create keyspace git_store ;
use git_store ;
create column family RepositoryIndex
with column_type = 'Standard'
and comparator = 'UTF8Type'
and comment = 'Associates repository name to internal identifier'
and rows_cached = 1024
and keys_cached = 1024
;
create column family Repository
with column_type = 'Standard'
and comparator = 'AsciiType'
and comment = 'High-level metadata about a repository'
and keys_cached = 1024
and rows_cached = 1024
;
create column family Ref
with column_type = 'Standard'
and comparator = 'UTF8Type'
and comment = 'References (branch heads/tags)'
and keys_cached = 1024
and rows_cached = 1024
;
create column family Chunk
with column_type = 'Standard'
and comparator = 'AsciiType'
and comment = 'Compressed pack chunks, and indexes'
and keys_cached = 1024
;
create column family ObjectIndex
with column_type = 'Standard'
and comparator = 'AsciiType'
and comment = 'Global index mapping SHA-1 to chunk'
and keys_cached = 2000000
and rows_cached = 2000000
;