Skip to content
Snippets Groups Projects
Commit 060b291a authored by Giuseppe Lo Presti's avatar Giuseppe Lo Presti
Browse files

Removed unused table

Where to store the CASTOR legacy data will hopefully be decided in the future.
parent 9741aaa1
No related branches found
No related tags found
No related merge requests found
......@@ -24,15 +24,6 @@
* @author Castor Dev team, castor-dev@cern.ch
*****************************************************************************/
-- This table will be used to safely store the legacy CASTOR usage statistics
CREATE TABLE CastorUsageStats (
gid NUMBER(6) DEFAULT 0 CONSTRAINT NN_CastorUsageStats_gid NOT NULL,
timestamp NUMBER DEFAULT 0 CONSTRAINT NN_CastorUsageStats_ts NOT NULL,
maxFileId INTEGER, fileCount INTEGER, fileSize INTEGER,
segCount INTEGER, segSize INTEGER, segCompressedSize INTEGER,
seg2Count INTEGER, seg2Size INTEGER, seg2CompressedSize INTEGER
);
/* Get current time as a time_t (Unix time) */
CREATE OR REPLACE FUNCTION getTime RETURN NUMBER IS
epoch TIMESTAMP WITH TIME ZONE;
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment