to know size of the cube

8
SAP COMMUNITY NETWORK SDN - sdn.sap.com | BPX - bpx.sap.com | BOC - boc.sap.com © 2008 SAP AG 1 Getting Size of Data Target [Cube/DSO] Applies to: SAP BI 2004s or SAP BI 7.x. For more information, visit the Business Intelligence homepage . Summary This Document describes how to know occupied size of the cube or DSO on the server or what’s the size of the data target. This information is needed many times for analysis. Author: Sukhada Deshpande Company: L&T Infotech Created on: 05 January 2010 Author Bio Working as SAP BI Consultant.

Upload: janakiramyelike

Post on 12-Apr-2015

17 views

Category:

Documents


0 download

DESCRIPTION

To Know Size of the Cube

TRANSCRIPT

Page 1: To Know Size of the Cube

SAP COMMUNITY NETWORK SDN - sdn.sap.com | BPX - bpx.sap.com | BOC - boc.sap.com

© 2008 SAP AG 1

Getting Size of Data Target

[Cube/DSO]

Applies to:

SAP BI 2004s or SAP BI 7.x. For more information, visit the Business Intelligence homepage.

Summary

This Document describes how to know occupied size of the cube or DSO on the server or what’s the size of the data target. This information is needed many times for analysis.

Author: Sukhada Deshpande

Company: L&T Infotech

Created on: 05 January 2010

Author Bio

Working as SAP BI Consultant.

Page 2: To Know Size of the Cube

Getting Size of Data Target [Cube/DSO]

SAP COMMUNITY NETWORK SDN - sdn.sap.com | BPX - bpx.sap.com | BOC - boc.sap.com

© 2008 SAP AG 2

Table of Contents

Approaches to find size ...................................................................................................................................... 3 Via Transaction Code .................................................................................................................................................. 3

Via Functional Module ................................................................................................................................................. 5

Related Content .................................................................................................................................................. 7

Disclaimer and Liability Notice ............................................................................................................................ 8

Page 3: To Know Size of the Cube

Getting Size of Data Target [Cube/DSO]

SAP COMMUNITY NETWORK SDN - sdn.sap.com | BPX - bpx.sap.com | BOC - boc.sap.com

© 2008 SAP AG 3

Introduction

Many times we need to know exact size of the data target. It could be cube or DSO. When we create data target on the server, server automatically creates some space on the server. This space or size varies time by time. Basically Size is based on volume of the data in data target.

Approaches to find size

There are two basic approaches to find the size of the data target.

Via Transaction Code.

Via Functional Module.

Via Transaction Code

For getting a size via transaction code you must have authorization for TCODE DB02. This approach is very easy and can give you exact size without using any formula.

We need to follow same following steps –

1. Go to DB02 TCode.

Page 4: To Know Size of the Cube

Getting Size of Data Target [Cube/DSO]

SAP COMMUNITY NETWORK SDN - sdn.sap.com | BPX - bpx.sap.com | BOC - boc.sap.com

© 2008 SAP AG 4

2. Drill down Segment and click on Detailed Analysis.

3. Now put fact table name of the data target. If you don’t know name of the fact table append /BIC/F (DATATAGET) to you data target name. E.g. suppose my data target name is test_cube so fact table name will be /BIC/FTEST_CUBE.

4. Click on .

Page 5: To Know Size of the Cube

Getting Size of Data Target [Cube/DSO]

SAP COMMUNITY NETWORK SDN - sdn.sap.com | BPX - bpx.sap.com | BOC - boc.sap.com

© 2008 SAP AG 5

5. Now you will get detailed analysis list of the cube.

6. By clicking on each row you can see detailed analysis in below window.

7. Now you will get table size in MB. There could be some partitions of memory size allocated to your data target so total size will be addition of all partition.

Total Size of the fact tables = Sum of table partitions.

So in these example Total Size = 0,063+0,063 = 0,126 MB.

8. Now find size for /bic/E(data target) . Sum up all table size and you will get actual size of the cube.

9. If you want to check size of DSO, check for active table /BIC/A (DSO NAME).

Via Functional Module

Second approach for finding size of the data target is via Functional Module. Ifyou don’t have authorization for DB02 TCode, this approaches could be used.

Following steps need to be follow –

1. Go to SE37.

2. Give functional module name ‘DB_GET_TABLE_SIZE’.

Page 6: To Know Size of the Cube

Getting Size of Data Target [Cube/DSO]

SAP COMMUNITY NETWORK SDN - sdn.sap.com | BPX - bpx.sap.com | BOC - boc.sap.com

© 2008 SAP AG 6

3. Execute it and give fact table name.

4. Now you will get total size and total row count.

Page 7: To Know Size of the Cube

Getting Size of Data Target [Cube/DSO]

SAP COMMUNITY NETWORK SDN - sdn.sap.com | BPX - bpx.sap.com | BOC - boc.sap.com

© 2008 SAP AG 7

Related Content

https://forums.sdn.sap.com/thread.jspa?threadID=1151257

For more information, visit the Business Intelligence homepage.

Page 8: To Know Size of the Cube

Getting Size of Data Target [Cube/DSO]

SAP COMMUNITY NETWORK SDN - sdn.sap.com | BPX - bpx.sap.com | BOC - boc.sap.com

© 2008 SAP AG 8

Disclaimer and Liability Notice

This document may discuss sample coding or other information that does not include SAP official interfaces and therefore is not supported by SAP. Changes made based on this information are not supported and can be overwritten during an upgrade.

SAP will not be held liable for any damages caused by using or misusing the information, code or methods suggested in this document, and anyone using these methods does so at his/her own risk.

SAP offers no guarantees and assumes no responsibility or liability of any type with respect to the content of this technical article or code sample, including any liability resulting from incompatibility between the content within this document and the materials and services offered by SAP. You agree that you will not hold, or seek to hold, SAP responsible or liable with respect to the content of this document.