IBM/SAP Competency Center November 11, 2008 © 2008 IBM Corporation SAP PSA Table Partitioning Mary Siart IBM STS - SAP on zSeries Technical Specialist.

Slides:



Advertisements
Similar presentations
Copyright 2009 SAP All rights reserved
Advertisements

SAP Organization Change Management (OCM) Toolkit
© 2010 IBM Corporation ® IBM Software Group Assistive Technology As applied to the workplace Niamh Foley.
© 2014 IBM Corporation IBM Tivoli Storage Manager Virtual Appliance Smarter Data Protection for Cloud Environments Cyrus Niltchian, Product Management.
® IBM Software Group © 2009 IBM Corporation Updated August 15, 2015 WebSphere Enterprise Service Bus WebSphere Integration Developer Mediation.
IBM Software Group AIM Enterprise Platform Software IBM z/Transaction Processing Facility Enterprise Edition © IBM Corporation 2005 TPF Users Group.
CRM Analytics Architecture
SAP Codepage Conversion Check Convert From an EBCDIC to an ASCII Codepage Successfully Service and Support Product Management SAP AG.
IBM Software Group AIM Enterprise Platform Software IBM z/Transaction Processing Facility Enterprise Edition © IBM Corporation 2005 TPF Users Group.
© 2011 IBM Corporation January 2011 Pam Denny, IBM V7 Reporting.
IBM Software Group AIM Core and Enterprise Solutions IBM z/Transaction Processing Facility Enterprise Edition Any references to future plans are.
Mail Interface with SMTP PlugIn in SAP WAS Based Components Parlin Sitanggang.
IBM Software Group AIM Enterprise Platform Software IBM z/Transaction Processing Facility Enterprise Edition © IBM Corporation 2005 TPF Users Group.
© 2015 IBM Corporation Big Data Journey. © 2015 IBM Corporation 2.
IBM eServer iSeries © 2003 IBM Corporation ™™ iSeries Solutions for Business Continuity IBM eServerJ iSeriesJ © 2003 IBM Corporation.
Domino iSeries Multi-Versioning © 2002 IBM Corporation | Lotus software © 2002 IBM Corporation Domino Multi-Versioning Mike Gordon – IBM Global Services.
SAP AG Enablement Kit for SAP NetWeaver Business Client – V1.30 How to Use POWER Lists Overview.
Baseline Package: Organizational Structure (J02) Overview SAP AG.
I want stress-free IT. i want control. i want an i. IBM System i ™ Session: Secure Perspective Patrick Botz IBM Lab Services Security Architecture Consulting.
IBM Systems Group © 2004 IBM Corporationv 3.04 This presentation is intended for the education of IBM and Business Partner sales personnel. It should not.
IBM Innovate 2012 Title Presenter’s Name Presenter’s Title, Organization Presenter’s Address Session Track Number (if applicable)
Work smarter, keep connected with Lotus Software Jon Crouch | Senior Technical Specialist, Lotus Software Matt Newton | Senior Technical Specialist, Lotus.
PowerAI Scott Soutter Offering Manager: PowerAI and High Performance Data Analytics
Virtualization Engine console Bridge Concepts
Virtualization Engine Console Usability Enhancements
IBM System z9 109 Availability Eye Opener
IBM Global Technology Services
Global Technology Services
Presentation transcript:

IBM/SAP Competency Center November 11, 2008 © 2008 IBM Corporation SAP PSA Table Partitioning Mary Siart IBM STS - SAP on zSeries Technical Specialist IBM Certified Database Administrator DB2 Universal Database V8.1 for zOS

IBM/SAP Competency Center IBM Solutions for SAP © 2008 IBM Corporation 2 Special Notices LIMITATION OF LIABILITY - The information in this document is provided on an "AS IS" basis without warranty of any kind, either express or implied, including, but not limited to, the implied warranties of merchantability and fitness for a particular purpose, or non-infringement. This information is provided for information purposes only. IBM is not responsible for typographical errors in this document that result in pricing or information inaccuracies. IBM Corporation assumes no responsibility for its accuracy or completeness. IBM cannot guarantee results. Any performance data contained in this presentation was determined in a controlled environment and is subject to change. All examples cited or described in this document are presented as illustrations of the manner in which some IBM products can be used and the results that may be achieved. Actual environmental costs and performance characteristics may vary depending on individual client configurations and conditions. The use of this information depends upon the client's ability to evaluate, integrate, and verify the applicable data for their specific operational environment. Some measurements quoted in this document may have been estimated through extrapolation. This document was developed for IBM offerings in the United States as of the date of publication. IBM may not make these offerings available in other countries, and the information is subject to change without notice. Consult your local IBM business contact for information on the IBM offerings available in your area. IBM may have patents or pending patent applications covering subject matter in this document. The furnishing of this document does not give you any license to these patents. Send license inquires, in writing, to IBM Director of Licensing, IBM Corporation, New Castle Drive, Armonk, NY USA. All statements regarding IBM future direction and intent are subject to change or withdrawal without notice, and represent goals and objectives only. The opinions expressed are those of the presenter at the time, not necessarily the current opinion and certainly not that of IBM. IBM Global Financing offerings are provided through IBM Credit Corporation in the United States and other IBM subsidiaries and divisions worldwide to qualified commercial and government clients. Rates are based on a client's credit rating, financing terms, offering type, equipment type and options, and may vary by country. Other restrictions may apply. Rates and offerings are subject to change, extension or withdrawal without notice. All prices shown are IBM's United States suggested list prices and are subject to change without notice; reseller prices may vary. IBM hardware products are manufactured from new parts, or new and serviceable used parts. Regardless, our warranty terms apply. Information in this document concerning non-IBM products was obtained from the suppliers of these products, published announcement material, or other publicly available sources. IBM has not tested these products and cannot confirm the accuracy of performance, compatibility, or any other claims related to non-IBM products. Questions on the capabilities of non-IBM products should be addressed to the suppliers of those products. Unless otherwise stated, IBM makes no representations or warranties with respect to non-IBM products. Support and warranties (if any) for the non-IBM products is provided by the third party, not IBM.

IBM/SAP Competency Center IBM Solutions for SAP © 2008 IBM Corporation 3 Trademarks IBM TRADEMARKS Copyright IBM Corporation. All rights reserved. The following terms are trademarks or registered trademarks of IBM Corporation in the United States or other countries or both: IBM, the IBM logo, eServer, System i, iSeries, System p, pSeries, System x, xSeries, System z, z9, zSeries, System Storage, i/OS, AIX, z/OS, DB2, DB2 Connect, Parallel Sysplex. Lotus, Lotus Notes, Domino are trademarks of Lotus Development Corporation and/or IBM Corporation. For more information about IBM trademarks and copyrights, please visit: SAP TRADEMARKS mySAP.com, mySAP Workplace, mySAP Supply Chain Management, mySAP Customer Relationship Management, mySAP Financials, mySAP Human Resources, R/3, SAP (Logo), SAP (Word), SAP Advanced Planner and Optimizer, SAP Business Information Warehouse, SAPPHIRE, SAP NetWeaver are trademarks or registered trademarks of SAP AG and/or its affiliates. For more information about SAP trademarks and copyrights, please visit: OTHER TRADEMARKS Linux is a registered trademark of Linus Torvalds. Intel, Itanium, Pentium, Xeon are trademarks or registered trademarks of Intel Corporation. For a complete list of Intel trademarks, please visit: Java and all Java-related trademarks and logos are trademarks or registered trademarks of Sun Microsystems, Inc. Microsoft, Windows, Windows NT, and the Windows logo are trademarks of Microsoft Corporation in the United States, other countries, or both. UNIX is a registered trademark in the United States and other countries licensed exclusively through X/Open Company Limited. Other company, product and service names may be trademarks or service marks of others.

IBM/SAP Competency Center IBM Solutions for SAP © 2008 IBM Corporation 4 PSA Table Partitioning  Before loading a request it checks whether the number of records has exceeded the partition size given in transaction RSCUSTV6 (default 1mio) If not, it loads into the "current" partition. If yes, it adds another partition (or reuses a partition that has been rotated before). The new partition becomes "current".  Prior to SAP Note (9/2008) a request is never split over partitions Thus, a partition can have considerable more than a million records, if a huge request is loaded. When loading in parallel, all processes will check the number of records in the "current" partition at the beginning and may all find that the partition size is not reached. So all parallel loaded requests will go into the same partition regardless how high the sum of records in all requests. This can be overcome by allowing only one request per partition, see SAP note

IBM/SAP Competency Center IBM Solutions for SAP © 2008 IBM Corporation 5 PSA Table Partitioning  SAP Note PSA request in several table partitions  Import one of the following Support Packages: o SAP BI 7.00 Support Package 20 o SAP BI 7.00 Enhancement Package 1 Support Package 2  The PSA table is partitioned during creation using the column PARTNO and the column RECORD. The (logical) partitioning remains unchanged and references the column PARTNO. Now there can be several physical partitions for each logical partition. All physical partitions have the same value for PARTNO, but different values for RECORD. Entries in the table RSADMIN to control how many physical partitions created for logical partition based on column PARTNO. Add entry with the prefix DB2_MULTIPART in the column OBJECT of the table RSADMIN. The syntax is as follows:,,.

IBM/SAP Competency Center IBM Solutions for SAP © 2008 IBM Corporation 6 PSA Table Partitioning  If you want to load 4 millions records within one request, it is possible that it does not fit into one partition. Since SAP BI does not split a request, you need to increase DSSIZE of that PSA table. If parameter DB2_PSA_DSSIZE is set in table RSADMIN, SAP BI will use the given DSSIZE when a PSA table is created, See SAP note  PSA versioning implemented RSDU_PSAACTIV_NEWVERS_EXIT Force a new version during PSA activation by setting the RSAMIN parameter DB2_PSA_DSSIZE or DB2_PSA_BPOOL_DATA SAP NetWeaver 7.0 BI; Import Support Package 18 for SAP NetWeaver 7.0 BI (BI Patch 18 or SAPKW70018) SAP NetWeaver 7.1 BI; Import Support Package 06 for SAP NetWeaver 7.1 BI (BI Patch 06 or SAPKW71006) See SAP note

IBM/SAP Competency Center IBM Solutions for SAP © 2008 IBM Corporation 7 Considerations for Large Infocubes  Carefully consider level of granularity for navigation (  infocube) for reporting (  data store)  Consider multi-provider approach Splitting data into infoproviders that have equal structure Queries should access one or a small number of basis infoproviders only  Utilize DB2 data compression  Activate partitioning of infocubes and PSA  Increase DSSIZE of fact and PSA tables RSADMIN parameters DB2_FACT_DSSIZE and DB2_PSA_DSSIZE See SAP note and DSSIZE cannot be ALTERed!  Increase page size of fact and PSA tables Assign appropriate bufferpool See SAP note Page size cannot be ALTERed!  Estimate number and size of partitons Be aware of interdependency of page size, dataset size and number of partitions; see next slide

IBM/SAP Competency Center IBM Solutions for SAP © 2008 IBM Corporation 8 Maximum Number of Partitions Page size DSSIZE 4 KB8 KB16 KB32 KB 1 GB TB 2 GB TB 4 GB TB 8 GB TB TB 16 GB TB TB TB 32 GB TB TB TB TB 64 GB TB TB TB TB

IBM/SAP Competency Center IBM Solutions for SAP © 2008 IBM Corporation 9 PSA Partitioning (cont‘)  Implementation with DB2 V8 Always active, there is no option PSA tables are initially created with one partition A partition is added dynamically, if necessary Empty partitions are rotated to the end and are reused later on     2 

IBM/SAP Competency Center IBM Solutions for SAP © 2008 IBM Corporation 10 Migrating the partitioning of PSA tables  Migrating from DB2 V7 to DB2 V8 DB2 V7 does not allow the dynamic creation of partitions DB2 V8 allows the dynamic creation (ADD PARTITION) and rotation of partitions.  Import one of the following Support Packages: SAP BW 3.50 Support Package Stack 21 SAP BI 7.00 Support Package 16  Implement the Z_MIGRATE_PSA_TABLES_DB2 ABAP report attached SAP note Checks all partitioned PSA and ODS change log tables created in V7 and, if necessary, migrates them to the new schema. For all PSA tables not yet partitioned, Execute the RS_BW_POST_MIGRATION post migration report and choose the L_PSAVER option only. This report creates new partitioned versions of all non-partitioned PSA tables.  Keep looking for SAP Note to become available Provides report Z_CONVERT_CHANGELOG_DB2 to convert ODS change log tables (currently in pilot and not available)  DB2 9 SAP BI exploits range-partitioned UTS Supports fast truncation of a partition when it is ROTATEed.

IBM/SAP Competency Center IBM Solutions for SAP © 2008 IBM Corporation 11 PSA Table Partitioning  Review SAP notes: SAP Note Number DB2/390: BW: Size of a partition, DSSIZE SAP Note Number DB2-z/OS: BW: Data in the PSA table is lost SAP Note Number Request in different PSA partitions SAP Note Number DB2 z/OS: BW: Problem during insert into new PSA partition SAP Note Number DB2 z/OS: BW: Only one request per partition in PSA load SAP Note Number DB2-z/OS: BW: Migrating the partitioning of PSA tables SAP Note Number DB2-z/OS: Versioning: New EXIT module SAP Note Number DB2-z/OS: BI: One PSA request in several table partitions  Reference Redbook Best Practices for SAP Business Information Warehouse on DB2 UDB for z/OS V8; SG