The PVSS Oracle Archiver FW WG 6 th July 2006. Credits Many people involved IT/DES: Eric Grancher, Nilo Segura, Chris Lambert IT/PSS: Luca Canali ALICE:

Slides:



Advertisements
Similar presentations
JCOP FW Update ALICE DCS Workshop 6 th and 7 th October, 2005 Fernando Varela Rodriguez, IT-CO Outline Organization Current status Future work.
Advertisements

Module 13: Performance Tuning. Overview Performance tuning methodologies Instance level Database level Application level Overview of tools and techniques.
CHEP 2012 – New York City 1.  LHC Delivers bunch crossing at 40MHz  LHCb reduces the rate with a two level trigger system: ◦ First Level (L0) – Hardware.
19. June, 2006 BOLOGNA ALICE Week Svetozár Kapusta 1/28 PVSS Oracle archiving Involved people in the latest developments: Ronald Putz (ETM) Chris Lambert.
What is SDM? SDM : Server and Database Monitoring  SDM is the web-based real-time server and database monitoring and reporting tool  Service Items Server.
Chapter 11: Maintaining and Optimizing Windows Vista
F Fermilab Database Experience in Run II Fermilab Run II Database Requirements Online databases are maintained at each experiment and are critical for.
Backup and Recovery Part 1.
Chapter 9 Overview  Reasons to monitor SQL Server  Performance Monitoring and Tuning  Tools for Monitoring SQL Server  Common Monitoring and Tuning.
Module 8: Monitoring SQL Server for Performance. Overview Why to Monitor SQL Server Performance Monitoring and Tuning Tools for Monitoring SQL Server.
Today’s Agenda Chapter 12 Admin Tasks Chapter 13 Automating Admin Tasks.
Castor F2F Meeting Barbara Martelli Castor Database CNAF.
Module 15: Monitoring. Overview Formulate requirements and identify resources to monitor in a database environment Types of monitoring that can be carried.
CERN - IT Department CH-1211 Genève 23 Switzerland t The High Performance Archiver for the LHC Experiments Manuel Gonzalez Berges CERN, Geneva.
Chapter Oracle Server An Oracle Server consists of an Oracle database (stored data, control and log files.) The Server will support SQL to define.
Oracle on Windows Server Introduction to Oracle10g on Microsoft Windows Server.
From the ChannelArchiver to the Best Ever Archive Utility, Yet July 2009.
Scaling Up PVSS Phase II. 2 Purpose of this talk Start a discussion about the next phase of the Scaling Up PVSS Project. Start a discussion about the.
09/11/20061 Detector Control Systems A software implementation: Cern Framework + PVSS Niccolo’ Moggi and Stefano Zucchelli University and INFN Bologna.
CERN - IT Department CH-1211 Genève 23 Switzerland t Tier0 database extensions and multi-core/64 bit studies Maria Girone, CERN IT-PSS LCG.
Update on Database Issues Peter Chochula DCS Workshop, June 21, 2004 Colmar.
Peter Chochula and Svetozár Kapusta ALICE DCS Workshop, October 6,2005 DCS Databases.
Oracle 10g Database Administrator: Implementation and Administration Chapter 2 Tools and Architecture.
A Guide to Oracle9i1 Database Instance startup and shutdown.
Databases E. Leonardi, P. Valente. Conditions DB Conditions=Dynamic parameters non-event time-varying Conditions database (CondDB) General definition:
Optimizer Deployment Centralized Database module on Optimizer hub server Each monitored server has an instance of optimizer installed.
4/5/2007Data handling and transfer in the LHCb experiment1 Data handling and transfer in the LHCb experiment RT NPSS Real Time 2007 FNAL - 4 th May 2007.
ALICE, ATLAS, CMS & LHCb joint workshop on
20th September 2004ALICE DCS Meeting1 Overview FW News PVSS News PVSS Scaling Up News Front-end News Questions.
6 May 2014 CERN openlab IT Challenges workshop, Kacper Szkudlarek, CERN Manuel.
ALICE Use of CMF (CC) for the installation of OS and basic S/W OPC servers and other special S/W installed and configured by hand PVSS project provided.
Peter Chochula ALICE Offline Week, October 04,2005 External access to the ALICE DCS archives.
Troubleshooting SQL Server Performance: Tips &Tools Amit Khandelwal.
Copyright 2007, Information Builders. Slide 1 Machine Sizing and Scalability Mark Nesson, Vashti Ragoonath June 2008.
CERN - IT Department CH-1211 Genève 23 Switzerland t High Availability Databases based on Oracle 10g RAC on Linux WLCG Tier2 Tutorials, CERN,
Distributed Logging Facility Castor External Operation Workshop, CERN, November 14th 2006 Dennis Waldron CERN / IT.
Maintenance Practices. Goal  Automate the necessary DBA chores to put organizations on the path of having healthier, consistent and more trustworthy.
Database Performance Eric Grancher - Nilo Segura Oracle Support Team IT/DES.
Copyright © SoftTree Technologies, Inc. DB Log Expert From Oracle Admin Manual: “The best way to determine the appropriate number of online redo.
11-Nov Distr. DB Operations workshop - November 2008 The PVSS Oracle DB Archive in ATLAS ( life cycle of the data ) Gancho Dimitrov (LBNL)
ORACLE & VLDB Nilo Segura IT/DB - CERN. VLDB The real world is in the Tb range (British Telecom - 80Tb using Sun+Oracle) Data consolidated from different.
The DCS Databases Peter Chochula. 31/05/2005Peter Chochula 2 Outline PVSS basics (boring topic but useful if one wants to understand the DCS data flow)
LHC Logging Cluster Nilo Segura IT/DB. Agenda ● Hardware Components ● Software Components ● Transparent Application Failover ● Service definition.
RAC aware change In order to reduce the cluster contention, a new scheme for the insertion has been developed. In the new scheme: - each “client” receives.
Database Issues Peter Chochula 7 th DCS Workshop, June 16, 2003.
Considerations for database servers Castor review – June 2006 Eric Grancher, Nilo Segura Chinchilla IT-DES.
JCOP Framework and PVSS News ALICE DCS Workshop 14 th March, 2006 Piotr Golonka CERN IT/CO-BE Outline PVSS status Framework: Current status and future.
DB Questions and Answers open session (comments during session) WLCG Collaboration Workshop, CERN Geneva, 24 of April 2008.
CERN IT Department CH-1211 Genève 23 Switzerland t Load testing & benchmarks on Oracle RAC Romain Basset – IT PSS DP.
1 PVSS Oracle scalability Target = changes per second (tested with 160k) changes per client 5 nodes RAC NAS 3040, each with one.
PVSS an industrial tool for slow control
DCS Status and Amanda News
Table General Guidelines for Better System Performance
PVSS Evolution in Relation to Databases
MCTS Guide to Microsoft Windows 7
Chapter 2: System Structures
Publishing PVSS data on the Web
Introduction of Week 6 Assignment Discussion
Introduction of Week 3 Assignment Discussion
Oracle Storage Performance Studies
Case studies – Atlas and PVSS Oracle archiver
Data Lifecycle Review and Outlook
Table General Guidelines for Better System Performance
How to Thrive as a DBA in an Oracle10g World
DriveScale Log Collection Method of Procedure
Performance And Scalability In Oracle9i And SQL Server 2000
Specialized Cloud Architectures
Performance And Scalability In Oracle9i And SQL Server 2000
Jean Joseph DBA\DEVELOPER
Presentation transcript:

The PVSS Oracle Archiver FW WG 6 th July 2006

Credits Many people involved IT/DES: Eric Grancher, Nilo Segura, Chris Lambert IT/PSS: Luca Canali ALICE: Svetozar Kapusta Oracle: Lothar Flatz IT/CO: Laura Fernandez, Milosz Hulboj, Piotr Golonka, Wayne Salter, Manuel Gonzalez Infrastructure LHCb, ALICE and lxshare machines for PVSS IT/PSS Oracle DB server

… EM DM RDB Driver PVSS System 1 … Val Arch 1 Val Arch m UI EM DM Driver PVSS System n Val Arch 1 Val Arch m … UI CTRL DB Server(s) RDB CTRL

CERN Requirements 150 PVSS clients Data values Insertion: values/s Queries: 5 dpes in 10 systems -> response in less than 5 secs Alarms Insertion: Avalanche: all data in one system (~10000 dpes) Regular: ~1000 dpes coming from several systems Queries Display of current alarms in AES acceptable for an operator No data loss Buffer to disk if DB not reachable

Initial version Client could insert ~100 values/sec Single value insertion Very slow client start up Very poor performance in DB server Issues with CERN environment Access rights in DB server Network performance

Client side: events insertion Assumptions Data generated with sim drivers at continuous rate One RDB manager per PVSS system Improvements achieved Current performance Data insertion: ~2000 val/s Windows, ~3000 val/s Linux Improved start up time Changes Bulk insert (moved to OCCI) Start up queries Open issues OCCI bug with memory allocation Start up dependent on history length Deadlock when many clients change archive configuration at the same time

EMDMRDB Sim X changes/s Sim Y changes/s … X + Y -Changes per block -Blocks in memory X + Y B1 blocks/s PVSS Project 1 PVSS Project 150 B150 blocks/s … DB

Client side: events query Assumptions Nearly all of the queries are dpGetPeriod, other queries not optimized Improvements tested (not sent yet to ETM) Difficult to measure Modified query to look only in data for the correspondent PVSS client Open issues Performance degradates when asking for values outside of the time interval (count > 0). This is used in the Trending tool. Possible to specify count = 0 Queries for data in remote systems go via the remote EM- DM-RDB chain Load on remote system Data not available if system not running (e.g. maintenance)

dpGetPeriod t1 t2 Count = 2 Count = 0

Client side: alarms insertion Tests Bulk insertion as for events Very poor performance Cannot handle 200 threshold crosses per sec Confirmed by ETM

DB side Assumptions One DB server per distributed system One user/schema in the DB server per distributed system Improvements (not yet officially accepted by ETM) Current performance Single Oracle server ~ val/s Scales linearly in a cluster (RAC technology) 150 clients with 500 changes/s run for one day 6 RAC nodes Low CPU usage (<40%) and low disk i/o Changes Direct path, partitioning, statistics gathering, etc Issues Space used in DB: data, index, logs, etc Allocation of new space blocks system: being followed up with Oracle Set up requires DBA rights

Buffering to disk ETM’s concept document ASCII file per block with prepared sql statements for insertion Load to DB manually triggered CERN request Use same path as for normal insertion or ASCII file with only data (e.g. CSV, tab) Import to DB with SQL loader

END