This is a sophomore writing in the QQ space in an article, I remember that the problem took me the whole day to fix it, so experienced quite deep, so at that time deliberately recorded the process of the settlement, and today suddenly have the interest to find out a few college writing in the spaces in the article and share with you, In case something like that happened to me, it would take a lot of time, and the following is the full contents of the record:Today login with the user Scott landed
Tags: evel group span user false standard value RAC BSPQuery scripts that Oracle DBA must master:1: Querying the size of Oracle standard data blocks by V$parameter data fields1 ----Query the size of the Oracle standard data block by v$parameter the data dictionary.
2[Email protected]> startup3ORACLE instance started.4
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
The Oracle 11g R2 DBA Operations Guide was the first book I learned about Oracle database knowledge, where I recorded my own learning notes, and I verified the knowledge points in the book by actual operation.1.Oracle Database Foundation 1.1. relational database 1.1.1. relational Database model 1. relational Database
resource_limit=true;The Nineth chapter: User Management1.create a user:database authenticationSql> create user Juncky identified by Oracle default Tablespace usersSql> Temporary tablespace temp quota 10m on data password expiresql> [Account Lock|unlock] [profile Profilename|default];2.change User quota on Tablespacesql> ALTER user juncky quota 0 on users;3.drop a usersql> drop User Juncky [cascade];4. Monitor UserView:dba_users, Dba_ts_quotasTenth ch
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
. Import role DataA. First enter the DOS consoleB, enter the exported data directory, such as: CD C:/userdirC, Input command, IMPD, enter user name, password, import this data to the userE, followed by the return, enter key can beF, prompt to enter the user name, password, this is the data from which user to export, is that user's10. Sqlplus Common CommandsA, set Linesize 120 can set the Sqlplus display buffer size;B, set pageSize 20 to set the display size per pageC, edit the current SQL statem
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------------------------------------------------------------------------
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
patch to prevent memory leaks.3. How to find the session of Oracle with a special resource for the system and the statements it executes.Hp-unix can be used with GLANCE,TOP,IBM Aix topas, and PS commands are also available. By using these programs we can find the process numbers of these processes that are particularly large with system resources, and we can find out which SQL the PID is executing by using
statistics, calculate */select count (*) from ScheMa.tablename; --Statistics out the total number of rows in the table select DISTINCT (ind_row) from Schema.tablename; --the distinct value of the column in which the index is counted--is then calculated purely by hand?/* Query waits for events */select event, sum (Decode (wait_time, 0, 1, 0)) "Current Wait", Sum (Decode (wai T_time, 0, 0, 1)) "Not currently waiting", COUNT (*) "Total" from v$session_wait GROUP by event ORDER by Count (*) desc;
Notes on common Oracle commands and common oracle commands
Login without a password: sys as sysdba
View all current databases: select */name from v $ database;
View the current database connection user: show user
View All Tables of the current data: select table_name from all_tables;
View Structure: for ex
Summary of Common commands for executing scripts in Oracle databases and common commands in oracle
1. Execute an SQL script file
Copy codeThe Code is as follows:Sqlplus user/pass @ servicename
Or
Copy codeThe Code is as follows:SQL> start file_names
Or
Copy codeThe Code is as follows:SQL> @ file_name
We can save multi
Summary of Common commands used to execute scripts in oracle databases and common commands used in oracle
1. Execute an SQL script file
The Code is as follows:Sqlplus user/pass @ servicename OrSQL> start file_namesOrSQL> @ file_name
We can save multiple SQL statements in a text file, so that when we want to execute all
Common Oracle commands for creating users, tablespaces, and role commandsThe following articles mainly introduce how to view the table structure in common Oracle commands. If you are interested in the actual operating solution of how to view the table structure in common Oracle
control, cross-operating systems, data interoperability across hardware platforms, support for multi-user, transaction handling of event volumes, and portability.-Oracle 11g Installation tutorials are not detailed, see https://jingyan.baidu.com/article/363872eccfb9266e4aa16f5d.html Web page-Oracle 11g Uninstall: First find the directory App\administrator\product\11.2.0\dbhome_1\deinstall, Click Deinstall.b
name, restart the machine, and then delete it.
6. Introduction of Oracle Management tools:
1.Oracle of the tool software, mainly for the execution of SQL statements and PL/n blocks;
How to use: Sql*plus in the Start menu, or SQLPLUSW in the run bar, or Sql*plus Worksheet in the Start menu;
2.sqlplus DOS operation Oracle Tool, its func
connected users.
SHUTDOWN TRANSACTIONAL
This option can only be used after Oracle 8i. This command is often used to plan to shut down the database. It completes the execution of active transactions that are currently connected to the system. After running this command, any new connections and transactions are not allowed. After any active transaction is completed, the database will be shut down in the same way as shutdown immediate.
SHUTDOWN ABORT
Th
Tags: character dev large database information Management DBA needs to run develop fromI. Classification of databases I. Classification of databases1. Small database: Access, Foxbase2. Medium database: Informix, SQL Server, MySQL3. Large database: Sybase, DB2, Oracle Second, how to reasonably use the database in the project, can be based on the following three aspects to start1, the size of the projectA, h
Oracle Delete user commands and partial commandsDrop user user_name cascade;Drop user user_name cascade;CREATE TABLE SpaceCREATE tablespace DATA01DataFile '/oracle/oradata/db/data01.dbf ' SIZE 500MUNIFORM SIZE 128k; #指定区尺寸为128k, if not specified, the zone size defaults to 64kDelete Table spaceDROP tablespace data01 including CONTENTS and datafiles;I. Create a tab
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.