Oracle XML Parsing Vs Java XML Parsing -
i have situation choose between parsing xml documents in oracle pl/sql , parsing them in java. system receives xml documents on message queue , xml documents not on file system, unless write them filesystem after reading queue. and, intent of parsing insert/update records in bunch of database tables.
which 1 better option performance stand-point?
it's competition between pl/sql , many possible java parsers. it's of java parsers beat pl/sql on performance.
some other reasons go java parser:
- license costs less.
- you're not chained particular database.
- your solution has more deployment options.
however if need extract information xml and insert oracle database, advantage might go pl/sql. in case might worthwhile prototype both approaches , see. consider development time needed each: if number of bytes of xml coming system relatively small, pick solution that's fastest implement.
Comments
Post a Comment