sec curity

Learn about sec curity, we have the largest and most updated sec curity information on alibabacloud.com

MySQL User and Rights management

only the usage permission. Further authorization is required using the grant command. You can also use the grant command to create an account directly to see subsequent demos. The following is an explanation of usage in the official MySQL manual. The USAGE privilege specifier stands for "no privileges." It is used at the global level withgrant to modify account attributes such as resource limits or SSL characteristics Witho UT affectingexisting account privileges.--Current demo environment [ema

Phantom reading and How to prevent phantom reading

RR Isolation Demo: mysql> show create TABLE rr_100\g; CREATE TABLE ' rr_100 ' (' id ' bigint ' NOT null default ' 0 ', ' value ' varchar () default NULL, PRIMARY KEY (' id ')); Mysql> SELECT @ @global. tx_isolation, @ @tx_isolation; +-----------------------+-----------------+ | @ @global. tx_isolation | @ @tx_isolation | +-----------------------+-----------------+ | Repeatable-read | Repeatable-read | +-----------------------+-----------------+ 1 row in Set (0.00

NIO Series 6: Evaluation and analysis of the performance of the popular NiO Framework Netty and Mina

processing threads and business processing threads, so our test case also configures the business execution thread pool to examine the scheduling effectiveness of their thread pools. Mina thread pool Set io processor:ioacceptor acceptor = new Niosocketacceptor (Integer.parseint (Iopool)) ; Executor:acceptor.getFilterChain (). AddLast ("ThreadPool", New Executorfilter (Integer.parseint OL)); Netty thread pool Set io worker:new nioworkerpool (Executors.newcachedthreadpool (), Integer.parse

MySQL Getting Started note 2

Fuzzy query likeReplace any character with%Where goods_name like ' Nokia% ';Clear a few characters on the underlineUnderline wildcard single character,% wildcard anyExercisesTurn a bunch of 10, 20, and 30 numbers into 10,20,30.Which is to remove single digitsQuery out Select outThe MySQL function is used.Floor returns the largest integer less than xLet a bunch of numbers in addition to 10, then floor is a number, also took the 10 digits, then multiply 10It becomes 10,20,30.That means you can upd

MySQL process function storage engine InnoDB simple features

Tags: mysql process function InnoDB featuresTo create a table and insert a data statement:Mysql> CREATE TABLE salary (userid int,salary decimal (9,2));Query OK, 0 rows affected (0.11 sec)Mysql> INSERT into salary values (1,1000), (2,2000), (3,3000), (4,4000), (5,5000), (1,NULL);Query OK, 6 rows affected (0.13 sec)Records:6 duplicates:0 warnings:01.if (value,t,f) function: Above 2000 is considered ' high ' a

MySQL read/write splitting

-mysql/mysql-proxy-0.8.2-linux-glibc2.3-x86-64bit.tar.gz 192.168.1.11: /opt [root @ serv01 opt] # tar-xvf mysql-proxy-0.8.2-linux-glibc2.3-x86-64bit.tar.gz-C/usr/local/[root @ serv01 opt] # cd/usr/local/[root @ serv01 local] # music mysql-proxy-0.8.2-linux-glibc2.3-x86-64bit/mysql-proxy [root @ serv01 local] # ll mysql-proxy/total 24drwxr-xr-x. 2 7157 wheel 4096 Aug 17 2011 bindrwxr-xr-x. 2 7157 wheel 4096 Aug 17 2011 includedrwxr-xr-x. 4 7157 wheel 4096 Aug 17 2011 libdrwxr-xr-x. 2 7157 wheel 4

MyISAM Table lock

The MyISAM storage engine only supports table locks, which is the only supported lock type in MySQL versions. With the increasing requirements of applications on transaction integrity and concurrency, MySQL began to develop a transaction-based storage engine, later, we gradually saw the support for page locks for the bdb storage engine and the InnoDB Storage engine that supports row locks (InnoDB is actually a separate company and has now been acquired by Oracle ). However, MyISAM Table locks ar

[IMPDP] how to deal with the problem of table storage when importing data -- TABLE_EXISTS_ACTION Parameter

[Transferred from: http://space.itpub.net/519536/viewspace-631445] When impdp is used to import a database, if a table already exists, Oracle provides the following four processing methods:A. Ignore (Skip, default Act );B. Add (append) based on the original data );C. Drop the table first, create the table, and insert data (replace );D. truncate first, and then complete data insertion (truncate ). Feel the effects of these methods for your reference. 1. Description of the table_exists_action para

Linux hard disk Performance Detection and linux hard disk Detection

this parameter is used to ensure that data is directly written to the hard disk] Example: dd if=/dev/zero of=testfile bs=1M count=512 conv=fdatasync The result on my VM is as follows: [root@localhost ~]# dd if=/dev/zero of=testfile bs=1M count=512 conv=fdatasync512+0 records in512+0 records out536870912 bytes (537 MB) copied, 19.6677 s, 27.3 MB/s We recommend that you run this command multiple times to get the average value. Before executing the preceding command, we recommend that you use the

MySQL multi-Table query-an example basically involves MySQL statements

MySQL Database Advanced query multi-Table query and join Table query Query all emp_name information in the EMP table. Mysql> select * from EMP where emp_name = 'xiaotian '; The query result is as follows: + -------- + ---------- + --------- + ------------ + --------- + | Emp_id | emp_name | emp_age | emp_sal | emp_bir | emp_sex | + -------- + ---------- + --------- + ------------ + --------- + | 100005 | Xiaotian | 27 | 4000 | 1979-07-10 | male | + -------- + ---------- + -

Usage of performance counters monitored by LoadRunner

Memory: memory usage may be the most important factor in system performance. If the system frequently switches pages, the memory is insufficient. "Page Swap" is a unit called "page". It moves code and data blocks of a fixed size from Ram to a disk to release memory space. Although some page switches enable Windows 2000 to use more memory than actually, they are acceptable, but frequent page exchanges will reduce system performance. Reducing page switching significantly increases the system respo

Analysis on the solution of creating and last updating timestamp fields in MySQL, mysql Field

Analysis on the solution of creating and last updating timestamp fields in MySQL, mysql FieldBefore writing this article, clarify my MySQL version. mysql> SELECT VERSION();+------------+| VERSION() |+------------+| 5.5.29-log |+------------+1 row in set (0.00 sec) This is the requirement. One table has a created_at field to create the timestamp of this record, and the other field updated_at record to update the timestamp of this record. Let's try th

Analysis of English letters and cases in MySQL Query _ MySQL

... mysql> create database yutest0;Query OK, 1 row affected (0.00 sec)mysql> use yutest0;Database changedmysql> create table t1 (name varchar(10));Query OK, 0 rows affected (0.01 sec)mysql> insert into t1 values('AAA');Query OK, 1 row affected (0.00 sec)mysql> insert into t1 values('aaa');Query OK, 1 row affected (0.01 sec

Analysis on the Case sensitivity of English letters in MySQL, mysql Case

(Binary) ends. 2. Different character sets and validation rules can control case sensitivity. MySQL5.1 uses different character sets or verification rules in the same server, database, or even table to mix and define strings. Character Set and verification rules have four default settings: Server-level, database-level, table-level, and connection-level. 2.1 server level MySQL determines the server Character Set and server verification rules as follows: (1) modify the configuration file/etc/my.

Linux performance issues (CPU, memory, disk I/O, network)

: Shows the activity of the process during the sampling time-y: Displays the activity of the end device during the sampling time-W: Displays the state of the system swap activity during the sampling time-O: The command result is stored in a binary format in the specified fileInterval: Sampling interval time, required parametersCount: Number of samples, default 1Example: Sar-u 1 3[Email protected]:~$ sar-u 1 3Linux 2.6.35-27-generic (user1-desktop) March 05, 2011 _i686_ (2 CPU)09:27 18

linux-Basic Knowledge

processo The total amount of virtual memory used by the VIRT process, in kilobytes. Virt=swap+resThe P swap process uses the size of the virtual memory, which is swapped out, in kilobytes.The size of the physical memory, in kilobytes, that the Q RES process uses and has not been swapped out. Res=code+dataR code executable code occupies the physical memory size, in kilobytesThe amount of physical memory that is used outside of the S data executable code (data segment + stack), in kilobytesT SHR

Analysis of the case of English letters in Mysql query _mysql

validation rules to control case sensitive MySQL5.1 uses different character sets or collation rules in the same server, the same database, or even in the same table to mix the definition strings. Character set and proofing rules have 4 levels of default settings: Server, database, table, and join. 2.1 Server-level MySQL determines the server character set and the server proofing rules as follows: (1) Modify the configuration file/etc/my.cnf Add under [mysqld]: Collation_server = Utf8_bin

IIS Metrics---Web test critical counters

Total number of successful lookups in the /internet information Services global/file cache Hits% file cache. /process (inetinfo)/private Bytes The current number of bytes that the Http/asp service has allocated but cannot share with other processes. If the value is always large and increasing, it is possible that the server-side object is leaking. /process (inetinfo)/% Processor time displays the processor times used by the threads of the Inetinfo process /Process (inetinfo)/page faults/

MySQL database backup set up the method of delayed backup (MySQL master-slave configuration) _mysql

.host.com Operating system version RHEL Server6.1 64-bit system Version of the package to use Mysql-5.5.29-linux2.6-x86_64.tar.gz percona-toolkit-2.1.7-1.noarch.rpm The first step is to build the environment. Modify the configuration file, note that each server-id inconsistent; Copy Code code as follows: [Root@serv01 ~]# cat/etc/my.cnf | grep Server-id Server-id = 1 #server-id = 2 [Root@serv01 ~]#/etc/init.d/mysqld start Starting MySQL success! [Root@serv08 ~

MySQL Date type datetime and timestamp

Tags: log content properties same query serve Ecif Sele 1.0How do I represent the current time in MySQL?In fact, the expression is still quite a lot of, summarized as follows:Current_timestampCurrent_timestamp ()Now ()LocalTimeLocalTime ()LocaltimestampLocaltimestamp ()Ii. Comparison of Timestamp and datetimeA complete date format is as follows: Yyyy-mm-dd Hh:mm:ss[.fraction], which can be divided into two parts: the date part and the time part, where the date part corresponds to "YYYY-MM-DD" in

Total Pages: 15 1 .... 11 12 13 14 15 Go to: Go

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.