WinCC OA NextGen Archiver: OSS Database selection process Dipl. -Ing

Slides:



Advertisements
Similar presentations
Management Information Systems, Sixth Edition
Advertisements

GGF Toronto Spitfire A Relational DB Service for the Grid Peter Z. Kunszt European DataGrid Data Management CERN Database Group.
Working with SQL and PL/SQL/ Session 1 / 1 of 27 SQL Server Architecture.
Jeff Lemmerman Matt Chimento Medtronic Confidential 1 9th Annual CodeFreeze Symposium Medtronic Energy and Component Center.
5.1 © 2007 by Prentice Hall 5 Chapter Foundations of Business Intelligence: Databases and Information Management.
Systems analysis and design, 6th edition Dennis, wixom, and roth
Chapter Oracle Server An Oracle Server consists of an Oracle database (stored data, control and log files.) The Server will support SQL to define.
MongoDB An introduction. What is MongoDB? The name Mongo is derived from Humongous To say that MongoDB can handle a humongous amount of data Document.
1 Overview of Databases. 2 Content Databases Example: Access Structure Query language (SQL)
1 Oracle Database 11g – Flashback Data Archive. 2 Data History and Retention Data retention and change control requirements are growing Regulatory oversight.
NoSQL continued CMSC 461 Michael Wilson. MongoDB  MongoDB is another NoSQL solution  Provides a bit more structure than a solution like Accumulo  Data.
Goodbye rows and tables, hello documents and collections.
Methodological Foundations of Biomedical Informatics (BMSC-GA 4449) Himanshu Grover.
1099 Why Use InterBase? Bill Todd The Database Group, Inc.
1 CS 430 Database Theory Winter 2005 Lecture 2: General Concepts.
SQL Fundamentals  SQL: Structured Query Language is a simple and powerful language used to create, access, and manipulate data and structure in the database.
Clusterpoint Margarita Sudņika ms RDBMS & NoSQL Databases & tables → Document stores Columns, rows → Schemaless documents Scales UP → Scales UP.
Distributed Time Series Database
Introduction to MongoDB. Database compared.
Introduction to Core Database Concepts Getting started with Databases and Structure Query Language (SQL)
1 Section 1 - Introduction to SQL u SQL is an abbreviation for Structured Query Language. u It is generally pronounced “Sequel” u SQL is a unified language.
COMP 430 Intro. to Database Systems MongoDB. What is MongoDB? “Humongous” DB NoSQL, no schemas DB Lots of similarities with SQL RDBMs, but with more flexibility.
Management Information Systems by Prof. Park Kyung-Hye Chapter 7 (8th Week) Databases and Data Warehouses 07.
Introduction to Mongo DB(NO SQL data Base)
Neo4j: GRAPH DATABASE 27 March, 2017
Backups for Azure SQL Databases and SQL Server instances running on Azure Virtual Machines Session on backup to Azure feature (manual and managed) in SQL.
CSE-291 (Distributed Systems) Winter 2017 Gregory Kesden
CS 540 Database Management Systems
CS 405G: Introduction to Database Systems
NO SQL for SQL DBA Dilip Nayak & Dan Hess.
and Big Data Storage Systems
Module 11: File Structure
CSE 775 – Distributed Objects Bekir Turkkan & Habib Kaya
Client/Server Databases and the Oracle 10g Relational Database
Indexing Structures for Files and Physical Database Design
INTRODUCTION TO PIG, HIVE, HBASE and ZOOKEEPER
MongoDB Er. Shiva K. Shrestha ME Computer, NCIT
PVSS Evolution in Relation to Databases
Open Source distributed document DB for an enterprise
Operational & Analytical Database
A Technical Overview of Microsoft® SQL Server™ 2005 High Availability Beta 2 Matthew Stephen IT Pro Evangelist (SQL Server)
Dineesha Suraweera.
MongoDB CRUD Operations
NOSQL databases and Big Data Storage Systems
CSE-291 (Cloud Computing) Fall 2016 Gregory Kesden
MongoDB for Developers
Microsoft Build /9/2018 5:08 AM © 2016 Microsoft Corporation. All rights reserved. MICROSOFT MAKES NO WARRANTIES, EXPRESS, IMPLIED OR STATUTORY,
Basic Concepts in Data Management
1 Demand of your DB is changing Presented By: Ashwani Kumar
Data Lifecycle Review and Outlook
MongoDB for the SQL DBA.
Chapter 6 System and Application Software
MANAGING DATA RESOURCES
Cloud computing mechanisms
Introduction of Week 11 Return assignment 9-1 Collect assignment 10-1
relational thoughts on NoSql
CS5220 Advanced Topics in Web Programming Introduction to MongoDB
Database Management Systems
Azure Cosmos DB with SQL API .Net SDK
ICOM 5016 – Introduction to Database Systems
INTRODUCTION TO MONgodb
5 Azure Services Every .NET Developer Needs to Know
Chapter 6 System and Application Software
Chapter 6 System and Application Software
NoSQL databases An introduction and comparison between Mongodb and Mysql document store.
Chapter 6 System and Application Software
CS222/CS122C: Principles of Data Management UCI, Fall 2018 Notes #03 Row/Column Stores, Heap Files, Buffer Manager, Catalogs Instructor: Chen Li.
Advanced Database Topics
Database management systems
The Database World of Azure
Presentation transcript:

WinCC OA NextGen Archiver: OSS Database selection process Dipl. -Ing WinCC OA NextGen Archiver: OSS Database selection process Dipl.-Ing. Ewald Sperrer, DF FA AS ETM R&D-SW DE

WinCC OA NextGen Archiver Concept: Next Gen Archiver – General Concept Data Manager Oracle Init Frontend Manager Backend #1 Read Answer Configuration Query Interface Read Answer Read Tags / Alarms Online Change OSS Database Queue Interface Backend #2 Write Tags / Alarms Event Manager Read Queue Buffer DataManager Init: Hochlauf, Data sendet DPs und Archivconfigs ZeroMQ: Message Buffering Protobuf: XML-Format, aber binär, kompakt und schnell (damit transparente Übertragung zB C++ zu Java) Flexibilität für Backend Mehrfacharchivierung möglich (DP A wird an Backend 1 und 2 geschickt) User Interface Backend #3

WinCC OA NextGen Archiver Segmentation One segment „line“ per archive group Segment n … Segment 2 Segment 1 Backup switch Segment n … Segment 2 Segment 1 new delete Retention period Single segment COV COV COV COV COV new delete COV COV COV COV COV Retention period

WinCC OA NextGen Archiver MongoDB – General Infos Document Oriented Databases A collection of documents Data in this model is stored inside documents. A document is a key value collection where the key allows access to its value. Documents are not typically forced to have a schema and therefore are flexible and easy to change. Documents are stored into collections in order to group different kinds of data. Documents can contain many different key-value pairs, or key-array pairs, or even nested documents. Collection / table, document / row, columns / key-value pairs („field“). MongoDB Features Indexes (unique and non-unique) Primary index on specific _id field Fields stored in JSON / BSON format Simple joins (CRUD) 3-node redundancy („replication“) Sharding Embedded installation Drivers for multiple languages (including C++) Cloud Services available (Atlas / DocumentDB) No segmentation No transactions (but zero-voltage-safe) No relational integrity No stored procedures Document Structure {         "_id" : {                 "dpid" : {                         "sys" : 1,                         "dp" : NumberLong(66),                         "el" : 78                 },                 "ts" : NumberLong("1501164409807000000")         },         "user" : NumberLong(0),         "manager" : NumberLong(16843777),         "status" : NumberLong("-9007199254737846015"),         "value" : “example"         "valuetype" : string }

WinCC OA NextGen Archiver InfluxDB – General Infos Time Series Databases (TSDB) Every „record“ includes timestamp as index field Queries are optimized for time based access Aggregation functionality built-in Optimized for large amount of data Metadata can be stored separately (JOIN) or within record (tags and fields) Efficient storage (compressions, deltas) Optimized for INSERTs, not UPDATEs or DELETEs High write performance InfluxDB Features HTTP(S) API Retention policies, segmentation Aggregates „on the fly“ or persisted High write performance Automatic data compression Multi-level data compaction (for read optimization) Support for metadata (tags and fields) SQL-like query language Message splitting (http chunking) Simple joins Consistent writes (Write Ahead Log) Embedded installation Cloud Services available (InfluxCloud) 2-node redundancy („replication“) – only commercial Clustering (multi-node) – only commercial Simple backup / restore mechanism DB Structure One common database holding one or more WinCC OA system(s) One table („Measurement“) for events, one for alerts One series per tag Each record („point“) has a different timestamp Multiple retention periods (user defined, „Archive Groups“) Tags (indexed) for tag ID, name, metadata Fields for value and quality Multiple value fields (numeric and string) Array data („Dyn“) ist stored within one record Optional fields (correction value)

WinCC OA NextGen Archiver MongoDB vs. InfluxDB – Selection Criteria - Comparison Criteria MongoDB InfluxDB License / Siemens Clearing OK (GNU AGPL) OK (MIT) Embedded Installation OK Installation Footprint Small Time Series Data Not optimized Optimized Segmentation Handling None Available (shards) Database Scaling Possible, but only in commercial version Write Performance Average Very good Read Performance Data Size Good Backup & Restore To be implemented by us Available (full and incremental backup) Cloud capable Yes (Atlas) Yes (InfluxCloud)

WinCC OA NextGen Archiver MongoDB – Pros and Cons Pros Average performance (equal to or better than Oracle, candidate for SWP) Suitable for small and large size data License free (except for clustering option) Cloud support (Document DB Azure, MongoDB Atlas) Support for low-end hardware (64 bit, no precompiled 32 bit version) Space efficient (compressed BSON, 27 bytes per event) Established developer user base and community Support available NoSQL document store (multi-purpose) Cons Scaling / sharding „expensive“ – only for specific customers (no replacement for Oracle cluster) 3rd node for redundancy required – redundancy has to be handled by NGA Export / import to be implemented by us - Mongodump utility can be used Segmentation not available – either implemented manually (multiple collections) or no segmentation

WinCC OA NextGen Archiver InfluxDB – Pros and Cons Pros Very good performance for writing, good for reading Suitable for small and large size data License free (except for clustering option) Segmentation possible (retention policies, „shards“), similar to current WinCC OA segmentation Cloud support (InfluxCloud) Support for low-end hardware (Raspberry Pi) Very space efficient (delta compression) SQL like query language Timestamp up to nanosecond Cons OSS policy was changed over time (redundancy and clustering are commercial features now) Schema design not as flexible as in MongoDB Restore of data not fully available Relatively new, still in development

WinCC OA NextGen Archiver Performance Measurements Writes 100 Time 100 Single Server (Windows), one disk used WinCC OA running on same system 100 DPEs (float) Single client read

Contact Page Ewald Sperrer WinCC OA – Archiving and Persistence ETM professional control GmbH DF FA AS ETM R&D-SW DE www.etm.at