Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
cta
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Package registry
Container registry
Harbor Registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
dCache
cta
Commits
b8ba4461
Commit
b8ba4461
authored
6 years ago
by
Giuseppe Lo Presti
Browse files
Options
Downloads
Patches
Plain Diff
Cosmetic changes on the catalogue schema. Apparently, valid SQL code breaks the CI
parent
cd1d259b
Branches
Branches containing commit
Tags
Tags containing commit
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
catalogue/oracle_catalogue_schema_trailer.sql
+7
-4
7 additions, 4 deletions
catalogue/oracle_catalogue_schema_trailer.sql
with
7 additions
and
4 deletions
catalogue/oracle_catalogue_schema_trailer.sql
+
7
−
4
View file @
b8ba4461
...
...
@@ -13,7 +13,8 @@ CREATE TABLE UsageStats (
timestamp
NUMBER
DEFAULT
0
CONSTRAINT
NN_UsageStats_ts
NOT
NULL
,
maxFileId
INTEGER
,
fileCount
INTEGER
,
fileSize
INTEGER
,
segCount
INTEGER
,
segSize
INTEGER
,
segCompressedSize
INTEGER
,
seg2Count
INTEGER
,
seg2Size
INTEGER
,
seg2CompressedSize
INTEGER
);
seg2Count
INTEGER
,
seg2Size
INTEGER
,
seg2CompressedSize
INTEGER
);
ALTER
TABLE
UsageStats
ADD
CONSTRAINT
PK_UsageStats_gid_ts
PRIMARY
KEY
(
gid
,
timestamp
);
...
...
@@ -23,13 +24,15 @@ CREATE TABLE CastorUsageStats (
timestamp
NUMBER
DEFAULT
0
CONSTRAINT
NN_UsageStats_ts
NOT
NULL
,
maxFileId
INTEGER
,
fileCount
INTEGER
,
fileSize
INTEGER
,
segCount
INTEGER
,
segSize
INTEGER
,
segCompressedSize
INTEGER
,
seg2Count
INTEGER
,
seg2Size
INTEGER
,
seg2CompressedSize
INTEGER
);
seg2Count
INTEGER
,
seg2Size
INTEGER
,
seg2CompressedSize
INTEGER
);
-- This table is used to store the mapping gid -> experiment name, like in CASTOR.
-- Still to be manually updated, in the lack of an automated mechanism.
CREATE
TABLE
EXPERIMENTS
(
name
VARCHAR2
(
20
BYTE
),
gid
NUMBER
(
6
,
0
)
CONSTRAINT
"GID_PK"
PRIMARY
KEY
(
"GID"
));
NAME
VARCHAR2
(
20
BYTE
),
GID
NUMBER
(
6
,
0
)
CONSTRAINT
GID_PK
PRIMARY
KEY
(
GID
)
);
-- Helper procedure to insert/accumulate statistics in the UsageStats table
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment