首页
学习
活动
专区
圈层
工具
发布
    • 综合排序
    • 最热优先
    • 最新优先
    时间不限
  • 来自专栏莫浅子的学习笔记

    数据-MySQL-基础8)-约束

    目录 概述  约束演示 外键约束 删除/更新行为 ---- 概述  1、概念:约束是作用于表中字段上的规则,用于限制存储表中的数据 2、目的:保证数据中数据的正确、有效性和完整性 3、分类: 4、 10500,'2004-09-07',3,1), (6,'小昭',19,'程序员鼓励师',6600,'2004-10-12',2,1);  注意:目前上述的俩张表,在数据层面并未建立外键关联

    85820编辑于 2022-11-18
  • 来自专栏程序员阿常

    数据最常用的 8基础语法

    今天我和大家分享——数据最常用的 8基础语法。 SQL ORDER BY 用法 ● SQL INSERT INTO 用法 ● SQL UPDATE 用法 ● SQL DELETE 用法 一、SQL SELECT 用法 SELECT 语句用于从数据中选取数据 至此,数据基础语法介绍完毕。接下来让我们一起期待后续的高阶用法吧。

    1.2K30编辑于 2022-09-01
  • 来自专栏技术杂记

    Docker 基础8

    我们看到还有一个 docker.socket 不是开机启动的,它和 docker.socket 的关系如下

    35010编辑于 2022-02-09
  • 来自专栏技术杂记

    ZooKeeper 基础8

    connectString=localhost:2181 sessionTimeout=30000 watcher=org.apache.zookeeper.ZooKeeperMain$MyWatcher@7a450ea8

    29830编辑于 2022-03-25
  • 来自专栏技术杂记

    HAproxy 基础8

    启动nginx,作为一个后端的web服务器 [root@h102 nginx]# sbin/nginx -t -c conf/nginx.conf the configuration file /usr/local/nginx/conf/nginx.conf syntax is ok configuration file /usr/local/nginx/conf/nginx.conf test is successful [root@h102 nginx]# sbin/nginx -c conf/n

    48720编辑于 2022-01-19
  • 来自专栏技术杂记

    Tengine基础8

    Nginx 很大的一个作用就是作为web前端进行负载均衡和反向代理,但负载均衡的一个关键点就是状态检查,因为不能把请求分配给有故障的后端服务器

    52420编辑于 2022-05-03
  • 来自专栏技术杂记

    etcd 基础8

    创建序列 因为是使用的etcd序列,所以确保了有序性 [root@docker ~]# curl http://127.0.0.1:2379/v2/keys/queue -XPOST -d value=Job1 {"action":"create","node":{"key":"/queue/00000000000000000055","value":"Job1","modifiedIndex":55,"createdIndex":55}} [root@docker ~]# curl http://127.

    35420编辑于 2022-01-20
  • 来自专栏技术杂记

    fio基础8

    If the option allows two sets of ranges, they can be specified with a ','or'/' delimiter: 1k-4k/8k-32k IO'stodobeforegettinganewoffset,thisisdonebyappendinga':<nr>'totheendofthestringgiven.Forarandomread,itwouldlooklike'rw=randread:8' ,youwouldgetanewrandomoffsetforevery8IO's. The result would be a seek for only every 8 IO's,insteadofforeveryIO.Userw=randread:8tospecifythat.AssequentialIOisalreadysequential identical'behavesinasimilarfashion,exceptitsendsthesameoffset8numberoftimesbeforegeneratinganewoffset.kb_base

    81540编辑于 2022-04-24
  • 来自专栏技术杂记

    nginx基础8

    Nginx操作 nginx的目录结构 [root@h102 local]# tree /usr/local/nginx/ /usr/local/nginx/ ├── conf │ ├── fastcgi.conf │ ├── fastcgi.conf.default │ ├── fastcgi_params │ ├── fastcgi_params.default │ ├── koi-utf │ ├── koi-win │ ├── mime.types │ ├── mime.

    19520编辑于 2022-05-12
  • 来自专栏技术杂记

    RabbitMQ基础8

    开启RabbitMQ 应用 [root@h102 rabbitmq]# rabbitmqctl status Status of node rabbit@h102 ... [{pid,5596}, {running_applications,[{xmerl,"XML parser","1.2.10"}, {sasl,"SASL CXC 138 11","2.1.10"}, {stdlib,"ERTS CX

    42220编辑于 2022-05-04
  • 来自专栏技术杂记

    memcached基础8

    root@h101 memcached-1.4.24# netstat -ant | grep 12345

    25910编辑于 2022-06-26
  • 来自专栏技术杂记

    Codis 基础8

    检查状态 [root@h102 codis]# ps faux | grep codis | grep -v grep root 35057 1.5 2.5 448184 49352

    34410编辑于 2022-03-22
  • 来自专栏技术杂记

    Consul 基础8

    也可以使用 DNS API 获取整个 address/port 信息,只要加上 SRV

    49020编辑于 2021-12-01
  • 来自专栏技术杂记

    Mycat 基础8

    停止 [root@h102 bin]# ./mycat stop Stopping Mycat-server... Stopped Mycat-server. [root@h102 bin]# ---- 命令汇总 java -version wget https://github.com/MyCATApache/Mycat-download/raw/master/1.5-GA/Mycat-server-1.5-GA-20160217103036-linux.tar.gz tar -xzvf Myca

    33820编辑于 2021-12-03
  • 来自专栏技术杂记

    Snort 基础8

    安装报错一 [root@h101 snort-2.9.7.6]# ./configure --enable-sourcefire checking for a BSD-compatible install... /usr/bin/install -c checking whether build environment is sane... yes checking for a thread-safe mkdir -p... /bin/mkdir -p checking for gawk... gawk

    43230编辑于 2022-05-03
  • 来自专栏技术杂记

    Logstash 基础8

    使用 --allow-unsafe-shutdown 开启 Logstash 可以在中途强制关闭 Logstash ,会丢失数据

    50510编辑于 2022-02-10
  • 来自专栏技术杂记

    SQLite 基础8

    附加数据 sqlite可以对多个数据(多个文件)进行操作 sqlite> .databases seq name file

    28310编辑于 2021-12-01
  • 来自专栏技术杂记

    KVM基础8

    systemctl set-default multi-user.target 可以用来将默认(开机启动后)运行级别设定为3

    47410编辑于 2022-01-19
  • 来自专栏技术杂记

    UnrealIRCd 基础8

    conf/examples/example.conf 是一个配置模板,默认系统会读取 conf/unrealircd.conf 中的配置

    29010编辑于 2021-11-29
  • 来自专栏编程基础

    Go编程基础-基础8

    如果在匿名函数内,使用了外部环境的变量,就构成了一个闭包。简单来讲就是一个函数内,使用匿名函数来操作函数内声明的变量。

    25321发布于 2021-03-01
领券