Oracle provides three technologies for SYSDBA Auditing:
1. Database Audit user privileges, commands executed and tables accessed, and logon status
2. Use a database trigger to initiate a value-based audit;
3. fine-grained auditing can track which
After installing Oracle in the notebook, you can use the OEM console normally. However, after logging out, log on again or restart the system, or change the network environment of the notebook, problems may occur. The solutions to these problems
1. If the DDL syntax is correct, implicit commit will occur even if the execution fails:
Duzz $ scott @ orcl> create table t1 as select * from dept;
Table created.
Elapsed: 00:00:00. 03
Duzz $ scott @ orcl> update t1 set loc = 'xx' where deptno = 10;
Test Code:
DECLARE
BEGIN
-- Most normal way to handle exception.
DECLARE
Except_test0 EXCEPTION;
BEGIN
RAISE effect_test0;
EXCEPTION
WHEN effect_test0 THEN
Dbms_output.put_line ('Test0 effect_test0: SQLCODE ='| SQLCODE |
', SQLERRM ='
Test environment:
OS: RedHat 5.5
DB: Oracle11g
Logminer is integrated with oracle as a related log analysis tool. We can use this tool to clearly analyze the changes of all things in related logs and archive logs, in addition, you can accurately
By installing rac 10g for RedHat as 4 and rac 10g for redhat as 5, it is found that the self-starting configuration of bare devices is different.
The configurations of the two versions are listed below
1. linux redhat as 4
Edit
Exec dbms_job.broken (23, false );Commit;
Select t. *, t. rowid from dba_jobs t;
Select t. *, t. rowid from sys. user_jobs t;
Select job, last_date, next_date, broken, interval, failuresFrom user_jobs;
When a job returns an error, Oracle tries
Because of the different versions of DB2, The Script File Syntax is also different. Even redundant spaces may cause runtime errors.
In recent experiments, DB2 v9.5 and v9.7 encountered many strange problems when running the SQL files created by
1. Set the archiving path for databases in archive Mode1.1 query archiving statusSQL> select log_mode from v $ database;LOG_MODE------------NOARCHIVELOGSQL> archive log list;Database Log mode non-archive ModeDisable automatic archivingArchiving end
1. latch free wait event SQL:
Select *From v $ session_wait tWhere t. EVENT not in('SQL * Net message from client', 'rdbms ipc message ','SQL * Net more data from client',' SQL * Net more data to client ','SQL * Net message to client', 'jobq slave
Automatic Storage Management Background (ASMB) process: the ASMB process runs in the database instance that uses ASM. It is responsible for communicating with the management and storage ASM instance, providing updated statistics to the ASM instance,
1. Log On As root and enter the command sudo gedit/etc/mysql/my. cnf on the terminal in the open file.Find the [client] and add it belowDefault-character-set = utf8Find [mysqld_safe] and add it belowDefault-character-set = utf8Find [mysqld] and add
Let's look at the example.
To delete data from the game_pg_getpoint table, you need to associate it with the getpoint table.
Delete from game_pg_getpoint USING getpoint
WHERE (getpoint. fixflg = 1 OR game_pg_getpoint.immediately_flag = 1)
AND
Purpose: compile a shell script to export data from mongoDb to a csv file. Requirements: 1. To avoid exporting massive amounts of data, you only need to filter out the data for the current month and the data for the previous month. 2. Because the
With the continuous development of the information age, information systems and data are becoming more and more important to enterprises, companies, and units, and their dependence on information systems and core data is also growing, how to ensure
1. Description of rownum
For the rownum problem of Oracle, many documents say that ">,> =, =, between..." in SQL statements are not supported... and "operator. Only the following operators can be used:
Not to say ">,> =, =, .. "and" will prompt SQL
The official Oracle 10g documentation indicates that Red Hat Linux can only be installed in an operating system version earlier than rhel4. Of course, there is no problem when it is installed in rhel5, but it requires special authorization from
The Sample function is used to support data mining. The Sample function allows data analysis to be performed on the Sample data, rather than on the entire table.
Select record 10%Select * from atest sample (11)Select record 0.1%Select * from atest
This series of articles details the process of adding 3rd rac nodes on the basis of two existing rac nodes, without any impact on the use of rac during this period, the operating system of the rac node is CentOS4.8 64-bit, and the database version
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