X-Git-Url: http://git.vrable.net/?a=blobdiff_plain;f=schema.sql;h=8529e32725977f50c1ab0722574cc97d3d6144db;hb=0546d239071daa82a8b85348a7f66fba10d85aff;hp=3cf175b3d12dfb28f3e7cc75e5c92113ae1039ad;hpb=d68fe153b690ebdb5cb84c027fc094e6f77a2bb5;p=cumulus.git diff --git a/schema.sql b/schema.sql index 3cf175b..8529e32 100644 --- a/schema.sql +++ b/schema.sql @@ -41,6 +41,8 @@ create table segments_used ( segmentid integer not null, utilization real ); +create unique index segments_used_index + on segments_used(snapshotid, segmentid); -- Overall estimate of segment utilization, for all snapshots combined. create view segment_info as