1. You can create an index in the CREATETABLE statement, or use CREATEINDEX or ALTERTABLE to add an index to the table. The following command statement shows how to create a primary key INDEX (PRIMARYKEY), a Union INDEX (UNIQUE), and a general INDEX
The online redis environment has always been a single point, which is indeed quite dangerous. At the beginning, I wanted to use redis's Sentinel to do this. But after reading it for a long time, I found it was not reliable. It was quite troublesome.
On this data platform, an operation is to get related items through keywords. The previous method is accurate matching, Which is annoying, after all, not everyone can remember the complete keywords and project names, which is really disturbing.
HttpFS and WebHDFS have two components for operating hdfs through the http protocol: httpfs and webhdfs. At first I thought these two were the same thing, but they were not. Webhdfs comes with namenode and datanode, and httpfs is a completely
Preface memcached source code was recently downloaded to prepare for research. But after the download, I found that many library functions have not been seen by myself, so I collected these functions. Later I found that some of the functions I know
In Hadoop, commonly used TextInputFormat uses line breaks as the Record separator. In practice, we often see a Record containing multiple rows, for example, doc....doc. At this time, we need to expand TextInputFormat to complete this function. Let's
A Materialized View (MaterializedViews) is a query result set. Changes to all original tables and views will invalidate the materialized view. Recently, a materialized view is often lost.
A Materialized View (Materialized Views) is a query result
MySQL encounters ldquo; Everyderivedtablemusthaveitsownaliasrdquo; similar error description
MySQL encounters ldquo; Every derived table must have its own aliasrdquo; similar error description
Every derived table must have its own alias
This
In Oracle12.1.0.1, the Business pdb cannot be automatically opened when the cdb database is started. To implement this function, you need to manually write a trigger to implement the cdbopen, and then the pdb can be opened. in versions 12.1.0.2 and
Why does MySQL5.6 disable the automatic update of metadata statistics to collect statistics source code?
Why does MySQL 5.6 disable automatic update of metadata statistics to collect source code?
Problem description:
The original SQL statement
1. Enter the information_schema database (information of other databases is stored) useinformation_schema; 2. query the size of all data: selectconcat (round (sum (data_length10241024), 2), 'mb ') asdatafromtables; 3. view the size of a specified
Set is a collection, which is a disordered set of the string type. set is implemented through hashtable. the time complexity of adding, deleting, and searching is O (1). For the set, we can
Set is a collection, which is a disordered set of the
Company D's DBA failed to start OracleDatabase11gEnterpriseEditionRelease11.2.0.3.064bitProductionWiththePartitioning, AutomaticStorageManagement, OLAP, DataMiningandRealApplicationTestingopt
Company D's DBA accidentally deleted the TS $ data
1. MySQLERROR1042 (HY000): Cantgethostnameforyouraddress cannot connect to MySQL remotely. The error message is as follows: ERROR1042 (HY000): Cantgethostnameforyourad [root @ localhost ~]. # Mysql-h192.168.1.10-uroot-pEnterpassword: ERROR1042
On LINUX, how does one optimize MYSQL? What is the high-performance and high-availability database solution on the open platform? Do not use SECONDS_BEHIND_MASTER to measure the delay time of the MYSQL master and backup? In MYSQL5.6GTID mode, manual
Because you need to export the data of a table into a csv format file. You need to automatically export a file according to the date field in the table. You can use the following code: date_start2013-12-01date_end2013-12-03date_n $ date_startwhile
Database Backup is crucial. previous articles also explained how to back up MySQL and how to set up the master-slave synchronization policy, synchronization and backup of MySQL, we often think that master-slave synchronization can also be used as a
This is the keynote speech PPT of 2013.11.18 at the third ORACLE technology carnival. Click here to download the local PPT. Original article address: MySQL stress testing experience. Thank you for sharing it with me.
This is the keynote speech PPT
When I entered the password for MySQL during lnmp installation, I accidentally entered the backspace key, and thus did not know what the password was, therefore, I have found a solution for changing the root password of MySQL on the Internet. The
Redis uses zmalloc for memory allocation, while tcmallc or jemalloc is used in the lower layer of zmalloc. They have better performance than glibcmalloc In the case of multi-thread concurrency. The following four functions are replaced:
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