block gets24 consistent gets0 physical reads0 redo size11846823 bytes sent via SQL * Net to client733734 bytes encoded ed via SQL * Net from client66668 SQL * Net roundtrips to/from client1 sorts (memory)0 sorts (disk)1000000 rows processed
In this case, not only the network I/O, but also the cache I/O takes 13.50 seconds.
With autotrace, we feel that using PL/SQL functions in SQL is slower than using SQL statements directly.
Note: The AUTOTRACE information is not obvious here. You can use the
; oradebug event 10046 trace name context off
The following content is the content in the trace file.
==================================Parsing in cursor #47006443926880 len = 27 dep = 0 uid = 0 oct = 3 lid = 0 tim = 2879240721898379 hv = 2413634929 ad = '9e709620 'sqlid = '4wn49u27xu9bj'Select * from hr. testEND OF STMTPARSE #47006443926880: c = 378943, e = 2562085, p = 13, cr = 721, cu = 0, mis = 1, r = 0, dep = 0, og = 1, plh = 121040406, tim = 287
Method 1 for querying table field attributes in Oracle: search for all indexes in the table (including index names, types, and columns): select t. *, I. index_type from user_ind_columns t, user_indexes I where t. index_name = I. index_name and t. table_name = I. table_name and t. table_name = Name of the table to be queried 2. Search for the table's primary key (including the name and column composition): select cu. * from user_cons_columns
from user_ind_columns t, user_indexes I where t. index_name = I. index_name and t. table_name = I. table_name and t. table_name = table to be queried
2. Search for the table's primary key (including the name and column composition). The table name is written as follows:
Select cu. * from user_cons_columns cu, user_constraints au where cu. constraint_name = au. c
View all tables in Oracle:
Select * From TAB/dba_tables/dba_objects/CAT;
View the table created by the user:
Select table_name from user_tables; // The table of the current user
Select table_name from all_tables; // tables of all users
Select table_name from dba_tables; // includes the system table
Select * From user_indexes // all user table indexes can be queried.
Query all user tables in all_tables
Primary Key name and foreign key in all_constraints
Index in all_indexes
However, the primary k
ORACLE: primary key, foreign key, Uniqueness constraint, and index of the query (View) Table
1To search for all indexes of a table (including index names, types, and columns ):Select T. *, I. index_type from user_ind_columns T, user_indexes I where T. index_name = I. index_name and T. table_name = I. table_name and T. table_name =Table Name
2, Query the table's primary key (including the name, which constitutes a column ):Select cu. * From user_co
|------------------------------------------ + ----------------------------------- +Here we can see that there are differences in the execution plan. offline rebuild index creates an index through the existing index fts and sorting, the online rebuild index creates an index through the existing table fts and sort sorting. We can see that the objects in the two rebuild methods are different, in the trace of 10053 offline rebuild index, the cbo analysis's optional execution plan does not have the
Description has a cave in Byteotia. It contains n chambers and some tunnels connect them. There is only one unique path between each of the Chambers to connect them. Hansel hid the treasure in one of the chambers, but it would not say where it was. Gretel want to know. When she asks if there is a treasure in a cave room, if she guessed it, Hansel would tell her if he guessed wrong, he would tell her which direction there would be a treasure. Given the cave's information, no matter where the Hans
PHP php after page change, the problem of serial number
$MYSQL->query ("Select Cu.*,cy.name from Customer cu,custtype cy where 1=1 and Cu.code=cy.code limit 0,18");
for ($i =1; $i $MYSQL->fetch ($i);
$customerid = $MYSQL->data[customerid]; Customer number
$KSName = $MYSQL->data[ksname]; User name-abbreviation
echo "$i"; Serial number
echo "$customerid"; Customer number
echo "$KSName"; User name-abbreviati
.locate ('cu _ no', stest, [])==> Of course, you can find
If stest is 'ac ':Table1.locate ('cu _ no', stest, [])==> Not foundTable1.locate ('cu _ no', stest, [lopartialkey])==> Find the record 'acjc kingsichin.Because the set contains the lopartialkey project, 'ac' is the same as 'acjc'The first two characters, even if the length of the two characters is not equ
C # group statistics on the practical application of Linq and Lamda expressions,
When creating statistical charts in a project, you need to perform grouping statistics on the queried list data. The first thought is to avoid frequent operations on the database.
Eg:
// Group the Cu elements in the list by year GroupBy // contains the year, average value, maximum value, total number // write Method 1: lamda expression write method (recommended) var li
In addition to writing Cuda code directly in a project using CU or Cuh, you can place the Cuda related action code in a DLL project, compile the project into a dynamic-link library dll, and then refer to the DLL in the project you want to use and call its internal functions.
Now create a new DLL project with the project name Test00302, as shown in the following illustration:
Now create a new file named Test.cu in your project, as shown in the follow
1. Search all indexes of a table (including index names, types, and columns): selectt. *, I. index_typefromuser_ind_columnst, user_indexesi
1. query all indexes of a table (including index names, types, and columns): select t. *, I. index_type from user_ind_columns t, user_indexes I
1. Search for all indexes of a table (including index names, types, and columns ):
Select t. *, I. index_type from user_ind_columns t, user_indexes I where t. index_name = I. index_name and t. table_name = I. ta
, in this case the SCN can be pushed directly. However, when we do the following, we find that it does not work:Alter session SET Events ' 10015 trace name ADJUST_SCN level 13740′;Further through the 10046 trace Trace, the SQL was accessed with the following blocks:
Parsing in CURSOR #5 len=52 dep=1 uid=0 oct=3 lid=0 tim=1422682994194207 hv=429618617 ad= ' 395fa870 'Select CTime, Mtime, stime from obj$ where obj# =: 1End of STMTPARSE #5: c=0,e=225,p=0,cr=0,
/TOOLKIT/lib and D:/programming/Cuda/SDK/common/libSource files: D:/programming/Cuda/SDK/common/src
Go to VC ++ Project Settings: C/C ++ file extensions: Add *. cu. In text editor-File Extension: Add Cu to Microsoft Vc ++ editor.
6. Visual assist x settings:Close all open Visual Studio, and then go to the Registry Editor: HKEY_CURRENT_USER/software/whole tomato/vanet8 to find the extsource item on the right
of articles is that you can solve the above problem without deleting all the configuration files from the beginning.
Let's get started.
Each configuration file is actually a plist file signed with PKCS #7.PKCSA set of public key cryptography standards.PKCS #7Is the standard of the encryption message syntax. Apple uses this standard to sign the plist file, through the signature, OS (Operating System) verify that the installed program is from a valid developer (after verification, you can know w
Oracle DBAs for IT ninja turtles are commonly used to query enumeration of vomiting blood, oracledba
-1. query all objects in the systemSelect owner, object_name, object_type, created, last_ddl_time, timestamp, statusFrom dba_objectsWhere owner = upper ('Scott ')
-2. view all tables in the systemSelect owner, table_name, tablespace_name from dba_tables
-3. View tables of all usersSelect owner, table_name, tablespace_name from all_tables
-4. view the current user tableSelect table_name, tablespac
The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion;
products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the
content of the page makes you feel confusing, please write us an email, we will handle the problem
within 5 days after receiving your email.
If you find any instances of plagiarism from the community, please send an email to:
info-contact@alibabacloud.com
and provide relevant evidence. A staff member will contact you within 5 working days.