Mark Logic vs. Oracle XML Database?
Hi,
I'm comparing Mark Logic vs Oracle XML database for a new project. All the data is well structured and validated XML data. Any comments, suggestions, personal experiences with either product will be extremely helpful.
Thanks in advance,
Dave
In 5+ years Oracle will still be the #1 database on the planet and people who have it on their resume will be employable.
In 5+ years Mark Logic will be out of business, a marginal player, or absorbed by either Oracle, IBM, or Microsoft. Unless you find some great romantic attraction to marginal technologies, can I recommend RPG II or ALGOL or Ingres, I would highly recommend Oracle.
Right now, at dice.com, there are 1,745 jobs listing Oracle and XML: There are 15 listing Mark Logic.
But heck the world economy is booming so why let that affect your decision. <g>
Similar Messages
-
First time with Oracle XML database
Hi!
I'm a beginner with XML and with Oracle XML database so i need same help. I've read the documentation (example for XML Oracle).
What do i need to write XML files from an oracle database and the other way to read XML files into the database?
Or does anyone know how i can get information about this?
Thank's for help!
With best regards
NicoleNicole,
One quick way to get xml out of the database is to use the dbms_xmlgen.getXML package.
i.e. in sqlplus
set long 4000
select dbms_xmlgen.getxml('select * from emp') from dual;
or
set long 4000
select dbms_xmlgen.getxml('select column_name from owner.tablename') from dual;
HTH -
Hi,
when i executed the following query:
SELECT COMP_NAME, STATUS
FROM DBA_SERVER_REGISTRY;
i got all the objects status as VALID except that
"ORACLE XML Database" was INVALID
Can someone help me to make this "ORACLE XML Database" as VALID.
Thanks,
Philip.HI Frank,
now what i did was i actually ran catpatch.sql and utlrp.sql after i did startup migrate.
and when i did
SELECT COMP_NAME, STATUS
FROM DBA_SERVER_REGISTRY;
i got all objects as valid, but i dont see "Oracle XML Database" anymore.
so now i suppose i cannot reinstall, but actually do a fresh install. and the following are the steps for a fresh install in the documentation
Installing a New Oracle XML DB Manually Without Database Configuration Assistant
After the database installation, you must run the following SQL scripts in rdbms/admin connecting to SYS to install Oracle XML DB after creating a new tablespace for Oracle XML DB repository. Here is the syntax for this:
catqm.sql <XDB_password> <XDB_TS_NAME> <TEMP_TS_NAME>
#Create the tables and views needed to run XML DB
For example:
catqm.sql change_on_install XDB TEMP
Reconnect to SYS again and run the following:
catxdbj.sql #Load xdb java library
Note:
Make sure that the database is started with Oracle9i release 2 (9.2.0) compatibility or higher, and Java Virtual Machine (JVM) is installed.
Postinstallation
After the manual installation, carry out these tasks:
1. Add the following dispatcher entry to the init.ora file:
dispatchers="(PROTOCOL=TCP) (SERVICE=<sid>XDB)"
2. Restart the database and listener to enable Oracle XML DB protocol access.
3. To allow for unauthenticated access to your Oracle XML DB repository data through HTTP, you must also unlock the ANONYMOUS user account.
is this right. can u tell me what i should do please.
Thanks,
Philip. -
10R2 Upgrade on Linux stuck upgrading Oracle XML database
Folks,
I am upgrading Oracle from 10g r1 to r2 (10.1.0.4 to 10.2.0.1). This is not a large database. Size is around 70gb. It is taking forever to upgrade Oracle XML database. It is running for over 20 hours now.
I checked the logs and nothing seems to be an issue. Did not get any erros.
Any idea why xml database upgrade would take so long?.
I Appreciate your replies.
KrishnaHow are you performing the upgrade?
-
How to getting start in oracle xml database????
hi,
i am just beginning to use oracle xml database, i don't konw how to use ,can anybody give me some guidance??? like something about how to build xml database and some basic operation.
your suggestions will help me.
thanks all !!!hi,mdrake
with your suggestion, i find the following url
http://download-west.oracle.com/docs/cd/B19306_01/appdev.102/b14259/toc.htm.
and download some pdf.
thanks a lot -
JDeveloper and Oracle XML Database Development
Hello, folks:
I am trying to create XML database through JDeveloper.
Database: Oracle 10g
IDE: JDeveloper 11.1.2.2.0
JDBC Driver: Oracle ojdbc6.jar
I connect successfully to the database through JDeveloper. There I see many folders listed, e.g. Tables, Views, Indexes, XML Schemas, XML DB Repository, and others. My problem is that when I try to save a large schema file (that I already validated on my local machine) that is roughly more than 300 lines, then JDeveloper is unable to save the file. It saves only very small files that are about 100 lines or less. The error message simply is: "Unable to save XML Schema blah.filename@local (Error saving XML Schema).
I tried to do it in Oracle SQL Developer, but got the same error. Can someone please help me understand this problem and how to fix it? Do I need to specify some settings in JDeveloper or SQL Developer? Thanks a lot in advance.
AsifThe XML database engine used in JDev is in fact from SQL Developer. In other words the SQL Developer code base is used by JDev though typically it is an older version than the latest SQL Developer. As such best post this question to the SQL Developer forum and ensure to state which standalone SQL Developer version you're using.
CM. -
Oracle Xml Database Invalid On Dba_registry in Oracle 9i
Hi All,
We are facing some issue with XML DB status of this component is showing INVALID in dba_registry
and we try to validate it with below step
connect / as sysdba
execute dbms_regxdb.validatexdb;
but it gives us below error
SQL> execute dbms_regxdb.validatexdb;
BEGIN dbms_regxdb.validatexdb; END;
ERROR at line 1:
ORA-06550: line 1, column 7:
PLS-00201: identifier 'DBMS_REGXDB.VALIDATEXDB' must be declared
ORA-06550: line 1, column 7:
PL/SQL: Statement ignored
Thanks in advance
Regards,
Bhanu ChanderHello,
If XMD DB is not currently used you can try to reinstall XML DB by executing the following scripts as sysdba:
To deinstall:
@OH/rdbms/admin/catnoqm.sql
To reinstall:
@?/rdbms/admin/catqm.sql
@?/rdbms/admin/catxdbj.sql Before doing that you should set the following parameter as follows:
shared_pool_size =150 MB
java_pool_size =150 MB And, Turn on AUTO EXTEND on the XDB tablespace.
For more details please look at the Notes *243554.1* of My Oracle Support.
Hope it can help.
Best regards,
Jean-Valentin -
XML Database in Apps Databases
Hi,
What is the use of XML database in Apps Databases...it has XML Schema...etc etc..what purpose is that...If you are using XMLTYPE in stored procedures,
views, functions, columns or tables you need the XDB
feature in order for the base XMLTYPE to have
complete functionality of it's member functions.
This means if you were directed to remove XDB for
some other reason you must follow the steps to put
it back in if you want to use the XMLTYPE. You will
also require it if you are using any of the standard
pl/sql apis such as DBMS_XMLDOM and DBMS_XMLQUERY
to name a couple.Yes, this is from the first note. If you check the other one, you would also find that Oracle XML Database has to be installed correctly (Oracle 10g Release 2 and above) in order to have a successful interMedia installation. For getting more details about "Oracle interMedia", check the the same note (Question 1). -
XML Database Contract in Hoffman Estates, IL
Hi,
Sorry about using this forum for job posting, but I can't find any candidates with XML database experience. I have a two month Oracle XML Database contract in Hoffman Estates, IL. The pay rate for this position is open and you do not have to be located in Hoffman Estates. In this contract you will be working with Enterprise Application Integration utilizing J2EE development platform, which includes: IBM WebSphere apps server, Oracle XML DB, and SonicMQ/XQ messaging infrastructure.
Job Description:
Design, develop and deploy the Oracle XML database. Work closely with the project team on the overall integration.
Skill Experience Need
1) XML technology Expert Required
2) Oracle XML DB Expert Required
3) J2EE technology Expert DesiredI have some Interface Mapping questions I was hoping someone could help me with. As you know, my source is an XML File and my target is an OracleDB. I'll start with the "EFFECTIVEDATE" field which was automatically mapped when I added the Source and Target Datastores. As I previously mentioned, this caused an error "Target Column EFFECTIVEDATE: Data may be truncated: the target Column is smaller than the source Column". After looking further into it, would the problem be that the "EFFECTIVEDATE" datatype in the XML is "DATETIME" whereas the "EFFECTIVEDATE" datatype in the database is "TIMESTAMP"? If so, what would be the fix for this? Could I convert it in the Implemenation Mapping like so? -
CONVERT(MONEY.EFFECTIVEDATE,TIMESTAMP)
Would using that in the Implementation simply do the trick?
Anyway, moving onto some of the other TARGET fields...
-ACTIVITYGUID
This should be an automatically generated new GUID value. How could I implement this into the Implementation?
-TRANSACTIONGUID
I'll need to query some of the other tables in the database in order to get this value. Is this allowed in the Implemenation? Do I have to add said tables to the target somehow? Can I just query the other tables in the Implementation field using normal select statements, etc.? I'm a bit confused on how this would work...
-TYPECODE
This needs to be a fixed value of '01'. How do I simply do that in the Implementation?
The other fields will all be implemented similar to the above so those are the main questions I have for now. Any help would be appreciated.
Thanks again for your help. -
We have Oracle 10.2. I used dba_registry to get database options. How to find these options' dependencies?
dba_dependencies has dependencies for all packages, funtions, procedures and triggers. But options are Oracle components.
My purpose is that we don't need some options and need to get rid of them. Before I do it, I need to see options' dependencies.
Please advise.
Thanks
S.
Edited by: ski123 on Apr 5, 2010 4:16 PMWhat "things" are they asking you to remove?
Most likely this person or persons has no idea the danger and consequences of what they are asking.
The security of an Oracle database is not enhanced by removing anything that shows up in DBA_REGISTRY.
Here's the list:
SQL> select comp_name from dba_registry;
COMP_NAME
OWB
Oracle Application Express
Oracle Enterprise Manager
Oracle Ultra Search
OLAP Catalog
Spatial
Oracle Multimedia
Oracle XML Database
Oracle Text
Oracle Expression Filter
Oracle Rules Manager
Oracle Workspace Manager
Oracle Database Catalog Views
Oracle Database Packages and Types
JServer JAVA Virtual Machine
Oracle XDK
Oracle Database Java Packages
OLAP Analytic Workspace
Oracle OLAP APIWhat here compromises security?
I understand it is dangerous as an employee to tell an employer to back off. So feel free to point your employer to me and I would be happy to tell them what you may not be able to say. -
Is XML database separately licensable
Is oracle xml database separately licensable or can we just install it in an existing Enterprise Edition licensed database?
It is just like, for example, APEX a "*no cost option*".
That means that if you pay for the database software (whatever flavor), you are allowed to use it (so for no extra costs=you have paid you fee via buying the database software). From Oracle 11g and onwards its core functionality of the database anyway and (can/) should be installed default.
Edited by: Marco Gralike on May 27, 2011 2:02 PM -
Importing XML into oracle 11g database
I am having some difficulty parsing an XML file into oracle 11g database.
Currently using Oracle 11g Express Edition (XE)
Here is how my XML file looks like:
<?xml version="1.0" encoding="UTF-8" standalone="yes" ?>
- <AccountMap xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
- <Accounts>
- <AccountMapping>
<AccountID>0000000000000-000</AccountID>
<AccountName>XLS</AccountName>
<AccountType>Excel</AccountType>
<AccountOwner>System</AccountOwner>
</AccountMapping>
- <AccountMapping>
<AccountID>0000000000000-001</AccountID>
<AccountName>XLSS</AccountName>
<AccountType>Excel2</AccountType>
<AccountOwner>System2</AccountOwner>
</AccountMapping>
- <AccountMapping>
and so on the file continues.. I have the xml file saved on my local hard disk
I have created a package in SQL Developer
create or replace
PACKAGE XML_FILEHANDLER AS
type TRecord is record (
Account_ID varchar2(100)
, AccountName varchar2(100)
, AccountType varchar2(30)
, AccountOwner varchar2(100)
type TRecordTable is table of TRecord;
function getRows (p_directory in varchar2, p_filename in varchar2) return TRecordTable pipelined;
END XML_FILEHANDLER;
-- BODY
create or replace
PACKAGE BODY XML_FILEHANDLER AS
function getRows (p_directory in varchar2, p_filename in varchar2) return TRecordTable pipelined AS
nb_rec NUMBER := 1;
tmp_xml CLOB;
tmp_file CLOB;
rec TRecord;
BEGIN
dbms_lob.createtemporary(tmp_file, true);
tmp_file := dbms_xslprocessor.read2clob(p_directory, p_filename);
rec.Account_ID := regexp_replace(tmp_file, '.*<Account_ID>(.*)</Account_ID>.*', '\1', 1, 1, 'n');
rec.AccountName := regexp_replace(tmp_file, '.*<AccountName>(.*)</AccountName>.*', '\1', 1, 1, 'n');
rec.AccountType := regexp_replace(tmp_file, '.*<AccountType >(.*)</AccountType >.*', '\1', 1, 1, 'n');
rec.AccountOwner := regexp_replace(tmp_file, '.*<AccountOwner>(.*)</AccountOwner>.*', '\1', 1, 1, 'n');
loop
-- this regexp finds occurrence(s) of this pattern : "<?xml ... ?><root_tag> ... </root_tag>"
tmp_xml := regexp_substr(tmp_file, '<\?xml[^?]+\?>\s+<([^>]+)>.*?</\1>', 1, nb_rec, 'n');
exit when length(tmp_xml) = 0;
--dbms_output.put_line(tmp_rec);
nb_rec := nb_rec + 1;
SELECT Account_ID, AccountName, AccountType, AccountOwner
into rec.Account_ID, rec.AccountName, rec.AccountType, rec.AccountOwner
from xmltable(
'Accounts/AccountMapping' passing xmltype(tmp_xml) columns
Account_ID varchar2(100) path 'Account_ID'
, AccountName varchar2(100) path 'AccountName'
, AccountType varchar2(30) path 'AccountType'
, AccountOwner varchar2(100) path 'AccountOwner'
pipe row ( rec );
end loop;
dbms_lob.freetemporary(tmp_file);
END getRows;
END XML_FILEHANDLER;
-- I am calling my function using the following sql query
select * from table(XML_FileHandler.getRows('XML', 'test.xml'));
Here is the error I am receiving
ORA-29283: invalid file operation
ORA-06512: at "SYS.UTL_FILE", line 536
ORA-29283: invalid file operation
ORA-06512: at "XDB.DBMS_XSLPROCESSOR", line 265
ORA-06512: at "user.XML_FILEHANDLER", line 13
29283. 00000 - "invalid file operation"
*Cause: An attempt was made to read from a file or directory that does
not exist, or file or directory access was denied by the
operating system.
*Action: Verify file and directory access privileges on the file system,
and if reading, verify that the file exists.
I have done the following
- Provided appropriate access to user (read, write) including directory access rights
- ensured that directory exists
- ensured that file exists
I have searched all over google and metalink but am unable to get this to run.. please help!>
SELECT Account_ID, AccountName, AccountType, AccountOwner
into rec.Account_ID, rec.AccountName, rec.AccountType, rec.AccountOwner
from xmltable(
'Accounts/AccountMapping' passing xmltype(tmp_xml) columns
Account_ID varchar2(100) path 'Account_ID'
, AccountName varchar2(100) path 'AccountName'
, AccountType varchar2(30) path 'AccountType'
, AccountOwner varchar2(100) path 'AccountOwner'
>
change to
SELECT Account_ID, AccountName, AccountType, AccountOwner
into rec.Account_ID, rec.AccountName, rec.AccountType, rec.AccountOwner
from xmltable(
'AccountMap/Accounts/AccountMapping' passing xmltype(tmp_xml) columns
Account_ID varchar2(100) path 'Account_ID'
, AccountName varchar2(100) path 'AccountName'
, AccountType varchar2(30) path 'AccountType'
, AccountOwner varchar2(100) path 'AccountOwner'
SQL> SELECT Account_ID, AccountName, AccountType, AccountOwner
2 --into rec.Account_ID, rec.AccountName, rec.AccountType, rec.AccountOwner
3 from xmltable(
4 'AccountMap/Accounts/AccountMapping' passing
5 xmltype('<?xml version="1.0" encoding="UTF-8" standalone="yes" ?>
6 <AccountMap xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
7 <Accounts>
8 <AccountMapping>
9 <AccountID>0000000000000-000</AccountID>
10 <AccountName>XLS</AccountName>
11 <AccountType>Excel</AccountType>
12 <AccountOwner>System</AccountOwner>
13 </AccountMapping>
14 <AccountMapping>
15 <AccountID>0000000000000-001</AccountID>
16 <AccountName>XLSS</AccountName>
17 <AccountType>Excel2</AccountType>
18 <AccountOwner>System2</AccountOwner>
19 </AccountMapping>
20 </Accounts>
21 </AccountMap>')
22 columns
23 Account_ID varchar2(100) path 'Account_ID'
24 , AccountName varchar2(100) path 'AccountName'
25 , AccountType varchar2(30) path 'AccountType'
26 , AccountOwner varchar2(100) path 'AccountOwner'
27 );
ACCOUNT_ID ACCOUNTNAME ACCOUNTTYPE ACCOUNTOWNER
XLS Excel System
XLSS Excel2 System2
SQL> for AccountID use AccountID not Account_ID
Account_ID varchar2(100) path 'AccountID'Edited by: AlexAnd on Aug 9, 2012 12:35 AM -
Which latest web logic server compatible with oracle 11g database
which latest web logic server compatible with oracle 11g database >is weblogic server 12c is compatible with oracle 11gR2
current environment= forms and reports 10g and database 10gR2,os windows 32-bit.
wants to implement and configure as below:
server1: web-logic server 12c with forms and reports upgrade from 10g to 11g where os 64-bit windows.
server2: upgrade and migrate from 10gR2 11gR2 from windows xp to windows 2008-R2.
how to achieve this.what step should perform first. -
Oracle XML vaidation causes database connection lost.
Schema document:
<?xml version="1.0" encoding="UTF-8"?>
<xsd:schema xmlns:s="http://www.w3.org/2001/XMLSchema" xmlns:xsd="http://www.w3.org/2001/XMLSchema" elementFormDefault="qualified" attributeFormDefault="unqualified">
<xsd:annotation>
<xsd:documentation xml:lang="en">
</xsd:documentation>
</xsd:annotation>
<xsd:element name="BDDString" type="xsd:string"/>
</xsd:schema>
XML document:
<?xml version="1.0" encoding="UTF-8"?>
<BDDString><Path>USA</Path></BDDString>
Result http://apps.gotdotnet.com/xmltools/xsdvalidator/Default.aspx validation:
Validation error:
<?xml version="1.0" encoding="UTF-8"?>
<BDDString
Error at (2,14): The element 'BDDString' has invalid child element 'Path'. An error occurred at , (2, 14).
Error at (2,14): The 'Path' element is not declared. An error occurred at , (2, 14).
<Path>USA</Path></BDDString>ORACLE validation:
Declare
xmlObj XMLType;
begin
xmlObj := XMLType('<?xml version="1.0" encoding="UTF-8"?><BDDString><Path>USA</Path></BDDString>',
'cb78db306e061027a7c4b02b1a84d6fb');
XMLType.schemavalidate(xmlObj);
end;
Result: Oracle XML vaidation causes database connection lost!
*** SCRIPT START : Session:M1GLOBAL_DEV15@MATRIX(5) 3-мар-2005 14:05:41 ***
Start SQL Editor Execution ...
Processing ...
xmlObj := XMLType('<?xml version="1.0" encoding="UTF-8"?>
ORA-03113: end-of-file on communication channel
*** SCRIPT END : Session:M1GLOBAL_DEV15@MATRIX(5) 3-мар-2005 14:08:02 ***
End SQL Editor Execution
Task "SQL Editor Execution": Operation aborted
SQL Editor Execution terminated with errors
Task "SQL Editor Execution" in DoTerminate(): Session Manager: No connection to M1GLOBAL_DEV15@MATRIX
Help!
Question:
1)Why Oracle validation incorrectly works?
2)How it to correct?Hi,
1- what is the Reports version being used?
2- What is the error you are getting?
3- Have you tried to enable reports trace and see what is happening in trace file?
Thanks, Roberto -
Oracle XML Gateway How to download .xgm from the database
I am trying to find the utitlity called DownloadMap.java to dowload the .xgm mapping from the database as stipulated in the Oracle XML Gateway Users Guide. I am not able to find this utility and could not get any leads.
Our requirement is to extend the seeded outbound invoice mappings to add additional data elements before generating XML document.
We will appreciate if any lead or explanation is provided by our community.
Looking forward for a voice in our community in this regard.
Thank you,
JothiramThis post is to the wrong Forum, try the XML forum
Maybe you are looking for
-
how can i see my old massages from my iPhone 4S
-
OSX Journaled-Can I use journal to return/restor settings to specified date
OK, so I've got my drive set to journaled mode. How to I make use of this. Let's say for example, I wake up one morning and I'm told by my iPhoto that it can't find my iPhoto Library(it was there the night before)...Unstead of all this round about in
-
My itunes freezes after i click on videos tab in my library... this only started when i got the lastest itunes version on july 6th, 2007. I am using windows XP. Eventually i have to close my itunes and it gives "not responding" error and closes itune
-
Query from a non database item
Hi everybody, Can anybody please tell me how can i make any query from a non data base item . Will you please let me know where to set the trigger or something else which will solve the problem. Thanks and Regards Anutosh Bhattacharya
-
Okay, So I'm having some issues with my H520s. The wireless adapter has been quite dodgy for the past month or so, but after using lenovo rescue to get it back to 'original condition' it's completely stopped working. I've looked through device manage