ALTER SYSTEM SET audit_trail=db,extended scope=spfile;The Audit_trail value has the following meanings:DB: Audit enabled, information logged in SYS. In aud$OS: Enable auditing, audit information is saved in operating system, Oralce recommends using
Export database as DMP file, set file name according to current export time@ECHO Offecho back up data from SCOTT users ... SET Dbusername=Scottset Dbpassword=1234SET DBName=Orclset date_string=%date%SET time_string=%time%IF"%date_string:~3,1%"=="
Most types of correspondence: Original: http://2143892.blog.51cto.com/2133892/499353
Serial number
Oracle data types
. NET Type
Getoraclevalue type
DbType
OracleType
1
BFILE
Byte[]
SELECT * FROM (Select Last_comment, Row_number () over (partition by employeeid,roadline,stationname ORDER BY logindate DESC) rnFrom REOCRD) T where T.rn This paragraph means that the REOCRD table is grouped according to the employee work number
Col VALUE format A20Select Parameter,value from nls_database_parameters where PARAMETER like '%characterset% ';PARAMETER VALUE--------------------------------------------------nls_characterset Al32utf8nls_nchar_cha Racterset AL16UTF16Select Userenv (
Issue: Login server times No monitoring serviceCheck the steps:1. Enter Sqlplus to view the status of the database, showing that the current database status is openScript: Select status from V$instance;2, check the database monitoring service, log
1. Create userYou need to log on to the database with the system user first because the system user has permissions to create other users.syntax [Create users]: Create user username identified by password [i.e. password];Example: Create user dhjw
Before you start, say one thing: As a DBA, you should prohibit all applications from using Dbms_job.Dbms_scheduler is very complex, and Oracle spends a lot of chapters on two books, two of which are:
Oracle? Database PL/SQL Packages and
1. In idea, the JSTL library is imported into web-inf/lib and can be directly on the JSP page via thetaglib uri= "http://java.sun.com/jsp/jstl/core" prefix= "c"% >taglib uri= "http://java.sun.com/jsp/jstl/sql" prefix= "sql"% >Import, you do not
See if the Oracle data file has bad blocks through the DBV command.[[email protected] PROD]$ **dbv file=users01.dbf**DBVERIFY: Release 11.2.0.4.0 - Production on Mon Jan 22 22:21:14 2018Copyright (c) 1982, 2011, Oracle and/or its affiliates. All
First, if there is plsql can be in the tool-Import table--oracle Import-Add executable file can be imported.Second, using WINSP to upload the dmp file to Linux, the Linux Command window switch to the Oracle user, enter SQL Plus, you can choose to
Enter Sqlplus (as Administrator)Sqlplus/as Sysdba;Create user user1 identified by User1; Create a user name and specify a passwordGrant the appropriate permissionsGrant create session to User1;Grant CREATE table to User1;Grant unlimited tablespace
These terms in the predicate information sections indicate when the data source is reduced. Simply, access means only retrieve those records meeting the condition and ignore others. Filter means AfterYou already got the data, go through them all and
Manual hot-Standby must be in the archive mode, read-only table space can not be hot-spare, temporary table space does not need to prepare.[email protected]> archive log list;——开启了归档Database log mode Archive ModeAutomatic archival
There is no problem with oracle database query. Two Chinese characters are displayed normally. But how to solve this problem when only the first Chinese character is displayed during Hibernate query in the java background ?, Oraclehibernate
Select
Installation of PLSQL Developer and configuration of Chinese packages, plsqldeveloper
As the most common Oracle database development tool, PLSQL Developer is very popular. The following are some guidance on the installation of PLSQL Developer and
Solution for oracle redo log file hard disk failure, oracle Log File
Solution to oracle redo log file hard disk failure
Rman target/list backup; list backup summary; delete logs in the database data folder, for example, sqlplus/as sysdbaalter
New features related to Oracle database performance in Oracle 12.2.0.1, 12.2.0.1oracle
Changes in Oracle Database 12c Release 2 (12.2.0.1)
The following are changes in Oracle Database Performance Tuning Guide for Oracle Database 12c Release 2 (12.2.
Check the maximum number of connections allowed by the oracle database and the current number of connections.
Step 1: On the cmd command line, enter sqlplus
Step 2: Enter the user name and password as prompted
1. view the processes and sessions
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