script to view tablespace usage history