Download presentation
Presentation is loading. Please wait.
Published byClarissa Simpson Modified over 8 years ago
1
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 mesiart@us.ibm.com
2
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 10504-1785 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.
3
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: http://www.ibm.com/legal/copytrade.shtml. 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: http://www.sap.com/company/legal/copyright/trademark.asp. 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: http://www.intel.com/sites/corporate/tradmarx.htm. 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.
4
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 1244949 (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 926378.
5
IBM/SAP Competency Center IBM Solutions for SAP © 2008 IBM Corporation 5 PSA Table Partitioning SAP Note 1244949 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:,,.
6
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 568998. 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 1153819
7
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 568998 and 1153819 DSSIZE cannot be ALTERed! Increase page size of fact and PSA tables Assign appropriate bufferpool See SAP note 1153819 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
8
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 GB4096 4 TB 2 GB4096 8 TB 4 GB4096 16 TB 8 GB2048 16 TB 4096 32 TB 16 GB1024 16 TB 2048 32 TB 4096 64 TB 32 GB512 16 TB 1024 32 TB 2048 64 TB 4096 128 TB 64 GB256 16 TB 512 32 TB 1024 64 TB 2048 128 TB
9
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 23 5 3 4 6 7 8 4 9 5 10 11 1 1 2
10
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 986202. 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 1044106 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.
11
IBM/SAP Competency Center IBM Solutions for SAP © 2008 IBM Corporation 11 PSA Table Partitioning Review SAP notes: SAP Note Number 568998 - DB2/390: BW: Size of a partition, DSSIZE SAP Note Number 1005160 - DB2-z/OS: BW: Data in the PSA table is lost SAP Note Number 938160 - Request in different PSA partitions SAP Note Number 937431 - DB2 z/OS: BW: Problem during insert into new PSA partition SAP Note Number 926378 - DB2 z/OS: BW: Only one request per partition in PSA load SAP Note Number 986202 - DB2-z/OS: BW: Migrating the partitioning of PSA tables SAP Note Number 1153819 - DB2-z/OS: Versioning: New EXIT module SAP Note Number 1244949 - 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; SG24-6489-00
Similar presentations
© 2024 SlidePlayer.com Inc.
All rights reserved.