码迷,mamicode.com
首页 >  
搜索关键字:log_file    ( 603个结果)
运维学python之爬虫中级篇(五)数据存储(无数据库版)
本篇主要介绍,爬取html数据后,将html的正文内容存储为json或csv格式。1json格式存储选定要爬取的网站后,我们利用之前学过的内容,如:BeautifulSoup、xpath等方式解析,来获取我们希望得到的内容。1.1获取数据首先使用urllib访问页面https://www.lagou.com/zhaopin/Python/?labelWords=label获取html内容,代码如下
分类:数据库   时间:2018-01-09 10:19:09    阅读次数:280
python的生成器与yield
调用该generator时,首先要生成一个generator对象,然后用next()函数不断获得下一个返回值: ...
分类:编程语言   时间:2017-12-26 21:58:39    阅读次数:176
开启慢查询
my.cnf 添加long_query_time=2slow-query-log=Onslow_query_log_file=/data/mysql/data/slow.log //修改所有者chown -R mysql:mysql ./data//修改权限chmod -R 777 ./data ...
分类:其他好文   时间:2017-12-20 13:27:30    阅读次数:180
路由软件quagga和bird日志配置打印ospf邻居变化
背景: 网络侧反馈偶尔会出现ospf邻居状态变化:full-> other status -> full.历史原因,线上运行的路由软件有quagga和bird两种。两种路由软件的日志级别配置,打印ospf邻居状态变化的过程。 quagga: 配置选项: 日志文件记录配置 log file /home ...
分类:其他好文   时间:2017-12-17 01:01:30    阅读次数:578
mysqldump造成sql_thread停止
利用从库备份期间,收到slave sql_thread stop的报警,检查状态如下: (1)show slave status输出 Relay_Master_Log_File: mysql-bin.009188 Slave_IO_Running: Yes Slave_SQL_Running: No ...
分类:数据库   时间:2017-12-14 18:00:01    阅读次数:232
052-126&127
Identify the two situations in which the alert log file is updated with details. (Choose two.)A. Running a query on a table returns "ORA-600: Internal ...
分类:其他好文   时间:2017-12-12 22:19:26    阅读次数:153
052-125
You want to check the details of few errors that users have reported. You search for the alert log file and execute few commands to find the location ...
分类:其他好文   时间:2017-12-12 21:07:10    阅读次数:114
052-124
You executed the following commands to find the location of the alert log file:SQL> SHOW PARAMETER BACKGROUND_DUMP_DESTNAME TYPE VALUE background_dump ...
分类:其他好文   时间:2017-12-12 21:03:49    阅读次数:151
mysql 第四十一篇文章~MHA一些方面的探讨一
一 简介:MHA上线已经很久了,却没有写一篇文章,今天来说说 二 初步思路: 我今天就从日志角度的方面分析下,说说自己的思路 三 切换流程 一 拷贝binlog阶段 1 Getting Latest Slaves Phase.. The latest binary log file/position ...
分类:数据库   时间:2017-12-11 18:51:24    阅读次数:182
052-65
Which two statements are true about checkpointing? (Choose two.)A. The checkpoint frequency decreases with the smaller redo log file size.B. It ensure ...
分类:其他好文   时间:2017-12-07 20:49:56    阅读次数:170
共603条   上一页 1 ... 18 19 20 21 22 ... 61 下一页
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!