Query parse problme in oracle xe
hi all im usin oracle xe but i cant run big query in oracle xe. i am gettin an error end-of-communication first time but the result showing after run same query second time.
how can i solve this problem ? how can i tuen xe?
plz help me....
Look at the alert.log of the XE instance: "error end-of-communication" can be an Oracle bug.
Similar Messages
-
Oracle Text query parser - sample code
I've posted a new entry on my "searchtech" blog which includes code for a "Google-like" query syntax parser:
https://blogs.oracle.com/searchtech/entry/oracle_text_query_parser
Currently it's just sample code, but if it goes down well we might include it, or something similar, in a future release of the product.
I'd very much welcome feedback on it, either here on the forum, or on the blog, or directly to me email address (which is included in the download file).
Thanks, everyone.When I select the "open in browser" option for each now, I get formatted, readable code, which can easily be copied and pasted into a file without the extra txt extension, and I much prefer that. So, for me, that is a sufficient fix.
It seems like this is handy, virtually idiot-proof code, easy to create the package, easy to use it, and provides the Google-like search that users expect, without raising errors or producing unexpected results. Frequently, on the OraFAQ forums, where I am a moderator, when there are various ways to solve a problem and I provide a Text solution, the complaint is that it is too complicated to create all of the formatting to fix potential problems with user input. Your code solves that problem and I hope it will be included in the next version. If you don't mind, I will post an announcement in the OraFAQ Text forum with the permanent link that you provided. -
Has anyone else experienced extremely long parse times for Oracle 11G versus 10G? We are experiencing at least a 10 times increase in the parsing of our SQL statements. This is causing our customers to complain when running reports which contain several SQL statements that aren't in the SGA due to the infrequent use. I have opened a Service Request and development stated that this is to be expected with Oracle 11G due to the new optimizer features. I have tried to disable the features by settting the optimizer version to anything but 11G and no setting has helped. To make thing even worse, this increased parse time is on a new server that should be 2.5 times faster than the server that is running the 10G database. I do get at least a 2.5 times increase, larger if I/O intensive, in almost every other aspect of the database except for the parse times.
user5999814 wrote:
I wondered what the resolution was to this issue. We currently experiencing this will our Oracle 11.1.0.7 database with a small but important set of queries and it seems to be getting worse. We first noticed it with a query that went from taking 3.5 seconds to 7 seconds. A SQLTrace / TKProf revealed that 99% of the time was being spent during the parsing. A second similar query that brings in more data is taking around 1.5 minutes to parse then only a few seconds to actually execute. These are queries that are part of on online web transaction so this is not acceptable. We are able to replicate the behavior in multiple database instances.As a starting point it would be interesting to see the tkprof output from :
alter session set events '10046 trace name context forever, level 8';
+your select statement+
exitWhen posting the output, use the "code" tags (see below) to make the output readable.
Regards
Jonathan Lewis
To post code, statspack/AWR report, execution plans or trace files, start and end the section with the tag {noformat}{noformat} (lowercase, curly brackets, no spaces) so that the text appears in fixed format.
There is a +"Preview"+ tab at the top of the text entry panel. Use this to check what your message will look like before you post the message. If it looks a complete mess you're unlikely to get a response. (Click on the +"Plain text"+ tab if you want to edit the text to tidy it up.)
+"I believe in evidence. I believe in observation, measurement, and reasoning, confirmed by independent observers. I'll believe anything, no matter how wild and ridiculous, if there is evidence for it. The wilder and more ridiculous something is, however, the firmer and more solid the evidence will have to be."+
Isaac Asimov -
DRG-50901: text query parser syntax error
The query
SELECT * FROM ij
where
CONTAINS (ij.summary, 'ATTENZIONE!') > 0 returns an error:
ORA-29902: error in executing ODCIIndexStart() routine
ORA-20000: Oracle Text error:
DRG-50901: text query parser syntax error on line 1, column 13
Why?
There is a TEXT index on the summary column:
CREATE INDEX IJL_SUMMARY_IX ON IJ
(SUMMARY)
INDEXTYPE IS CTXSYS.CONTEXT
PARAMETERS('
lexer MITO_LEXER
wordlist DEFAULT_WORDLIST
stoplist IJL_STOPLIST
storage IJL_TEXT_STORAGE
SYNC (EVERY "SYSDATE + 10/1440")')
PARALLEL ( DEGREE 4 INSTANCES 1 );where the MITO_LEXER is
BEGIN
CTX_DDL.create_preference ('mito_lexer', 'BASIC_LEXER');
CTX_DDL.set_attribute ('mito_lexer', 'INDEX_STEMS', 'ITALIAN');
-- MITO-318: search on Text Index for Asterisks
CTX_DDL.set_attribute ('mito_lexer', 'printjoins', '*');
END;
/Because the exclamation mark ("!") is a reserved operator, meaning soundex, and must appear before the word it applies to.
-
How the SQL Query Parsing is processing inside SQL/PLSQL engine?
Hi all,
Can you explain how the SQL Query Parsing is processing inside SQL/PLSQL engine?
Thanks,
SankarSankar,
Oracle Database concepts - Chapter 24..
You will find the explanation required under the heading parsing.
http://download-west.oracle.com/docs/cd/B19306_01/server.102/b14220/sqlplsql.htm -
Hello guys,
I rather need an advice and my experience with the Oracle forums has always been auspicious.
I am using jDeveloper 11gR2 and Oracle database 11.2.0.1. Running the following query I have a view object based on that query and a search form with results table.
SELECT
SEEKER.SEEKER_ID SEEKER_ID,
SEEKER.CV CV,
SCORE(1)
FROM
SEEKER
WHERE CONTAINS(CV, '<query>
<textquery lang="ENGLISH" grammar="context">' ||
GET_RELATED_CATEGORIES(:keyword) ||
'</textquery>
<score datatype="INTEGER"/>
</query>', 1) > 0
GET_RELATED_CATEGORIES is a function which returns concatenated strings querying some semantic data in my database. The problem is when GET_RELATED_CATEGORIES returns null the "text query parser" is throwing an exception (that is how it is supposed to act).
I am asking for any suggestions for the implementation of that functionality and will be really grateful. Shall I export the whole query in a remote procedure and maybe call it as a web service or there is any other better solution (maybe some checks).
Thank you in advance!I see two possible ways you can try.
1. cause the function in a way that no null value is returned (return an empty string '')
2. put a nvl (get..., '') around the function
Timo -
I am getting the following Error while trying
to compile the SampleMain.java file(Generating an XML document from a given Employee.dtd).
I have set my classpath to use xmlparser.jar.
D:\XMls>javac SampleMain.java
SampleMain.java:65: Can't convert oracle.xml.parser.DTD to oracle.xml.parser.v2.DTD.
main(java.l
ang.String[]).
generator.generate(dtd, doctype_name);Would you check the java parser version you are using? If using java parser V2, the normal lib name is xmlparserv2.jar.
null -
Query can run in Oracle 10g but very slow in 11g
Hi,
We've just migrated to Oracle 11g and we noticed that some of our view are very slow (it takes seconds in 10g and takes 30 minutes in 11g), and the tables are using the local table.
Do any of you face the same issue?
This is our query:
SELECT
A.wellbore
,a.depth center
,d.MD maxbc
,d.XDELT xbc
,d.YDELT ybc
,e.MD minac
,e.XDELT xac
,e.YDELT yac
from
table_A d,table_A e, table_B a
where a.wellbore = d.WELLBORE (+)
and a.wellbore = e.WELLBORE(+)
and d.MD = (select max(MD) from table_A b where b.MD < a.depth and
d.wellBORE = b.wellBORE)
and e.md = (select min(md) from table_A c where c.MD > a.depth and
e.wellBORE = c.wellBORE);Thanks I will move to the correct one..
Rafi,
Build the Indexes and it is still slow. I am querying from a view from another database, which is in 10g instances.
Moved: Query can run in Oracle 10g but very slow in 11g
Edited by: 924400 on Apr 1, 2012 6:03 PM
Edited by: 924400 on Apr 1, 2012 6:26 PM -
A simple query in My SQL what is the similer query for that in Oracle ???
hello friends
In My Sql if i have 1000 records in a table and i want to get the records from 400 to 550 then it is posible by giving the following query
Select * from Table a , table b where condition "List 400,550" gives the records from 400 to 550
what is the coresponding query for this in oracle database
any one help me pls
mail me to [email protected]Genericly, if you want records N through M from a SELECT statement, there's a wonderful article on asktom.oracle.com
http://asktom.oracle.com/pls/ask/f?p=4950:8:::::F4950_P8_DISPLAYID:127412348064
Justin -
How to Implement KFF Range (Low and High) in query find form in oracle apps
Hi,
Please provide some sample script for using KFF range LOV (Low and High) in one of the query find form in Oracle apps R12.
I need to customize one of the standard form and add this range functionality for that search form.
Thanks,
PrasannaYuvaraaj,
Your request is unique to the Oracle Enterprise Business Suite (EBS). Please post your question in the General EBS Discussion forum. If you have a general Forms question, by all means, ask it here! ;-)
Craig... -
Regarding Query/Where box in oracle forms
Hi,
I have a query regarding query/where box in oracle.
When I enter ":" in one of the field query box pops up and when I enter some query and press F12 to execute query.
The OK button has to be pressed twice to retrieve the result.
Can anyone please let me know why this is happening, instead of retreiving results at one go by pressing OK once.
When does query box pos up? I have to avoid hitting OK button on query box twice.
Thanks for your advice in advance.
Thanks,
KLC
Edited by: user5411765 on Nov 22, 2010 10:44 PMHi,
Were you able to get around this problem? I am facing the same and need help! :(
Regards,
Arun -
Query DB2 tables from oracle using normal view
This is with regard to querying db2 tables using oracle views. The view is created using dblink. The querying is not an one time activity.querying will be done once in a day. Can i use normal view (will it work ) or should i use materialised view. will i be able to view the added records in db2 table using normal view?
thanks,
vinodhVinodh2 wrote:
This is with regard to querying db2 tables using oracle views. The view is created using dblink. The querying is not an one time activity.querying will be done once in a day. Can i use normal view (will it work ) or should i use materialised view. will i be able to view the added records in db2 table using normal view?How can the SQL select statement via a dblink not work for a view, but the same SQL select statement work for a materialised view?
Do you think the database link or remote database care whether the select SQL that hits it, comes from a PL/SQL procedure, a view, a materialised view, a job or whatever else? It has no idea what/who is behind that select SQL - and nor does it care.
As for the benefits of a view vs. a materialised view - that depends on the requirements for needing to use that foreign database's data in the local database. -
Query Data from other Oracle Database into current
Hi all,
I have to query data from another oracle database into the current oracle database. Because the customer has standard edition, I cannot use a pipe. I tried "SELECT column_name FROM external_oracle_db.schema.table WHERE column_name = 'column_value';" Unfortunately this does not work.
Does anyone have a suggestion?
Thanks
HansHave you tried with Database links?
SELECT column_name FROM schema.table@external_oracle_db WHERE column_name = 'column_value';
Satish -
How to know query is fired from Oracle froms or Reports
Hi,
I am using oracle database 11g Release 2.
I use oracle enterprise manager to find which query requires more time to execute but how can i find which user is firing this query and this query is fired from oracle form or from oracle reports.
Database: 11g R2
O.S: Windows 7 professional
Forms & reports : 11.1.2
Need Help..But how can i frind the query is run by user is from oracle forms or from oracle reports.
How can i get the name of form or report from where user is running.did you read the document about v$session attached in the other post?
You have the answer there.
If you want the exactly query, this is not the place. We try to help, not do your job. -
SQL Query Parser(urgent)
Hi
every body i have a requirement of SQL Query parser,
This SQL Query parser should give me a column names and tables name in the query ,parsing the query , the query may be any complex query it might like
SELECT CONVERT(bigint, EMD_DATE_TIME) AS CURRENTTIME FROM EVENT_METER_DAY.
If i pass this query i should get, appropriate columname and table name which is being queried
DO anybody knows any avaialble SQL parsers , and do to achieve this
thanks and regards
anilWhy don't you use ResultSetMetaData instead? If you need to parse the query string before executing it, probably you have to write your own parser.
Maybe you are looking for
-
ITunes 10.6 released, lists Match improvements
What's new in iTunes 10.6 iTunes 10.6 adds the ability to play 1080p HD movies and TV shows from the iTunes Store. This release also includes many improvements for iTunes Match, including: • Improved song matching • Improved album artwork handling, d
-
HI sir, i got a problem while using oracle 11g,where it is asking username
I installed Oracle11g R1 DB version 11.1.0.6 and upgraded it to 11.1.0.7 using patch set 6890831 .After that i wantd to use SQL * plus,but it is asking username & passwords. But while installing it didn't ask for any usernames ,so i tried all default
-
hai everybody while i m working sales orders with payment cards after saving sales order i m not getting the authorization responce can u pls send me the info regarding the authorization of payment cards thank you in advance sudheer
-
Hi all, If we run XML reports its running fine.But, sometimes following errors occured. *****Beginning post-processing of request 2139021 on node ORMDV114 at 23-MAR-2008 15:14:11. Post-processing of request 2139021 failed at 23-MAR-2008 15:14:11 with
-
Hi All, I created an SQR which will update the chartfield1 of the employee when they are non-union employees. After we run the SQR Process, we got an Error on the run status. We check the message log of and got this message : "Process Request shows s