Considering current timestamp while running queries
Hi,
We have designed an extract query on Oracle Database which picks up all the changes happened from 2 AM (for eg. last_update_date> 10/24/2007 2 AM ).
Let us assume that the SQL script runs @ 7 AM Everyday and takes approximately 30 minutes.
We are trying to find out whether this script will consider the changes between 2 AM till 7 AM or 2 AM till 7:30 AM. Any inputs in this regards will be greatly appreciated.
Thanks,
Krishna
Without seeing the script it is impossible to answer your question.
If you do not understand Oracle's multi-version read consistency model then you need to go to http://tahiti.oracle.com and look read the basic concepts and architecture docs. MVCC (multiversioning) would lead to one answer but without seeing what you are doing it is impossible to know what you've done.
Similar Messages
-
Tmp files created on desktop while running queries
Hello
I have on some PC's a problem while running reports in Discoverer Desktop: for each report I run, a tmp file is being created on desktop and its not being deleted after closing the Discoverer.
can someone advice?
thanksOnce you close Discoverer you can delete if you want.
As suggested by Michael, you can put them in a location where you know you can delete them later, but really, you only need to delete them if you feel like it.
Of course, you could always get a shareware product like 'crapcleaner' - I know ... bad name, but good product ... that can be set to delete things like .tmp files whenever run.
Russ -
hi
I've installed Exchange 2013 on Windows Server 2012 and it reported as successfully installed. I see no issues with Exchange Setup Logs.
On trying to connect to Exchange Management Shell I receive errors and I am unable to connect.
New-PSSession : [wes-ex-01.XXxxxxxxxxxx.net] Connecting to remote server wes-ex-01.xxxxxxxxx.net failed
with the following error message : The WS-Management service does not support the request. For more information, see
the about_Remote_Troubleshooting Help topic.
At line:1 char:1
+ New-PSSession -ConnectionURI "$connectionUri" -ConfigurationName Microsoft.Excha ...
+ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
+ CategoryInfo : OpenError: (System.Manageme....RemoteRunspace:RemoteRunspace) [New-PSSession], PSRemotin
gTransportException
i found this as answer for almost everyone but it didnt work for me
%SystemDrive%\Windows\Microsoft.NET\Framework64\v4.0.30319\aspnet_regiis.exe -ir -enable
i run this command for Microsoft (R) ASP.NET RegIIS version 4.0.30319.17929 and this is what i am reciveing
Microsoft (R) ASP.NET RegIIS version 4.0.30319.17929
Administration utility to install and uninstall ASP.NET on the local machine.
Copyright (C) Microsoft Corporation. All rights reserved.
Start installing ASP.NET (4.0.30319.17929) without changing existing web applica
tions to use this version of ASP.Net.
This option is not supported on this version of the operating system. Administr
ators should instead install/uninstall ASP.NET 4.5 with IIS8 using the "Turn Win
dows Features On/Off" dialog, the Server Manager management tool, or the dism.e
xe command line tool. For more details please see
http://go.microsoft.com/fwlin
k/?LinkID=216771.
Finished installing ASP.NET (4.0.30319.17929) without changing existing web appl
ications to use this version of ASP.Net.
i also run
C:\Windows\Microsoft.NET\Framework64\v2.0.50727\aspnet_regiis.exe -ir -enable
but this time i am reciving this :
Start installing ASP.NET (2.0.50727).
An error has occurred: 0x80004005 Unspecified error
any Idea ?
rezaHi
thanks for your reply
but it didn't work for me (I mention in my question)
I am getting this :
%SystemDrive%\Windows\Microsoft.NET\Framework64\v4.0.30319\aspnet_regiis.exe -ir -enable
Microsoft (R) ASP.NET RegIIS version 4.0.30319.17929
Administration utility to install and uninstall ASP.NET on the local machine.
Copyright (C) Microsoft Corporation. All rights reserved.
Start installing ASP.NET (4.0.30319.17929) without changing existing web applica
tions to use this version of ASP.Net.
This option is not supported on this version of the operating system. Administr
ators should instead install/uninstall ASP.NET 4.5 with IIS8 using the "Turn Win
dows Features On/Off" dialog, the Server Manager management tool, or the dism.e
xe command line tool. For more details please see
http://go.microsoft.com/fwlin
k/?LinkID=216771.
Finished installing ASP.NET (4.0.30319.17929) without changing existing web appl
ications to use this version of ASP.Net.
I also run
C:\Windows\Microsoft.NET\Framework64\v2.0.50727\aspnet_regiis.exe -ir -enable
Start installing ASP.NET (2.0.50727).
An error has occurred: 0x80004005 Unspecified error
reza -
Sql developer could not fetch any data while running queries?
I have downloaded SQL Developer , install jdk1.5.0_22 from the website. Then I run sqldeveloper.exe browse the jdk folder. After that i established the connection but it continuously showing loading..No tables No procedures are loaded . what should i do?
Be careful... SQL Developer requires a JDK or the server JRE (which I believe only comes in 64-bit, so go with the JDK if you are on a 32-bit OS).
Prior to 4.0, the SetJavaHome line in your install directory's sqldeveloper.conf (or sqldeveloper-Darwin.conf on the Mac) must be set, but in 4.0 and above that changes to product.conf under your OS's user settings. For Windows 7, that would be in...
C:\Users\<your-userid>\AppData\Roaming\sqldeveloper\1.0.0.0.0\product.conf
Hope this helps. If not, assuming Windows, run sqldeveloper.exe in the bin directory from a command line console so you can see any standard error output in the console, or do a Ctrl-Break to get a full thread dump of what's happening in the JVM. -
IO read error while running query
Hi All,
I am getting the following error while running queries
ORA-12801: error signaled in parallel query server P066
ORA-01114: IO error writing block to file 4012 (block # 1046921)
ORA-27063: number of bytes read/written is incorrect
SVR4 Error: 28: No space left on device
Additional information: -1
Additional information: 1040384
ORA-01114: IO error writing block to file 4012 (block # 1046921)
ORA-27063: number of bytes read/written is incorrect
SVR4 Error: 28: No space left on device
Additional information: -1
Additional information: 1040384
Pls help
Thanks in AdvanceThis is not a SQL or PL/SQL error and thus not related to the subject matter of this forum.
The error is however specific to exactly what is wrong.
SVR4 Error: 28: No space left on device
Oracle tried to write for example 100 bytes and it could only write 10 bytes - as there were no space left for the other 90 bytes on the disk. -
Displaying messages while running BEx queries.
Hi Experts,
Can any one explain me is there any possibility to display some popup messages while running BEx queries?
Regards,
AnushaHi there,
You can do taht with user exit variables with the code something like this:
WHEN 'YOUR_VARIABLE'.
if i_step = 2.
LOOP AT eto_charsel INTO ln_charsel.
*some validation of your own
if ln_charsel-low NE '1'.
*call function to send a message, in this case, an error message
CALL FUNCTION 'RRMS_MESSAGE_HANDLING'
EXPORTING
i_class = 'ERROR!'
i_type = 'E'
i_number = '000'
i_msgv1 = 'Please connect again and'
i_msgv2 = 'use the Revision Layout'.
RAISE no_processing.
endif.
ENDLOOP.
endif.
Diogo. -
Hi Experts , I am currently facing problems while running restricted version copy in sap apo .. The log says 0 location products copied and that the process has timed out. the error message is " /SAPAPO/MVM_INT_SVC_CO_VER_LCW reported exception in task DP00014 " , then ending in time limit exceeded. could anyone explain why this happens. please note even if the log says 0 location products copied , in reality they have have been partially copied.
Regards
JerelHi, thank you for your replies, I found out few things about my servlet, and its portability
and i have few questions, although i marked this topic as answered i guess its ok to post
I am using javax.servlet.context.tempdir to store my files in that servletcontext temporary directory. But i dont know how to give hyperlink
of the modified files to the user for them to download the modified files.
What i am using to get the tempdir i will paste
File baseurl = (File)this.getServletContext().getAttribute("javax.servlet.context.tempdir");
System.out.println(baseurl);
baseurl = new File(baseurl.getAbsolutePath()+File.separator+"temp"+File.separator+"files");
baseurl.mkdirs();so i am storing my files in that temp/files folder and the servlet processes them and modifies them, then how to present them as
links to the user for download ?
and as the servlet is multithreaded by nature, if my servlet gets 2 different requests with same file names, i guess one of them will be overwritten
And i want to create unique directory for each request made to the servlet , so file names dont clash.
one another thing is that i want my servlet to be executed by my <form action> only, I dont want the user to simply type url and trigger the servlet
Reply A.S.A.P. please..
Thanks and regards,
Mihir Pandya -
Error while running sql queries..
Hi there,
We are suppose to run gather schema stats..
but while running the procedure we are getting following error..
gather_schema.sql:
exec fnd_stats.gather_schema_statistics('CMWCONN');
exec fnd_stats.gather_schema_statistics('CMW');
exec fnd_stats.gather_schema_statistics('ALL');
SQL> @gather_schema.sql;
BEGIN fnd_stats.gather_schema_statistics('CMWCONN'); END;
ERROR at line 1:
ORA-06550: line 1, column 7:
PLS-00201: identifier 'FND_STATS.GATHER_SCHEMA_STATISTICS' must be declared
ORA-06550: line 1, column 7:
PL/SQL: Statement ignored
BEGIN fnd_stats.gather_schema_statistics('CMW'); END;
ERROR at line 1:
ORA-06550: line 1, column 7:
PLS-00201: identifier 'FND_STATS.GATHER_SCHEMA_STATISTICS' must be declared
ORA-06550: line 1, column 7:
PL/SQL: Statement ignored
BEGIN fnd_stats.gather_schema_statistics('ALL'); END;
ERROR at line 1:
ORA-06550: line 1, column 7:
PLS-00201: identifier 'FND_STATS.GATHER_SCHEMA_STATISTICS' must be declared
ORA-06550: line 1, column 7:
PL/SQL: Statement ignored
Could you give me the correct pl/sql procedure to run the query.
Thanks,.
Balu.Actually the script was working fine last week..we are using the following script
SQL> exec fnd_stats.gather_schema_statistics('ALL');
but it throws me the following error
BEGIN fnd_stats.gather_schema_statistics('ALL'); END;
ERROR at line 1:
ORA-06550: line 1, column 7:
PLS-00201: identifier 'FND_STATS.GATHER_SCHEMA_STATISTICS' must be declared
ORA-06550: line 1, column 7:
PL/SQL: Statement ignored -
Running queries in af:query panel dirties current transaction?
Hi,
I've met the following issue (JDev 11g, build 5188): I'm using a custom action handler for the Back button in my pages that checks whether there are uncommitted changes before navigating back to the previous page. If the transaction is dirty, the user is sent a confirmation dialog that asks whether to commit or rollback changes before leaving the edit form.
To identify a dirty transaction, it uses the following code snippet as suggested by Steve Muench:
BindingContext bc = BindingContext.getCurrent();
boolean txnDirty = bc.findDataControlFrame(bc.getCurrentDataControlFrame()).isTransactionDirty();Now this normally works fine, until I added an af:query panel to the page itself, with ResultComponentId set to my edit form. Now, the search runs fine too, however when performing a search and then leaving the page, the transaction is dirty and I get the confirmation dialog even if no data were modified at all.
That is, I just open the page, run a search and leave the page, no edits whatsoever. This makes txnDirty=true for some reason. Why is running a search through af:query marking my data as modified? Can I disable this behaviour?
I tried with a custom query listener which does suspendTransaction() for the current datacontrol frame, runs the query invoking "#{bindings.MyViewCriteriaQuery.processQuery}", then resumeTransaction(), but nothing changes.
Suggestions, anyone?
thanks,
RickySHi am using the following code (javascript) -- Jdev(11.1.1.3)
function preventUserInput(evt){
var eventSource = evt.getSource();
var popup1 = eventSource.findComponent("showGlassPanePopup");
if (popup1 != null){
AdfPage.PAGE.addBusyStateListener(popup1,handleBusyState);
evt.preventUserInput();
//JavaScript call back handler
function handleBusyState(evt){
var popup = AdfPage.PAGE.findComponentByAbsoluteId('r3:0:r1:0:showGlassPanePopup');
if(popup!=null){
if (evt.isBusy()){
popup.show();
} else if (popup.isPopupVisible()) {
popup.hide();
AdfPage.PAGE.removeBusyStateListener(popup, handleBusyState);
... End of Code..
This line .. (popup.isPopupVisible()) removes the Popup , if popup is visible...
If u want the view am using..
SELECT EMPNO , DEPTNO , HIREDATE FROM EMPLOYEE (sample Application i have created), created a view criteria for this..
( (EMPNO = :empNum ) AND (DEPTNO = :deptNum ) AND (TO_CHAR( TO_TIMESTAMP(HIREDATE), 'yyyy-mm-dd hh24:mi:ss.ff') = :hireDts ) ) (View Criteria)
.. <af:clientListener method="enforcePreventUserInput" type="query"/> (added for af:query)
Popup Used: <af:popup id="showGlassPanePopup" contentDelivery="immediate">
<af:dialog id="d2" type="none" closeIconVisible="false">
<af:panelGroupLayout id="panelGroupLayout1" layout="vertical">
<af:outputText value="Processing......Please Wait.." id="ot97"/>
</af:panelGroupLayout>
</af:dialog>
</af:popup>
1. When i click search for first time.. it is showing like -- Processing .. Please Wait'
2. When i click select Date picker it is show -- Processing .. Please Wait'
and show a calender popup window.. If we change the month ... it will again show like -- Processing .. Please Wait'
and it will not open calender window.
Please Help me on this..Am facing trouble due to this.
Thanks in Advance.
Edited by: user10115793 on Nov 15, 2011 12:58 AM -
Runtime error while running the queries on Portal
Hello
While running the BI7 query the error has occured . Description of the error is
Portal runtime error
An exception has occured while processing your request . Send the exception Id to your adminstrator
But when the query is being run in the direct portal url it is working fine , it is only when we try to run the query with the user id which has single sign on .
Unable to understand why this problem is there as the business demands to run all the query with the single sign on
Please let me know the solution for thisHello.
I have created a system alias. But still the problem persists.
It still throws the same error.
Could You please suggest some other option.
Regards,
SampathKumar G. -
Issues when running queries while the cube is being loaded
What kind of issues can we face if we run queries on a cube when the cube is in the middle of being loaded? Will it show inaccurate date? Will it cause the query to be slow?
Hi,
-Until the load is finished and with status OK, you won't be able to see the loaded data (that's the standard behaviour, it can be modified).
-You can have performance issues, but it will depend on the data volume, the HW of the servers, etc.
That's why it´s recomended to load data when nobody is using the system, also you should notice that the performance issue is not only in BW, R/3 will also notice a performance decrease because you are making the extraction from there.
Hope this helps.
Regards,
Diego -
Error during scheduling while running Run order sequencing in PPR
Hello Experts,
An error saying 'Error during scheduling' is logged while running Run order sequencing in Production Planning Run and the job is failed.
Checked the capacity of the resource but seems ok.
The below long text is displayed next to the error message.
Error during scheduling
Message no. /SAPAPO/OM043
Diagnosis
The system could not schedule an order, operation or activity.
This could have the following causes:
The resource does not have any free working time or capacity.
If you have set planning direction backwards in the strategy profile:
There is not enough working time or capacity available for scheduling between now and the scheduling date.
If you have set planning direction forwards in the strategy profile:
There is not enough working time or capacity available for scheduling between the scheduling date and the end of the planning area.
If you plan characteristics-dependently:
You have assigned characteristics to operations of the order that do not agree with characteristics of the resources on which the operations are to be processed.
The system cannot find any suitable characteristics on the resources and so it cannot schedule.
Procedure
Depending on which of the above reasons is the cause, change the following settings:
Change the working times and capacities of the resources.
Set the planning mode "infinite planning" in the strategy profile.
Activate the planning direction forwards or backwards and reverse in the strategy profile.
Change the characteristics that you have assigned to the resource.
Can anyone let me know what else need to check to avoid the error.Dear Maddy,
The function "Reschedule" follows an all-or-nothing logic, which means that either all selected activities on a resource can be re-scheduled or the function (better the liveCache) cancels and no activities will be re-scheduled.
One reason might be that you have a pegging relation to a fixed activity (this might be a sales order, forecast, an activity outside the propagation range...) which cannot be considered during the
scheduling. The liveCache cannot break the pegging, therefore it cancels the scheduling.
Please have a look at the note 510669 which offers a heuristic on the basis of the algorithm /SAPAPO/HEUR_PLAN_SEQ_PACKAGES. This heuristic should solve your problem. It will re-schedule as many activities as possible and will not cancel if one fails.
Depending on your current release there could be also some correction notes like
1272960
1027194
I hope I could help you further.
Regards,
Tibor -
While running utlrp in 11.2.0.2 database, errors are seen
SQL> @utlrp.sql
TIMESTAMP
COMP_TIMESTAMP UTLRP_BGN 2011-06-10 22:13:37
DOC> The following PL/SQL block invokes UTL_RECOMP to recompile invalid
DOC> objects in the database. Recompilation time is proportional to the
DOC> number of invalid objects in the database, so this command may take
DOC> a long time to execute on a database with a large number of invalid
DOC> objects.
DOC>
DOC> Use the following queries to track recompilation progress:
DOC>
DOC> 1. Query returning the number of invalid objects remaining. This
DOC> number should decrease with time.
DOC> SELECT COUNT(*) FROM obj$ WHERE status IN (4, 5, 6);
DOC>
DOC> 2. Query returning the number of objects compiled so far. This number
DOC> should increase with time.
DOC> SELECT COUNT(*) FROM UTL_RECOMP_COMPILED;
DOC>
DOC> This script automatically chooses serial or parallel recompilation
DOC> based on the number of CPUs available (parameter cpu_count) multiplied
DOC> by the number of threads per CPU (parameter parallel_threads_per_cpu).
DOC> On RAC, this number is added across all RAC nodes.
DOC>
DOC> UTL_RECOMP uses DBMS_SCHEDULER to create jobs for parallel
DOC> recompilation. Jobs are created without instance affinity so that they
DOC> can migrate across RAC nodes. Use the following queries to verify
DOC> whether UTL_RECOMP jobs are being created and run correctly:
DOC>
DOC> 1. Query showing jobs created by UTL_RECOMP
DOC> SELECT job_name FROM dba_scheduler_jobs
DOC> WHERE job_name like 'UTL_RECOMP_SLAVE_%';
DOC>
DOC> 2. Query showing UTL_RECOMP jobs that are running
DOC> SELECT job_name FROM dba_scheduler_running_jobs
DOC> WHERE job_name like 'UTL_RECOMP_SLAVE_%';
DOC>#
PL/SQL procedure successfully completed.
TIMESTAMP
COMP_TIMESTAMP UTLRP_END 2011-06-10 22:16:18
DOC> The following query reports the number of objects that have compiled
DOC> with errors (objects that compile with errors have status set to 3 in
DOC> obj$). If the number is higher than expected, please examine the error
DOC> messages reported with each object (using SHOW ERRORS) to see if they
DOC> point to system misconfiguration or resource constraints that must be
DOC> fixed before attempting to recompile these objects.
DOC>#
OBJECTS WITH ERRORS
71
DOC> The following query reports the number of errors caught during
DOC> recompilation. If this number is non-zero, please query the error
DOC> messages in the table UTL_RECOMP_ERRORS to see if any of these errors
DOC> are due to misconfiguration or resource constraints that must be
DOC> fixed before objects can compile successfully.
DOC>#
ERRORS DURING RECOMPILATION
22
Function created.
PL/SQL procedure successfully completed.
Function dropped.
ORDIM registered 0 XML schemas.
The following XML schemas are not registered:
http://xmlns.oracle.com/ord/dicom/UIDdefinition_1_0
http://xmlns.oracle.com/ord/dicom/anonymity_1_0
http://xmlns.oracle.com/ord/dicom/attributeTag_1_0
http://xmlns.oracle.com/ord/dicom/constraint_1_0
http://xmlns.oracle.com/ord/dicom/datatype_1_0
http://xmlns.oracle.com/ord/dicom/manifest_1_0
http://xmlns.oracle.com/ord/dicom/mapping_1_0
http://xmlns.oracle.com/ord/dicom/mddatatype_1_0
http://xmlns.oracle.com/ord/dicom/metadata_1_0
http://xmlns.oracle.com/ord/dicom/orddicom_1_0
http://xmlns.oracle.com/ord/dicom/preference_1_0
http://xmlns.oracle.com/ord/dicom/privateDictionary_1_0
http://xmlns.oracle.com/ord/dicom/rpdatatype_1_0
http://xmlns.oracle.com/ord/dicom/standardDictionary_1_0
http://xmlns.oracle.com/ord/meta/dicomImage
http://xmlns.oracle.com/ord/meta/exif
http://xmlns.oracle.com/ord/meta/iptc
http://xmlns.oracle.com/ord/meta/ordimage
http://xmlns.oracle.com/ord/meta/xmp
ORDIM DICOM repository has 0 documents.
The following default DICOM repository documents are not installed:
ordcman.xml
ordcmcmc.xml
ordcmcmd.xml
ordcmct.xml
ordcmmp.xml
ordcmpf.xml
ordcmpv.xml
ordcmsd.xml
ordcmui.xml
PL/SQL procedure successfully completed.
Please suggest .
RegardsI am also facing below issue while running UTLRP in 11.1.0.7
SQL> Rem Run component validation procedure
SQL> Rem =====================================================================
SQL>
SQL> EXECUTE dbms_registry_sys.validate_components;
ORDIM INVALID OBJECTS: CODE_SEQUENCE253_T - 5 - 13
ORDIM INVALID OBJECTS: CODE_SEQUENCE255_COLL - 5 - 13
ORDIM INVALID OBJECTS: CODE_SQ254_T - 5 - 13
ORDIM INVALID OBJECTS: ORD_DICOM_HEADER257_T - 5 - 13
ORDIM INVALID OBJECTS: MEDIA_STORAGE_SOP_CLASS259_T - 5 - 13
ORDIM INVALID OBJECTS: MEDIA_STORAGE_SOP_INSTA260_T - 5 - 13
ORDIM INVALID OBJECTS: TRANSFER_SYNTAX_UID261_T - 5 - 13
ORDIM INVALID OBJECTS: IMPLEMENTATION_CLASS_UI262_T - 5 - 13
ORDIM INVALID OBJECTS: IMPLEMENTATION_VERSION_263_T - 5 - 13
ORDIM INVALID OBJECTS: SOURCE_APPLICATION_ENTI264_T - 5 - 13
ORDIM INVALID OBJECTS: FILE_META_HEADER258_T - 5 - 13
ORDIM INVALID OBJECTS: NAME267_T - 5 - 13
ORDIM INVALID OBJECTS: ID268_T - 5 - 13
ORDIM INVALID OBJECTS: BIRTH_DATE269_T - 5 - 13
ORDIM INVALID OBJECTS: SEX270_T - 5 - 13
ORDIM INVALID OBJECTS: PATIENT266_T - 5 - 13
ORDIM INVALID OBJECTS: INSTANCE_UID272_T - 5 - 13
ORDIM INVALID OBJECTS: DATE273_T - 5 - 13
ORDIM INVALID OBJECTS: TIME275_T - 5 - 13
ORDIM registered 0 XML schemas.
The following XML schemas are not registered:
http://xmlns.oracle.com/ord/dicom/UIDdefinition_1_0
http://xmlns.oracle.com/ord/dicom/anonymity_1_0
http://xmlns.oracle.com/ord/dicom/constraint_1_0
http://xmlns.oracle.com/ord/dicom/datatype_1_0
http://xmlns.oracle.com/ord/dicom/mapping_1_0
http://xmlns.oracle.com/ord/dicom/mddatatype_1_0
http://xmlns.oracle.com/ord/dicom/metadata_1_0
http://xmlns.oracle.com/ord/dicom/orddicom_1_0
http://xmlns.oracle.com/ord/dicom/preference_1_0
http://xmlns.oracle.com/ord/dicom/privateDictionary_1_0
http://xmlns.oracle.com/ord/dicom/rpdatatype_1_0
http://xmlns.oracle.com/ord/dicom/standardDictionary_1_0
http://xmlns.oracle.com/ord/meta/dicomImage
http://xmlns.oracle.com/ord/meta/exif
http://xmlns.oracle.com/ord/meta/iptc
http://xmlns.oracle.com/ord/meta/ordimage
http://xmlns.oracle.com/ord/meta/xmp
ORDIM DICOM repository has 0 documents.
The following default DICOM repository documents are not installed:
ordcman.xml
ordcmcmc.xml
ordcmcmd.xml
ordcmct.xml
ordcmmp.xml
ordcmpf.xml
ordcmpv.xml
ordcmsd.xml
ordcmui.xml
Invoking Ultra Search Install/Upgrade validation procedure VALIDATE_WK
Ultra Search VALIDATE_WK done with no error
PL/SQL procedure successfully completed.
Elapsed: 00:00:01.09
SQL> SET serveroutput off
SQL>
SQL>
SQL> Rem ===========================================================================
SQL> Rem END utlrp.sql
SQL> Rem ===========================================================================
Please suggest how to solve this.
manually compilation also not helping
Regards,
-Ravi. -
Multiple running queries at the same time
Hi!
I looked around (and RTM) for this but didn't find anything, so I'm asking here.
I have quite a few long running queries (data loading and such things, warehousing stuff), and I need to be able to run multiple queries/statements at the same time. In TOAD I can do this, start a procedure and while it is running I can do SQL statements in another session tab (it supports threaded sessions - it starts queries in their own background thread/session).
When I start a long running procedure or query in SQL Developer I can not do anything until the procedure execution finishes. Is there any way (setting/preference) to enable SQL Developer to be able to run multiple queries at the same time?
I really would like to move away from TOAD, but this is a major showstopper for me.
Thanx for any tips.
AlexHi!
This post is going to be a little longer, but I have to clarify things out.
I did not mean to throw any wild accusations, because I did my fair share of RTFM and searching the help. I can tell you that if you put any of these in the help search box:
session
non shared
non-shared
connection
concurrent <- I guess this one should yeld something
multiple
spawn
you won't find anything usefull, the article that comes closest, is this:
"Sharing of Connections
By default, each connection in SQL Developer is shared when possible. For example, if you open a table in the Connections navigator and two SQL Worksheets using the same connection, all three panes use one shared connection to the database. In this example, a commit operation in one SQL Worksheet commits across all three panes. If you want a dedicated session, you must duplicate your connection and give it another name. Sessions are shared by name, not connection information, so this new connection will be kept separate from the original."
It does not mention any spawning of non-shared connections from the current one, nor it does mention using a accelerator key combo. But since there could be written something about it, I guess you could call it a documentation bug, because it does not provide any clue to this functionality. The help is definitely of no help in this case. As you can see, I do not throw accusations without trying to find out something first. I guess if someone is not as deep into SQL Developer as you are, there is no way for him/her to know this.
OK, I tried your suggestion, and (sadly) it does not work as I suppose it should.
Here's what I did:
- start a new connection, and enter the following code in SQL Worksheet:
declare
j number;
begin
for i in 1..1000000
LOOP
j := sin(i);
end LOOP;
end;
As you can see, it doesn't do much besides holding the connection busy for a while when executed.
- start a new non-shared connection from the first one using CTRL-SHIFT-N (as you suggested) and put the following statement in the new SQL Worksheet (with "__1" appended to connection name)
select sysdate from dual;
- go to the first SQL Worksheet and execute the procedure
- while the procedure is executing, go to the second SQL Worksheet and hit F9.
The sysdate is returned as soon as the first SQL Worksheet finishes and not any sooner. It may run in separate session, but the result is not returned before the other session is finished doing what it is doing. I guess the correct behaviour would be to return the sysdate immediately.
I verified this behaviour repeating it 3 times starting with a new instance of SQL Developer, each time connecting to another schema and spawning the new non-shared session. The database used was Oracle 10.2.0.3 EE on RHEL 4 UPD3.
The concurrent execution lacks concurrency. The statements might be executed concurently on the database (i did not went the extra mile to verfiy this), but the returning of results is just not independent of other sessions. To the end user this is as much concurrent as it is serial execution.
I hope developers get this issue straightened out soon, as I said, I'd love to move away from Toad, but I'll have to wait until they fix this out.
Is there anything else that can be done to make it behave correctly?
Kind regards
Alex -
Computer locks up while running safari
I have an MAC running 10.9.2 mid 2010 - computer locks up while running safari - I have reset safari - not sure what else I could do to fix the problem - at least once a day I have to restart my mac
These instructions must be carried out as an administrator. If you have only one user account, you are the administrator.
Launch the Console application in any of the following ways:
☞ Enter the first few letters of its name into a Spotlight search. Select it in the results (it should be at the top.)
☞ In the Finder, select Go ▹ Utilities from the menu bar, or press the key combination shift-command-U. The application is in the folder that opens.
☞ Open LaunchPad. Click Utilities, then Console in the icon grid.
Step 1
Make sure the title of the Console window is All Messages. If it isn't, select All Messages from the SYSTEM LOG QUERIES menu on the left. If you don't see that menu, select
View ▹ Show Log List
from the menu bar.
Enter "BOOT_TIME" (without the quotes) in the search box. Note the timestamps of those log messages, which refer to the times when the system was started. Now clear the search box and scroll back in the log to the last boot time after you had the problem. Select the messages logged before the boot, while the system was unresponsive or was failing to shut down. Copy them to the Clipboard by pressing the key combination command-C. Paste into a reply to this message by pressing command-V. Please include the BOOT_TIME message at the end of the log extract.
If there are runs of repeated messages, post only one example of each. Don’t post many repetitions of the same message.
When posting a log extract, be selective. In most cases, a few dozen lines are more than enough.
Please do not indiscriminately dump thousands of lines from the log into this discussion.
Important: Some private information, such as your name, may appear in the log. Anonymize before posting.
Step 2
Still in Console, look under System Diagnostic Reports for crash or panic logs, and post the entire contents of the most recent one, if any. In the interest of privacy, I suggest you edit out the “Anonymous UUID,” a long string of letters, numbers, and dashes in the header of the report, if present (it may not be.) Please don’t post any other kind of report—it will be very long and not helpful.
Maybe you are looking for
-
F.19--Splitting Without PO Item
Dear Gurus, We are on Ecc 6.0 and F.19 functionality is configured.When user run F.19 for a particular Gr/Ir account for company code the system splits not only the balance in GR/IR account as per PO but also as per Item details. Say for PO XXXX ther
-
Hi all, I'm hoping someone can suggest the best approach to my issue. I'm trying to write a query to analyse the retention of customer purchases for each given month. So given a simple purchase order table (Sales), which contains each purchase a cust
-
Budget exceeded error during delivery creation
Dear All, We are facing a problem during delivery creation. Our business scenario is engineered to order and every customer order is created as a Project in PS module. the sales order is linked to the WBS element. While creating an outbound delivery
-
Hi friends what is the way to use the camera on the 4GS from the locked screen Thanks
-
Can't connect to the software update server, can't connect to the software update server
please advise, I like to update my iphone 4 and ipad 2 to 5.1 but I cant connect to the software update server. I've been trying to connect since yesterday. Is anybody have an idea why?