Heavy remote queries runs forever
Hi everybody,
I'm usign SQL Developer and SQL Tool to execute remote queries on a Oracle Database. I think i have some problem with my pc 'cause when I try to exceute heavy queries on large tables the query starts but never ends. When I try to stop the query i get the following error message "ORA-12152: TNS:unable to send break message" (Cause: Unable to send break message. Connection probably disconnected). When my associates try to perform same queries, they manage to get results.
May anyone tell me if there's a problem with my PC (i.e.: tcp/ip configuration).
I think I have the same problem when I try to access BPEL Console: sometimes, i don'tmanage to access a tab and i think the problem is that DB connection gets down (time-out problem).
Thanks for your help!
Hello,
You might already know about the error text, I recommend your to look on metalink around this error. If your co-worker able to execute and get results successfully, then its your connection might be handled differently, and get your network admin/dba involved.
Error: ORA 12152
Text: TNS:unable to send break message
Cause: Unable to send break message. Connection probably disconnected.
Action: Re-establish connection. If the error is persistent, turn
n tracing and reexecute the operation.
Something you can try in agreement with your DBA and network admmin
Add SQLNET.EXPIRE_TIME to the database sqlnet.ora file. This is the file located $ORACLE_HOME/network/admin directory or the directory specified by
The EXPIRE_TIME should be set to the highest value possible that is within the firewall idle connection timeout, to limit the amount of network traffic generated. For example if the firewall timeout is 20 minutes set:
SQLNET.EXPIRE_TIME=15
Regards
Similar Messages
-
Query runs forever when using selection on line item dim
we have a cube zcube which has po number as a line item dimension .
everymonth users run queries this cube using po number as selection
criterai and using a wild card search on this field . every time
queries have run fine . however , this month when we try to do so
the query runs forever and no results are returned . i also tried
listcubing with similar selection but it also did not return any results .
our production system has lot of data . i tried in test system it worked fine
i checked the cube for compression and indices in production , they look fine
can anyone think of anything that could have gone wrong ? also did rsrv tests ..
but all come green
we have not done any developments on this cube , however we have shifted to
a new hardware in the past month . can anyone think of any reasons ?
anything that can help me catch the issue ? all suggestions welcomeNot sure,
Are you saying that you need both the counts seperately? or a combined count?
how are you joining alpha and beta tables? what is the join condition?
you need to do something like this,
SELECT COUNT(CASE WHEN
(A.col1 = 'Pete' AND SUBSTR(A.col2,,1,12)=SUBSTR(B.col2,,1,13))
OR ( A.col1 != 'Pete' AND SUBSTR(A.col2,,1,15)=SUBSTR(B.col2,,1,15))
THEN 1 ELSE 0
END)
FROM alpha A, beta b
WHERE alpha.join_cloumn= beta.join_columnG. -
Itunes does not recognize Iphone. It asks me to restore or add as new phone each time I sign on. It then attempts to sync, just runs forever. After five tries, it allowed me to upgrade OS, but still refused to complete a sync. I have disabled firewalls. Error message 0xE8004006
Thankshttps://discussions.apple.com/thread/2482232?start=0&tstart=0
-
How do i share files with a remote mac running system 10.4
I am trying to receive pictures on my iMac 27" from a remote Mac running system 10.4. How do we do this?
Then BDAqua's answers are what you're looking for.
There are other services, too - Sendspace for one, and an internet search should provide more. -
I want to set up wireless speakers in my yard using my phone as the remote to run music on my computer and ipad.. what do i need to do this? I have an airport extreme.. wireless set up.
I found these speakers after I posted
Audio Unlimited SPK-VELO-003 Premium Indoor / Outdoor Wireless Speaker System w/ Remote Contro
I am thinking someway I should be able to send my music through airplay or homeshare to a speaker... hopefully wireless outside.. i know you can do it inside wiresly but can you do it outside?
I do not want to run speakers wires all over my yard.
Thanks -
Datawarehouse job run forever and powershell doesn't allow to enable
It seems that my datawarehouse jobs was running forever without any report producing. I check the jobs enabled and it tell "no" every job except MPSyncJob. Every job status is running as "running" or "not started". I tried to enable the datawarehouse jobs
by powershell cmdlets. When I ran Get-SCDWJob or Enable-SCDWJob the error always appear as following.
Get-SCDWJob : Parse error before eof
At line:1 char:12
+ get-scdwjob <<<<
+ CategoryInfo : OperationStopped: (SCSMMAIN:DataWarehouseManagem
entGroup) [Get-SCDWJob], QueryGrammarException
+ FullyQualifiedErrorId : Unable to retrieve job list,Microsoft.Enterprise
Management.Warehouse.Cmdlets.GetSCDWJob
In the event viewer showed this detail
Log Name: Operations Manager
Source: OpsMgr SDK Service
Date: 6/27/2012 11:15:01 AM
Event ID: 26319
Task Category: None
Level: Error
Keywords: Classic
User: N/A
Computer: SCSMMAIN.scsm.vm
Description:
An exception was thrown while processing GetDataWarehouseOrchestrationJobs for session ID uuid:6513011d-4b46-42f1-a2cc-c28836851029;id=17.
Exception message: Parse error before eof
Full Exception: Microsoft.EnterpriseManagement.Common.QueryGrammarException: Parse error before eof
at Microsoft.EnterpriseManagement.Mom.QueryGrammar.QueryGrammarYaccClass.error(Int32 q_state, SSLexLexeme q_look)
at Microsoft.EnterpriseManagement.Mom.QueryGrammar.SSVParseLib.SSYacc.doError()
at Microsoft.EnterpriseManagement.Mom.QueryGrammar.SSVParseLib.SSYacc.parse()
at Microsoft.EnterpriseManagement.Mom.QueryGrammar.QueryGrammarParser.GetCriteriaXml(String query)
at Microsoft.EnterpriseManagement.ServiceDataLayer.DataWarehouseJobService.GetDataWarehouseOrchestrationJobs(String criteria, Int32 numberOfBatches)
Event Xml:
<Event xmlns="http://schemas.microsoft.com/win/2004/08/events/event">
<System>
<Provider Name="OpsMgr SDK Service" />
<EventID Qualifiers="49152">26319</EventID>
<Level>2</Level>
<Task>0</Task>
<Keywords>0x80000000000000</Keywords>
<TimeCreated SystemTime="2012-06-27T04:15:01.000000000Z" />
<EventRecordID>2139</EventRecordID>
<Channel>Operations Manager</Channel>
<Computer>SCSMMAIN.scsm.vm</Computer>
<Security />
</System>
<EventData>
<Data>GetDataWarehouseOrchestrationJobs</Data>
<Data>uuid:6513011d-4b46-42f1-a2cc-c28836851029;id=17</Data>
<Data>Parse error before eof</Data>
<Data>Microsoft.EnterpriseManagement.Common.QueryGrammarException: Parse error before eof
at Microsoft.EnterpriseManagement.Mom.QueryGrammar.QueryGrammarYaccClass.error(Int32 q_state, SSLexLexeme q_look)
at Microsoft.EnterpriseManagement.Mom.QueryGrammar.SSVParseLib.SSYacc.doError()
at Microsoft.EnterpriseManagement.Mom.QueryGrammar.SSVParseLib.SSYacc.parse()
at Microsoft.EnterpriseManagement.Mom.QueryGrammar.QueryGrammarParser.GetCriteriaXml(String query)
at Microsoft.EnterpriseManagement.ServiceDataLayer.DataWarehouseJobService.GetDataWarehouseOrchestrationJobs(String criteria, Int32 numberOfBatches)</Data>
</EventData>
</Event>
Any suggestion? I stuck at here for one week now.I have the same problem with the parser error before eof and unable to retrieve job list but when i try:
get-scdwjob -jobname dwmaintenance -computername MySmServer -dwserver MyDwServer
I get:
A parameter cannot be found that matches parameter name 'dwserver'
I have a feeling that something needs an update and/or is mismatched but I don't know what or where to start. -
Is it recommended to keep my Mac running forever?
Good night,
I would like to keep my Mac Mini running forever; all day and night.
What are the pros and cons?
Regards,
Stef HeckThank you for the reaction. But is it recommended? Is it safe to keep it powered all night? It's a minimal consumption right?
I hope to get more details.
Thank you. -
ITunes sync with Outlook 2013 preparing to sync runs forever
iTunes sync with Outlook 2013 preparing to sync runs forever, what is the problem?
I have updated addresses and names in the iPhone. When I sync with Outlook it takes the updated name portion, but does not pick up the address from the iPhone. The Whitepages app (pretty handy app) will update my iPhone contact list, but I cannot then transfer that information over to my Outlook contact list. This all needs to work together. Solutions?
-
RSA3 - Extractor seems to run forever for a particluar datasource
Hi All,
I am trying to check a infocube export datasource - 8ZBVOLVOL1 in RSA3 and it seems to run forever and never returns any values. I am using the default values in the settings :
Request Id - TEST
Data records/calls - 100
Display Extr Calls - 10
Update Mode - F
Target Sys - "Empty"
In the selections I am not making any selections just running them as default, but I also tried inputting the selections and even then it seems to run forever.
I checked the datasource in RSA6 and it seems to be fine.
I am hoping someone can help me out here.
Thanks in advance,
RahulHello,
1.First try to execute the InfoPackage and check whether data is loaded to the other InfoCube.
2. If you have anyother generated datasource try the same in RSA3.
3. Check the MySelfSourceSystem (BW System) in Source System -> Check and make sure there is no issues.
If not,try these options
1. Try to recreate the fact table views using the ABAP Report(SE38) SAP_FACTVIEWS_RECREATE
2. Regenerate the datasource again (Export datasource)
3. Goto RSA3 and check it again
Thanks
Chandran -
SSIS Package stuck at validation phase in active batch and running forever.
Hello Team -
There is a peculiar situation where an SSIS package has been running forever in active batch (cmd). It is stuck at validation phase . However upon restart it executes normally . The scenario occurs intermittently like once in a week or two. There is also
no blocking or locks on the server.
Please give your inputs. Have a nice day.
Happy to help! Thanks. Regards and good Wishes, Deepak. http://deepaksqlmsbusinessintelligence.blogspot.com/But it does execute on a manual run from the job. I saw several other threads in a similar fashion , and there are solutions but those look inappropriate and temporary and do not deal with active batch ( dtexec) , looking for a standard and a permanant
solution and whether there are any service packs or patches? Its SSIS 2008 and AB8.
Happy to help! Thanks. Regards and good Wishes, Deepak. http://deepaksqlmsbusinessintelligence.blogspot.com/ -
Spatial Tables and Remote Queries
Hi Experts,
Can anyone explain me when and where to use Spatial Tables and Remote Queries with some examples.
Thanks in advance.Hi,
there are some nice demos from Andrejus:
http://andrejusb.blogspot.com/search/label/Spatial
Hope it helps,
Friedhold -
Queries running and taking time...
Dear All,
My database is 11gR2 RAC on Linux.
Frequently I see the following queries running and consuming database resources.
SELECT DECODE(NVL(:B2 , 0), 2, (DBMS_LOB.GETLENGTH(:B1 )/3)*2, DBMS_LOB.GETLENGTH(:B1 ))FROM DUAL;
I don't know if some log tables needs to truncate.
Kindly help on this.
Regards, Imranmisterimran wrote:
Dear All,
My database is 11gR2 RAC on Linux.
Frequently I see the following queries running and consuming database resources.
SELECT DECODE(NVL(:B2 , 0), 2, (DBMS_LOB.GETLENGTH(:B1 )/3)*2, DBMS_LOB.GETLENGTH(:B1 ))FROM DUAL;Find the code executing this line. If the select is being called from a PL/SQL routine IF logic will probably be slightly more efficient than an unnecessary select from DUAL. The overhead is slight but builds up if done over and over again.
If this is being done in a loop make sure the bind values are chaning inside the loop. If the bind values are the same for every execution there is no reason to do this more than once. -
SQL*Loader running forever
Hello,
I am using Oracle 10.2.0.4 on RHEL 4u4. I am trying to load a table with data using "Load Data from User Files" in Enterprise Manager (SQL*Loader).
When I run the job, it just runs forever and never finishes. I am only trying to load about 6,400 rows, so I can't imagine it should take very long. I have created a .BAD file, a .DISCARD file, and a .LOG file, but all are empty. I have also been monitoring the alert log, but I don't see anything pertaining to the load in there either. Perhaps I have something incorrect in the control file??
Here's a sample of my data in the flat file:
1*"LAURA,LORA,LAURIE,LAURI,LARA"*
2*"SARA,SARAH"*
3*"JENNIFER,JENN,JEN,JENNI,JENNY"*
And the control file generated by Enterprise Manager:
LOAD DATA
APPEND
INTO TABLE NAMES.NAME_VARIANTS
FIELDS TERMINATED BY '*' OPTIONALLY ENCLOSED BY '"'
COUNTER INTEGER EXTERNAL,
VARIANT_TEXT CHAR
I am unsure how to troubleshoot this as I am getting nothing in either log file!
MimiUpdate. I tried running the control file manually using sqlldr at the command line and it worked just fine. Not sure why scheduling the job through Enterprise Manager didn't work for me. Anyways, problem resolved!
-
Hi ,
When i am running query it is running forever and i am not able to get the results. But , iam able to get the results by using the LISTCUBE transaction very fastly for the same selection criteria.
When I observed in SM66 , The work process is always trying to Read the table /bic/03035
appreciate your suggessions and valuble solutionsHi,
I had the same problem yesterday - the only difference was that SM66 showed a different table name.
My problem was solved by getting the Database team to analyze that particular table. The DB logs showed that the table had been Analyzed a long time back. By getting the table analyzed the execution time for the query was cut down from 15 minutes to 30 seconds.
See if this helps in your scenario as well. The table name that you have given does not appear to be the full table name - enable long text in SM66 to display the table name in full and ask you DB team to check when that table was last analyzed - if it was a long time back then get then to analyze it again and see if it improves the query performance.
Hope it helps,
Regards,
Nikhil -
Queries run PARALLEL but no parallel parameters or table DOP set
I've just taken over a new system and am seeing something that seems to me to be a bit unusual.
Queries are running parallel, but I've checked and all tables have a DOP of 1 and none of the user queries have a parallel hint. Yet I see queries running parallel in OEM.
The DB is 11.1.0.7 EE. It does have PARALLEL parms set at the DB level, such as max servers and min servers.
I showed this to another DBA and they hadn't seen it, either.
The docs state that, for a query to run parallel, a DOP > 1 must be set at the table level or in the query with a hint. Of course, these days, the docs are frequently very wrong and out of date. If this were 11.2, I would think the new Automatic DOP was involved.
Appreciate any ideas on how to investigate this.pdp0617 wrote:
I've just taken over a new system and am seeing something that seems to me to be a bit unusual.
Queries are running parallel, but I've checked and all tables have a DOP of 1 and none of the user queries have a parallel hint. Yet I see queries running parallel in OEM.
The DB is 11.1.0.7 EE. It does have PARALLEL parms set at the DB level, such as max servers and min servers.
I showed this to another DBA and they hadn't seen it, either.
The docs state that, for a query to run parallel, a DOP > 1 must be set at the table level or in the query with a hint. Of course, these days, the docs are frequently very wrong and out of date. If this were 11.2, I would think the new Automatic DOP was involved.
Appreciate any ideas on how to investigate this.Well, its not certainly an unusual behavior. I have seen it already once but I am not sure that you have the same case but let's try. Can you tell that whether your query is using any indexes and what's the output of this query if the index is in use?
select index_name,degree,instances from all_indexes where index_name='indexname';HTH
Aman....
Maybe you are looking for
-
I am trying to write a screen saver type app in Java. First off I need to create a large container of some type to fill the screen. I am trying package screensaver; import java.awt.*; import javax.swing.*; import java.util.*; class ScreenSaver extend
-
EA 2700 disconnecting every once in awhile. (30/60minutes)
Heya, I'm having issues with a newly bought EA 2700 router, I'm getting disconnected every 30-60 minutes. (It's a brief disconnect for about 10seconds, perhaps a huge packet loss or something?) I've tried connecting directly to the modem and that see
-
I downloaded a new version of I tunes yesterday and it did not install correctly- I cannot open I tunes, I have tried to download again, install again, repair and nothing... should I uninstall ITunes completely and reinstall fresh? what happens to my
-
In previous versions of os x I have been able to edit the "/Library/Preferences/com.apple.finder.plist" file to make finder background tiling possible, but since getting tiger I have been unable to find the correct line in the file since it is pretty
-
Photoshop detected an error in your display driver- cs6
I have a Hp pavilion desktop with an Intel Core2 Duo, I istalled the latest driver but it will not work, is there a solucion to this problem? Thank you.