2
Control Systems Group ORNL Extending RdbCore at SNS Jeff Patton March 9-11, 2005 IRMIS Collaboration Meeting

Control Systems GroupORNL Extending RdbCore at SNS Jeff Patton March 9-11, 2005 IRMIS Collaboration Meeting

Embed Size (px)

Citation preview

Page 1: Control Systems GroupORNL Extending RdbCore at SNS Jeff Patton March 9-11, 2005 IRMIS Collaboration Meeting

Control Systems Group ORNL

Extending RdbCore at SNS

Jeff Patton

March 9-11, 2005

IRMIS Collaboration Meeting

Page 2: Control Systems GroupORNL Extending RdbCore at SNS Jeff Patton March 9-11, 2005 IRMIS Collaboration Meeting

Control Systems Group ORNL2

Extending the Perl Crawler

• Oracle extensions

– Create sequence objects to generate sequential numeric primary key values.

– Create table triggers to populate primary key sequence number from sequence.

– Modify PVCrawlerDBLayer.pm to make database connection, work with Oracle dates, last_insert_id.

• Modify SNSBootScan.pm to skip specified IOC’s.

• Add sprintf code.

• Create SNS schema data synchronization code.