System level public hashed file sharing question
Posted: Fri Jul 21, 2006 1:55 am
A while ago at a customer site I tested the system level public hashed file disk caching mechanism, with less than stellar results. The functionality as described in the Ascential DataStage Hash Stage Disk Caching guide (sorry Ray, that's the title...) did work with multiple users sharing common file images and the write-deferred mecahanism allowied speedy file I/O, and it seemed to be a great addition to DS functionality, but ...
I managed, using simple DataStage jobs, to get the files in such a state that they "hung" any process that even tried to open them. None of the documented commands could restore those files to let them be used. In fact all calls to SET.MODE and LIST.FILE.CACHE and CLEAR.FILE.CACHE hung. I couldn't find what locks they were sitting on (certainly nothing visible with LIST.READU or even looking into the shared memory segments) and the only solution was to bring down the DataStage engine. After the third time this happened I decided that this wasn't technology ready for a big 24x7 production environment so stopped testing and didn't pursue that tuning avenue any more.
Now I would very much like to try this mechanism again. I'd love to hear from anyone or everyone who has used public file caching with DS in a production environment.
- Does it work as expected?
- Would you recommend implementing it?
- Any major pitfalls or caveats to watch out for?
I managed, using simple DataStage jobs, to get the files in such a state that they "hung" any process that even tried to open them. None of the documented commands could restore those files to let them be used. In fact all calls to SET.MODE and LIST.FILE.CACHE and CLEAR.FILE.CACHE hung. I couldn't find what locks they were sitting on (certainly nothing visible with LIST.READU or even looking into the shared memory segments) and the only solution was to bring down the DataStage engine. After the third time this happened I decided that this wasn't technology ready for a big 24x7 production environment so stopped testing and didn't pursue that tuning avenue any more.
Now I would very much like to try this mechanism again. I'd love to hear from anyone or everyone who has used public file caching with DS in a production environment.
- Does it work as expected?
- Would you recommend implementing it?
- Any major pitfalls or caveats to watch out for?