INDEX (Path(255))
);
-
+-- In File table
+-- FileIndex can be 0 for FT_DELETED files
+-- FileNameId can link to Filename.Name='' for directories
CREATE TABLE File (
FileId BIGINT UNSIGNED NOT NULL AUTO_INCREMENT,
FileIndex INTEGER UNSIGNED DEFAULT 0,
ALTER TABLE path ALTER COLUMN path SET STATISTICS 1000;
CREATE UNIQUE INDEX path_name_idx on path (path);
+-- In File table
+-- FileIndex can be 0 for FT_DELETED files
+-- FileNameId can link to Filename.Name='' for directories
CREATE TABLE file
(
fileid bigserial not null,
CREATE INDEX inx2 ON Path (Path);
-
+-- In File table
+-- FileIndex can be 0 for FT_DELETED files
+-- FileNameId can link to Filename.Name='' for directories
CREATE TABLE File (
FileId INTEGER,
FileIndex INTEGER UNSIGNED NOT NULL,
General:
06Aug09
+ebl Document FT_DELETED FileIndex=0 special value in database Schema
ebl Add a new Bvfs class that implements brestore instant navigation
cache inside Bacula. Works for Mysql, Postgresql and Sqlite3
kes bat: fix compiler warning for unreferenced argument