File: INSTALL.dbm

package info (click to toggle)
blootbot 1.2.0-6.3
  • links: PTS
  • area: main
  • in suites: lenny
  • size: 1,368 kB
  • ctags: 603
  • sloc: perl: 16,607; sh: 147; makefile: 54; sql: 47
file content (14 lines) | stat: -rw-r--r-- 556 bytes parent folder | download | duplicates (3)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
INSTALLATION of dbm
----------------------

- perl5.004 uses dbm1.85 while perl5.005 uses dbm2.00.  Attempting to
  interchange dbm between the two will result in corruption.
- the dbm will produce two files of the same size (for some reason)
- If the bot crashes, the dbm file may increase in size dramatically, from
  900k-1400k to 16m-24m
- dbm is a slow but simple form of db.  If you want performance, try mysql
  or pgsql (NOT YET)

= To convert dbm file to mysql table:
	- run 'scripts/dbm2mysql.pl old-db' to convert dbm database file
	  to mysql.