03 2020 档案

摘要:查询MSSQL慢查询: SELECT TOP 20 TEXT AS 'SQL Statement',last_execution_time AS 'Last Execution Time' ,(total_logical_reads + total_physical_reads + total_lo 阅读全文
posted @ 2020-03-24 15:37 DBArtist 阅读(753) 评论(0) 推荐(0) 编辑
摘要:在MS Sql Server中可以能过以下的方法查询出磁盘空间的使用情况及各数据库数据文件及日志文件的大小及使用利用率: 1、查询各个磁盘分区的剩余空间:Exec master.dbo.xp_fixeddrives 2、查询数据库的数据文件及日志文件的相关信息(包括文件组、当前文件大小、文件最大值、 阅读全文
posted @ 2020-03-23 14:47 DBArtist 阅读(548) 评论(0) 推荐(0) 编辑
摘要:python3 安装pymssql失败 报错信息: AttributeError: module 'platform' has no attribute 'linux_distribution' 解决方法: 网上查了一堆后说是python3.7以后platform.linux_distributio 阅读全文
posted @ 2020-03-16 09:41 DBArtist 阅读(1962) 评论(0) 推荐(0) 编辑
摘要:一、先安装python3所依赖的软件包,非常重要(否则可能会出现python3安装成功,却缺少相应的pip) [root@centos src]# yum groupinstall "Development tools" -y [root@centos src]# yum -y install zl 阅读全文
posted @ 2020-03-12 21:11 DBArtist 阅读(842) 评论(0) 推荐(0) 编辑
摘要:python3 安装pyodbc失败 报错1: 关键报错信息: fatal error: sql.h: No such file or directory [root@centfos python38]# pip3 install pyodbc Collecting pyodbc Using cac 阅读全文
posted @ 2020-03-12 20:58 DBArtist 阅读(4974) 评论(0) 推荐(0) 编辑

点击右上角即可分享
微信分享提示