Quantcast
Channel: SCN: Message List - SAP Adaptive Server Enterprise (SAP ASE) for Custom Applications
Viewing all articles
Browse latest Browse all 3587

how to reuse on device space with overwrite data on it?

$
0
0

Suppose I have a database mydb with some named segments created.

the segment extended many times for space issue. One device allocated for different segment. 

Then finally this device space is over, If check the freepages on this fragment on this device, I get something like:

 

dbnamedevnamesegnamefree_pgs
mydbmydevicedefault           0
mydbmydevicedefault           0
mydbmydeviceindexes           0
mydbmydeviceindexes           0
mydbmydevicemyseg1           0
mydbmydevicemyseg1           0
mydbmydevicemyseg2           0
mydbmydevicemyseg2           0
mydbmydevicesystem           0
mydbmydevicesystem           0

 

but when I check the segment space, for example, for myseg1, it is said there are many space(like 90%) is for unused or other.

 

So if the device is used before for this data, then removed from a segment. Then put it back, is it possible to reuse this device? like something data has been written to the device, then removed it, then put it back, then treat it as empty space to override data on this device?


Viewing all articles
Browse latest Browse all 3587

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>