on 11-11-2013 2:14 AM
Hello experts,
I need your help to enlighten me if there is any way to know the specific table size in BALDAT and BALHDR table. I am currently doing an archiving via sbal_delete to perform the deletion for old logs in the system. I am instructed to perform the deletion on a yearly basis, where I have to record the before and after deletion size of every year, which I monitor through DB02 transaction, recorded before and after running sbal_delete.
However, as I am performing the deletion, the size of both table keeps expanding as the new logs comes in every minutes and because of that, I can't get the exact space size of the deleted logs on that particular year I am deleting.
Therefore, I would like to know, is there any way where I can get the exact size of these two tables, filtered by yearly records, or any efficient way where I can get the size on before and after deletion more accurately?
Regards,
Shakir
Hi Sharik,
Write report will give you the space savings, in the spool will get the actual results how much it deleted from both tables.
Ex:
If you want to analyse on it before running the write job. You can only estimate, you can not get the actual size. By considering the total table size(sum of BALDAT+BALHDR table sizes) / no. of entries in BALHDR table. By doing this you can get the size of individual entry. Based on this you can calculate the size of tables and can estimate the savings on each year.
Actual savings in the tables can get only after table re organization, you would not get the benefit immediately.
Regards,
Sudheer T
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Sudheer,
By considering the total table size(sum of BALDAT+BALHDR table sizes) / no. of entries in BALHDR table, does this means that one entry in the table hold the same size across the table?
Eg,
Total Size: 10 MB
Total Entries: 100 entries
Size per entries = 10 MB/100 entries = 0.1 MB
Therefore,
Entry 1 = 0.1 MB
Entry 2 = 0.1 MB
.
.
.
Entry 100 = 0.1 MB
Is the size per entry are always the same in SAP table?
User | Count |
---|---|
78 | |
9 | |
9 | |
7 | |
7 | |
6 | |
6 | |
5 | |
5 | |
5 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.