What gets the relationship between the number of blocks and coherent?
SQL> CREATE TABLE TEST(ID INT ,NAME VARCHAR2(10));
SQL> CREATE INDEX IND_IDN ON TEST(ID);
SQL> BEGIN
2 FOR I IN 1 .. 1000
3 LOOP
4 EXECUTE IMMEDIATE 'INSERT INTO TEST VALUES('||I||',''LONION'')';
5 END LOOP;
6 COMMIT;
7 END;
8 /
SQL> EXEC DBMS_STATS.GATHER_TABLE_STATS(USER,'TEST',CASCADE=>TRUE);
SQL> SELECT DISTINCT DBMS_ROWID.rowid_block_number(ROWID) BLOCKS FROM TEST;
BLOCKS
-----------
61762
61764
61763
>> above , there have 3 blocks in table TEST .
SQL> SET AUTOTRACE TRACEONLY;
SQL> SELECT * FROM TEST;
Execution Plan
----------------------------------------------------------
Plan hash value: 1357081020
--------------------------------------------------------------------------
| Id | Operation | Name | Rows | Bytes | Cost (%CPU)| Time |
--------------------------------------------------------------------------
| 0 | SELECT STATEMENT | | 1000 | 10000 | 2 (0)| 00:00:01 |
| 1 | TABLE ACCESS FULL| TEST | 1000 | 10000 | 2 (0)| 00:00:01 |
--------------------------------------------------------------------------
Statistics information
----------------------------------------------------------
0 recursive calls
0 db block gets
72 consistent gets >> there have 72 consistent gets
0 physical reads
0 redo size
24957 bytes sent via SQL*Net to client
1111 bytes received via SQL*Net from client
68 SQL*Net roundtrips to/from client
0 sorts (memory)
0 sorts (disk)
1000 rows processed
SQL> SELECT /*+ INDEX_FFS(TEST IND_IDN)*/ * FROM TEST WHERE ID IS NOT NULL;
Execution Plan
----------------------------------------------------------
Plan hash value: 1357081020
--------------------------------------------------------------------------
| Id | Operation | Name | Rows | Bytes | Cost (%CPU)| Time |
--------------------------------------------------------------------------
| 0 | SELECT STATEMENT | | 1000 | 10000 | 2 (0)| 00:00:01 |
|* 1 | TABLE ACCESS FULL| TEST | 1000 | 10000 | 2 (0)| 00:00:01 |
--------------------------------------------------------------------------
Predicate Information (identified by operation id):
---------------------------------------------------
1 - filter("ID" IS NOT NULL)
Statistics information
----------------------------------------------------------
1 recursive calls
0 db block gets
72 consistent gets >> there have 72 consistent gets
0 physical reads
0 redo size
17759 bytes sent via SQL*Net to client
1111 bytes received via SQL*Net from client
68 SQL*Net roundtrips to/from client
0 sorts (memory)
0 sorts (disk)
1000 rows processed
SQL> SELECT COUNT(*) FROM TEST;
Execution Plan
----------------------------------------------------------
Plan hash value: 1950795681
-------------------------------------------------------------------
| Id | Operation | Name | Rows | Cost (%CPU)| Time |
-------------------------------------------------------------------
| 0 | SELECT STATEMENT | | 1 | 2 (0)| 00:00:01 |
| 1 | SORT AGGREGATE | | 1 | | |
| 2 | TABLE ACCESS FULL| TEST | 1000 | 2 (0)| 00:00:01 |
-------------------------------------------------------------------
Statistics information
----------------------------------------------------------
0 recursive calls
0 db block gets
5 consistent gets >> there have 5 consistent gets
0 physical reads
0 redo size
408 bytes sent via SQL*Net to client
385 bytes received via SQL*Net from client
2 SQL*Net roundtrips to/from client
0 sorts (memory)
0 sorts (disk)
1 rows processed
SQL> SELECT COUNT(*) FROM TEST WHERE ID IS NOT NULL;
Execution Plan
----------------------------------------------------------
Plan hash value: 735384656
--------------------------------------------------------------------------------
-
| Id | Operation | Name | Rows | Bytes | Cost (%CPU)| Time
|
--------------------------------------------------------------------------------
-
| 0 | SELECT STATEMENT | | 1 | 4 | 2 (0)| 00:00:01
|
| 1 | SORT AGGREGATE | | 1 | 4 | |
|
|* 2 | INDEX FAST FULL SCAN| IND_IDN | 1000 | 4000 | 2 (0)| 00:00:01
|
--------------------------------------------------------------------------------
-
Predicate Information (identified by operation id):
---------------------------------------------------
2 - filter("ID" IS NOT NULL)
Statistics information
----------------------------------------------------------
0 recursive calls
0 db block gets
5 consistent gets >> there have 5 consistent gets
0 physical reads
0 redo size
408 bytes sent via SQL*Net to client
385 bytes received via SQL*Net from client
2 SQL*Net roundtrips to/from client
0 sorts (memory)
0 sorts (disk)
1 rows processed
SQL> SELECT COUNT(ID) FROM TEST WHERE ID IS NOT NULL;
Execution Plan
----------------------------------------------------------
Plan hash value: 735384656
--------------------------------------------------------------------------------
-
| Id | Operation | Name | Rows | Bytes | Cost (%CPU)| Time
|
--------------------------------------------------------------------------------
-
| 0 | SELECT STATEMENT | | 1 | 4 | 2 (0)| 00:00:01
|
| 1 | SORT AGGREGATE | | 1 | 4 | |
|
|* 2 | INDEX FAST FULL SCAN| IND_IDN | 1000 | 4000 | 2 (0)| 00:00:01
|
--------------------------------------------------------------------------------
-
Predicate Information (identified by operation id):
---------------------------------------------------
2 - filter("ID" IS NOT NULL)
Statistics information
----------------------------------------------------------
0 recursive calls
0 db block gets
5 consistent gets >> there have 5 consistent gets
0 physical reads
0 redo size
409 bytes sent via SQL*Net to client
385 bytes received via SQL*Net from client
2 SQL*Net roundtrips to/from client
0 sorts (memory)
0 sorts (disk)
1 rows processed
QUESTION:What gets the relationship between the number of blocks and coherent? How to calculate become consistent?
You can see that your uniform is getting down to 6 to 12, is it not? Reading of the below thread Asktom.
http://asktom.Oracle.com/pls/Apex/f?p=100:11:0:P11_QUESTION_ID:880343948514
Aman...
Tags: Database
Similar Questions
-
What is the number of processors and maximum memory options in MSCONFIG?
MSCONFIG (START)... Who can tell me what that? !!
http://www.HTPC-reviews.com/wp-content/uploads/2012/08/speedup_windows7.jpgThis photo... It's the MSCONFIG window
64-bit Windows 7
who can tell me what is 'exactly' the real role of:
-Number of processors
-Maximum memorybecause
I have i7 with 8 processors and when I chose (number of processors) 8 processors, that nothing has changed! It's same as 0.
and I have 6 GB of ram and when I chose (maximum memory) = 6 GB, nothing has changed, but became 5 GB in the Task Manager!What is - c!
can someone help me please!
HelloThese options to limit the use of processors and memory to the specified value. If you want windows to use all available processors and memory, you must leave two options not controlled.When the number of processors option is set to zero, Windows will use all available processors.If you recently changed the processors, this may help: http://answers.microsoft.com/en-us/windows/forum/windows_7-hardware/howto-get-windows-7-to-detect-your-new-multi-core/71519d51-f6cb-47df-b3ff-66c2928d6de4Hope this information is useful.
-
Excel: Get the number of spreadsheets and each worksheet name
Hello
I need to read the total number of worksheets in a workbook and the name of each worksheet.
Can someone please give me a pointer to the right features?Thank you
GregHello
the following code is used to retrieve the name of each sheet to a workbook given as string 'name '. It assumes that you are using the library ActiveX Excel (excel2000.fp) and displays only the code corresponding to this task: code to launch Excel and connect it to the worksheet is not displayed, you can take it from the Excel example installed with CVI.
long nSheets;
int i;
char * name = NULL;errChk (Excel_GetProperty (ExcelAppHandle, NULL, Excel_AppSheets, CAVT_OBJHANDLE, & ExcelSheetsHandle));
errChk (Excel_GetProperty (ExcelSheetsHandle, NULL, Excel_SheetsCount, CAVT_LONG, & nSheets));
<= nsheets;="" i++)="">=>
errChk (Excel_SheetsItem (ExcelSheetsHandle, NULL, CA_VariantInt (i), & ExcelWorksheetHandle));
errChk (Excel_GetProperty (ExcelWorksheetHandle, Excel_WorksheetName, NULL, CAVT_CSTRING, &name));))Add code to manage the content of 'name' here
CA_FreeMemory (name);
errChk (ClearObjHandle (& ExcelWorksheetHandle));
}When dealing with ActiveX, remember to dispose of all handles allocated before closing the application, otherwise a task Excel remain pending in the system and prevent the connection with it.
macro errChk is taken from the Toolbox of the programming interface: you can he strip or add toolbox.fp to your project.
I can't help you in case you intend to use ExcvelReport.fp because I do not use it in my business.
-
What is the density of block &; how to calculate?
Dear all,
Please tell me what is the density of block and how to calculate the value os block density?
How does it effect the block or block size?
Thanks in advance
OusseniHi ousseni,.
Block density is the number of cells in a block that has a percentage value relative to the total number of cells in the block.
Block of density = (number of cells in a block which have a value / total number of cells in the block) x 100
Density of block shows the effectiveness of your dense settings are rare. The largest and its value, more the compression rate. This means that there are only a small number of cells with the missing value.
I hope this helps.
Sam
-
I can't get the number 5 and 6 of my key Board that is
I can't get the number 5 and 6 on my key Board that happen about two hours ago please help me on fixing the problem
Hello bigarthur, this is what is happening in the different programs that you use on your computer or just in firefox?
-
Ideas: I'm trying to download the updates to my computer, but can't. I get the error code 646 and the download fails. I tried to download the update several times, but get the same answer. What is the problem?
- Pragrams you have problems with
- Error messages
- Recent changes to your computer
- What you have already tried to solve the problem
Remember - this is a public forum so never post private information such as numbers of mail or telephone!
Hello
Try this 1st to see if it helps, and it should:
Description of the Patch registration cleanup tool
http://support.Microsoft.com/kb/976220/------------------------------------------------------
If necessary :
Try this - Panel - Windows Updates - on every update that will not be installed - click on the important updates
or the update itself - double click a view more information (or click top then discovers on the right)Those who will take you to a page where you can download the update.
Or go here and the KBxxxxxx number to download it.
Download Center - mount the KBxxxxxx.
Microsoft Download Center
http://www.Microsoft.com/downloads/en/default.aspxDownload - SAVE - go to where you put them - click on - RUN AS ADMIN
Then you can right click on the update in the updates Windows and HIDE.
If you get an error Installer install this version:
Windows install 4.5 Redistributable
http://www.Microsoft.com/downloads/details.aspx?FamilyId=5A58B56F-60B6-4412-95B9-54D056D6F9F4&displaylang=en----------------------------------------------------
Then run this:
How to reset the Windows Update components? -a Mr Fixit
http://support.Microsoft.com/kb/971058Description of the system for Windows Vista, Windows Server 2008, update tool and
for Windows 7
http://support.Microsoft.com/kb/947821------------------------------------------------------------
Because these are all Office updates you might get more information if necessary in the Agency of those groups that
may have experienced the same problem.Office newsgroups
http://www.Microsoft.com/Office/Community/en-us/FlyoutOverview.mspxMicrosoft.public.office.misc discussions
http://www.Microsoft.com/communities/newsgroups/list/en-us/default.aspx?DG=Microsoft.public.Office.misc&cat=en_us_01cb749f-c998-4762-8099-df71793c11c7&lang=en&CR=us------------------------------------------------------------
If necessary you can incident free get reports however the above should take care of it for you.
Windows updates - free Incident report
Go here and click on-> Windows Update fails while searching, downloading or installation of updates
http://support.Microsoft.com/GP/wusupport#tab3The security updates, you can get free support Incident report
http://www.Microsoft.com/protect/resources/support.aspxI hope this helps.
Rob - bicycle - Mark Twain said it is good. -
How to get the number of entries in the navigation menu?
How to get the number of entries in the navigation menu? Check the image. What it shows 8 number of customers and 10 products and 10 orders in the list. How to get it?
--
Thank you
Hello
Create items of the request saying, "CUSTOMERS", "PRODUCTS" and "ORDERS".
Create the application process that defines these items when loading the page for example
C1 in select count (*) NTC (of customer_table)
loop
: CUSTOMERS: = c1.cnt;
end loop;
C1 in select count (*) NTC (of products_table)
loop
PRODUCTS: = c1.cnt;
end loop;
C1 in select count (*) NTC (of orders_table)
loop
: ORDERS: = c1.cnt;
end loop;
Components shared Open-> Navigation bar and change:
In the entry list Label-> customers & CLIENTS.]
-
Get the number of days in a month based on the month and year of fields
I have a column in my form which lists the days in a month. I want to configure a hidden field that calculates the total number of days in a month, based on the month and year of the field inputs. The number of days will determine what appears on the column. For example, if I put 4 months, and 2016 in the field of the year, I get 30 in the hidden field. Thus, on the column 'Day', I'll have numbers 1-30. Or if I put 2 months and 2016 in the field of the year, I get the 29 in the hidden field. If the numbers 1-29 appears in the column 'day '.
Found this on some forum javascript code:
//Month is 1 based
function daysInMonth(month,year) {
return new Date(year, month, 0).getDate();
}
//July
daysInMonth(7,2009); //31
//February
daysInMonth(2,2009); //28
daysInMonth(2,2008); //29I do not know how to convert this code in JavaScript to adobe and don't really know how to use it. All I know how to do is to configure the field values for the field month and year as variables. I am a novice programmer and would appreciate it really all the help I can get. Thank you in advance!
The code seems to be JavaScript and runs as needed by using the JavaScript console.
I would like to consider making more general code, so if you have a date string that includes at least the month and year we could just call the function and get the number of days for that month.
The following script will calculate the number of days in a month, by using at least the month and year values can display the result on the JavaScript console and all of the value field for the field that has this code as the custom calculation Script.
function daysInMonth (oDate) {}
return new Date (oDate.getFullYear (), oDate.getMonth () + 1, 0) .getDate ();
}nMonth var = this.getField("Month").valueAsString; get the value of month;
nYear var = this.getField("Year").valueAsString; get the value of the year;Event.Value = "";
If (nMonth! = "" & nYear!) = "") {}
var MyDate = util.scand ("' / mm/yyyy ', nMonth +" / "+ nYear); convert to date object;
var nDaysInMonth = daysInMonth (MyDate); get the number of days;Console.Open (); Open the JavaScript console;
Console.clear(); clear the console;
Console.println ("Days in" + nMonth + ":" + nDaysInMonth); show days in month;
Event.Value = nDaysInMonth; Set the value of the field;
}
-
get the number of the day of the week - any national locale is used
Hi all
My need is to get the number of the day of the week - any national local is used.
For example, Saturday's 6th day of the week in my country, because the week starts on Monday.
I heard that some countries start the week of Sunday.
So my need is to compile code that does not depend on local national.
How can I make it?
Oracle Database 11 g Enterprise Edition Release 11.2.0.1.0 - 64 bit Production
PL/SQL Release 11.2.0.1.0 - Production
"CORE 11.2.0.1.0 Production."
AMT for Linux: Version 11.2.0.1.0 - Production
NLSRTL Version 11.2.0.1.0 - Production
Hello
2621671 wrote:
Hi all
My need is to get the number of the day of the week - any national local is used.
For example, Saturday's 6th day of the week in my country, because the week starts on Monday.
...
That's what you asked for, whatever your NLS settings:
1 + TRUNC (dt) - TRUNC (dt, 'IW')
If dt is a DATE, TRUNC (dt, 'IW') is the beginning of the ISO week containing dt. ISO weeks always start on Monday, whatever NLS_TERRITORY, or other NLS parameters.
I heard that some countries start the week of Sunday.
So my need is to compile code that does not depend on local national.
How can I make it?
-
Get the number of CPU of the machine virtual and carrots
Hello
I tried the following, but failed to get the number of CPUS the VM and carrots. What I am doing wrong?
Of course, try like this
$myCol = @)
foreach ($cluster Get-cluster)
{
foreach ($vmhost in ($cluster |)) Get - VMHost))
{
foreach ($vm in (Get-VM-location $vmhost)) {}
$VMView = $vm | Get-View
$VMSummary = "" | Select NOMCLUSTER, HostName, VMName, VMSockets, VMCores, CPUSockets, CPUCores
$VMSummary.ClusterName = $cluster. Name
$VMSummary.HostName = $vmhost. Name
$VMSummary.VMName = $vm. Name
$VMSummary.VMSockets = $VMView.Config.Hardware.NumCpu
$VMSummary.VMCores = $VMView.Config.Hardware.NumCoresPerSocket
$VMSummary.CPUSockets = $vmhost. ExtensionData.Hardware.CpuInfo.NumCpuPackages
$VMSummary.CPUCores = $vmhost. ExtensionData.Hardware.CpuInfo.NumCpuCores
$myCol += $VMSummary
}
}
}
-
PowerCLI - get the number of cores per processor and number of Sockets
Greetings,
We are responsible to give a list of all our virtual machines with their host name, the number of CPUs, the BONES and the number of cores per processor for verification.
I immediately said that this would not be a problem with PowerCLI. However I seem to have more trouble with it than expected.
Get the number of CPUS is not a problem, but the time wherever I want to divide the number of cores and the number of sockets, it seems to hit a dead end.
I found the following entries of the community concerned:
Machine virtual access avancΘs | VMware vSphere Blog - VMware Blogs
Parameters to retrieve and set Advanced Configuration (VMX) VM
But neither seemed to give me the right input. The advanced configuration settings do not appear to contain the number of cores/sockets and Get-View and Get - VM normal controls do not seem to differentiate between carrots and the power outlets and just give the number of processors.
Because we need these settings for a check I doubt I'm the first to need this information. Does anyone have an idea how to get this information?
Please note that it is the number of cores and casings of a VM, not an ESXi host.
Thanks in advance,
Bram
$result = @) $vms = get - view - ViewType VirtualMachine {foreach ($vm to $vms) $obj = new-object psobject $obj | Add-Member - MemberType NoteProperty-name name - value $vm. Name $obj | Add-Member - MemberType NoteProperty - name CPUSocket-$vm.config.hardware.NumCPU value $obj | Add-Member - MemberType NoteProperty - name Corepersocket-$vm.config.hardware.NumCoresPerSocket value $result += $obj } $result -
get the number of layer of selectedLayers array
I have "app.project.activeItem.selectedLayers", which returns an arbitrary collection of layers of the model. It can be layer 2, 5, 6 etc in the chronology of the model. However in my collection of selectedLayers they are referenced by index IE. 0,1,2 or 3. Is there a method to get the number of layers in the comp? for example, if selectedLayers [0] refers to the layer 2 How can I access the layer number.
I think that's what you hear:
app.project.activeItem.selectedLayers [0] .index
Dan
-
Get the number of frame composition before
Hello. I want to get the number of frame of earlier compositions.
For example, there are "composition A" and there "pre - A composition".
When I play the composition A, composition A pre has also started only playing, but pre composition impetus frame No 3.
This means that if the composition is the frame 1, composition A pre is on frame 3.
I want to get this picture of composition pre A number. What should I do?
"In Action script 3, I can easily get image number of the layer type"mcA.currentFrame "" "
I want to do something like this in AE. as 'thisComp. mcA, currentFrame.
If I understand what you are doing, and these two compositions have the same rate, it could do:
timeToFrames (time - thisComp.layer("precomp_A").startTime)
Dan
-
How do I get the number of minutes each
Oracle DB 10
Hi all
I have using this query to get the number of records retrieved by the simultaneous min program,
SELECT count (distinct b.attribute2)
oe_order_headers_all a, oe_order_lines_all b
where a.header_id = b.header_id
and b.flow_status_code = 'AWAIT_QUINTIQ_BOOK. '
and to_Char (b.last_update_date, 'DD-MON-YYYY HH24:MI:SS'), between January 19, 2011 02:00:01 ' AND
JANUARY 19, 2011 02:00:02 '
This allows to get the number of records retrieved in a min.
How to find the count of the last 10 minutes, IE 1 mins County 2.00 to 2.10
Thanks and greetings
Srikkanth.MThis South for minute work wise County:
Select To_Char(b.last_update_date,'DD-MON-YYYY HH24:MI') DT, count (distinct b.attribute2)
oe_order_headers_all a, oe_order_lines_all b
where a.header_id = b.header_id
and b.flow_status_code = 'AWAIT_QUINTIQ_BOOK. '
and to_Char (b.last_update_date, 'DD-MON-YYYY HH24:MI:SS'), between January 19, 2011 02:00 ' AND
"JANUARY 19, 2011 02:10.
GROUP BY To_Char (b.last_update_date, 'DD-MON-YYYY HH24') -
How to get the number of items in a tilelist
I write for a flex using FlexSelenium application test scenarios and I need to get the number of items in the tilelist component.
I know that the tilelist is powered by a table. but I can not access this table of my test scenario.
Can someone tell me how I can get the number of items in a tilelist on the application? What property of the tilelist can provide this number?
Try tileList.dataProvider.length;
Maybe you are looking for
-
Hello world So I updated my iPhone 6 Plus and my iPad Pro 12.9 "IOS 10 and since then I can not send TEXT messages from my iPad. I receive them properly but just cannot send their right. iMessages but just seem to work well. Any suggestions? Thank yo
-
AppleTV will connect to a specific mac only
Our AppleTV connects only to a specific office mac, no other Apple product is ready to connect. Need help as quickly as possible, it must be done before Monday.
-
RN104 freezes when you make significant transfers via USB 3.0 on 6.4.0
My RN10400 works great since the purchase. However, I have never transferred via USB abundantly; all data have been loaded on the network. Now I have a lot of folders on a drive HARD USB 3.0 that I try to move to the NAS. When I try to copy on it wil
-
Source of 2 X 9 containers for 2630
Does anyone know a source of power blocks 2 X 9 IDC to mate with the NOR-2630 to wiring connection block? The specification identifies a Samtec component which doesn't seem to be available now. Most of the containers double row IDC I see on the marke
-
PC shutdown after installing the Vista SP2
I could not read the message whenever this happened because my PC stops automatically, this never happened until I installed SP2. I couldn't install it before until I released the space by moving thousands of videos on a 2 TB hard drive. So what is h