compress and delete dataset
Moderators: chulett, rschirm, roy
compress and delete dataset
Can i compress all unwanted datasets gzip them and delete using orchadmin command?
orchadmin rm ".*gzip"
if not how can i delete gzip file ?
orchadmin rm ".*gzip"
if not how can i delete gzip file ?
Dataset consist of 2 components, the file "abc.ds" that you reference in jobs which is a descriptor file, then the actual data files that reside in locations specified by the APT_CONFIG file. For this reason one cannot just zip up datasets the way you envision. The names and numbers of files in a datasets are not easy to determine.
Dataset descriptor files (the ones you name in jobs to access the datasets) contain no data and cannot be that large. You are probably talking about the actual data files and you should not manipulate them singly at all. If on Windows you can specify that the directory and its contents are to be compressed in order to save space.
Alternatively you can use "orchadmin dump" to dump the contents of a dataset into a sequential file, then delete the dataset using "orchadmin rm" and then gzip that sequential file.
Alternatively you can use "orchadmin dump" to dump the contents of a dataset into a sequential file, then delete the dataset using "orchadmin rm" and then gzip that sequential file.
-
- Premium Member
- Posts: 376
- Joined: Sat Jan 07, 2012 12:25 pm
- Location: Piscataway
Not sure descriptor files that big are possible. A descriptor file contains the metadata and a copy of the configuration file.
Jerome
Data Integration Consultant at AWS
Connect With Me On LinkedIn
Life is really simple, but we insist on making it complicated.
Data Integration Consultant at AWS
Connect With Me On LinkedIn
Life is really simple, but we insist on making it complicated.
-
- Premium Member
- Posts: 376
- Joined: Sat Jan 07, 2012 12:25 pm
- Location: Piscataway
orchadmin rm "*.ds" should work
Jerome
Data Integration Consultant at AWS
Connect With Me On LinkedIn
Life is really simple, but we insist on making it complicated.
Data Integration Consultant at AWS
Connect With Me On LinkedIn
Life is really simple, but we insist on making it complicated.
-
- Participant
- Posts: 35
- Joined: Wed Jun 15, 2005 9:27 am