Oracle FAQ | Your Portal to the Oracle Knowledge Grid |
Home -> Community -> Usenet -> c.d.o.server -> Re: UTL_FILE on an RAC cluster enviroment
When you run a plsql proc that uses utl_file, it runs on "one" of your
databases instances.
You can check instance_name from gv_$instance if that matters to you (to see what instance your proc is executing on).
If you are always creating unique files names ... fine.
Then it's a matter of figuring out how to make sure that "each" unique file name created is available everywhere on the cluster ... (if you need to do that).
If you have software that provides a clustered file system across all of the nodes in the cluster (sorry I forgot your environment) peachy then use a directory that's part of the clustered file system.
Otherwise, NFS mounts may be a solution.
Of course you can always create them "almost anywhere" and have some kind of script that periodically runs to find them anywhere and collect them into one spot. Received on Tue Nov 23 2004 - 07:52:25 CST