You are on page 1of 8

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 whats 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.

SAP COMMUNITY NETWORK 2008 SAP AG

SDN - sdn.sap.com | BPX - bpx.sap.com | BOC - boc.sap.com 1

Getting Size of Data Target [Cube/DSO]

Table of Contents
Approaches to find size ...................................................................................................................................... 3
Via Transaction Code .................................................................................................................................................. 3 Via Functional Module ................................................................................................................................................. 5

Related Content .................................................................................................................................................. 7 Disclaimer and Liability Notice ............................................................................................................................ 8

SAP COMMUNITY NETWORK 2008 SAP AG

SDN - sdn.sap.com | BPX - bpx.sap.com | BOC - boc.sap.com 2

Getting Size of Data Target [Cube/DSO]

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.

SAP COMMUNITY NETWORK 2008 SAP AG

SDN - sdn.sap.com | BPX - bpx.sap.com | BOC - boc.sap.com 3

Getting Size of Data Target [Cube/DSO]

2. Drill down Segment and click on Detailed Analysis.

3. Now put fact table name of the data target. If you dont 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

SAP COMMUNITY NETWORK 2008 SAP AG

SDN - sdn.sap.com | BPX - bpx.sap.com | BOC - boc.sap.com 4

Getting Size of Data Target [Cube/DSO]

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 dont 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.

SAP COMMUNITY NETWORK 2008 SAP AG

SDN - sdn.sap.com | BPX - bpx.sap.com | BOC - boc.sap.com 5

Getting Size of Data Target [Cube/DSO]

3. Execute it and give fact table name.

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

SAP COMMUNITY NETWORK 2008 SAP AG

SDN - sdn.sap.com | BPX - bpx.sap.com | BOC - boc.sap.com 6

Getting Size of Data Target [Cube/DSO]

Related Content
https://forums.sdn.sap.com/thread.jspa?threadID=1151257 For more information, visit the Business Intelligence homepage.

SAP COMMUNITY NETWORK 2008 SAP AG

SDN - sdn.sap.com | BPX - bpx.sap.com | BOC - boc.sap.com 7

Getting Size of Data Target [Cube/DSO]

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.

SAP COMMUNITY NETWORK 2008 SAP AG

SDN - sdn.sap.com | BPX - bpx.sap.com | BOC - boc.sap.com 8

You might also like