In the mysql database, count the logs of the current day:
For example, the Date Field of the bean database is usedate.
Calculate the log SQL statement for the current day:
select * from bean where date(usedate) = curdate();
Curdate () indicates the
I was overwhelmed by ASM recently. Yesterday I met a customer who used WIN2008 + RAC + ASM. Due to the storage problem of emc, the ASM instance has a problem and the data cannot be read, which leads to RAC problems. After two hours, I finally
The java journey finally arrived at JDBC. Before learning JDBC, I had to review the database. I downloaded the textbooks of Shang xuexiang Oracle on the Internet, and I could only install mysql on my local machine, so I want to create an oracle
Database environment: Oracle 9i
HOST: AIX 5.3
Symptom: It is too slow to connect to the database. You can use topas to check the resource usage of the host. Everything is normal. The connection from the local database to itself will be slow as
Bitand () function
Returns the result of the bitwise and operation of two numeric values.SyntaxBITAND (nExpression1, nExpression2)ParametersNExpression1, nExpression2Specify two values for the AND operation by bit. If nExpression1 AND nExpression2
Notes on upgrading Oracle 10.2.0.1 to 10.2.0.4 Under SUSE 10 sp2:
I. Stop listening and databaseOracle@www.bkjia.com: ~> Lsnrctl stop
LSNRCTL for Linux: Version 10.2.0.1.0-Production on 12-MAY-2010 13:30:30
Copyright (c) 1991,200 7, Oracle. All
We usually need to configure the core parameters of the Linux system when installing and setting the Oracle database on Linux or replacing or upgrading the hardware, and then adjust the parameters of the Oracle system.
Kernel. shmall is the physical
I want to monitor a Job. The session is in the Library cache lock wait state.
The database has two nodes.SQL> select inst_id from gv $ instance;
INST_ID----------21
SQL> select inst_id, sid, serial #, event, p1raw, machine, status from gv $ session
The following is the official Oracle Database, which is listed here. We hope to reduce the search time. Download it now ~
Oracle Database 11g Release 1 (11.1.0.6.0) Standard Edition, Standard Edition One, and Enterprise Edition
OraToolKit is a tool used to support and quickly deploy various Oracle software environments and support different versions of databases and operating systems. This toolkit also contains a more practical rlwrap. Everyone knows that sqlplus in linux
In the RAC environment, Oracle uses GRD (Global Resource Service) to record the Resource information of each RAC node. The Resource information of each RAC node is recorded by using GCS (Global Cache Service) and GES (Global Enqueue Service) these
Database Version:Oracle Database 10g Enterprise Edition Release 10.1.0.3.0Create a test table:SQL> create table a as select * from all_objects;Table created.SQL> set autotrace on statistics;Insert data (hint append ):SQL> insert/* + append */into a
Statspack is a powerful and free performance analysis tool provided by Oracle. Use a user with sysdba permissions to log on and install the SDK.
With Statspack, we can easily identify the bottleneck of the Oracle database, record the database
Explain plan is a good tool for analyzing SQL statements. It can even analyze statements without executing SQL statements. through analysis, we can know how Oracle connects to the table, how to scan the table (index scan or full table scan), and the
Preface
Recently, I have been learningMySQLThe database architecture-related content searches the Internet for a large number of related materials and articles, and reads them in a rough manner. It is found that architecture-related things are
Symptoms:An error is reported when RMAN copy is executed.ORA-01276: Cannot add file + TESTDG/rac/datafile/system.416.8333820.5. File has an Oracle Managed Files file name.As follows:RMAN> copy datafile 1 to '+ TESTDG/rac/datafile/system.416.833384105
Execute the following configuration process on all nodes in the cluster!
Oracle 9.0.1 and 9.2.0.1 use a user space named watchdogd to monitor the background program to monitor the cluster status and restart the RAC node when a fault occurs. Starting
A few days ago, the system was migrated from Oracle to mysql. Many statements are relatively simple, that is, some function modifications, such as to-date.
But there are also a few tricky ones, which are recorded here
1. row_number () over
Archive log is fullORA-00257: How to Handle archiver error. Connect internal only, until freed error1. Log On with the sys userSqlplus sys/pass @ tt as sysdba2. Check the location of the archiv log.SQL> show parameter log_archive_dest;NAME TYPE
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