Number of SQL Version in AWR and child cursor
HelloIn 11.1.0.7, which is Version SQL count in AWR report? What it means? and how oracle performs this version? How do we define child cursor?
Thank you
Hello
Take a look at http://viveklsharma.wordpress.com/2009/09/12/ql/
Concerning
Anand
Tags: Database
Similar Questions
-
Application of program compatibility does not start
I use a database program in a number of previous versions of windows and windows 7 does not allow the program to launch denial of service. What gives?If you have Windows 7 64 bit without BACK program can run because there is no 16-bit subsystem to run it.
Try dosbox http://www.dosbox.com/. If that won't work your program, you'll need either a new database or run the BACK or on a 32-bit version of Windows in a virtual machine like VirtualBox https://www.virtualbox.org/.
-
Cursors for parent and child, bind variable and library cache
I was going through the documentation to understand the difference between the parent and the child cursors. Surprisingly, there's not too much help for this. I was able to collect the following information about this
For each statement SQL cache library contains a cursor "parent" for the text of the SQL statement. The parent cursor is composed of a "handle" that can be searched by the hash value via the library cache hash table and an «object' which contains pointers to each of its «child» cursors Each cursor of the child is also composed of a handle and an object. The child object is composed of two segments numbered from 0 to 6. Lot 0 contains all the credentials for a particular version of the SQL statement and lot 6 contains the execution plan. This distinction between parent and child cursors is maintained even when there is only one version of each SQL statement.
Lets say that 2 LMD were fired with the same set of variables bind (names of variables were same but differed from the value.) The only difference between the 2 LMD was the value of the variable binding) and under the same conditions of load.
These DML 2 would be a sliders 2 children of one parent only cursors.
Please tell me detailed documentation on the subject, so my question is too elementary
Kind regards
VishalI'm not sure how useful jumping in stuff like bunch 0 and 6 bunch is in terms of understanding what is a parent and what is a child cursor.
This quote seems to come from Steve Adams - http://www.ixora.com.au/q+a/0104/19005414.htm
It's a good idea to cite your references.I'll give it a go.
A cursor is a lot of information stored in memory on a SQL statement.
The basic information for a parent cursor is the text of the SQL statement - exact matches of the statement can only share the parent cursor.
The cursor of the child is really on the implementation plan specific for a statement and the different settings and parameters that caused this plan to be generated.
There are a whole bunch of reasons why the executions of the same SQL statement may or may not reuse the existing child cursors.
In your example 2 statements that differ by the variable binding are likely to lead to different children, although there are factors that can lead to lie different values, do not share the same children among whom for example, the length of the dregs, Adaptive setting cursor_sharing = similar and histograms, or new features like cursor sharing (on subsequent runs of renowned sql running suboptimal initially).
It might be useful to see V$ SQL_SHARED_CURSOR. This shows the disparities that cause children to not be shared. There are more than 60 columns in this view which gives an indication of the number of factors that can influence.
http://download.Oracle.com/docs/CD/E11882_01/server.112/e17110/dynviews_3059.htm#REFRN30254You might want to look here the criteria for sharing SQL:
http://download.Oracle.com/docs/CD/E11882_01/server.112/e16638/memory.htm#i40017Away from the main documentation, perhaps some of the writings of the optimizer Development Group could help?
http://blogs.Oracle.com/mt/mt-search.cgi?blog_id=3361&tag=cursor%20sharing&limit=20Christian Antognini described this area very well in the "Oracle Performance Troubleshooting Guide".
Published by: Dom Brooks on February 24, 2011 16:45
-
How to check the version of windows and the number of bits?
Dear Sir
As I could not download and watch a video show, I was told to check the version of windows and the number of bits. I remembered the upgrade to version 10 of Windows when you are prompted before. However, when I clicked on 'This PC' to check the C:\ drive, it shows Windows8_OS (C :). It is quite misleading. Can I know how to check & confirm the correct version of Windows and where to find the number of bits as well?
Thank you.
Looks like you're on windows 10, but after the upgrade is not changed the label of the hard drive.
Type winver in the run box-press windows key + R box simultaneously.
If the Windows 10 Build 10XXX State, you're on windows 10.
Simply right click C: / and select Rename and rename the drive in Windows10OS or what you want.
As far as the pieces is concerned, the PC this right click > properties and see the following line:
-
More than 1 SQL query with checkbox and error invalid number report
Hi all
I have two SQL query reports that each has an apex_item.checkbox and two processes for each report. A report/process works very well. It gives me an error of invalid number.
In addition, another query SQL (editable report) gives me the following error when using the Multi line process, delete.
ORA-06502: PL/SQL: digital or value error: character number conversion
error ORA-06502: PL/SQL: digital or value error: character number conversion
errorOk When I got a report from SQL query (with box and a process) and the query SQL (editable report) everything worked. It stopped working when I added another SQL query report (with box and a process).
A SQL query has the following in my query: apex_item.checkbox(3,email_id,'UNCHECKED') ""
The other SQL query has the following: apex_item.checkbox(2,b.file_id,'UNCHECKED') ""
Any help will be greatly appreciated,
Sylvia
Hi Reema,
I've recreated the region and now it works!
Thank you for this, looking at
Sylvia
-
Hi, I just paid for this 11euros per month thing, for Lr and Psalm I had the trial version installed before and now I paid, I can not connect to the bloody thing, it asks me to enter a serial number, which I did not... someone has a solution for me please...?
-
I need a new serial number for my version cs4 premium design mideastern I am owner and you want to load on my new mac with system 10.11.2. yesterday, I got a number and told to download it from your site, but what ends by was not a version of mideastern. I sent rashid, who gave me an email address to write, but received no answer for this question. I always use the cs4 on my imac provious but need to start working on the new and the serial number on my Inbox no longer. Varda
You can retrieve your serial number of your mac to work,
-
where can I find the serial number on my version running under current license of fireworks CS6? I want to uninstall and re install on a new machine
-
Parsing sql - cursor parent and child
Hi all
What is the parent and child when parsing sql cursor?
Thank you
JohnWell, as Anand mentioned you could yourself. Here's a demo of the workaround based. Based on the change of environment, the sliders would be created and will not be shared that I made using the change of parameter of optimizer_mode. This is done in 11201 with the setting optimizer_features_enable on 10201.
SQL> drop table t purge; Table dropped. SQL> select sql_text from V$sqlarea where sql_text like 'select * from t%'; SQL_TEXT -------------------------------------------------------------------------------- select * from t SQL> alter system flush shared_pool; System altered. SQL> select sql_text from V$sqlarea where sql_text like 'select * from t%'; no rows selected SQL> save a Created file a.sql SQL> select * from t; select * from t * ERROR at line 1: ORA-00942: table or view does not exist SQL> create table t(a char); Table created. SQL> select * from t; no rows selected SQL> select sql_text from V$sqlarea where sql_text like 'select * from t%'; SQL_TEXT -------------------------------------------------------------------------------- select * from t SQL> select * from T; no rows selected SQL> select sql_text from V$sqlarea where sql_text like 'select * from t%'; SQL_TEXT -------------------------------------------------------------------------------- select * from t SQL> select sql_text from V$sqlarea where sql_text like 'select * from t%' or sql_text like 'select * from T%'; SQL_TEXT -------------------------------------------------------------------------------- select * from t select * from T SQL> select sql_text,version_count, executions from V$sqlarea where sql_text like 'select * from t%' or sql_text like 'select * from T%'; SQL_TEXT -------------------------------------------------------------------------------- VERSION_COUNT EXECUTIONS ------------- ---------- select * from t 1 1 select * from T 1 1 SQL> column sql_text format a40 SQL> / SQL_TEXT VERSION_COUNT EXECUTIONS ---------------------------------------- ------------- ---------- select * from t 1 1 select * from T 1 1 SQL> select * from T; no rows selected SQL> select sql_text from V$sqlarea where sql_text like 'select * from t%' or sql_text like 'select * from T%'; SQL_TEXT ---------------------------------------- select * from t select * from T SQL> select sql_text,version_count, executions from V$sqlarea where sql_text like 'select * from t%' or sql_text like 'select * from T%'; SQL_TEXT VERSION_COUNT EXECUTIONS ---------------------------------------- ------------- ---------- select * from t 1 1 select * from T 1 2 SQL> alter session set optimizer_mode=first_rows; Session altered. SQL> select * from T; no rows selected SQL> select * from t; no rows selected SQL> select sql_text,version_count, executions from V$sqlarea where sql_text like 'select * from t%' or sql_text like 'select * from T%'; SQL_TEXT VERSION_COUNT EXECUTIONS ---------------------------------------- ------------- ---------- select * from t 1 1 select * from test_sharing where id=:a 1 3 select * from test_sharing where id=1 1 0 select * from test_sharing where id=99 1 0 select * from T 2 3 SQL> select sql_text, child_number, optimizer_mode, plan_hash_value from V$sql where sql_text like 'select * from t%' or sql_text like 'select * fro SQL_TEXT CHILD_NUMBER OPTIMIZER_ PLAN_HASH_VALUE ---------------------------------------- ------------ ---------- --------------- select * from t 0 FIRST_ROWS 1601196873 select * from test_sharing where id=:a 0 ALL_ROWS 3492249339 select * from test_sharing where id=1 0 ALL_ROWS 3492249339 select * from test_sharing where id=99 0 ALL_ROWS 2354865636 select * from T 0 ALL_ROWS 1601196873 select * from T 1 FIRST_ROWS 1601196873 6 rows selected. SQL> alter session set optimizer_mode=first_rows_1; Session altered. SQL> select * from t; no rows selected SQL> select * from T; no rows selected SQL> select sql_text, child_number, optimizer_mode, plan_hash_value from V$sql where sql_text like 'select * from t%' or sql_text like 'select * fro SQL_TEXT CHILD_NUMBER OPTIMIZER_ PLAN_HASH_VALUE ---------------------------------------- ------------ ---------- --------------- select * from t 0 FIRST_ROWS 1601196873 select * from test_sharing where id=:a 0 ALL_ROWS 3492249339 select * from test_sharing where id=1 0 ALL_ROWS 3492249339 select * from test_sharing where id=99 0 ALL_ROWS 2354865636 select * from T 0 ALL_ROWS 1601196873 select * from T 1 FIRST_ROWS 1601196873 6 rows selected. SQL> alter session set sql_trace=true; Session altered. SQL> alter session set optimizer_mode=first_rows_1; Session altered. SQL> select * from t; no rows selected SQL> select * from T; no rows selected SQL> select sql_text,version_count, executions from V$sqlarea where sql_text like 'select * from t%' or sql_text like 'select * from T%'; SQL_TEXT VERSION_COUNT EXECUTIONS ---------------------------------------- ------------- ---------- select * from t 2 3 select * from test_sharing where id=:a 1 3 select * from test_sharing where id=1 1 0 select * from test_sharing where id=99 1 0 select * from T 3 5 SQL> select sql_text, child_number, optimizer_mode, plan_hash_value from V$sql where sql_text like 'select * from t%' or sql_text like 'select * fro SQL_TEXT CHILD_NUMBER OPTIMIZER_ PLAN_HASH_VALUE ---------------------------------------- ------------ ---------- --------------- select * from t 0 FIRST_ROWS 1601196873 select * from t 1 FIRST_ROWS 1601196873 select * from test_sharing where id=:a 0 ALL_ROWS 3492249339 select * from test_sharing where id=1 0 ALL_ROWS 3492249339 select * from test_sharing where id=99 0 ALL_ROWS 2354865636 select * from T 0 ALL_ROWS 1601196873 select * from T 1 FIRST_ROWS 1601196873 select * from T 2 FIRST_ROWS 1601196873 8 rows selected. SQL> select sql_id,sql_text, child_number, optimizer_mode, plan_hash_value from V$sql where sql_text like 'select * from t%' or sql_text like 'selec SQL_ID SQL_TEXT CHILD_NUMBER OPTIMIZER_ ------------- ---------------------------------------- ------------ ---------- PLAN_HASH_VALUE --------------- 89km4qj1thh13 select * from t 0 FIRST_ROWS 1601196873 89km4qj1thh13 select * from t 1 FIRST_ROWS 1601196873 7gbgb5nzcdcf3 select * from test_sharing where id=:a 0 ALL_ROWS 3492249339 SQL_ID SQL_TEXT CHILD_NUMBER OPTIMIZER_ ------------- ---------------------------------------- ------------ ---------- PLAN_HASH_VALUE --------------- 0890tcnrf5jsv select * from test_sharing where id=1 0 ALL_ROWS 3492249339 7hg3cujy0ya0r select * from test_sharing where id=99 0 ALL_ROWS 2354865636 ahgbnyrbh7bp1 select * from T 0 ALL_ROWS 1601196873 SQL_ID SQL_TEXT CHILD_NUMBER OPTIMIZER_ ------------- ---------------------------------------- ------------ ---------- PLAN_HASH_VALUE --------------- ahgbnyrbh7bp1 select * from T 1 FIRST_ROWS 1601196873 ahgbnyrbh7bp1 select * from T 2 FIRST_ROWS 1601196873 8 rows selected. SQL> set pagesize 9999 SQL> / SQL_ID SQL_TEXT CHILD_NUMBER OPTIMIZER_ ------------- ---------------------------------------- ------------ ---------- PLAN_HASH_VALUE --------------- 89km4qj1thh13 select * from t 0 FIRST_ROWS 1601196873 89km4qj1thh13 select * from t 1 FIRST_ROWS 1601196873 7gbgb5nzcdcf3 select * from test_sharing where id=:a 0 ALL_ROWS 3492249339 0890tcnrf5jsv select * from test_sharing where id=1 0 ALL_ROWS 3492249339 7hg3cujy0ya0r select * from test_sharing where id=99 0 ALL_ROWS 2354865636 ahgbnyrbh7bp1 select * from T 0 ALL_ROWS 1601196873 ahgbnyrbh7bp1 select * from T 1 FIRST_ROWS 1601196873 ahgbnyrbh7bp1 select * from T 2 FIRST_ROWS 1601196873 8 rows selected. SQL> set linesize 200 SQL> / SQL_ID SQL_TEXT CHILD_NUMBER OPTIMIZER_ PLAN_HASH_VALUE ------------- ---------------------------------------- ------------ ---------- --------------- 89km4qj1thh13 select * from t 0 FIRST_ROWS 1601196873 89km4qj1thh13 select * from t 1 FIRST_ROWS 1601196873 7gbgb5nzcdcf3 select * from test_sharing where id=:a 0 ALL_ROWS 3492249339 0890tcnrf5jsv select * from test_sharing where id=1 0 ALL_ROWS 3492249339 7hg3cujy0ya0r select * from test_sharing where id=99 0 ALL_ROWS 2354865636 ahgbnyrbh7bp1 select * from T 0 ALL_ROWS 1601196873 ahgbnyrbh7bp1 select * from T 1 FIRST_ROWS 1601196873 ahgbnyrbh7bp1 select * from T 2 FIRST_ROWS 1601196873 8 rows selected. SQL> select child_number, child_address, stats_row_mismatch, optimizer_mode_mismatch 2 from v$sql_shared_cursor where sql_id='ahgbnyrbh7bp1'; CHILD_NUMBER CHILD_AD S O ------------ -------- - - 0 1A610050 N N 1 1F148DA4 N Y 2 1A630C90 Y N SQL>
You can see an inconsistency in the optimizer_mode resulting in another creation of child cursor. You can try to use the parameter cursor_sharing similar value and bind variables that would also cause child several sliders to create. For the view V$ sql_shared_cursor, check the docs.
HTH
Aman...PS: Please don't bump up to the thread. This is not support so people are not forced to update immediately. All are volunteers so assume that they would update the thread as and when they have / get time to do.
-
Review of details of AWR and ASH reports
Hello...
is there than a documentation on AWR and ASH reports so that the report is studied in detail...
For an example
IN the report of the ASH
If you take Section TOP SQL with TOP events section...
There are number of columns such as SQLID, Planhash, sampled # executions, % activity, event, high-ranking Source, TEXT SQL
Here this column sampled number of executions a number of times where SQL has been executed... right...?
and another high-ranking Source column wrote his ACCESS TABLE - FULL or any group by clause etc.
In the example above, just like that I want to study in detail with each section of the AWR and ASH report
See you soon...Hello
I have a few articles abour AWR in my blog:
http://Savvinov.com/2012/09/10/a-map-to-AWR-report/
Maybe they can help you to a certain extent.
However, you must understand is no detailed instructions on reading AWR, because:
(1) AWR is just a collection of performance statistics, so read requires an understanding Oracle performance and how it is measured rather something specific to CWA
(2) practical experience is most important theoretical knowledge of tham
Best regards
Nikolai -
I was able to load videos 26 then he stopped down. I checked the preferences, the version is 4.9.24, I can see that the video is listed next to the icon, when I drag the mouse over it.
I support download icon, when the video is running. I click next to the icon and choose the game I want, on fast download I see it loads, but no dwhelper. dosnt download or convert a number appears next to the icon and its listed in the queue draft.exe
There is a problem with DownloadHelper Firefox 36. They are working on a new version, you can download and help test this discussion page:
https://groups.Google.com/Forum/#! Forum/video-video downloadhelper-5
-
I installed a different version/version of Windows and now the SDM does not work in "Update" mode
This can occur when some system that HP did not specifically tests with the model is installed and often happens with models and Windows Ultimate edition (or even 64-bit editions on some older models) before Windows 8 Ultimate.
Because SDM detects the new operating system, but it cannot match in the SDM catalog, he (SDM) will disable mode "Update." However, please note that you can still use SDM mode 'All products' to download your SoftPaqs by doing as follows (the Probook 4730 s is used as an example):- Press the "view all products" in the SDM toolbar
- If a dialog box warning that "no operating system have been selected, then skip to step.
- Press OK to close the dialog box.
- Check the «Microsoft Windows 7 Professional 64 Edition»
- Click on the tab "language filter".
- 'English - International' is checked.
- Press the OK button.
- Now, expand the tree on the left side of the SDM application by selecting the following:
- HP Probook Notebook PC Series 4700
- HP Probook 4730 s Notebook PC
- Microsoft Windows 7 Professional Edition 64
- Check the box 'international - English.
- Press the button "find available SoftPaqs.
- After "things calm down", click on the button "See the last SoftPaqs" at the top right of the application of SDM.
The latest list of the Softpaqs for your model should now be displayed. We recommend that you download all listed SoftPaqs. This whole new way SoftPaqs are released for this model will appear on the top list titled "Available SoftPaqs" display.
To install a SoftPaq after downloading, do the SoftPaq to the ListView "Downloaded SoftPaqs" right click and select "install SoftPaq.
Important note: most SoftPaqs listed using the method above should apply to your model, but a small number of SoftPaqs might not be applicable to your model due to the offers of different material for your model. This means that not all listed SoftPaqs will install on your model and that is normal.
-
How to determine the number of rows in the database and save the result to a local variable?
Hello
I'm a newbie in the use of TestStand, databases and SQL, and now I've met difficulties. I use TestStand 2014 (32 bit).
I have a need to know the number of rows in a database and save that number in a local variable. I tried to practice using the database of the Types of step provided with TS. I tried to use the following in a SQL statement:
Locals.NumberOfRows = ("SELECT COUNT (*) FROM TEST_TABLE")
It returns an error: specified value is not the expected type. My goal is possible in this way, or I'm doing this completely wrong?
-RautSa
Thank you for your response, Norbert. I have a database of who wins new values at random, and sometimes I need the exact number of rows in this table.
I managed to achieve my goal by using the SQL statement: "SELECT COUNT (*) as Rowcount OF TEST_TABLE", followed by a data GET operation, which records that number of lines in a local variable.
-RautSa
-
SQL Server Management Studio and SQL Azure
Hello:
I want to test SQL Azure - before be recommended to a customer.
The last time I performed a test of SQL Azure - I couldn't use SQL Server Management Studio to:
- Create tables with table designer
- Add - or remove - the columns of the tables with table designer
- Create diagrams
You know, the basic things you need to do to build, manage a database. Then... I told my customer that they would be better to stay with SQL Server, until Microsoft up to speed with SSMS.
Now I heard the new SSMS versions allow the use of designer tables and diagrams with SQL Azure. My questions are:
- Is it true that newer versions of SSMS for use of the table Design and diagramming with SQL Azure?
- If Yes, what version of SSMS and what version of SQL Azure?
Thanks in advance - MM
Hello
Post your request in the forum for better support.
Thank you.
-
What is the difference between a version of MAR and the software win7 INKL?
* Original title: MAR v INKL
What is the difference between a version of MAR and the software win7 INKL?
Hello
Thanks for posting your query in Microsoft Community.
- What exactly you're talking about when you say, 'Version INKL of Windows 7?
I'll be happy to answer your query, however, please explain more about abbreviation INKL. There is a version called Office of ink that is used in the Tablet PC.
Here's the other version of Windows, you can make reference to:
MAR - Microsoft Authorized Reacondicionador
A new PC requires a version of windows with a new key license installed if purchased from a manufacturer.
A refurbished PC is allowed to use an existing product key (2nd hand if you like) as long as it is always delivered with a certificate of authenticity (COA). This is referred to as MAR (Microsoft authorized Reacondicionador) which means that Microsoft allows to use existing keys/licenses products.
Buy a version of windows means MAR technically you buy a second hand copy - being however, software, so it comes with COST, will make absolutely no difference at all.
N and KN editions
The features in N and KN Editions are the same full versions of their equivalent, but do not include Windows Media Player or other technologies related to Windows Media, such as Windows Media Center and Windows DVD Maker because of the limits set by the European Union and South Korea, respectively. The cost of n and KN Editions are the same as the full versions, as the Media Feature Pack for Windows 7 N and Windows 7 KN can be downloaded for free from Microsoft.
- Generations of VL
-
VL builds work with VLK (volume license key). Volume license keys can be used to activate multiple installations of the software without a mechanism (for example, a product activation mechanism) controls the total number of facilities. The license for the software is going to impose restrictions on the use of the key. In general, the license will limit the key to a certain number of facilities which must be only the Organization of the licensee and also to place the holder under the obligation to keep a record of the number of facilities, hold confidential and perhaps even require that the holder organization makes available for a software license check check that his use of the key is in the terms of the license.Please let us know what exactly are you referring to when you say version INKL of Windows 7, so we can further research and answer.
Hope this information is useful. Please feel free to answer in the case where you are facing in the future other problems with Windows.
Maybe you are looking for
-
Dynamically change the path of the report
Is it possible to dynamically change the path where reports are saved. TestStand 4.1.1
-
NEED A HP SOFTWARE OR DRIVER TO RUN WEBCAM.
Hello I HAVE A COMPAQ PRESARIO CQ42-173TU. AND IN IT, I INSTALLED WINDOWS 7 ULTIMATE (32 BIT). HE BUILT THE WEB CAM (HP WEBCAM-101). YOU CAN GIVE ME PLS WITH HP SOFTWARE TO RUN MY WEBCAM. Thank you PRESARIO CQ42-173TU, processor intel core i3 - 330 m
-
Phoenix - AwardBIOS v6.00PG update
Phoenix - AwardBIOS v6.00PG can only be updated via 3rd party paid programs I don't need. Surelt there must be another way? I have urgent need of updated mine
-
Try to install autocad architecture 2012and get 1603 error log.
I have Vista 64-bit with Service pack two. I'm having a problem when trying to install autocad architecture 2012. The installation will fail and the error log indicates Visual C++ 2008 has begun and then abandoned... error 1603. My continuous automat
-
I "lost" my screen about 1/2 in. in the right margin and about 1 inch down. May not know how to get it "centered" back on the moitor? Thank you.