Tags: training institutions RAC training database ACL android Oracle database ora AgencyNow that I've been testing, I've learned about Android before, I've been through some databases, I didn't know much about it, and I'm not sure how to get Oracle DBA to do a preliminary plan here:1. Search for the process of obtaining an Or
Label:This article is original article, reprint please indicate source: http://blog.csdn.net/msdnchina/article/details/42425491Hardware engineers move storage (new plus storage, do other things for storage), and before they do, Oracle DBA is ready to work:1.VG information hpux:vgdisplay,pvdisplay, Vgdisplay-v vg_data Aix is: Lsvg-o, lsvg,lsvg datavg,lsvg-l datavg, LSPV 2.OCR + VD information (if RAC)
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 queri
Oracle copy tables, temporary tables, and viewsCreate a new_table table with the same structure as the old_table Table (no old_table Records)
Create table new_table as select * from old_table where 1 = 0;
Create a new_table table with the same structure as the old_table Table (records with old_table)
Create table new_table as select * from old_table;
Copy one
-----------------------------------------------------------------------Total 3615 365.73 417.76 478241 11442742 26505 11568114
In this test case, the partition COT_IND01_P37 contains nearly 10 million pieces of data, which takes nearly 7 minutes. If the partition data reaches 0.1 billion pieces, the time should be more than 1 hour. If the Hash Partition Number is an integer power of 2 recommended by Oracle, we will add a new partition that doubles the
Comment is a keyword for Oracle database system, so it can be used to name an indication or field nameThe comment keyword is used to annotate tables and fields, enabling users to understand the structure of a table and the meaning of a database object.Thirdly, the user can query the data information of the table or field through the data dictionary view, and the corresponding view can be queried as follows:
1. Check the number of tables in the specified user table in the SQL statement of Oracle (provided by Koko)
Bytes ------------------------------------------------------------------------------------------------------------
Syntax:
Select * From dba_tables t where T. Owner = 'user id ';
Dba_tables: a dba with Permissions
User ID:
The final reason for the investigation is due to an issue with the Oracle database itself parameter settings.1. How to adjust the memory and CPU for the virtual machine:OAKCLI Configure VM Uat-ihub-oracle-db-prefnode 1-maxvcpu 8–vcpu 8-maxmemory 16g-memory 16G2. Add a disk:OAKCLI Create Vdisk uatdb_vdisk-repo sharedrepo-size 50g-type gkfxOAKCLI Modify VM Uat-ihub-oracle
Tags: style color data SP AMP c work AD managementORACLE DBA responsibility is basically equivalent to daily work.0. Database design1. Creation and management of schema Objects (table, index, etc.)2. Management of things, such as concurrency3. SQL Tuning4. User management, Rights Management5. Real-time operational monitoring (with Toad, Statspack), for SQL-related content, tuning------------------------------------------------------------------------
Tags: Oracle online convertBefore the Oracle12.2 version, if you want to convert a non-partitioned table to a partitioned table, there are several ways to do this: 1. Build the partition table and insert the data into the partition table with the INSERT into SELECT, 2, use the method of online redefinition (dbms_redefinition). Their currency is: the first method, if the table has frequent DML operations, especially the update operation, you need to st
link is not# Sqlnet.ora Network Configuration File:d:\app\user\product\11.2.0\dbhome_3\network\admin\sqlnet.ora# Generated by Oracle configuration tools.# This file was actually generated by NETCA. But if customers choose to# install ' Software only ', this file wont exist and without the native# Authentication, they'll is not being able to connect to the database on NT.Sqlnet. Authentication_services= (NTS)NAMES. Directory_path= (TNSNames, Ezconnect
Some people on the Internet have provided the best optimization ideas for the application of temporary tables in Oracle temporary tables: 1. first, extract the records that meet the conditions in the large table to generate a temporary table. 2. then, associate the small temporary table with another small table. regardless of whether the thinking is debatable or
. If you create a global temporary table named # employeesAny user in the data table can perform operations on the table. If the table is not used by other users after you create it, delete it when you disconnect it. If the table is createdOtherwise, SQL Server deletes the table after all users are disconnected.Different:1. the SQL Server temporary table is a "memory table", which is stored in the memory. The Oracle temporary table is stored in the da
Temporary tablesIn Oracle, a temporary table is "static," which, like a regular datasheet, needs to be created only once, and its structure is valid for the entire period from creation to deletion. In contrast to other types of tables, a temporary table allocates space for the user when the data is actually added to the table, and the allocated space is from the temporary table space. This avoids data conte
Introduction to the use of dual tables in Oracle and the use of oracledual tables
Dual is a virtual table used to form the select syntax rule. oracle ensures that there will always be only one record in dual. We can use it to do a lot of things, as shown below:
1. view the current user. You can execute the following st
Some people on the Internet have provided the best optimization ideas: 1. first, extract the records that meet the conditions in the large table to generate a temporary table. 2. then, compare the small temporary table with another small table.
Some people on the Internet have provided the best optimization ideas: 1. first, extract the records that meet the conditions in the large table to generate a temporary table. 2. then, compare the small temporary table with another small table.
Some
Some people on the Internet have provided the best optimization ideas:
1. Extract the records that meet the conditions in the large table to generate a temporary table.
2. Associate the small temporary table with another small table.
No matter whether the thinking is worth discussing, it is very worthy of recognition to regard the temporary table as a transfer station.
Temporary tables are essentially cache representations. Temporary
Oracle used a temporary table to return data tables and found many articles about the returned data tables in the stored procedure. We found that there is a big difference between oracle and SQL server. SQL server can directly return data tables in the stored procedure,
enter to start data import.
Quickly clear the table content: truncate table xxxx/truncate table user. xxxx note: the user is the database user, which is to clear the user's XXXX table content.
Copy data from a table to another table: Create Table YYY as select * From uuu. Copy the data in the uuu table to yyy.
It can also be copied to other users in Oracle on the same server (using user as an example): Create Table user. YYY as select * From uuu
Crea
Search Oracle-locked tables and unlock SQL code: selectobject_name, machine, s. sid, s. serial # fromv $ locked_objectl, dba_objectso, v $ sessi
Search Oracle-locked tables and unlock SQL code: select object_name, machine, s. sid, s. serial # from v $ locked_object l, dba_objects o, v $ sessi
Search
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.