2012-02-08 09:46:09 |
Kostja Osipov |
description |
admin_port = 18011
primary_port = 18000
secondary_port = 18100
memcached_port = 18001
work_dir = "/var/tarantool_box4.1"
pid_file = "pid"
snap_dir = "snaps"
wal_dir = "xlogs"
log_level = 4
logger = "/usr/sbin/cronolog -S /var/tarantool_box4.1/logs/tarantool.log /var/tarantool_box4.1/logs/tarantool.%Y.%m.%d-%H.log"
slab_alloc_arena = 15
rows_per_wal = 500000
local_hot_standby = true
slab_alloc_minimal = 48
# Growth factor, each subsecuent unit size is factor * prev unit size
slab_alloc_factor = 1.04
# SESSIONS!!! #####################################
#memcached_space = 52
space[0].enabled = 1
#namespace[0].expire_field = 2
space[0].index[0].type = "HASH"
space[0].index[0].unique = 1
space[0].index[0].key_field[0].type = "STR"
space[0].index[0].key_field[0].fieldno = 0
space[0].index[1].type = "TREE"
space[0].index[1].unique = 0
space[0].index[1].key_field[0].type = "STR"
space[0].index[1].key_field[0].fieldno = 1
###################################################
# video meta. Indexes: 1.ACCID
space[46] = {
enabled = 1
index = [{
type = "HASH"
unique = 1
key_field = [{
fieldno = 0
type = "NUM"
}]
}]
}
# upload meta. Indexes: 1.ITEMID 2.ACCID 3.UPLOADTIME
space[47] = {
enabled = 1
index = [{
type="HASH"
unique = 1
Key_field = [{
fieldno = 0
type = "NUM64"
}]
},{
type="TREE"
unique = 0
Key_field = [{
fieldno = 1
type = "NUM"
}]
},{
type="TREE"
unique = 0
Key_field = [{
fieldno = 2
type = "NUM"
}]
}]
}
# user meta. Indexes: 0.ITEMID 1.ACCID 2.EXTERNALID 3.FLAGS 4.STATUS 5.SERVICEID
space[48] = {
enabled = 1
index = [{
type="HASH"
unique = 1
Key_field = [{
fieldno = 0
type = "NUM"
}]
},{
type="TREE"
unique=0
Key_field = [{
fieldno = 1
type = "NUM"
}]
},
{
type="HASH"
unique = 1
Key_field = [{
fieldno = 2
type = "STR"
}]
},{
type="TREE"
unique = 0
key_field = [{
fieldno = 3
type = "NUM"
}]
},{
type="TREE"
unique = 0
key_field = [{
fieldno = 4
type = "NUM"
}]
},{
type="TREE"
unique = 0
key_field = [{
fieldno = 5
type = "NUM"
}]
}
]
}
space[50] = {
enabled = 1
index = [{
type="HASH"
unique = 1
Key_field = [{
fieldno = 0
type = "NUM"
}]
}]
}
#SecretKeyVideoBox
space[53] = {
enabled = 1
index = [{
type = "HASH"
unique = 1
key_field = [{
fieldno = 0
type= "NUM"
}]
}]
}
wal_fsync_delay = 0.1
io_collect_interval = 0.001
logger_nonblock = true
coredump = true
snap_io_rate_limit = 50.0
custom_proc_title = "videobox" |
work_dir = "/var/tarantool_box4.1"
pid_file = "pid"
snap_dir = "snaps"
wal_dir = "xlogs"
log_level = 4
slab_alloc_arena = 1
rows_per_wal = 500000
local_hot_standby = true
slab_alloc_minimal = 48
# Growth factor, each subsecuent unit size is factor * prev unit size
slab_alloc_factor = 1.04
space[0].enabled = 1
space[0].index[0].type = "HASH"
space[0].index[0].unique = 1
space[0].index[0].key_field[0].type = "STR"
space[0].index[0].key_field[0].fieldno = 0
space[0].index[1].type = "TREE"
space[0].index[1].unique = 0
space[0].index[1].key_field[0].type = "STR"
space[0].index[1].key_field[0].fieldno = 1
###################################################
space[46] = {
enabled = 1
index = [{
type = "HASH"
unique = 1
key_field = [{
fieldno = 0
type = "NUM"
}]
}]
}
space[47] = {
enabled = 1
index = [{
type="HASH"
unique = 1
Key_field = [{
fieldno = 0
type = "NUM64"
}]
},{
type="TREE"
unique = 0
Key_field = [{
fieldno = 1
type = "NUM"
}]
},{
type="TREE"
unique = 0
Key_field = [{
fieldno = 2
type = "NUM"
}]
}]
}
space[48] = {
enabled = 1
index = [{
type="HASH"
unique = 1
Key_field = [{
fieldno = 0
type = "NUM"
}]
},{
type="TREE"
unique=0
Key_field = [{
fieldno = 1
type = "NUM"
}]
},
{
type="HASH"
unique = 1
Key_field = [{
fieldno = 2
type = "STR"
}]
},{
type="TREE"
unique = 0
key_field = [{
fieldno = 3
type = "NUM"
}]
},{
type="TREE"
unique = 0
key_field = [{
fieldno = 4
type = "NUM"
}]
},{
type="TREE"
unique = 0
key_field = [{
fieldno = 5
type = "NUM"
}]
}
]
}
space[50] = {
enabled = 1
index = [{
type="HASH"
unique = 1
Key_field = [{
fieldno = 0
type = "NUM"
}]
}]
}
#SecretKeyVideoBox
space[53] = {
enabled = 1
index = [{
type = "HASH"
unique = 1
key_field = [{
fieldno = 0
type= "NUM"
}]
}]
}
wal_fsync_delay = 0.1
io_collect_interval = 0.001
logger_nonblock = true
coredump = true
snap_io_rate_limit = 50.0 |
|