Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
emulab-devel
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
143
Issues
143
List
Boards
Labels
Service Desk
Milestones
Merge Requests
6
Merge Requests
6
Operations
Operations
Incidents
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
emulab
emulab-devel
Commits
17ef9b1b
Commit
17ef9b1b
authored
Dec 15, 2005
by
Timothy Stack
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Add some tables for recording the set of files accessed by an
experiment, still likely to change.
parent
92fc62f4
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
47 additions
and
0 deletions
+47
-0
sql/database-create.sql
sql/database-create.sql
+26
-0
sql/database-migrate.txt
sql/database-migrate.txt
+21
-0
No files found.
sql/database-create.sql
View file @
17ef9b1b
...
...
@@ -4,6 +4,17 @@
---------------------------------------------------------
-- Server version 3.23.58-log
--
-- Table structure for table `accessed_files`
--
CREATE
TABLE
accessed_files
(
fn
text
NOT
NULL
,
idx
int
(
11
)
unsigned
NOT
NULL
auto_increment
,
PRIMARY
KEY
(
fn
(
255
)),
KEY
idx
(
idx
)
)
TYPE
=
MyISAM
;
--
-- Table structure for table `archive_tags`
--
...
...
@@ -532,6 +543,21 @@ CREATE TABLE foreign_keys (
PRIMARY
KEY
(
table1
,
column1
)
)
TYPE
=
MyISAM
;
--
-- Table structure for table `fs_resources`
--
CREATE
TABLE
fs_resources
(
rsrcidx
int
(
10
)
unsigned
NOT
NULL
default
'0'
,
fileidx
int
(
11
)
unsigned
NOT
NULL
default
'0'
,
exptidx
int
(
10
)
unsigned
NOT
NULL
default
'0'
,
type
enum
(
'r'
,
'w'
,
'rw'
,
'l'
)
default
'r'
,
size
int
(
11
)
unsigned
default
'0'
,
PRIMARY
KEY
(
rsrcidx
,
fileidx
),
KEY
rsrcidx
(
rsrcidx
),
KEY
fileidx
(
fileidx
)
)
TYPE
=
MyISAM
;
--
-- Table structure for table `global_policies`
--
...
...
sql/database-migrate.txt
View file @
17ef9b1b
...
...
@@ -2954,3 +2954,24 @@ last_net_act,last_cpu_act,last_ext_act);
alter table experiment_resources add
archive_tag varchar(32) NOT NULL default ''
after delay_capacity;
4.23: [TENTATIVE]
Add tables to store the set of files accessed by an experiment.
CREATE TABLE fs_resources (
rsrcidx int(10) unsigned NOT NULL default '0',
fileidx int(11) unsigned NOT NULL default '0',
exptidx int(10) unsigned NOT NULL default '0',
type enum('r','w','rw','l') default 'r',
size int(11) unsigned default '0',
PRIMARY KEY (rsrcidx,fileidx),
KEY rsrcidx (rsrcidx),
KEY fileidx (fileidx)
) TYPE=MyISAM;
CREATE TABLE accessed_files (
fn text NOT NULL,
idx int(11) unsigned NOT NULL auto_increment,
PRIMARY KEY (fn(255)),
KEY idx (idx)
) TYPE=MyISAM;
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment