ā2010 Feb 10 11:51 AM
Hi all,
I need to create a query from Oracle to read BSEG table, but this table is a cluster table.
We are looking for information about how to know which transparents tables make it this cluster table but we don“t find anything.
Anybody have documentation about how to know which transparent tables form a cluster table? and how do you find out?
Very thanks in advance,
NƩstor.
ā2010 Feb 10 1:55 PM
Hi,
Transperant tables won't form the cluster table. Both are siblings i can say. Means Transperant, cluster, pooled etc are different types of tables which comes under same hierarchy.
In case of cluster tables, data is stored as a cluster.
Say if you have 4 cluster tables in a table cluster, there will be a common key between these 4 tables. When ever an update happens, it happens at cluster level but not at the individual table level. Same thing happens even when you query these tables. All the data related to all the tables in the cluster which satisfy the WHERE clause is selected even if you query a single table. Thats the reason why these are slow in responce
You can check the table cluster name for a cluster table in delivery and maintenance tab of SE11.
Thanks,
Vinod.
ā2010 Feb 10 1:55 PM
Hi,
Transperant tables won't form the cluster table. Both are siblings i can say. Means Transperant, cluster, pooled etc are different types of tables which comes under same hierarchy.
In case of cluster tables, data is stored as a cluster.
Say if you have 4 cluster tables in a table cluster, there will be a common key between these 4 tables. When ever an update happens, it happens at cluster level but not at the individual table level. Same thing happens even when you query these tables. All the data related to all the tables in the cluster which satisfy the WHERE clause is selected even if you query a single table. Thats the reason why these are slow in responce
You can check the table cluster name for a cluster table in delivery and maintenance tab of SE11.
Thanks,
Vinod.
ā2010 Feb 10 2:05 PM
But I have a problem with this because if I try looking for these objects (cluster tables) in the Oracle database, the answer is that the object not exist.
For example:
SQL> select * from bseg;
ERROR: ORA-00942: table or view does not exist
SQL> desc bseg;
ERROR: ORA-04043: object bseg does not exist
I would like to consult this tables types from SqlPlus, rather, their associated fields...
Thanks again.
ā2010 Feb 10 2:11 PM
Hi,
In SAP's oracle database table name is stored with the cluster name which is RFBLG. So modify your query to select the data from RFBLG. Ideally it should work fine.
Thanks,
Vinod.
ā2010 Feb 10 2:38 PM
You won't be able to write a query on either BSEG or RGBLG. Fortunately, you should be able to get the data from other related tables. You can start with the secondary index tabes:
BSIS
BSAS
BSID
BSAD
BSIK
BSAK
Rob
ā2010 Feb 10 2:50 PM
Is there a way to get the tables of cluster tables? Through the transaction, documentation,...
I would like to know KONV table too.
Very thanks.
ā2010 Feb 10 3:07 PM
For RFBLG, go to SE11 and display RFBLG. On the display screen, go:
Utilities - > Where used list.
Click on "Tables"
Rob
ā2010 Feb 10 3:19 PM
OK, that's right, but in KONV table, the pool table is KOCLU.
SE11 -> KOCLU -> Where-used List -> only table is KONV... and this is wrong for me.
Any other ideas?
Thanks for your help
ā2010 Feb 10 3:34 PM
>
> only table is KONV... and this is wrong for me.
I don't really understand. What would be correct?
Rob
ā2010 Feb 10 3:39 PM
KONV is a cluster table too and if I attemp to access it from sqlplus...
ORA-04043: object KONV does not exist
Regards.
ā2010 Feb 10 3:47 PM
I'm not that familiar with KONV, but what I might do is notice that KNUMV is the first keyfield in NONV. You can do a where used list on this data element and see if you find any tables that are useful.
Rob
ā2010 Feb 10 4:15 PM
ā2010 Feb 11 6:53 AM