In-Memory database Memsql

Source: Internet
Author: User
Tags memsql

1. In-memory database Memsql 1.1 Features

Memsql is a pure in-memory database developed by Facebook.

Characteristics:

1, all tables must have a primary key, such as the occurrence of data does not meet the requirements, you can use the self-increment primary key, type bigint.

2, all SQL, the first execution slow, will be compiled into binary, the second execution fast.

3, does not support the construction of temporary tables, does not support the CREATE table as


1.2 Installation Critical steps

Decompression Management End Memsql-ops-4.0.28.tar.gz

Start the management side

#安装目录为/data/server/memsql/memsql-ops, directory owner for mysql# start the management side su mysql-s/bin/bash-c ' memsql-ops start ' #注册安装包memsql-ops File-add-t memsql/data/server/memsql/memsqlbin_amd64.tar.gz #网页操作 #http://127.0.0.1:9000/#登入终端mysql-u root-h 127.0.0.1-p 3346--prompt= "memsql>" #授权GRANT all privileges on * * to ' root ' @ '% ' identified by ' test123 ' with GRANT OP Tion;flush privileges;


Enter terminal

Mysql-u root-h 172.16.2.40-p 3346--prompt= "memsql>"


After entering the same as MySQL


This article is from the "Intelligent Future _XFICC" blog, please be sure to keep this source http://xficc.blog.51cto.com/1189288/1683573

In-Memory database Memsql

Contact Us

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

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.