/
githubmirror
/
cmssw
Обзор
Документация
Войти
/
githubmirror
/
cmssw
Код
Запросы
0
Пакеты
0
Релизы
0
Аналитика
Безопасность
master
CondTools/DT/src/OracleDBAProcedure
47 строк
2 KB
Giulio Eulisse
Snapshot of CMSSW_6_2_0_pre8.
26 июн 2013, 18:12
26 июн 2013, 18:12
214ab73
Код
Авторство
О чём код?
pool_build_object_relational_mapping -f mapping-template-DTMtime-default.xml -o DTMtime-mapping-default.xml -d CondFormatsDTObjects -c sqlite_file:pippo.db -b -u whoever -p whatever cp DTMtime-mapping-default.xml DTMtime-mapping-custom.xml edit DTMtime-mapping-custom.xml change to meaningful names pool_build_object_relational_mapping -f mapping-template-DTReadOutMapping-default.xml -o DTReadOutMapping-mapping-default.xml -d CondFormatsDTObjects -c sqlite_file:pippo.db -b -u whoever -p whatever cp DTReadOutMapping-mapping-default.xml DTReadOutMapping-mapping-custom.xml edit DTReadOutMapping-mapping-custom.xml pool_build_object_relational_mapping -f mapping-template-DTT0-default.xml -o DTT0-mapping-default.xml -d CondFormatsDTObjects -c sqlite_file:pippo.db -b -u whoever -p whatever cp DTT0-mapping-default.xml DTT0-mapping-custom.xml edit DTT0-mapping-custom.xml pool_build_object_relational_mapping -f mapping-template-DTTtrig-default.xml -o DTTtrig-mapping-default.xml -d CondFormatsDTObjects -c sqlite_file:pippo.db -b -u whoever -p whatever cp DTTtrig-mapping-default.xml DTTtrig-mapping-custom.xml edit DTTtrig-mapping-custom.xml start DBA procedure: build real table in sqlite db pool_build_object_relational_mapping -f DTMtime-mapping-custom.xml -d CondFormatsDTObjects -c sqlite_file:testfile.db -u user -p pass -debug>DTMtime.debug pool_build_object_relational_mapping -f DTReadOutMapping-mapping-custom.xml -d CondFormatsDTObjects -c sqlite_file:testfile.db -u user -p pass -debug>DTReadOutMapping.debug pool_build_object_relational_mapping -f DTT0-mapping-custom.xml -d CondFormatsDTObjects -c sqlite_file:testfile.db -u user -p pass -debug>DTT0.debug pool_build_object_relational_mapping -f DTTtrig-mapping-custom.xml -d CondFormatsDTObjects -c sqlite_file:testfile.db -u user -p pass -debug>DTTtrig.debug pool_build_object_relational_mapping -f mapping-template-CondIOV-default.xml -d CondCoreIOVService -c sqlite_file:testfile.db -u user -p pass -o CondIOV-mapping-default.xml -debug > DTCondIOV.debug to get create statements for DBA record: grep CREATE *.debug > DTschema.debug clean up DTschema.debug and replace schema name also change the GRANT SELECT according to setup add extra TIME column to the payload tables sqlplus user@devdb10/pass < addDTPayloadTime.sql create METADATA table sqlplus user@devdb10/pass < createMetaDataTable.sql create catalog tables setenv POOL_OUTMSG_LEVEL D FCregisterPFN -p pippo -u relationalcatalog_sqlite:testfile.db -t POOL_RDBMS > &catalog.debug grep CREATE catalog.debug