Install MySQL in Ubuntu:
Download the version you need from the MySQL official website. Generally, you can download the latest version directly. Address: http://www.MySQL.com/downloads/
You can download all the packages under the community server
Oracle locks can be divided into several types: DML lock (data lock), DDL lock (dictionary lock) and internal lock/latch.DML lock can be divided into row lock and table lock. Row lock in select .. for update/insert/update/delete is automatically
After upgrading Ubuntu to 10.04, the following error occurs when connecting to mysql:Can't connect to local MySQL server through socket '/var/run/mysqld. sock'
After reading this, mysql is not started. RunSudo start mysqlUnable to start, no
(1) When the header file mysql. h cannot be found,Cd/usr/include/mysql/Cp */usr/include/
(2) When undefined reference to 'mysql _ init' occurs,It is best to use # gcc-o test. c 'mysql _ config -- cflags -- libs'Other compilation commands: # gcc-o
After Oracle is installed, a database is created and no listening service is found. You can solve this problem by using the following method.
Run Net Configuration Assistant and select Add Listener Configuration
Configuration items are simple.
Today, a friend asked me how to delete archive logs in Oracle10g and answered the following question:
Archiving logs in Oracle cannot be directly deleted by operating system (OS) commands, because some information of archiving logs is recorded in
Before Oracle 11g, the alter file of oracle was under the bdump directory.
Oracle 11g provides Alert logs in XML and traditional text formats.
The location of the new oracle 11g log is determined by the Automatic Diagnostic Respository (ADR.
You
1. select d. id, d. outer_code from dict_depts_source d order by outer_code (view duplicate data)
2. select d. id, d. outer_code, row_number () over (partition by outer_code order by outer_code) row_flag from dict_depts_source d (identifies
1. The Oracle Database client was installed. The method for connecting to the oracle database on the remote server is as follows:
2. Later, the system was reinstalled and oracle was installed. The method for connecting to the oracle database on the
Install Quick Installation Guide 10g Release 2 (10.2) for Linux x86.
Problems encountered during installation:
Start Oracle Universal Installer/tmp/OraInstall from the following address. please wait... [oracle @ nj15 database] $ Exception in thread "
Due to accidental deletion of Oracle table data, the data may be very important. How to quickly restore the data so that the supervisor does not discover it can write a stored procedure to restore the data at the previous time of data
In Oracle 10 Gb, you need to set workarea_size_policy to AUTO, and set the pga_aggregate_target parameter to implement memory management of PGA.
SQL> show parameter pga
NAMETYPE VALUE
------------------------------------------------------------
When using a data pump to export data, sometimes we need to filter out some data that does not need to be exported according to the conditions. In this case, we need to use the parameter query. The following is a small example of simple query. In
In Oracle, columns in the table below the sys user cannot be dropped. If drop is performed, an error is returned:
SQL> desc test
Name Null? Type
-----------------------------------------------------------------------------
Id notnull number
Today, when I drop a user, it's time for hang to stop and don't care. After an hour, the result has not been deleted. There are not many objects in this user, and they are not big either, so I checked the alert Log and found the following
1. After reading the introduction of MemSQL, it took several minutes to browse the website, Read getting started, download, install, and start it.
MemSQL http://memsql.com/
Its publicity Slogan is the world's fastest database. your data. ACCELERATED.
Today, we used the stress test provided by hbase to stress down our hbase cluster.
Cluster configuration: master 8 CPU * 32G + 3 8 CPU * 16G
Parameter configuration. The zookeeper and hdfs configurations are modified.
Test method:
Hbase org.
MySQL installation methods include rpm and source code compilation and installation. This article will demonstrate installation without compilation.I. installation and configuration
1. Create a mysql user and decompress the mysql installation
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