© 2011 IBM Corporation September 9, 2010 Storage Provisioning Scott Pickett – WW Informix Technical Sales For questions about this presentation contact:

Slides:



Advertisements
Similar presentations
Training Course: Task List. Agenda Overview of the Task List Screen Icons across the top Making Appointments Viewing Appointments & Filters Working Your.
Advertisements

4 Oracle Data Integrator First Project – Simple Transformations: One source, one target 3-1.
Module 2 Navigation.     Homepage Homepage  Navigation pane that holds the Applications and Modules  Click the double down arrow on the right of.
Getting Started: Ansoft HFSS 8.0
DNR-322L & DNR-326.
Building Your Project Work Plan in March 2, 2007 HP Project & Portfolio Management by Dan Gallagher See NOTES page for Presentation Discussion, Tips &
6 th Annual Focus Users’ Conference 6 th Annual Focus Users’ Conference Scheduling Requests and Request Reports Presented by: Sara Sayasane Presented by:
MCTS GUIDE TO MICROSOFT WINDOWS 7 Chapter 10 Performance Tuning.
Automating Tasks With Macros
Procurement Card Training Strategic Account Management (SAM)
Chapter 11 - Monitoring Server Performance1 Ch. 11 – Monitoring Server Performance MIS 431 – created Spring 2006.
Automating Tasks With Macros. 2 Design a switchboard and dialog box for a graphical user interface Database developers interact directly with Access.
Harvard University Oracle Database Administration Session 5 Data Storage.
1 of 7 This document is for informational purposes only. MICROSOFT MAKES NO WARRANTIES, EXPRESS OR IMPLIED, IN THIS DOCUMENT. © 2007 Microsoft Corporation.
Chapter 2: The Visual Studio.NET Development Environment Visual Basic.NET Programming: From Problem Analysis to Program Design.
A Guide to MySQL 3. 2 Objectives Start MySQL and learn how to use the MySQL Reference Manual Create a database Change (activate) a database Create tables.
Hands-On Microsoft Windows Server 2003 Administration Chapter 6 Managing Printers, Publishing, Auditing, and Desk Resources.
EPOCH 1000 File Management Data Logging and Reporting
1 Chapter Overview Managing Data Storage Creating Dynamic Disks Implementing Storage Quotas Managing Compression and Encryption.
© 2011 IBM Corporation 11 April 2011 IDS Architecture.
1 Chapter Overview Monitoring Server Performance Monitoring Shared Resources Microsoft Windows 2000 Auditing.
Ch 11 Managing System Reliability and Availability 1.
A Guide to SQL, Eighth Edition Chapter Three Creating Tables.
Advanced SAGE Formative Adding Your Own Resources Using Common Assessments Creating Educator Groups.
MCTS Guide to Microsoft Windows 7
© Ms. Masihi.  The Dreamweaver Welcome Screen first opens when you start Dreamweaver.  This screen gives you quick access to previously opened files,
® IBM Software Group © 2009 IBM Corporation Rational Publishing Engine RQM Multi Level Report Tutorial David Rennie, IBM Rational Services A/NZ
OPL MRR Viewer Tutorial David Stark North Carolina State University 31 Jan 2008.
Copyright © 2007, Oracle. All rights reserved. Managing Concurrent Requests.
WindowsXP Explorer The Explorer is a used to organize and control the files and folders of the different storage systems such as the hard drive, floppy.
Informix IDS Administration with the New Server Studio 4.0 By Lester Knutsen My experience with the beta of Server Studio and the new Informix database.
Installing and Using Active Directory Written by Marc Zacharko.
FireRMS NEMSIS (Part 2) Presented by Laura Small FireRMS Quality Assurance.
IS 221: DATABASE ADMINISTRATION Lecture 6:Create Users & Manage Users. Information Systems Department 1.
Moodle (Course Management Systems). Managing Your class In this Lecture, we’ll cover course management, including understanding and using roles, arranging.
© 2010 IBM Corporation September 9, 2010 IDS 11.7 – New Fragmentation Strategies Scott Pickett – WW Informix Technical Sales For questions about this presentation.
Oracle Data Integrator Procedures, Advanced Workflows.
Page 1 Non-Payroll Cost Transfer Enhancements Last update January 24, 2008 What are the some of the new enhancements of the Non-Payroll Cost Transfer?
1 Chapter Overview Performing Configuration Tasks Setting Up Additional Features Performing Maintenance Tasks.
Configuring the User and Computer Environment Using Group Policy Lesson 8.
WEIGH STAR A Software for Weighing Systems. Features Weigh STAR is a S/W that is designed for weighing systems. It reads the weight (both Gross Weight.
Creating Graphical User Interfaces (GUI’s) with MATLAB By Jeffrey A. Webb OSU Gateway Coalition Member.
Microsoft Access 2010 Chapter 10 Administering a Database System.
Nextgen Transactions Presented by Bridget Clayton Local Government Corporation Resource 2015.
A Guide to MySQL 3. 2 Introduction  Structured Query Language (SQL): Popular and widely used language for retrieving and manipulating database data Developed.
FIX Eye FIX Eye Getting started: The guide EPAM Systems B2BITS.
Chapter 10 Chapter 10: Managing the Distributed File System, Disk Quotas, and Software Installation.
Design Verification Code and Toggle Coverage Course 7.
5/14/2003Sprint TekNet IP Train the Trainer1 Open TekNet Software If working at a client station, enter the IP address of the server and mark page as a.
1 Installation Training Everything you need to know to get up and running.
Working with Disks Lesson 4. Skills Matrix Technology SkillObjective DomainObjective # Configuring Data Protection Configure data protection6.4 Using.
South Dakota Library Network MetaLib Management Basics Categories Administration South Dakota Library Network 1200 University, Unit 9672 Spearfish, SD.
Chapter 5 Introduction To Form Builder. Lesson A Objectives  Display Forms Builder forms in a Web browser  Use a data block form to view, insert, update,
Indicator 13 Secondary Transition. Main Menu SPP13 has a navigation toolbar located at the top of each screen. If you use the toolbar to navigate to another.
Nextgen Transactions Presented by Bridget Clayton Local Government Corporation Resource 2014.
Create new project or open existing project (here, we will create a new project)
Debugging tools in Flash CIS 126. Debugging Flash provides several tools for testing ActionScript in your SWF files. –The Debugger, lets you find errors.
Folio3 IPhone Training Session 2 Testing App on device Presenter: Imam Raza.
Adding, editing, and deleting items using CONTENTdm Administration.
© 2011 IBM Corporation June 22, 2016 Compression.
5/14/2003Sprint TekNet IP Train the Trainer1 Open TekNet Software If working at a client station, enter the IP address of the server and mark page as a.
Student’s Guide to. Press “FILE” Press “OPTIONS”
3 A Guide to MySQL.
CONTENT MANAGEMENT SYSTEM CSIR-NISCAIR, New Delhi
Building a User Interface with Forms
RCM Turbo SQL Version.
Expense Report Training
How to Create and Start a Test Session
Expense Report Training
Presentation transcript:

© 2011 IBM Corporation September 9, 2010 Storage Provisioning Scott Pickett – WW Informix Technical Sales For questions about this presentation contact:

© 2010 IBM Corporation 2 Storage Provisioning  Storage provisioning solves a long time problem for most IDS customers; namely, how do we dynamically and efficiently add additional disk space for IDS storage spaces, not knowing in advance when or which one of the spaces will either run out of space or cross a threshold of a space allocation requirement?  Create a pool of storage, unallocated, within IDS.  Configure a little, in advance.  IDS does the rest. Automatically, if configured to do so.

© 2010 IBM Corporation 3 What is Storage Provisioning (SP)?  Automatic expansion of dbspaces, temporary dbspaces, sbspaces, temporary sbspaces, and blobspaces.  "Out-of-space" errors are significantly reduced.  Chunks are extended and/or created as needed.  IDS can also expand spaces before they are full.  Feature is highly configurable.  Feature will be fully incorporated into OAT.

© 2010 IBM Corporation 4 Setting up Storage Provisioning  Configure various sizes and thresholds.  Make some existing chunks extendable.  Define your storage pool.

© 2010 IBM Corporation 5 Storage Provisioning: The Power of 2  Two available modes: –Manual –Automatic  Two available space expansion methods: –Chunk extension –Chunk creation  Two available interfaces: –sysadmin task() / admin() functions (SQL interface) –OAT (Graphical interface)

© 2010 IBM Corporation 6 What is the Storage Pool?  A list of raw devices, cooked files, and/or directories from which IDS can allocate space as needed.  For example: Path:/dev/rawdevice1 Offset: Total Size: Path:/ifmx/STORAGE_DIR Offset:0 Total Size:0  storagepool table in the sysadmin database (sysadmin:storagepool)

© 2010 IBM Corporation 7 Storage Pool Facts  There is one storage pool per IDS instance.  A file, device, or directory in the pool is called an entry.  You can add, modify, and delete storage pool entries.  Entries that are used up or found to be faulty are left in the pool, but disabled.  IDS automatically detects and prevents potential chunk overlaps.  Extending a chunk does not use the pool.

© 2010 IBM Corporation 8 Extending a chunk  Chunks are not extendable by default. To make a chunk extendable: EXECUTE FUNCTION task("modify chunk extendable", " ");  Now, you can extend it manually at any time: EXECUTE FUNCTION task("modify chunk extend", " ", " ");  You can also wait for the server to extend it automatically.  Restriction: Only unmirrored dbspace and temporary dbspace chunks can be extended.

© 2010 IBM Corporation 9 New SQL Administration API admin() & task() Commands  storagepool add  storagepool modify  storagepool delete  storagepool purge  modify space sp_sizes  modify space expand  modify chunk extendable [off]  modify chunk extend

© 2010 IBM Corporation 10 New SQL Admin API admin() & task() Commands (cont.)  create from storagepool  drop to storagepool where is either a space: – dbspace – tempdbspace – blobspace – sbspace – tempsbspace or a chunk.

© 2010 IBM Corporation 11 Adding a Storage Pool Entry EXECUTE FUNCTION task("storagepool add", " ", " ", " ", " ", " ");  The offset and sizes are in kilobytes by default, though other units can be specified.  The allowed priority values are: –1 (High), –2 (Medium), –3 (Low). Note: When adding a directory to the storage pool, and must be specified as 0.

© 2010 IBM Corporation 12 Manually Expanding a Space EXECUTE FUNCTION task("modify space expand", " ", " ");  The space_name can be any type: –dbspace, –temporary dbspace –sbspace –temporary sbspace –blobspace  IDS might round the min_size up, depending on the space's page size and any chosen pool entry's minimum chunk size.  IDS will expand the space by either extending a chunk or adding a chunk using the storage pool.

© 2010 IBM Corporation 13 Creating a Space from the Storage Pool EXECUTE FUNCTION task( "create from storagepool", " ", " ", optional arguments...);  Valid space_type values are: –dbspace –tempdbspace –sbspace –tempsbspace –blobspace  Optional arguments depend on the space type. See information in the IDS Administrator’s Reference for details.

© 2010 IBM Corporation 14 Returning Space to Pool When Dropping Objects EXECUTE FUNCTION task( "drop to storagepool", " ");  Valid space_type values are: – dbspace – tempdbspace – sbspace – tempsbspace – blobspace  Chunk level operations: EXECUTE FUNCTION task( "drop chunk to storagepool", " ”, " ", " ");  The space must be empty in order to be dropped.

© 2010 IBM Corporation 15 Storage Provisioning Configuration  Instance level –SP_AUTOEXPAND –SP_THRESHOLD –SP_WAITTIME  dbspace level –Create size –Extend size  Storage pool entry level –Chunk size –Priority

© 2010 IBM Corporation 16 Storage Provisioning Configuration Parameters (1)  SP_AUTOEXPAND –Use this parameter to toggle on or off the automatic expansion of spaces. –Affects both automatic chunk creations and automatic chunk extensions. –Does not affect manual space creations or expansions.  Examples: SP_AUTOEXPAND1# Auto-expansion enabled SP_AUTOEXPAND0# Auto-expansion disabled  Default value: 1 (automatic space expansion is enabled.)

© 2010 IBM Corporation 17 Storage Provisioning Configuration Parameters(2)  SP_THRESHOLD –An amount of free space, expressed as a percentage or an absolute number of kilobytes. –If the free kilobytes in a space fall below this threshold, the next time the low- space-monitoring task runs, IDS will attempt to expand the space. –Restriction: This setting applies to all spaces in the instance. You cannot configure this for each dbspace. –Settings: –0 disabled –1 – 50 - a percentage – invalid – MAXCHUNKSIZE - actual size in KB  Examples: SP_THRESHOLD10# Ten percent of total SP_THRESHOLD100000# 100 Mb  Default value: 0 (space expansion is disabled.)

© 2010 IBM Corporation 18 Storage Provisioning Configuration Parameters (3)  SP_WAITTIME –The number of seconds that a database server thread will wait for space expansion before returning an out-of-space error.  Examples: – SP_WAITTIME60# Wait 1 minute, max – SP_WAITTIME0# Don't wait at all  Default value: 30

© 2010 IBM Corporation 19 Storage Provisioning: Space-Level Configuration EXECUTE FUNCTION task ("modify space sp_sizes"," ", " ", " ");  Create Size –Minimum size of an automatically created chunk in this space.  Extend Size –Minimum amount by which a chunk in this dbspace can be automatically extended.  Neither setting affects manual operations.  Express as a percentage or a number of kilobytes. –Default values: 10% and 10000k, respectively.

© 2010 IBM Corporation 20 Storage Provisioning: Entry-Level Configuration EXECUTE FUNCTION task("storagepool add", " ", " "," ", " ", " ");  Chunk Size –Minimum size of a chunk created from this entry.  Priority –1 (High), 2 (Med), or 3 (Low) –Storage pool entries will be evaluated, though not necessarily used, in priority order.

© 2010 IBM Corporation 21 Storage Provisioning: Modifying/Deleting Pool Entries EXECUTE FUNCTION task("storagepool modify", " "," ", " "," "); EXECUTE FUNCTION task("storagepool delete", " "); Note: You can find the correct entry_id value in the storagepool table in the sysadmin database (sysadmin:storagepool). You may have to know the chunk path and other related data beforehand......

© 2010 IBM Corporation 22 Manually Creating a Chunk from the Storage Pool (1) EXECUTE FUNCTION task("storagepool add“,” ", " “," “," "); execute function task ("storagepool add“, “/data/IBM/informix/demo/demo_on/chunk1“,"0“,"30 MB“,”30 MB“,"1");  There is no onstat option to see chunks allocated to the storage pool that are not allocated to a storage space. OAT must be used or “select * from sysadmin:storagepool where path matches ‘*chunk1*’”.

© 2010 IBM Corporation 23 Manually Creating a Chunk from the Storage Pool (2) EXECUTE FUNCTION task("create chunk from storagepool", " ", " "); execute function task(“create chunk from storagepool”, ”rootdbs”,”30 MB”);  This command manually uses a chunk pre-created in the storage pool and adds it to the dbspace requested.

© 2010 IBM Corporation 24 Manually Creating a Chunk from the Storage Pool (3)  To make the chunk extensible: execute function task("modify chunk extendable","5"); (expression) Chunk 5 is now extendable.

© 2010 IBM Corporation 25 Error Reporting  execute function task("modify space expand", "tempdbs","25 MB");

© 2010 IBM Corporation 26 Chunk Modifications (1)  execute function task("modify chunk extendable”,”3"); (expression) Chunk 3 is now extendable.  Now that the temp chunk is extendable, lets do the others …. or can we …..  execute function task("modify chunk extendable”,”2"); (expression) FAILED: Storage Provisioning - BLOBspace, Smart BLOBspace, and mirrored chunks cannot be extended.

© 2010 IBM Corporation 27 Chunk Modifications (2) execute function task("modify chunk extendable”,”1"); (expression) Chunk 1 is now extendable.  Too much unused space in the rootdbs. Return a chunk to the storage pool. execute function task ("drop chunk to storagepool","rootdbs", "/data/IBM/informix/demo/storage_pool/chunk1","0"); (expression) Chunk successfully dropped.

© 2010 IBM Corporation 28 Chunk Modifications (3)  The chunk is now restored to the storage pool.

© 2010 IBM Corporation 29 Create a Storage Space from the Pool  execute function task ("create dbspace from storagepool","data1",“30 MB"); (expression) Space 'data1' added.  The dbspace data1 was created from the pool.  Above we see that the rootdbs first chunk is pages.  We will now load enough data into a table there to see it fill up and then expand. The space will not be manually expanded. SP_AUTOEXPAND is 1 here.

© 2010 IBM Corporation 30 Automatic Storage Expansion  Below we see the results after the space has filled up. The first chunk has gone from pages in size to pages in size with minimal pages free. The chunk expanded as expected.

© 2010 IBM Corporation 31 Questions?

© 2011 IBM Corporation September 9, 2010 Open Admin Tool (OAT) Storage Provisioning

© 2010 IBM Corporation 33 Streamlined Storage Administration The Space Administration > Storage pages: Combine the information displayed in the Space Administration > Dbspaces and Chunks pages. Display information about tables, extents, and the new storage pool. Provide a central location for you to administer storage space with OAT.

© 2010 IBM Corporation 34 Storage  The storage view displays summary information for server level spaces and usage: –Expand a panel for more information and actions. –Use the tree to drill down on a particular space.

© 2010 IBM Corporation 35 Storage > Spaces  The Spaces page displays information about the storage spaces on the server including: –An indicator of whether the space is expandable. –The create and extend sizes that are used when the space is expanded.  You can create a new space or expand, modify, or drop an existing space.

© 2010 IBM Corporation 36 Storage > Actions > Create Space  You can create a space and configure it as expandable: The option to show the SQL is provided for each storage action.

© 2010 IBM Corporation 37 Storage > Spaces > Expand Space  You can expand a space on demand: –Basic option: Expand the space by the amount configured as the extend size. –Advanced option: Specify the amount to expand the space by or add a chunk.

© 2010 IBM Corporation 38 Storage > Server View > Chunks  The Chunks page displays detailed information about the chunks on the server.  You can add, drop or modify a chunk to make it extensible, or extend a chunk.

© 2010 IBM Corporation 39 Storage > server_name> Storage Pool  Configure the database server for automatic storage space expansion: –The threshold sets the minimum space allowed before the space is expanded. –The wait time sets how long threads wait for a new space to be added. –You must the click “Automatic Space Expansion” box for it to be automatic.  Add, modify or delete storage pool objects.

© 2010 IBM Corporation 40 Storage > server_name > Storage Pool  You can add a storage pool entry within OAT:

© 2010 IBM Corporation 41 Storage > Information  The information view graphically/textually displays the summary used and free status of the database server by space type.  A “Optimization Policies” tab on the menu bar, controls the options for compress, repack, shrink and de-fragmentation...

© 2010 IBM Corporation 42 Storage > Information > Organization Policies (1)

© 2010 IBM Corporation 43 Storage > Information > Organization Policies (2)  This is a database server wide set of policies.  By default the policies are disabled: –Can be enabled once configured.  If policy is enabled, options exist to threshold tune: –Compression - by number of rows in tables/fragments. –Repack - by % of noncontiguous storage. –Shrink - by % of unused space in tables/fragments. –Extents - in excess of a total number of table(s)/index(es) extents  A scheduler allows immediate scheduling of policy execution.  You can also see the SQL generated to run this at the bottom the screen by clicking the “Show SQL” button: –'Long' SQL statements do not show in entirety. Arrow button down to see all.

© 2010 IBM Corporation 44 Storage > Space View  Information about the storage space selected in the tree including: –Summary graphic and text information and usage. –Tables and Indexes. –Chunk info.

© 2010 IBM Corporation 45 Storage > space_name > Tables and Indexes View (1)  This view is by dbspace (not shown), after clicking the expand window icon in the upper right hand window corner. Used / unused space is shown in red / green; full page usage is shown in purple, mostly used pages in red, partially used pages in green, and unused pages in blue. Tables/indexes with poor extent utilization are shown.

© 2010 IBM Corporation 46 Storage > space_name > Tables and Indexes View (2)  This view is obtained by clicking the window expand icon. The 'Actions' tab on ‘Tables and Indexes’ allows 'Optimize Space' and 'Compression Estimates' for any object selected in the left hand column check box.

© 2010 IBM Corporation 47 Help in Context  The cursor can be moved over any field to display more detailed information about the operation requested. A yellowish pop up box appears with context appropriate information.

© 2010 IBM Corporation 48 Performance Analysis > onstat Utility  onstat -d has been enhanced with new flags column options: –Dbspaces: In position 5, an 'A' marks the space as 'A'uto Expandable; null means it is not auto expandable. –Chunks: In position 5, an 'E' marks the chunks as 'E'xpandable; a dash '-' means it not expandable.

© 2010 IBM Corporation 49 Questions?

© 2010 IBM Corporation 50 Where to get Open Admin Tool (OAT)   Its free !!!!

© 2010 IBM Corporation 51 Logo