If we just ran a Hadoop job in the IDE, the job would not be running in the Hadoop admin interface, but if we were to run the job on the server, the operation would be displayed in the admin interface.
Or the last analysis of the highest
Brief introduction
CODEC is actually an acronym for the prefix of the coder and decoder two words. Compressioncodec defines a compression and decompression interface, and the codec we're talking about is a class that implements some of the
Periodically connect SQL Server servers and simulate user query operations using command-line methods on non-SQL clients, while outputting information content
A very long title, the realization of the function is to try to use Non-human way to
MySQL provides the following three ways to get metadata for database objects:
1) Show statement
2 query related tables from INFORMATION_SCHEMA database
3 command line program, such as Mysqlshow, mysqldump
Get Meta data with show statement
MySQL
Similar to Oracle's parameter file, MySQL's option file (such as MY.CNF) is used to configure the MySQL server, but unlike Oracle, in MySQL, the official call variable (varialbes), but actually called the parameter is also OK, Just understand that
MySQL View status
./mysqladmin-uroot-popen Extended-status
Then grep for Shell programming
Direct execution of EXTERNAL commands
./mysql-uroot-e "Show Master Status \g"
Parsing SQL statements
Explain ;
Explain partitions ;
View table
Xtrabackup, an Open-source software developed by Percona, is an open source alternative to the InnoDB hot standby tool Ibbackup (fee-based commercial software). The xtrabackup consists of parts: Xtrabackup and Innobackupex, where the Xtrabackup tool
Environment: MySQL Sever 5.1 + MySQL command line tool
Issue: Create a user, authorize by using the command line
1. Create User:
Command: CREATE USER username identified by ' password ';
Description: username--You will create the username,
Environment: MySQL Sever 5.1 + MySQL command line tool
Problem: Creating an Index
CREATE INDEX Syntax:
CREATE [unique| Fulltext| SPATIAL] INDEX index_name
[Index_type]
On Tbl_name (Index_col_name,...)
[Index_type]
Index_col_name:
col_name
Environment
MySQL 5.1 + command line tools
Problem
MySQL table field Set default value
Solve
--sql:
CREATE TABLE Test (
i_a int NOT null default 1,
ts_b timestamp NOT NULL default now (),
C_c char ( 2) Not NULL
Environment
MySQL 5.1 + command line tools
Problem
mysqldump Export SQL appears garbled
Solve
Mysqldump-uroot--default-character-set=utf8-p axt > Kq.sql
Summarize
Garbled is most likely the database's global encoding and a database encoding
ERROR 1366 (HY000): Incorrect string value: ' XXX ' for column ' xxx at row 1 resolves
Environment
MySQL Server 5.5.27 + command line tools
Problem
The following error occurred in the insert Chinese character data:
ERROR 1366 (HY000): Incorrect
Environment: navicatfor MySQL 8.2 + mysql Sever 5.1
Problem: Through the Mysql command line can not connect, enter a password after no response, after a period of time system beep, command Line window flashed, and through the navicat for Mysql 8.2
Help is not in sqlplus after the manual build, and the following records how to install and delete the help command in Sqlplus.
Note: The Sqlplus help command is available only when the database is open. Non-open state use help also error: Sp2-0171:
Rman Learning Summary as follows, has been tested run, no problem.
1. Set the database as the archive mode
Check Archive mode
Select Log_mode from V$database;
If noarchivelog, it needs to be set to archive mode
Shutdown immediate;
Startup
The two days to restore Oracle really headaches, my environment is cenos5.3+oracle11g, the official server's database instance path is:/app/oracle/oradata/databar, originally only backed up the files in this
Oracle claims to install the Oracle9i database under Linux at least 512MB of memory and at least 1GB or twice times the memory size of the swap space, for the system memory is greater than 2GB of servers, swap space can be between 2gb-4gb.
If you
On the control server and each Windows system that you will install a central data warehouse, data mart, or proxy site, complete the following steps to install the DB2 common database:
Please use the DB2 installation media provided with the Tivoli
5. Working with a self-added field in a database table
For a table with a self added field that needs to be loaded, that is, the value of the IXF data file in the table, you can add the following parameter to the load command to control the value
Before you start
About this series
This six-part series on DB2 SQL Procedure Developer describes all the basic constructs and methods of SQL procedural Language, and explains how to use it in stored procedures, user-defined functions, and triggers,
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