proc db {nick host handle chan arg} {
	global _mysql_host _mysql_port _mysql_user _mysql_pass _mysql_db mysqlstatus
	set mysql_handler [mysqlconnect -host $_mysql_host -port $_mysql_port -user $_mysql_user -pass $_mysql_pass -db $_mysql_db]
	set col [mysqlsel $mysql_handler "select titre from rlz " ]
	set size [mysqlquery $mysql_handler "SHOW TABLE STATUS FROM $_mysql_db LIKE 'rlz'"]
	while { [set row [mysqlnext $size]] != "" } {
		set dbsize  [format \%2.3f [expr ([lindex $row 5] + [lindex $row 7]) / (1024.00*1024.00)]]
	 } 
	putquick "PRIVMSG $chan : 2 Database contains 14(2$col14) releases2, total weight of DB is 2$dbsize MB2."

	mysqlclose $mysql_handler
}