I. DataBase
Save data to present data in the form of tables
Ii. SQL
Structured query language (SQL) is an object used to operate relational databases.
DDL (data definition language) is used to create or Delete tables and modify table
1. Table: table1 (FId, Fclass, Fscore). The most efficient and simple SQL statement is used to list the highest scores of each class. Two fields are displayed: class and score.
Select fclass, max (fscore) from table1 group by fclass, fid
2. There is
The MySQL version in Ubuntu 8.04 is 5.0.51a. In the package mysql-server-5.0, not only the Cluster Server Manager (ndb_mgmd) is carried, but also the cluster management client (ndb_mgm ). The client ndb_mgm can be used to display the cluster status,
To enable Oracle 11g release 1 to support full DL reasoning, install oracle Jena Adaptor patch for Oracle 11g.
Official installation: http://www.oracle.com/technology/tech/semantic_technologies/documentation/jenadrv_patch_ig.txtPatch:
For example, when creating a news navigation bar, it is often like this:
Home> A> A1> A2
In this way, we need to display the names of the fathers of A2, for example, in the classification of A2. in Oracle, it is very easy to do, mainly using
Start
After upgrading Ubuntu 9.10 and detecting MySQL startup failure, the following error message is written to the record file:
Shell code
Mysqld: error while loading shared libraries: libstdc ++. so.5: cannot open shared object file: No such file or
Some want to run database operations at a specified time. If these operations are performed on the WEB Front-end, server resources will be wasted, because the web page needs to be refreshed constantly and then determined to execute the operation...
CentOS mysql has been widely used but is constantly updated. Here we will introduce how to install and use CentOS mysql to help you install and update CentOS mysql. Install CentOS mysql;
1] Extract[Root @ localhost root] #
Use the built-in functions of mysql:
INET_ATON (expr)Given the dotted-quad representation of a network address as a string, returns an integer that represents the numeric value of the address. Addresses may be 4-or 8-byte addresses.Mysql> SELECT
Oracle-user-managed backup (1)
I. first, you must know the table space and file information in the database. There are several performance views: v $ datafile, v $ tablespace, v $ tempfile, v $ logfile, v $ controlfile, dba_tablespaces,
Regular Functions
The following functions are applicable to any data type and use null values: • NVL (expr1, expr2) • NVL2 (expr1, expr2, expr3) • NULLIF (expr1, expr2) • COALESCE (expr1, expr2 ,..., exprn) the following functions are applicable to
Use the TO_CHAR function to process a date
The TO_CHAR (date, 'format _ model') format style has the following features: • must be placed in single quotes • case sensitive • can contain any valid date format element • has a fm element, to delete
The virtual environment has a RedHat 5.4 + 10 GRAC. You want to clear and deploy the 11.2.0.4 library to test goldengat 12c.When DBCA is used, node 2 reports Exception in thread "main"Xhl @ XHL :~ $ Ssh-X Oracle@192.168.3.201Oracle@192.168.3.201's
Abstract: rhel5.8, mysql, keepalived, and haproxy are used to build a cluster with high availability and load balancing. mysql binary replication is also used to maintain data consistency. Single Node failure is avoided, it also provides device
1. Preface
Recently, I have been studying MongoDB. I have learned a lot about data modification and complicated commands. So I will summarize some frequently used modification commands in this blog to facilitate future study.
2. Command Summary
1).
Note: by adding four listening services to RAC, different service names can be used to connect to different instances.1. View and use srvctl to add a service name
[Oracle @ bysrac1 ~] $ Crs_stat-t-Bash: crs_stat: command not found[Oracle @ bysrac1 ~]
Today, we found that the Oracle database is very slow. We can see that a large number of processes are waiting for the log file switch (checkpoint incomplete). The usage of log files is as follows:
SYS @ TEST15> select group #, sequence #, bytes/1024
I. Shared pool function: cache the execution plan of SQL statements and SQL statementsSQL statement execution Step 3: parsing (parse) ------ execute (exec) ------ get data (fetch)
Composition of the shared pool:Three regions: free, librarycache, and
These three table join methods are the most basic connection methods for Oracle:Principle of nested loop joinPrinciple of sortmerge join
Hashjoin)
Number of visits: both the driver table and the driver table can only be accessed 0 times or
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