Databases for Industrial Automation