How to find out which 'tablespace' a particular 'index' belongs to. (oracle) (need to use it via jdbc)
The information is in the ALL_INDEXES (or USER_INDEXES) view:
select tablespace_name
from all_indexes
where owner = 'MYSCHEMA'
and index_name = 'MYINDEX';