Any process in oracle between soft Parse Vs hard Parse?
Hello Experts/gurus
Call for analysis is different from the analysis!
Is there any process in oracle between softParse Vs HardParse?
Oracle search the shared pool and finds the same SQL statement.
However, Oracle needs check if it can be reused. If Oracle cannot reuse, Oracle will define a child cursor, optimize, and generate the SQL plan.
Source: http://dbspeed.com/case_study/sql_with_high_parses.html
> Situation if I version count is greater than 1, it's this closely with the cursor of the child?
Yes. An identical sql statement was found in the shared pool, but it could not be used for a reason, so a child has been created.
You can find out why the first statement couldn't be used looking in v$ sql_shared_cursor (using the sql_id). There are a bunch of flags that indicate the reasons.
Tags: Database
Similar Questions
-
Parse Hard &; Soft Parse for a given SQL?
Hi all
I need to know which of these is a hard and soft analysis for a given Sql. What I think is the 'charges' and 'invalidation' indicates if a cursor is invalidated and gets reloaded, which allows us to check if a call analysis becomes hard analysis.
Confusion here is should "Disk reads" value nonzero means hard analysis regardless of the 'load' and 'invalidation' and 'Disc bed' zero value means soft parse?
SELECT a.SQL_ID, a.INSTANCE_NUMBER, a.SNAP_ID, TO_CHAR(b.END_INTERVAL_TIME, 'DD-MON-YYYY HH24:MI') snap_time, a.PLAN_HASH_VALUE, ROUND(a.ELAPSED_TIME_DELTA/1000000) TOTAL_EXECUTION_TIME_SEC, ROUND(a.CPU_TIME_DELTA/1000000) cpu_seconds, a.ROWS_PROCESSED_DELTA rows_processed, a.BUFFER_GETS_DELTA buffer_gets, a.DISK_READS_DELTA disk_reads, a.EXECUTIONS_DELTA executions, a.PARSE_CALLS_DELTA parses, a.VERSION_COUNT version_count, a.LOADS_TOTAL loads_total, a.INVALIDATIONS_TOTAL invalidations_total FROM DBA_HIST_SQLSTAT a, DBA_HIST_SNAPSHOT b WHERE a.SNAP_ID = b.SNAP_ID and a.INSTANCE_NUMBER=b.INSTANCE_NUMBER AND a.INSTANCE_NUMBER=1 AND a.SQL_ID='bsraj0u9r9d3w' ORDER BY a.SNAP_ID desc; TOTAL Instance Snap Snap EXECUTION CPU Buffer Disk version loads invalidations Sql Id Number Id Time TIME(Sec) Seconds Rows Gets Reads Executions Parses count total total ------------- -------- --------- -------------------- ------------ ------- -------- ---------------- -------- ---------- ------ ------- ----- ------------- bsraj0u9r9d3w 1 9368 12-FEB-2016 12:00 14 13 200 14,079,211 780 2 1 1 6 5 --- hard Parse bsraj0u9r9d3w 1 9348 11-FEB-2016 16:00 110 91 1,500 104,806,435 0 15 4 1 5 4 --- ?? bsraj0u9r9d3w 1 9347 11-FEB-2016 15:00 30 29 500 34,922,061 0 5 2 1 5 4 --- ?? bsraj0u9r9d3w 1 9346 11-FEB-2016 14:00 14 13 200 14,009,248 0 2 1 1 5 4 --- ?? bsraj0u9r9d3w 1 9341 11-FEB-2016 09:00 14 13 200 14,009,957 651 2 2 1 5 4 --- hard Parse bsraj0u9r9d3w 1 9297 09-FEB-2016 13:00 20 20 500 23,380,631 0 5 4 1 4 3 --- ?? bsraj0u9r9d3w 1 9294 09-FEB-2016 10:00 65 53 1,300 58,569,220 0 13 13 1 3 2 --- ?? bsraj0u9r9d3w 1 9293 09-FEB-2016 09:00 18 17 300 18,635,057 0 3 2 1 3 2 --- ?? bsraj0u9r9d3w 1 9292 09-FEB-2016 08:00 70 67 1,700 77,145,560 787 17 17 1 3 2 --- hard Parse bsraj0u9r9d3w 1 9272 08-FEB-2016 12:00 18 18 400 22,164,178 0 4 4 1 2 1 --- ?? bsraj0u9r9d3w 1 9270 08-FEB-2016 10:00 106 101 2,500 123,154,635 0 26 24 1 2 1 --- ?? bsraj0u9r9d3w 1 9269 08-FEB-2016 09:00 11 10 300 11,401,899 657 3 3 1 2 1 --- hard Parse bsraj0u9r9d3w 1 9253 07-FEB-2016 17:00 104 98 2,300 115,320,927 788 23 23 1 1 0 --- hard Parse
Thanks in advance
Reads disk do not mean that the query will invalidation thus analyze hard. Reading disc mean simply that the IO that happens from disk and it is perhaps due to the result not being not not available in memory.
I'm not sure why you use this type of analysis to check if requests are going for hard analysis or not? Why not pick up a particular query run and use TKPROF(better SQLTXPLAN) or AWR based SQRPT.sql to check the same? What is the exact issuethat, you're trying to solve?
Aman...
-
memory usage by a process of oracle on sun Solaris
Hello forum,.
I want to track the memory usage by a process of oracle on sun solaris 64-bit SPARC system.
I tried to do it by the command of the PMAC, but I found that the output for each pid (process oracle) is even around 8GB. Please note that the 8 GB is the size of our LMS.
Please let me know the command by which I can check that "how much memory that uses an oracle on Sun Solaris Sparc 64-bit server process.
Thank you
SharadSee http://tech.e2sn.com/oracle/performance/unix-performance-tools/process-memory-matrix
Hemant K Collette
-
CPU Oracle patch process for Oracle shared houses-Stand alone case
Hello-
I have a scenario where I apply CPU/Security Patch [CPUOCT2013] on Oracle 11.2.0.3.0 on Linux. I have 3 databases SID1, SID2 & SID3 all sharing the same $ORACLE_HOME and contain the init and spfiles files in the same directory of $ORACLE_HOME/dbs and other. Now, I need to apply the patch on a SINGLE instance of SID1 (for which I have approval for the stopping of the DB, which is a requirement for the processor). What is the method to be applied to the single SID and not others? I know that we apply patch to ORACLE_HOME, so I am confused, that way I can move forward. Please respond with your expertise and experience.
Thank you
Your process sounds good to me - the best way to check is to do this in a test environment that is closest (if not identical) to the production as possible. You will also need to update file/etc/oratab as necessary to reflect the new OH
The environment variables that I refer above are at the OS level, not in the init.ora. See Oracle database administration. If there are any values in the init.ora that point to the old OH (I can't think at all), who will have to be changed too.
HTH
Srini -
Error processing query ORACLE - data 01403:no found
We have overcome the issue of the blank page by applying the patch to APEX 4.2.2.
Now us patched/upgraded to the APEX 4.2.3 and no longer have the issue of the blank page, but have it which sounds similar:
I'm trying here, since I do not receive debugging messages - POST goes in and returns immediately with the not found error of data.
APEX 4.2.3
APEX auditor 2.0.2
GlassFish 4.0
Apps install OK and can display the login page (see), but trying to connect (I agree).
immediately get this error:
Error processing the request
ORA-010403: no data found
Debug messages displays only show entries - nothing, not even the first line of Accept.
Firebug shows similar - Post (which seems OK) the immediate response is the error page and the message.
I don't have access to papers APEX listener tonight, but expect to get for them, or that someone check them
outside, AM tomorrow.
Any ideas or suggestions?
This happens on all applications (15) except one. Still trying to discern the different in this app vs other.
Thank you-
The issue proved to be a model of incorrect page, where two #FORM_OPEN # guidelines were originally several presentation key. Remove the 2nd #FORM_OPEN # the page template (and we had them in the Page of Login model and the standard page template by default) and everything works fine.
Use of the APEX listener discovered the issue who had been there all along.
Deployment via the HTTP server, it was never a visible problem.
This series of applications was built in HTMLDB 2.0 and updated several times. Not to say how long this 2nd #FORM_OPEN # has been there. Am just happy that it's over now.
He also had to move some process on our login page before mind in the front regions for them to work properly, because of the shift in exactly when the APEX 4.1.1 + apps treat before and other things after the header. See the help article on the element in Compatibility Mode in the properties of the Application for more information.
Our upgrade was from APEX to APEX 4.2.3 4.1.0 not a big jump but significant in this respect.
Also see this link for more information be aware of the Login/Logout process during the passage of 4.1 APEX APEX 4.1.1 and higher:
Login/Logout Handling in Apex 4.1.1 | Christophs 2 Cents of Oracle
Thank you all for the suggestions which led me to track down,
Karen
-
Unable to start process manager Oracle OBIEE windows services
Hello
I have OBIEE 11 g installed on a 32-bit windows machine. The two windows services installed, I am unable to start the Oracle process manager. When I try to launch it I get the following error:
Error 1053: The service did not demand launch or timely control.
In the end, this service call the file opmn.exe which is located at MIDDLEWAREHOME\Oracle_BI1\opmn\bin. Trying to run this file is the error we get:
The procedure entry point longjmp could not be located in the dynamic link library orauts.dll
I tried to replace the orauts.dll file, but in vain.
Please let me know if you have any idea about what needs to be done.
Thank you
NamanHi Naman,
Please delete. It is the cause of this problem. Make sure that you have only one way at Oracle.
Rgds,
DpKa -
Hello
I have the following provision in the xml:
< csg >
< ecrminput id = '000000001' >
< xml id = "001" title = "CustomerId" > blah blah blah < / xml >
< xml id = "002" title = "ContactId" > blah blah blah < / xml >
< xml id = '003' title = "CustomerNo" > blah blah blah0 < / xml >
< xml id = "500" title = "Attribute" > blah blah blah < / xml >
< xml id = "500" title = "Attribute" > blah blah blah < / xml >
< xml id = "1027" title = "Booking Code" > blah blah blah < / xml >
< xml id = "1028" title = "Payment Reference" > blah blah blah < / xml >
< xml id = "1029" title = 'Number of buyer' > blah blah blah < / xml >
< / ecrminput >
< ecrminput id = "000000002" >
< xml id = "001" title = "CustomerId" > blah blah blah < / xml >
< xml id = "002" title = "ContactId" > blah blah blah < / xml >
< xml id = "500" title = "Attribute" > blah blah blah < / xml >
< xml id = "500" title = "Attribute" > blah blah blah < / xml >
< xml id = "1027" title = "Booking Code" > blah blah blah < / xml >
< xml id = "1028" title = "Payment Reference" > blah blah blah < / xml >
< xml id = "1029" title = 'Number of buyer' > blah blah blah < / xml >
< xml id = "1016" title = "Call-ID" > blah blah blah < / xml >
< / ecrminput >
< / csg >
and I need to find the best way to load this in oracle and extract the node information. The solution I came up with that is to load the xml document into a table with the field of clob, then extracted using a similar like syntax type below:
SELECT a.*,
DBMS_LOB. InStr (XmlType.getclobval (Attribute),' > AUGUST < ')
from (SELECT extractvalue (value (xml_sequence) "," ecrminput/xml[@title="CustomerId"]') CustomerId,)
Extract (value (xml_sequence) "," ecrminput/xml[@title="Attribute"]'), attribute
OF xml_lfc donnees_xml,.
table (XMLSequence (Extract (XmlType (xml_DATA), ' / csg/ecrminput "))) xml_sequence);
This works when the file is small, but I need load and process a file more 6 000 000 records as part of the initial charge.
Any ideas? I tried going down the road of xmlschema, but the xml file can have different fields of each record and the < xml = "500" title = "Attribute" id > tag may be repeated several times for each record also.
Return of 1,000 records using the syntax above takes about 60 seconds. I use this on oracle 10g so am not able to use the index for xmltypes stuff.
See you soon.
Published by: user7989950 on July 7, 2010 23:48
Published by: user7989950 on July 7, 2010 23:53Here's a starter DBMS_XMLDOM for you to have a game with...
declare v_xml XMLTYPE := XMLTYPE('
blah blah blah blah blah blah blah blah blah0 blah blah blah blah blah blah blah blah blah blah blah blah blah blah blah blah blah blah blah blah blah blah blah blah blah blah blah blah blah blah blah blah blah blah blah blah blah blah blah processnode; END; Currently, who's out like that...
Child Nodes Found: 2 Tag: ecrminput Attribute: id Value: 000000001 Child Nodes Found: 8 Tag: xml Attribute: id Value: 001 Attribute: title Value: CustomerId Child Nodes Found: 1 Text: blah blah blah Tag: xml Attribute: id Value: 002 Attribute: title Value: ContactId Child Nodes Found: 1 Text: blah blah blah Tag: xml Attribute: id Value: 003 Attribute: title Value: CustomerNo Child Nodes Found: 1 Text: blah blah blah0 Tag: xml Attribute: id Value: 500 Attribute: title Value: Attribute Child Nodes Found: 1 Text: blah blah blah Tag: xml Attribute: id Value: 500 Attribute: title Value: Attribute Child Nodes Found: 1 Text: blah blah blah Tag: xml Attribute: id Value: 1027 Attribute: title Value: Reservation Code Child Nodes Found: 1 Text: blah blah blah Tag: xml Attribute: id Value: 1028 Attribute: title Value: Payment Reference Child Nodes Found: 1 Text: blah blah blah Tag: xml Attribute: id Value: 1029 Attribute: title Value: Purchaser Customer Number Child Nodes Found: 1 Text: blah blah blah Tag: ecrminput Attribute: id Value: 000000002 Child Nodes Found: 8 Tag: xml Attribute: id Value: 001 Attribute: title Value: CustomerId Child Nodes Found: 1 Text: blah blah blah Tag: xml Attribute: id Value: 002 Attribute: title Value: ContactId Child Nodes Found: 1 Text: blah blah blah Tag: xml Attribute: id Value: 500 Attribute: title Value: Attribute Child Nodes Found: 1 Text: blah blah blah Tag: xml Attribute: id Value: 500 Attribute: title Value: Attribute Child Nodes Found: 1 Text: blah blah blah Tag: xml Attribute: id Value: 1027 Attribute: title Value: Reservation Code Child Nodes Found: 1 Text: blah blah blah Tag: xml Attribute: id Value: 1028 Attribute: title Value: Payment Reference Child Nodes Found: 1 Text: blah blah blah Tag: xml Attribute: id Value: 1029 Attribute: title Value: Purchaser Customer Number Child Nodes Found: 1 Text: blah blah blah Tag: xml Attribute: id Value: 1016 Attribute: title Value: Call ID Child Nodes Found: 1 Text: blah blah blah PL/SQL procedure successfully completed. SQL>
-
Have more than 80 processes running and no programs are open I can't stop any process?
I have over 80 processes running when I'm looking just at my office and no program is open. How will I know which processes to stop? I don't want to spoil anything.
The game, October 11, 2012 01:41:27 + 0000, PaulSeghers wrote:
I have over 80 processes running when I'm looking just at my office and no program is open. How will I know which processes to stop? I don't want to spoil anything.
I recommend stopping any of them. If you do, you may get dirty
something to the top.Ken Blake, Microsoft MVP
-
Convert .xls in .csv file using pl/sql or any other method (oracle 9i)
Oracle9i Enterprise Edition Release 9.2.0.8.0 - 64 bit Production
With partitioning, OLAP and Oracle Data Mining options
Release 9.2.0.8.0 - Production jserver
10.1.2.0.2 generator
ORACLE Server Release 10.1.0.4.2
Oracle 10.1.2.0.2 procedure generator
Oracle ORACLE PL/SQL V10.1.0.4.2 - Production
Oracle 10.1.0.4.0 Production CORE
Integration Services 10.1.2.0.2 tools Oracle
Space common tools Oracle 10.1.2.0.2
Oracle Toolkit 2 for 32-bit Windows, 10.1.2.0.2 platforms
Resource object 10.1.2.0.2 store
Oracle Help 10.1.2.0.2
Oracle Sqlmgr 10.1.2.0.2
Query Oracle 10.1.2.0.2 - Production Designer
PL/SQL Editor (c) WinMain Software (www.winmain.com), v1.0 (Production)
Oracle ZRC 10.1.2.0.2
Oracle XML Developers Kit 10.1.0.4.2 - Production
Virtual graphics system Oracle 10.1.2.0.2
Image of Oracle 10.1.2.0.2
Widget media Oracle 10.1.2.0.2
The GUI utility 10.1.2.0.2 tools Oracle
I had seen a very old post of 2009.
Convert .xls in .csv file using pl/sql
I know that it s a long time but just wanted to know if there is a way to convert excel .csv.
I have a directory say 'F:\purple_top\ '. I'll get the .xls file in this directory. I need to change to .csv and tables load external oracle. Any ideas or advance coding on it since 2009 so far?
A few other options might be:
- Java code, which can be used from within Oracle, which makes use of utility libraries (e.g. Aspose.Cells) open source (for example Apache POI) or "save under" CSV, or read the source cells and their output to a CSV file.
- COM Automation, using available open source (for example, JACOB or j-interop) or commercial libraries, which can automate Excel to open a XLS file and "Save as" a CSV file. In addition, Oracle has a feature of COM Automation (available since version 8 but abandoned after Oracle 11g). I have successfully used this read (non-macro-enabled) Excel files in PL/SQL.
- Other approaches using Perl or PHP can be found by googling 'convert xls to csv.
Gerard
-
Flow of business process for Oracle Cloud
Hello
Where can I find the business process / model (BPM) runs for Oracle Cloud (Financials, HCM, sales, Service, Taleo)?
Something similar to the reference model to the Oracle BPA Suite retail (Business process architect) would be good, as long as it is relevant to Oracle Cloud.I'm looking for the level 0 (Oracle Cloud) and 1 (HCM, sales, Service, financial services, Taleo) process flow (level 2 and 3 in option).
Thank you
Franklin
I found the information required in the assistance of merger:
-
Cannot generate any form in oracle r12
Dear gurus,
Suddenly, we cannot generate any 'standard or made-to-measure' form with following error message:
frmcmp_batch Module=$AU_TOP/forms/US/INVGIPDP.fmb Userid = apps/apps compile_all = Yes module_type = batch form only = no output_file=$INV_TOP/12.0.0/forms/US/test.fmx
10.1 forms (form of the compiler) Version 10.1.2.3.0 (Production)
10.1 forms (form compiler): Release-Production
Copyright (c) 1982, 2005, Oracle. All rights reserved.
Oracle Database 11 g Enterprise Edition Release 11.2.0.3.0 - 64 bit Production
With partitioning, OLAP, Data Mining and Real Application Testing options
PL/SQL Version 10.1.0.5.0 (Production)
Oracle V10.1.2.3.0 - Production procedure generator
Oracle 10.1.2.0.0 graphic virtual system Version (Production)
Oracle Multimedia Version 10.1.2.0.2 (Production)
Oracle tools integration Version 10.1.2.0.2 (Production)
Common tools Oracle area Version 10.1.2.0.2
Oracle CORE Production 10.1.0.5.0
Compilation of specifications package APP_CUSTOM...
No compilation errors.Compilation of specifications package IPDP_TREE...
No compilation errors.Compilation of specifications package DATA_SET_CTRL...
No compilation errors.Compilation of RESULTS package specifications...
No compilation errors.Compilation of specifications package APP_CUSTOM...
No compilation errors.Compilation of the package APP_CUSTOM body...
Compile error on the APP_CUSTOM package body:
PL/SQL ERROR 302 to line 24, column 19
component 'Disabled PERSON' must be declared
PL/SQL ERROR on line 24, column 5 0
Declaration ignored
PL/SQL ERROR on line 30, column 5 201
identifier ' APP_WINDOW. CLOSE_FIRST_WINDOW' must be declared
PL/SQL ERROR on line 30, column 5 0
Declaration ignored
PL/SQL ERROR 201 to line 43, column 5
identifier ' APP_WINDOW. SET_WINDOW_POSITION' must be declared
PL/SQL ERROR at line 43, column 5 0
Declaration ignored
PL/SQL ERROR 201 at line 46, column 3
identifier ' APP_WINDOW. SET_TITLE' must be declared
PL/SQL ERROR at line 46, column 3 0
Declaration ignoredCompilation of specifications package IPDP_TREE...
No compilation errors.Compilation of the package IPDP_TREE body...
Compile error on the IPDP_TREE package body:
PL/SQL ERROR at line 43, column 26 201
identifier ' APPTREE. COLLAPSED_NODE' must be declared
PL/SQL ERROR 0 to line 43, column 3
Declaration ignored
PL/SQL ERROR on line 50, column 26 201
identifier ' APPTREE. TREE_NAME' must be declared
PL/SQL ERROR 0 in line 50, column 3
Declaration ignored
PL/SQL ERROR at line 103, column 39 201
identifier ' APPTREE. TRIGGER_NODE_USER_VALUE' must be declared
PL/SQL ERROR at line 96, column 3 0
Ignored SQL statement
PL/SQL ERROR on line 109 column 18 201
identifier ' APPTREE. TRIGGER_NODE_TYPE' must be declared
PL/SQL ERROR on line 109 column 3 0
Declaration ignored
PL/SQL ERROR on line 117, column 13 201
identifier ' APPTREE. TRIGGER_NODE_LOW_VALUE' must be declared
PL/SQL ERROR on line 117, column 5 0
Declaration ignored
PL/SQL ERROR on line 144, column 20 201
identifier ' APPTREE. TRIGGER_NODE_HIGH_VALUE' must be declared
PL/SQL ERROR on line 144, column 5 0
Declaration ignored
PL/SQL ERROR on line 148, column 26 201
identifier ' APPTREE. TREE_NAME' must be declared
PL/SQL ERROR on line 148, column 3 0
Declaration ignored
PL/SQL ERROR 201 to 159, column 6 line
identifier ' APPTREE. TRIGGER_NODE_TYPE' must be declared
PL/SQL ERROR on line 159, column 3 0
Declaration ignored
PL/SQL ERROR 201 at line 184, column 6
identifier ' APPTREE. TRIGGER_NODE_TYPE' must be declared
PL/SQL ERROR at line 184, column 3 0
Declaration ignored
PL/SQL ERROR at line 264, column 15 201
identifier ' APPTREE. FIND_TREE_NODE' must be declared
PL/SQL ERROR on line 264, column 2 0
Declaration ignored
PL/SQL ERROR on line 272, column 28 201
identifier ' APPTREE. TREE_NAME' must be declared
PL/SQL ERROR on line 272, column 5 0
Declaration ignored
PL/SQL ERROR 201 at line 275, column 16
identifier ' APPTREE. FIND_TREE_NODE' must be declared
PL/SQL ERROR at line 275, column 3 0
Declaration ignored
PL/SQL ERROR line 282, column 28 201
identifier ' APPTREE. TREE_NAME' must be declared
PL/SQL ERROR on line 282, column 5 0
Declaration ignored
PL/SQL ERROR 201 at line 290, column 6
identifier ' APPTREE. ACTION "must be declared
PL/SQL ERROR on line 290, column 3 0
Declaration ignoredCompilation of specifications package DATA_SET_CTRL...
No compilation errors.Compilation of the package DATA_SET_CTRL body...
Compile error on the DATA_SET_CTRL package body:
PL/SQL ERROR on line 30, column 7 201
identifier ' APPTREE. NEW_VIEW_BY' must be declared
PL/SQL ERROR on line 30, column 7 0
Declaration ignored
PL/SQL ERROR 201 to line 43, column 7
identifier ' APP_ITEM_PROPERTY. SET_PROPERTY' must be declared
PL/SQL ERROR at line 43, column 7 0
Declaration ignored
PL/SQL ERROR 201 at line 46, column 7
identifier ' APP_ITEM_PROPERTY. SET_PROPERTY' must be declared
PL/SQL ERROR at line 46, column 7 0
Declaration ignored
PL/SQL ERROR on line 97, column 14 201
identifier ' APP_FORM. QUIETCOMMIT' must be declared
PL/SQL ERROR on line 97, column 11 0
Declaration ignoredCompilation of RESULTS package specifications...
No compilation errors.Package body compiling the RESULTS...
No compilation errors.
Compilation errors are produced.
Form not created--------------------------------------------------------------------
DB version: 11.2.0.3
Apps version: 12.1.3
Operating system: hp - ux B.11.31 U ia64
Kindly advice.
Kind regards
Ahmed
Ahmed,
It's something should be set by your development team.
If CUSTOM.pll has been changed, you can simply determine what has changed (unless it is documented), and you will need to contact your developers to see what has changed. If you have any other instance on the same level of Group of patches, then you could replace the CUSTOM.pll file and see if it helps.
Forms must be compiled successfully on the layer node client (using Forms builder) before moving them to the server and compile again.
Thank you
Hussein
-
Hard or soft parse analysis?
Hi Experts,
If we execute a SELECT statement in SQL * MORE by passing the value using operator, if hard analysis will take place or soft the analysis?
SQL> select last_name from employees where department_id = &dept_no; Enter value for dept_no: 100 old 1: select last_name from employees where department_id = &dept_no new 1: select last_name from employees where department_id = 100 SQL> select last_name from employees where department_id = &dept_no; Enter value for dept_no: 110 old 1: select last_name from employees where department_id = &dept_no new 1: select last_name from employees where department_id = 110
When I execute V$ SQL, for each different value I see different SQL_ID. Please explain about it.
Thaks a lot in advance for your help.
See you soon,.
Suri
The analysis is the action of database server. SQL * more is tool on the client side and the substitution variables are applied on the client side. Therefore, whenever you provide another & dept_no, database will receive a new statement (one that is not in the common pool) and so, in general, it will be a difficult analysis. Why in general? This will depend on the database parameter cursor_sharing arrangement. If is set to force or similar, Oracle can substtitute
Select last_name employees where department_id = some_literal
with
Select last_name employees where department_id =: bind_variable
and then it will be soft analysis (except the first time instruction is issued the first time after it ages out shared pool).
SY.
-
Exadata - any changes in functionality between V2 / X 3 and the ESS/RDBMS?
All,
We are running a quarter V2-rack on 11.2.0.2 BP7 and 11.2.2.3.2 ESS. We're heading to a quarter-rack 3 X little which runs to regardless of recent older versions and the RDBMS/GI/ESS.
We use on our current Production environment, of hepatocellular carcinoma and discovered that with bitmap indexes (which we have a lot), it was necessary to disable the index, perform the HCC compression on the table and then rebuild the index later.
Obviously, an operation very intense when we have HUGE clues.
Anyone know if this same behavior in 11.2.0.3 ESS RDBMS/more later? We are always forced to disable the index before run us HCC on the table or have the relationship between the index bitmap and HCC cooled a bit?
Mark
Hi Mark,
You will get probably may 2013 11.2.0.3.18 (RDBMS) on 11.2.3.2.1 (ESS).
You can find some details in 888828.1 (or follow link https://updates.oracle.com/Orion/Services/download?type=readme&aru=16223374) to find what has been corrected.
Kind regards
Tycho
-
Background process in Oracle 10 g
By analyzing the number of background processes, you can get an overview of 'out of the window of the plane"the traffic of the database. But to achieve this,
Thank youwhich v$ view gives this infomation where one can derive information about number of background processes (mainly, DBWR, LGWR,PMON,SMON,CKPT iterations)?
R
Published by: Rich V on April 11, 2010 20:40session v$
SQL> select program from v$session; PROGRAM ------------------------------------------------ oracle@bcm-laptop (q001) oracle@bcm-laptop (J000) sqlplus@bcm-laptop (TNS V1-V3) oracle@bcm-laptop (q000) oracle@bcm-laptop (QMNC) oracle@bcm-laptop (MMNL) oracle@bcm-laptop (MMON) oracle@bcm-laptop (CJQ0) oracle@bcm-laptop (RECO) oracle@bcm-laptop (SMON) oracle@bcm-laptop (CKPT) PROGRAM ------------------------------------------------ oracle@bcm-laptop (LGWR) oracle@bcm-laptop (DBW0) oracle@bcm-laptop (MMAN) oracle@bcm-laptop (PSP0) oracle@bcm-laptop (PMON) 16 rows selected. SQL>
Published by: sb92075 on April 11, 2010 20:45
-
Hello! I install Apex 5.0.1 on my Oracle DB 11.2.0.1.0 64-bit Linux OS, following the: Application Express installation and configure Embedded PL/SQL Gateway but there is a problem when I try to run the @apex_epg_config.sql. I would be grateful if someone can help me
SQL> @apex_epg_config.sql /home/oracle PL/SQL procedure successfully completed. PL/SQL procedure successfully completed. PL/SQL procedure successfully completed. PL/SQL procedure successfully completed. . Loading images directory: /home/oracle/apex/images Directory created. declare * ERROR at line 1: ORA-29903: error in executing ODCIIndexFetch() routine ORA-31001: Invalid resource handle or path name "" ORA-06512: at line 39 begin * ERROR at line 1: ORA-29903: error in executing ODCIIndexFetch() routine ORA-31001: Invalid resource handle or path name "" ORA-06512: at line 2 declare * ERROR at line 1: ORA-29903: error in executing ODCIIndexFetch() routine ORA-31001: Invalid resource handle or path name "" ORA-06512: at line 6 ORA-06512: at line 57 Commit complete. Directory dropped. timing for: Load Images Elapsed: 00:00:00.13 PL/SQL procedure successfully completed. Commit complete. SQL>
Hello!
The s/n of my company's it. There was an error on the configuration of the ACL. He made the resettlement of the installation of all the ACLs and Apex worked right.
Thak you all!
Maybe you are looking for
-
Difficulties with all versions of html files since the upgrade of the Sierra
I have problems opening and dealing with htm, html, html5 files since the upgrade of the Sierra. Someone else?
-
Screen Retina MacBook Pro will not wake up
As I turn my macbook pro to El Capitan, I get a black screen after waking up, and then I Force shutdown. I tried several times reset PRAM and SMC, but it won't work. I get the same thing. On the newspapers I get the same error messages even if I was
-
Re: Satellite M305D-S4830 Volume dial strange behavior
Hello, I have a strange problem with my volume on the Satellite M305D-S4830 control button. I don't know if this error began to occur, but now my volume control button produces the letters B and C when I ride it's right/left. Here, I'll roll c/cw-cw
-
5740 HP Office Jet: unable to print photography with windows 10
Just upgrade to windows 10 I tried to print a photo and I get the message "internal error." Don't know what that means. I can print docs very well. I can scan and record properly.
-
My doughters each have an Itouch. They want the other text, but they are both the same account. How can I enable them to trxt each other.