VirtualBox

Changeset 61473 in vbox


Ignore:
Timestamp:
Jun 5, 2016 5:46:25 PM (9 years ago)
Author:
vboxsync
svn:sync-xref-src-repo-rev:
107800
Message:

regen comment.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/ValidationKit/testmanager/db/TestManagerDatabaseComments.pgsql

    r61408 r61473  
    507507
    508508
     509COMMENT ON COLUMN SchedGroups.sComment IS
     510  'The Validation Kit build source (@VALIDATIONKIT_ZIP@).
     511Non-unique foreign key: BuildSources(idBuildSrc)';
     512
     513
    509514COMMENT ON TABLE SchedGroupMembers IS
    510515  'N:M relationship between scheduling groups and test groups.
     
    550555
    551556
     557COMMENT ON TABLE TestBoxStrTab IS
     558  'String table for the test boxes.
     559
     560This is a string cache for all string members in TestBoxes except the name.
     561The rational is to avoid duplicating large strings like sReport when the
     562testbox reports a new cMbScratch value or the box when the test sheriff
     563sends a reboot command or similar.
     564
     565At the time this table was introduced, we had 400558 TestBoxes rows,  where
     566the SUM(LENGTH(sReport)) was 993MB.  There were really just 1066 distinct
     567sReport values, with a total length of 0x3 MB.
     568
     569Nothing is ever deleted from this table.
     570
     571@note Should use a stored procedure to query/insert a string.
     572
     573
     574TestBox stats prior to conversion:
     575     SELECT COUNT(*) FROM TestBoxes:                     400558 rows
     576     SELECT pg_total_relation_size(''TestBoxes''):      740794368 bytes (706 MB)
     577     Average row cost:           740794368 / 400558 =      1849 bytes/row
     578
     579After conversion:
     580     SELECT COUNT(*) FROM TestBoxes:                     400558 rows
     581     SELECT pg_total_relation_size(''TestBoxes''):      144375808 bytes (138 MB)
     582     SELECT COUNT(idStr) FROM TestBoxStrTab:               1292 rows
     583     SELECT pg_total_relation_size(''TestBoxStrTab''):    5709824 bytes (5.5 MB)
     584                  (144375808 + 5709824) / 740794368 =        20 %
     585     Average row cost boxes:     144375808 / 400558 =       360 bytes/row
     586     Average row cost strings:       5709824 / 1292 =      4420 bytes/row';
     587
     588
     589COMMENT ON COLUMN TestBoxStrTab.sValue IS
     590  'The string value.';
     591
     592
     593COMMENT ON COLUMN TestBoxStrTab.tsCreated IS
     594  'Creation time stamp.';
     595
     596
    552597COMMENT ON TYPE TestBoxCmd_T IS
    553598  'Testbox commands.';
     
    603648
    604649
    605 COMMENT ON COLUMN TestBoxes.sDescription IS
    606   'Optional testbox description.
    607 Intended for describing the box as well as making other relevant notes.';
    608 
    609 
    610650COMMENT ON COLUMN TestBoxes.fEnabled IS
    611651  'Indicates whether this testbox is enabled.
     
    619659
    620660
    621 COMMENT ON COLUMN TestBoxes.sOs IS
    622   'Same abbrieviations as kBuild, see KBUILD_OSES.';
    623 
    624 
    625 COMMENT ON COLUMN TestBoxes.sOsVersion IS
    626   'Informational, no fixed format.';
    627 
    628 
    629 COMMENT ON COLUMN TestBoxes.sCpuVendor IS
    630   'Same as CPUID reports (GenuineIntel, AuthenticAMD, CentaurHauls, ...).';
    631 
    632 
    633 COMMENT ON COLUMN TestBoxes.sCpuArch IS
    634   'Same as kBuild - x86, amd64, ... See KBUILD_ARCHES.';
    635 
    636 
    637 COMMENT ON COLUMN TestBoxes.sCpuName IS
    638   'The CPU name if available.';
    639 
    640 
    641661COMMENT ON COLUMN TestBoxes.lCpuRevision IS
    642662  'Number identifying the CPU family/model/stepping/whatever.
     
    665685
    666686
     687COMMENT ON COLUMN TestBoxes.fRawMode IS
     688  'Set if the test box does raw-mode tests.';
     689
     690
    667691COMMENT ON COLUMN TestBoxes.cMbMemory IS
    668692  'The (approximate) memory size in megabytes (rounded down to nearest 4 MB).';
     
    671695COMMENT ON COLUMN TestBoxes.cMbScratch IS
    672696  'The amount of scratch space in megabytes (rounded down to nearest 64 MB).';
    673 
    674 
    675 COMMENT ON COLUMN TestBoxes.sReport IS
    676   'Free form hardware and software report field.';
    677697
    678698
Note: See TracChangeset for help on using the changeset viewer.

© 2024 Oracle Support Privacy / Do Not Sell My Info Terms of Use Trademark Policy Automated Access Etiquette