Comments on: Selecting (XML) data directly from disk Friends of Oracle and Java Sat, 02 May 2015 22:48:39 +0000 hourly 1 By: Karin Kriebisch Wed, 13 Feb 2008 20:40:42 +0000 Hello Marco,
I have some questions about your article:
Can give any indication about the performance of this read action? Where is the greatest restriction in the performance?
Are there any restrictions on the file sizes other than the OS?
And in which circumstances would you preferably use this technique?


By: Marco Gralike Tue, 05 Feb 2008 13:54:24 +0000 The encoding bit is due to your client NLS setting, see:

By: anton Tue, 05 Feb 2008 13:42:53 +0000 On it works without the extract. Note by the way how the encoding is changed to “ISO-8859-1″


PGI@pgio> select XMLTYPE(bfilename(‘XMLSTORE’,’data.xml’),NLS_CHARSET_ID(‘AL32UTF8′)) as “XDATA”
2 from dual
3 /





By: Marco Gralike Mon, 04 Feb 2008 16:21:30 +0000 A drive local to your database server. No, it also works for other operating systems (adjust your directory alias accordingly).

By: anton Mon, 04 Feb 2008 16:16:38 +0000 Nice, but it raise some questions:

What is a “Windows local drive”? A drive local to your database server? A drive local to your database client?
Is the above code only working for Windows?