INSERT INTO MPDBINFO (INFOKEY, INFOVAL) VALUES ('VERSION', '4.15');
INSERT INTO MPDBINFO (INFOKEY, INFOVAL) VALUES ('APPLICATION', 'SCALEMANAGER');

INSERT INTO SAREACLNTCFG (CFGKEY, CFGVALUE, DELFLAG, UPDATENUM) VALUES ('SAREAID', '0', 0, 0);

INSERT INTO PUMPPROFILE (PROFILEID,PROFILENAME) VALUES (0, 'Профиль пользователя');

INSERT INTO DATAPUMPCFG (CFGKEY, CFGVALUE, PROFILEID) VALUES ('DATAQUANT', '1000', 0);
INSERT INTO DATAPUMPCFG (CFGKEY, CFGVALUE, PROFILEID) VALUES ('PINGTIME', '30000', 0);
INSERT INTO DATAPUMPCFG (CFGKEY, CFGVALUE, PROFILEID) VALUES ('REPLYTIMEOUT', '120000', 0);
INSERT INTO DATAPUMPCFG (CFGKEY, CFGVALUE, PROFILEID) VALUES ('ERRORBLOCKINGTIME', '60000', 0);
INSERT INTO DATAPUMPCFG (CFGKEY, CFGVALUE, PROFILEID) VALUES ('NUMRECONNECT', '3', 0);
INSERT INTO DATAPUMPCFG (CFGKEY, CFGVALUE, PROFILEID) VALUES ('PACKETSINTERVAL','1000', 0);
INSERT INTO DATAPUMPCFG (CFGKEY, CFGVALUE, PROFILEID) VALUES ('DIRMAXPACKETS','0', 0);

INSERT INTO SCALEMANAGERCFG (CFGKEY, CFGVALUE) VALUES (1, '0');
INSERT INTO SCALEMANAGERCFG (CFGKEY, CFGVALUE) VALUES (4, 'Менеджер весов');
INSERT INTO SCALEMANAGERCFG (CFGKEY, CFGVALUE) VALUES (5, '2000');
INSERT INTO SCALEMANAGERCFG (CFGKEY, CFGVALUE) VALUES (6, '');
INSERT INTO SCALEMANAGERCFG (CFGKEY, CFGVALUE) VALUES (7, '');
INSERT INTO SCALEMANAGERCFG (CFGKEY, CFGVALUE) VALUES (9, '10');
INSERT INTO SCALEMANAGERCFG (CFGKEY, CFGVALUE) VALUES (11, '');
INSERT INTO SCALEMANAGERCFG (CFGKEY, CFGVALUE) VALUES (13, '');
INSERT INTO SCALEMANAGERCFG (CFGKEY, CFGVALUE) VALUES (17, '5');
INSERT INTO SCALEMANAGERCFG (CFGKEY, CFGVALUE) VALUES (20, '');
INSERT INTO SCALEMANAGERCFG (CFGKEY, CFGVALUE) VALUES (21, '20050701130148');
INSERT INTO SCALEMANAGERCFG (CFGKEY, CFGVALUE) VALUES (22, '20050630020000');
INSERT INTO SCALEMANAGERCFG (CFGKEY, CFGVALUE) VALUES (23, '1');
INSERT INTO SCALEMANAGERCFG (CFGKEY, CFGVALUE) VALUES (24, '0');
INSERT INTO SCALEMANAGERCFG (CFGKEY, CFGVALUE) VALUES (25, '6');
INSERT INTO SCALEMANAGERCFG (CFGKEY, CFGVALUE) VALUES (26, NULL);
INSERT INTO SCALEMANAGERCFG (CFGKEY, CFGVALUE) VALUES (27, '');
INSERT INTO SCALEMANAGERCFG (CFGKEY, CFGVALUE) VALUES (28, 'dbMSSqlServer2000');
INSERT INTO SCALEMANAGERCFG (CFGKEY, CFGVALUE) VALUES (29, 'TcpIP');
INSERT INTO SCALEMANAGERCFG (CFGKEY, CFGVALUE) VALUES (30, '127.0.0.1:2003');
INSERT INTO SCALEMANAGERCFG (CFGKEY, CFGVALUE) VALUES (31, '127.0.0.1');
INSERT INTO SCALEMANAGERCFG (CFGKEY, CFGVALUE) VALUES (32, '');
INSERT INTO SCALEMANAGERCFG (CFGKEY, CFGVALUE) VALUES (33, '');
INSERT INTO SCALEMANAGERCFG (CFGKEY, CFGVALUE) VALUES (34, '');
INSERT INTO SCALEMANAGERCFG (CFGKEY, CFGVALUE) VALUES (35, '');
INSERT INTO SCALEMANAGERCFG (CFGKEY, CFGVALUE) VALUES (36, 'UpdateNum');
INSERT INTO SCALEMANAGERCFG (CFGKEY, CFGVALUE) VALUES (37, 'Stream');
INSERT INTO SCALEMANAGERCFG (CFGKEY, CFGVALUE) VALUES (38, 'srvNormalStart');
INSERT INTO SCALEMANAGERCFG (CFGKEY,CFGVALUE)  VALUES (39,'10485760');
INSERT INTO SCALEMANAGERCFG (CFGKEY, CFGVALUE) VALUES (50, '0');
INSERT INTO SCALEMANAGERCFG (CFGKEY, CFGVALUE) VALUES (51, '0');
INSERT INTO SCALEMANAGERCFG (CFGKEY, CFGVALUE) VALUES (52, '0');
INSERT INTO SCALEMANAGERCFG (CFGKEY, CFGVALUE) VALUES (53, 'sendAuto');
INSERT INTO SCALEMANAGERCFG (CFGKEY, CFGVALUE) VALUES (54, '');
INSERT INTO SCALEMANAGERCFG (CFGKEY, CFGVALUE) VALUES (55, '5C-0D-67-EF-CB-0D-C8-24-1E-54-F5-4D-89-53-AC-22');
INSERT INTO SCALEMANAGERCFG(CFGKEY,CFGVALUE )  VALUES (56, '0');


INSERT INTO DATAPUMPDIRS (DIRNAME, PUMPDIR, PUMPPRIORITY, UPDATETIME, PUMPUPDATENUM, SOURCETYPE) VALUES ('ART'             , 1, 5, '0', 0, 1);
INSERT INTO DATAPUMPDIRS (DIRNAME, PUMPDIR, PUMPPRIORITY, UPDATETIME, PUMPUPDATENUM, SOURCETYPE) VALUES ('BARC'            , 1, 2, '0', 0, 1);
INSERT INTO DATAPUMPDIRS (DIRNAME, PUMPDIR, PUMPPRIORITY, UPDATETIME, PUMPUPDATENUM, SOURCETYPE) VALUES ('GRP'             , 1, 4, '0', 0, 1);
INSERT INTO DATAPUMPDIRS (DIRNAME, PUMPDIR, PUMPPRIORITY, UPDATETIME, PUMPUPDATENUM, SOURCETYPE) VALUES ('PACK'            , 1, 6, '0', 0, 1);
INSERT INTO DATAPUMPDIRS (DIRNAME, PUMPDIR, PUMPPRIORITY, UPDATETIME, PUMPUPDATENUM, SOURCETYPE) VALUES ('SYSLOG'          , 0, 12,'0', 0, 1);
INSERT INTO DATAPUMPDIRS (DIRNAME, PUMPDIR, PUMPPRIORITY, UPDATETIME, PUMPUPDATENUM, SOURCETYPE) VALUES ('TAX'             , 1, 3, '0', 0, 1);
INSERT INTO DATAPUMPDIRS (DIRNAME, PUMPDIR, PUMPPRIORITY, UPDATETIME, PUMPUPDATENUM, SOURCETYPE) VALUES ('TAXGRP'          , 1, 2, '0', 0, 1);
INSERT INTO DATAPUMPDIRS (DIRNAME, PUMPDIR, PUMPPRIORITY, UPDATETIME, PUMPUPDATENUM, SOURCETYPE) VALUES ('UNIT'            , 1, 2, '0', 0, 1);
INSERT INTO DATAPUMPDIRS (DIRNAME, PUMPDIR, PUMPPRIORITY, UPDATETIME, PUMPUPDATENUM, SOURCETYPE) VALUES ('TARE'            , 1, 2, '0', 0, 1);
INSERT INTO DATAPUMPDIRS (DIRNAME, PUMPDIR, PUMPPRIORITY, UPDATETIME, PUMPUPDATENUM, SOURCETYPE) VALUES ('PRCLEVEL'        , 1, 2, '0', 0, 1);
INSERT INTO DATAPUMPDIRS (DIRNAME, PUMPDIR, PUMPPRIORITY, UPDATETIME, PUMPUPDATENUM, SOURCETYPE) VALUES ('SAREA'           , 1, 4, '0', 0, 1);
INSERT INTO DATAPUMPDIRS (DIRNAME, PUMPDIR, PUMPPRIORITY, UPDATETIME, PUMPUPDATENUM, SOURCETYPE) VALUES ('PACKPRC'         , 1, 7, '0', 0, 1);
INSERT INTO DATAPUMPDIRS (DIRNAME, PUMPDIR, PUMPPRIORITY, UPDATETIME, PUMPUPDATENUM, SOURCETYPE) VALUES ('SAREAPRC'        , 1, 5, '0', 0, 1);
INSERT INTO DATAPUMPDIRS (DIRNAME, PUMPDIR, PUMPPRIORITY, UPDATETIME, PUMPUPDATENUM, SOURCETYPE) VALUES ('SDEPT'           , 1, 5, '0', 0, 1);
INSERT INTO DATAPUMPDIRS (DIRNAME, PUMPDIR, PUMPPRIORITY, UPDATETIME, PUMPUPDATENUM, SOURCETYPE) VALUES ('ARTSDEPT'        , 1, 6, '0', 0, 1);
INSERT INTO DATAPUMPDIRS (DIRNAME, PUMPDIR, PUMPPRIORITY, UPDATETIME, PUMPUPDATENUM, SOURCETYPE) VALUES ('FIRM'            , 1, 2, '0', 0, 1);
INSERT INTO DATAPUMPDIRS (DIRNAME, PUMPDIR, PUMPPRIORITY, UPDATETIME, PUMPUPDATENUM, SOURCETYPE) VALUES ('PROPERTYGRP'     , 1, 2, '0', 0, 1);
INSERT INTO DATAPUMPDIRS (DIRNAME, PUMPDIR, PUMPPRIORITY, UPDATETIME, PUMPUPDATENUM, SOURCETYPE) VALUES ('STRINGS'         , 1, 2, '0', 0, 1);
INSERT INTO DATAPUMPDIRS (DIRNAME, PUMPDIR, PUMPPRIORITY, UPDATETIME, PUMPUPDATENUM, SOURCETYPE) VALUES ('STRPROPERTY'     , 1, 3, '0', 0, 1);
INSERT INTO DATAPUMPDIRS (DIRNAME, PUMPDIR, PUMPPRIORITY, UPDATETIME, PUMPUPDATENUM, SOURCETYPE) VALUES ('SCALEACTIVITY'   , 0, 11,'0', 0, 1);

INSERT INTO DATASYNCDIRS (DIRNAME, SYNCDIR, UPDATENUM, SYNCPRIORITY) VALUES ('ART'             , 1, 0, 5);
INSERT INTO DATASYNCDIRS (DIRNAME, SYNCDIR, UPDATENUM, SYNCPRIORITY) VALUES ('BARC'            , 1, 0, 2);
INSERT INTO DATASYNCDIRS (DIRNAME, SYNCDIR, UPDATENUM, SYNCPRIORITY) VALUES ('GRP'             , 1, 0, 4);
INSERT INTO DATASYNCDIRS (DIRNAME, SYNCDIR, UPDATENUM, SYNCPRIORITY) VALUES ('PACK'            , 1, 0, 6);
INSERT INTO DATASYNCDIRS (DIRNAME, SYNCDIR, UPDATENUM, SYNCPRIORITY) VALUES ('SYSLOG'          , 0, 0, 12);
INSERT INTO DATASYNCDIRS (DIRNAME, SYNCDIR, UPDATENUM, SYNCPRIORITY) VALUES ('TAX'             , 1, 0, 3);
INSERT INTO DATASYNCDIRS (DIRNAME, SYNCDIR, UPDATENUM, SYNCPRIORITY) VALUES ('TAXGRP'          , 1, 0, 2);
INSERT INTO DATASYNCDIRS (DIRNAME, SYNCDIR, UPDATENUM, SYNCPRIORITY) VALUES ('UNIT'            , 1, 0, 2);
INSERT INTO DATASYNCDIRS (DIRNAME, SYNCDIR, UPDATENUM, SYNCPRIORITY) VALUES ('TARE'            , 1, 0, 2);
INSERT INTO DATASYNCDIRS (DIRNAME, SYNCDIR, UPDATENUM, SYNCPRIORITY) VALUES ('PRCLEVEL'        , 1, 0, 2);
INSERT INTO DATASYNCDIRS (DIRNAME, SYNCDIR, UPDATENUM, SYNCPRIORITY) VALUES ('SAREA'           , 1, 0, 4);
INSERT INTO DATASYNCDIRS (DIRNAME, SYNCDIR, UPDATENUM, SYNCPRIORITY) VALUES ('PACKPRC'         , 1, 0, 7);
INSERT INTO DATASYNCDIRS (DIRNAME, SYNCDIR, UPDATENUM, SYNCPRIORITY) VALUES ('SAREAPRC'        , 1, 0, 5);
INSERT INTO DATASYNCDIRS (DIRNAME, SYNCDIR, UPDATENUM, SYNCPRIORITY) VALUES ('SDEPT'           , 1, 0, 5);
INSERT INTO DATASYNCDIRS (DIRNAME, SYNCDIR, UPDATENUM, SYNCPRIORITY) VALUES ('ARTSDEPT'        , 1, 0, 6);
INSERT INTO DATASYNCDIRS (DIRNAME, SYNCDIR, UPDATENUM, SYNCPRIORITY) VALUES ('FIRM'            , 1, 0, 2);
INSERT INTO DATASYNCDIRS (DIRNAME, SYNCDIR, UPDATENUM, SYNCPRIORITY) VALUES ('PROPERTYGRP'     , 1, 0, 2);
INSERT INTO DATASYNCDIRS (DIRNAME, SYNCDIR, UPDATENUM, SYNCPRIORITY) VALUES ('STRINGS'         , 1, 0, 2);
INSERT INTO DATASYNCDIRS (DIRNAME, SYNCDIR, UPDATENUM, SYNCPRIORITY) VALUES ('STRPROPERTY'     , 1, 0, 3);
INSERT INTO DATASYNCDIRS (DIRNAME, SYNCDIR, UPDATENUM, SYNCPRIORITY) VALUES ('SCALEACTIVITY'   , 0, 0, 11);


INSERT INTO SCALEDIRS (DIRNAME, DIRUPDATENUM) VALUES ('SDEPT' ,0 );
INSERT INTO SCALEDIRS (DIRNAME, DIRUPDATENUM) VALUES ('ARTSDEPT' ,0 );
INSERT INTO SCALEDIRS (DIRNAME, DIRUPDATENUM) VALUES ('ART' ,0 );
INSERT INTO SCALEDIRS (DIRNAME, DIRUPDATENUM) VALUES ('PACK' ,0 );
INSERT INTO SCALEDIRS (DIRNAME, DIRUPDATENUM) VALUES ('PROPERTYGRP' ,0 );
INSERT INTO SCALEDIRS (DIRNAME, DIRUPDATENUM) VALUES ('STRINGS' ,0 );
INSERT INTO SCALEDIRS (DIRNAME, DIRUPDATENUM) VALUES ('STRPROPERTY' ,0 );
INSERT INTO SCALEDIRS (DIRNAME, DIRUPDATENUM) VALUES ('BARC' ,0 );
INSERT INTO SCALEDIRS (DIRNAME, DIRUPDATENUM) VALUES ('PACKPRC' ,0 );
INSERT INTO SCALEDIRS (DIRNAME, DIRUPDATENUM) VALUES ('SAREA' ,0 );
INSERT INTO SCALEDIRS (DIRNAME, DIRUPDATENUM) VALUES ('TARE' ,0 );
INSERT INTO SCALEDIRS (DIRNAME, DIRUPDATENUM) VALUES ('PRCLEVEL' ,0 );
INSERT INTO SCALEDIRS (DIRNAME, DIRUPDATENUM) VALUES ('UNIT' ,0 );




















