IDUG EU 2008 Paul Zikopoulos: IBM Data Studio: the Toolset of The
Total Page:16
File Type:pdf, Size:1020Kb
Session: G10 and G1 (Double session) IBM Data Studio: The Toolset of the Future Title… Here Today! Paul Zikopoulos, BA, MBA IBM Canada 15th October 2008 • (1) 13:30-4:30 (2) 14:45-15:45 Platform: Tools and Utilities 1 Presenter’s Biography Paul C. Zikopoulos, BA, MBA, is an award- winning writer and speaker with IBM. In his current role, he is the Program Director of the DB2 Technical Evangelist team. He has more than ten years of experience with DB2 UDB and has written over sixty magazine articles and several books about it. Paul has co-authored the books: DB2 9 New Features, DB2 Version 8: The Official Guide, DB2: The Complete Reference, DB2 Fundamentals Certification for Dummies, DB2 for Dummies, and A DBA's Guide to Databases on Linux. Paul is a DB2 Certified Advanced Technical Expert (DRDA and Cluster/EEE) and a DB2 Certified Solutions Expert (Business Intelligence and Database Administration). In his spare time, he enjoys all sorts of sporting activities, running with his dog Chachi, and trying to figure out the world according to Chloë – his new daughter. You can reach him at: [email protected]. 2 2 The Application Development Lifecycle The People. The Framework. The Tasks Application Database Database Administrator Developer Developer Manage Develop •Database administration •Data management •Coding •Change management •Debugging •Recovery management •Teaming •Storage management •Testing •Performance management •Tuning Design Govern •Data Modeling •Security access •Process Modeling •Security analysis •Business Modeling •Data auditing/encryption •Data archiving/masking Business Database Security Administrator Analyst Architect 3 3 The Problem Today Command User Microsoft Web Eclipse Java Interfaces Line Design Develop Deploy Manage Govern Rational Data Architect Developer Workbench Change Manager Expert Performance Expert Test Database Generator Table Editor Migration Tool Kit Recovery Expert Data Archive Expert Web Query Tool Control Center Change Manager Expert Audit Mgmt Expert Data Quant Developer Workbench Data Archive Expert Encryption Expert Tools Control Center Test Database Generator DB Security Analyst Test Database Generator High Performance Unload Control Center Developer Workbench Visual Studio .Net Plug-in DS Admin Console DSAC Control Center Developer Workbench DWE Studio & Admin DB2 DB2 DB2 for for for IDS Non-IBM LUW z/OS i5/OS 4 4 Toolset Q&A • I need to create a logical data model • You need to use Rational Data Architect • I need to build and debug a SQL stored procedure • You need to use Developer Workbench • I need to create a table for DB2 for LUW • You need to use Control Center • I need to execute some commands on DB2 for z/OS • You need to use Command Editor • I need to catalog my DB2 data servers • You need to use Configuration Assistant • I need to change a few configuration parameters • You need to use Control Center • I need to check the health of my DB2 for LUW data server • You need to use Health Center or Performance Expert • I need to administer my DB2 for LUW Replication configurations • You need to use Replication Center 5 5 Why IBM Data Studio? • Increases productivity -- throughout data life cycle • Integrated data management environment for every role - Developers, DBAs, Data Architects • Promote collaboration between Developers and DBAs to optimize performance • Accelerate Java development productivity with pureQuery technology • Simplify development of next generation pureXML applications • Monitor data server operation & performance anywhere, anytime from a Web browser • Shortens the learning curve • Learn once, use with all your IBM data servers (DB2 and IDS) • Easy-to-use and intuitive user interface • Compatible with Rational Software Development Platform • Extensible with Eclipse plug-ins to customize your development environment • Accelerates SOA implementation • Develop and publish data as a web service without programming • Simple to use and ready for Info 2.0 6 6 The IBM Data Studio A New Era of Tooling for IBM Data Servers • New evolution of the DB2 Developer’s Workbench No longer just for developers • Key new enhancements Improved database connection management (includes Informix IDS support) Enhanced SQL editor, routine editors, and table editor New administrative tasks in the Database Explorer pane New IBM Data Web Services framework for easier SOA enablement pureQuery development tooling for quick development for relational and in-memory Java collection development using standard SQL Installation via the IBM Installation Manager for all install, updates, and maintenance 7 7 What is the IBM Data Studio? 8 8 Users of the IBM Data Studio 9 9 IBM Data Studio Free complimentary version Available Q4 2007 Support for DB2 on all platforms and IDS DB2 for LUW DB2 for z/OS DB2 for i5/OS IDS Physical Data Modeling Physical Data Modeling Physical Data Modeling Physical Data Modeling Data Distribution Viewer Data Distribution Viewer Data Distribution Viewer Data Distribution Viewer Integrated Query Editor Integrated Query Editor Integrated Query Editor Integrated Query Editor SQL Builder/Debugger SQL Builder SQL Builder SQL Builder XML Editor XML Editor Data Web Services Data Web Services XML Schema Editor XML Schema Editor Object Management Object Management pureQuery for Java Data Web Services Data Management Data Management Data Web Services Object Management Security Access Controls Security Access Controls Object Management Data Management Project Management Project Management Data Management Security Access Controls Source Control Source Control Health and Availability Project Management Monitoring Source Control Security Access Controls Project Management Source Control 10 10 IBM Data Server Client • Single client for access to IBM Data Servers (Informix IDS and DB2) • One deploy: IBM data server • Still need DB2 Connect for DB2 for i5/OS and DB2 for z/OS connections 11 11 IBM Data Studio A comprehensive and productive work environment 12 12 A Peek at Database Management Stuff 13 13 Introducing the Data Studio Administration Console • What is it? • A Web based interface to perform operational database administration tasks • Immediate access to critical data server information and functions from anywhere, anytime • What’s available in the first release • Health and availability monitoring • DB2 for LUW V9.5 • Problem determination and recommendations • 72 Hours of History with the ability to monitor up to 100 data servers • Q Replication monitoring and administration • What will likely (hint… hint…) be available in the future? • Support for all IBM data servers – IDS, DB2 on all platforms • Home for commonly performed operational database management functions • Performance Monitoring and Tuning • Configuration Management • Storage Management • Security Management • Advanced Deployment Capabilities 14 14 Data Studio Administration Console Design Goals • Web-based console to address short-comings of previous generation CC tools: Lightweight: Goal of less than 100 MB disk footprint, equally diminutive memory footprint Fast and responsive: Web 2.0 UI: Ajax means you never wait as web pages update asynchronously Task-based: Supports key end-to-end admin scenarios directly in task-driven console Simple but powerful: Do the simple things easily & quickly, make the complex possible for everybody Scalable: Big (100s of databases) or small, we take ‘em all: visualizations, multi-db actions Easy deployability and upgradeability: Bundled with data servers & downloadable, upgrade console server not clients 15 15 Data Studio Administration Console vs. Control Center 16 16 Quick and Easy Problem Determination Heatchart – Overall Health Status Dashboard – Adhoc Investigation Where are the most important hotspots that Something doesn‘t seem quite right. need my attention? I wonder what‘s happening? Alert List – Historical Investigation Recommendations – Root Cause Analysis Administrator „What happened when I Guide me to the root cause and help me fix was out for lunch? ... Away it properly; I need to know all the revelant for weekend? info to make the best decision. 17 17 Data Studio Administration Console Architecture Browser tier Console server tier Data server tier 18 18 Monitoring Architecture DB2 for z/OS DB2 for LUW DB2 for i5/OS IDS Administration via SQL Monitor Agent Monitor Agent Monitor Agent Monitor Agent Managed Resources Mid-Tier Server Monitor Data Studio Server Server Web Administration Console 19 19 The Heat Chart Overall Health Status Locking Application causing lock escalation Table space inaccessible due to quiesced state Application waiting indefinitely for lock held by in-doubt transaction Database Storage Table space inaccessible because it is offline Running out of database storage Storage I/O problem Recovery Database inaccessible because recovery is incomplete or failed Table space cannot be updated because it is in backup pending state Table space inaccessible because it is in drop pending state System Bad response times due to high CPU usage Bad response times due to high memory usage Logging Long running app is using too much log space Transaction log access problems Full log held by in-doubt transaction Reduced application performance due to logging problems Monitor Status Monitor agent offline Monitoring turned off by user Data Server Status Data server not responding 20 20 The Dashboard Ad-hoc Investigation Locking Number of locks held Deadlock rate Lock escalation rate