Host IP Address: 10.1.1.x Gateway: 10.1.1.1Virtual Machine node IP address (created on local workstation): 10.1.1.101~253 Gateway: 10.1.1.1Teacher Machine (VNC): 10.1.1.250Teaching Production library ip:10.1.3.3 do not use this virtual device.Shared
Phased shutdown of 3.oracle databases3.1 Placing the database from the open state into the Mount stateSql> ALTER DATABASE close;Database altered.Close all data files and log files3.2 Unloading the database, placing the Nomount state from the Mount
Iii. Introduction to data dictionaries and dynamic performance views1. Data Dictionary of the database(1) Dba_ data dictionary for all objects of a whole libraryOnly system users have permission queries(2) All_ object created by current user + other
Use the Dept table under the Scott account;SELECT * FROM Dept order by Deptno;Ten ACCOUNTING NEW YORKDALLASSALES CHICAGOOPERATIONS BOSTONFor demonstration convenience, insert a piece of data:INSERT INTO Dept (Deptno, dname, loc) VALUES ("SYSTEM", '
Project, use a sequence as a single number, the framework is used by SSH, when the DAO layer to fetch, run times wrong to dual is not mapped,[select *.nextval nextvalue from dual]Later, the inspection found that the way to get the wrong, so change
--View disk statements that consume the most disk read and write ratesSELECT *From (select v.sql_id,V.child_number,V.sql_text,V.elapsed_time,V.cpu_time,V.disk_reads,Rank () Over (order by v.disk_reads Desc) Elapsed_rankFrom V$sql v) awhere
--View disk statements that consume the most disk read and write ratesSELECT *From (select v.sql_id,V.child_number,V.sql_text,V.elapsed_time,V.cpu_time,V.disk_reads,Rank () Over (order by v.disk_reads Desc) Elapsed_rankFrom V$sql v) awhere
oracle024 Oracle's storage structurestorage structure-the storage structure of tablesTablespace: Consists of one or more files, and the spatial capacity of the tablespace is the sum of multiple file sizesTables and data files create a middle tier
Can't login em, execute emca-config dbcontrol db do not know always default 1522 port number, helpless, Google some, from the second step below to start execution ... (My monitor is fine)1. Open the net config Assistant in the Oracle Configuration
Scheduled execution of stored procedures in peacetime development often used, years ago when they did a, because the time relationship has not been able to record, is now recorded.First, a complete example is used to implement the stored procedure
Records of deposits and generaI. Steps to install a databaseSecond, download the databaseAddress: http://www.oracle.com/technetwork/database/enterprise-edition/downloads/index.htmlThird, view system resources and environmentInstall the required
In the default, the Oracle database under Linux will not boot, but many times we need to boot the database, so we need to set up the following methods:System Environment: CentOS 6.5Oracle Version: 10.21. Modify the/etc/oratab file #
with the pagesize command, you can set the size of each page to control the amount of data displayed on each page. Syntax format of the pagesize commandAs follows:Set pagesize nWhere the parameter n represents a positive integer for each page size,
1.how to find invalid status stored procedure and recompile them?SELECT object_name, status from user_objects WHERE object_type = ' PROCEDURE ';Alter procedure Schme.procedurename Compile;Lack of practice is not a complete study of learning,
Table 5-4 Oracle Database Background Processes
Process Name
Description
Database writer (DBWN)
The database writer writes modified blocks from the Database buffer cache to the data files. Oracle
Look at the contents of the table you are using firstSELECT * from YHB;Desired effectConcatenate strings for the isdropout column of times 1Isdropout TimesYes, no, it's 1.1. Using the Wmsys.wm_concat (EXP1) functionThe SQL statements are as
1. User-Createdsql> CREATE USER rusking2 identified by rusking3 Default Tablespace users-specifies that the defaults table space is users. If you use the system default Tablespace, you can actually do so without specifying it.4 QUOTA 10M on the
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.
A Free Trial That Lets You Build Big!
Start building with 50+ products and up to 12 months usage for Elastic Compute Service