clearing memcacheq db file

25 views
Skip to first unread message

mark

unread,
Apr 5, 2008, 3:44:40 PM4/5/08
to memca...@googlegroups.com
i can use db_archive to delete the log files.. but how do i safely delete the q file __dbq.default.db.0?
thanks

-rw-rw---- 1 mark mark  24K 2008-04-04 22:18 __db.001
-rw-rw---- 1 mark mark 4.8M 2008-04-04 22:18 __db.002
-rw-rw---- 1 mark mark  81M 2008-04-04 22:18 __db.003
-rw-rw---- 1 mark mark  96K 2008-04-04 22:18 __db.004
-rw-rw---- 1 mark mark  15M 2008-04-04 22:18 __db.005
-rw-rw---- 1 mark mark  56K 2008-04-04 22:18 __db.006
-rw-rw-r-- 1 mark mark 804M 2008-04-05 04:39 __dbq.default.db.0
-rw-rw-r-- 1 mark mark  64K 2008-04-05 04:39 default.db
-rw-rw---- 1 mark mark  10M 2008-04-05 04:39 log.0000000093

Steve Chu

unread,
Apr 5, 2008, 11:52:05 PM4/5/08
to memca...@googlegroups.com
Hi, mark,

Please check this: db-4.6.21/docs/ref/am_conf/extentsize.html

In memcachedb, this option is tuning by '-e' (default is 1G), and when
the file size grows up to 1G, it should be deleted automatically.

Regrads,

Steve

--
Steve Chu
http://stvchu.org

mark

unread,
Apr 6, 2008, 8:41:49 AM4/6/08
to memca...@googlegroups.com
i started memcacheq like this

mark     29316  0.1  1.2 426856 103176 ?       Ssl  Apr04   1:55 ./memcacheq -p21201 -d -r -u root -H /mnt/work/memcacheq -N -b 65507 -A 65536 -t 16


but the dbq file size is growing to more than 1GB, it is 1.6 GB?

-rw-rw-r-- 1 mark mark 1.6G 2008-04-06 04:25 __dbq.default.db.0
Reply all
Reply to author
Forward
0 new messages