MySQLfs

A userspace filesystem which stores data in a MySQL database
Download

MySQLfs Ranking & Summary

Advertisement

  • Rating:
  • License:
  • GPL
  • Price:
  • FREE
  • Publisher Name:
  • MySQLfs team
  • Publisher web site:

MySQLfs Tags


MySQLfs Description

A userspace filesystem which stores data in a MySQL database MySQLfs is Linux userspace filesystem which stores data in a MySQL database. The project uses FUSE to interface with the kernel.Build:If compiling from CVS run ./cvs-bootstrap first.For both CVS and tarball version run: ./configure makeUsage:1. Create database and account mysql> CREATE DATABASE mysqlfs; mysql> GRANT SELECT, INSERT, UPDATE, DELETE ON mysqlfs.* TO mysqlfs@"%" IDENTIFIED BY 'password'; mysql> FLUSH PRIVILEGES;2. Create tables mysql -uroot -p mysqlfs < schema.sql3. Mount database as a filesystem mkdir fs ./mysqlfs -ohost=localhost -ouser=user -opassword=pass -odatabase=mysqlfs fs4. Instead of setting connection options on the command line you may create a section in your ~/.my.cnf file and set the parameters there.Options: -ohost=< hostname > MySQL server host -ouser=< username > MySQL username -opassword=< password > MySQL password -odatabase=< db > MySQL database name Requirements: · MySQL · Filesystem in Userspace What's New in This Release: · Fixed all open bugs, and responded to one of two Feature Requests · Doxygen'd API, regression-tests pass on Linux · Reworked data storage. Instead of one huge record for each file we now store the data in 4kB blocks. That greatly improves performance, storage efficiency and overcomes problems when storing files larger than 1MB. As a side effect it allows storing "sparse" files.


MySQLfs Related Software