Database operation is one of the necessary development parts of current system development, especially in today's big Data era, database is especially important. But do you really know how Java is connected to the database?Let's give you a simple
Build a Test tableCREATE TABLE T_table nologging as SELECT * from Dba_objects;create table T_table_1 nologging as SELECT * from Dba_tables;--Create a log recordCreate materialized view Log on t_table with ROWID, sequence
1 Oracle Data Types2 Character Type3 Char[(Size[byte|char])]: Maximum 2000 bytes, default 1 bytes4 varchar2(Size[Byte|char]): Maximum 4000 bytes5 nchar[(size)]: Multi-byte encoding (Unicode) Maximum of 2000 bytes6 nvarchar2 (size): Maximum is 4000
http://blog.csdn.net/leshami/article/details/6032525 Rman Overview and architectureHttp://blog.itpub.net/23513800/viewspace-664869/rman help commandRestore the creation of a directoryRC Library Operation 192.168.3.222Sqlplus/as SYSDBACreate
Grand Court-notes1, the establishment of stored procedures. Shaped like:Create or replace procedure Deletetableprocedures isBeginDelete Post_day;Delete Post_foul_realtime;CommitEnd Deletetableprocedures;2, the establishment of timed operations,
Handle Oracle table lock dead, resources are busy problem, kill process can.One. Process steps:--1. Getting the session_id of a locked objectSELECT session_id from V$locked_object;--2. Getting V$session's SID and serial# through session_idSELECT SID,
For example, now there's a table
ID (number)
StartTime (date)
Name (VARCHAR2)
1
2017-08-13
Zhangsan
2
2017-08-14
Zhangsan
Need to BULK Insert name Zhangsan, date
Data Base Oracle Common commands1. Login: (no password required, administrator rights)Conn/as SYSDBA2. View the database storage location:Select name from v$datafile; 3. Create TABLE spaces:Syntax:create tablespace tablespace name datafile ' data
Oracle Schema ObjectsTable partitioningTable - - Partitions ( Partition ) TABLE PARTITIONA period of time to give a partition, so as to facilitate the management of data.You can follow the scope range range, list partition, hash partition, and so
Database Additions and deletions: add: INSERT INTO ... values (); Example: INSERT into p_emp values (Sq_emp.nextval, 'Small white','Cleaning',7902, Sysdate, -Null -,0); Commit Notice how many columns there are in the table, and how much of the
The job is actually in use. Use very much. The general user periodically runs certain functions, stored procedures, and so on.Here's a look at how to create and start a job.For example, a stored procedure is run with a job schedule.Stored Procedure
Oracle's function classificationSingle-line function: Calculates the input values for each row, obtains the corresponding calculation result, returns to the user, namely,Each row acts as an input parameter, and the calculation results of each row
Linux terminal start graphical programming interface times wrong: No protocol specifiedThis is because Xserver does not allow graphics for other users to appear on the current screen by default. If you need other users ' graphics to appear on the
Storage ManagementSize of Query BLOCK: Show parameter db_block_sizeDatabase: DatabasesTablespace: Table SpaceDataFile: Data filesSegments: DuanExtents: Expansion (range)Dba_extents: Information for each extensionDba_segments: Information about the
Introduction to Oracle DatabaseMaybe a lot of people are familiar with SQL Server, not much about Oracle database, here is a brief introductionThe founder of Oracle database is Lawrence Ellis.Oracle database can be used by multiple operating
Oracle Database IndexIn a relational database, an index is a database structure that is related to a table, which enables the SQL statements that correspond to tables to execute faster. The index acts as a catalog of books, and you can quickly find
1. Oracle Start-upOracle's services are as follows:Starting Oracle has two important services, such as the identity office:L Oracleoradb11g_home1tnslistener: Monitoring service, mainly used for client access to the database, if the service does not
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