drop table big_table 调试
(gdb) thread apply all bt Thread (Thread 0x7f5430627940 (LWP )):
# 0x00007f5497db1019 in pthread_cond_wait@@GLIBC_2.3.2 () from /lib64/libpthread.so.
# 0x0000000000baaa63 in os_cond_wait (cond=0x42b5d40, fast_mutex=0x42b5d00) at /usr/src/mysql-5.6./storage/innobase/os/os0sync.cc:
# 0x0000000000baaadf in os_event_wait_low (event=0x42b5d00, reset_sig_count=) at /usr/src/mysql-5.6./storage/innobase/os/os0sync.cc:
# 0x0000000000c6ff5d in sync_array_wait_event (arr=0x1943d60, index=) at /usr/src/mysql-5.6./storage/innobase/sync/sync0arr.cc:
# 0x0000000000c71bbe in rw_lock_s_lock_spin (lock=0x7f543a683530, pass=, file_name=0x1071be0 "/usr/src/mysql-5.6.28/storage/innobase/buf/buf0flu.cc", line=) at /usr/src/mysql-5.6./storage/innobase/sync/sync0rw.cc:
# 0x0000000000cf9c64 in rw_lock_s_lock_func (lock=0x7f543a683530, pass=, file_name=0x1071be0 "/usr/src/mysql-5.6.28/storage/innobase/buf/buf0flu.cc", line=) at /usr/src/mysql-5.6./storage/innobase/include/sync0rw.ic:
# 0x0000000000cf9d10 in pfs_rw_lock_s_lock_func (lock=0x7f543a683530, pass=, file_name=0x1071be0 "/usr/src/mysql-5.6.28/storage/innobase/buf/buf0flu.cc", line=) at /usr/src/mysql-5.6./storage/innobase/include/sync0rw.ic:
# 0x0000000000cfb7a4 in buf_flush_page (buf_pool=0x19a61a8, bpage=0x7f543a683400, flush_type=BUF_FLUSH_LIST, sync=false) at /usr/src/mysql-5.6./storage/innobase/buf/buf0flu.cc:
# 0x0000000000cfbb7c in buf_flush_try_neighbors (space=, offset=, flush_type=BUF_FLUSH_LIST, n_flushed=, n_to_flush=) at /usr/src/mysql-5.6./storage/innobase/buf/buf0flu.cc:
# 0x0000000000cfbe60 in buf_flush_page_and_try_neighbors (bpage=0x7f543a683400, flush_type=BUF_FLUSH_LIST, n_to_flush=, count=0x7f5430626f70) at /usr/src/mysql-5.6./storage/innobase/buf/buf0flu.cc:
# 0x0000000000cfc453 in buf_do_flush_list_batch (buf_pool=0x19a61a8, min_n=, lsn_limit=) at /usr/src/mysql-5.6./storage/innobase/buf/buf0flu.cc:
# 0x0000000000cfc833 in buf_flush_batch (buf_pool=0x19a61a8, flush_type=BUF_FLUSH_LIST, min_n=, lsn_limit=) at /usr/src/mysql-5.6./storage/innobase/buf/buf0flu.cc:
# 0x0000000000cfcc88 in buf_flush_list (min_n=, lsn_limit=, n_processed=0x7f5430627068) at /usr/src/mysql-5.6./storage/innobase/buf/buf0flu.cc:
# 0x0000000000cfcdf5 in page_cleaner_do_flush_batch (n_to_flush=, lsn_limit=) at /usr/src/mysql-5.6./storage/innobase/buf/buf0flu.cc:
# 0x0000000000cfd85f in buf_flush_page_cleaner_thread (arg=0x0) at /usr/src/mysql-5.6./storage/innobase/buf/buf0flu.cc:
# 0x00007f5497dac83d in start_thread () from /lib64/libpthread.so.
# 0x00007f5497259fdd in clone () from /lib64/libc.so.
# 0x0000000000000000 in ?? () Thread (Thread 0x7f542e5e1940 (LWP )):
# 0x0000000000c73635 in sync_thread_levels_g (arr=0x4ab7330, limit=, warn=) at /usr/src/mysql-5.6./storage/innobase/sync/sync0sync.cc:
# 0x0000000000c7456d in sync_thread_add_level (latch=0x7f5442ed5cb0, level=, relock=) at /usr/src/mysql-5.6./storage/innobase/sync/sync0sync.cc:
# 0x0000000000c74f2c in mutex_set_debug_info (mutex=0x7f5442ed5cb0, file_name=0x106d580 "/usr/src/mysql-5.6.28/storage/innobase/buf/buf0buf.cc", line=) at /usr/src/mysql-5.6./storage/innobase/sync/sync0sync.cc:
# 0x0000000000ce43c5 in mutex_enter_func (mutex=0x7f5442ed5cb0, file_name=0x106d580 "/usr/src/mysql-5.6.28/storage/innobase/buf/buf0buf.cc", line=) at /usr/src/mysql-5.6./storage/innobase/include/sync0sync.ic:
# 0x0000000000ce4478 in pfs_mutex_enter_func (mutex=0x7f5442ed5cb0, file_name=0x106d580 "/usr/src/mysql-5.6.28/storage/innobase/buf/buf0buf.cc", line=) at /usr/src/mysql-5.6./storage/innobase/include/sync0sync.ic:
# 0x0000000000ce6f0f in buf_pool_validate_instance (buf_pool=0x19a5d38) at /usr/src/mysql-5.6./storage/innobase/buf/buf0buf.cc:
# 0x0000000000ce7d58 in buf_validate () at /usr/src/mysql-5.6./storage/innobase/buf/buf0buf.cc:
# 0x0000000000ceedc0 in buf_page_get_gen (space=, zip_size=, offset=, rw_latch=, guess=0x0, mode=, file=0x10862e0 "/usr/src/mysql-5.6.28/storage/innobase/fsp/fsp0fsp.cc", line=, mtr=0x7f542e5dd6a0) at /usr/src/mysql-5.6./storage/innobase/buf/buf0buf.cc:
# 0x0000000000d5a2dd in fsp_get_space_header (id=, zip_size=, mtr=0x7f542e5dd6a0) at /usr/src/mysql-5.6./storage/innobase/fsp/fsp0fsp.cc:
# 0x0000000000d60d37 in fsp_reserve_free_extents (n_reserved=0x7f542e5dd5f0, space=, n_ext=, alloc_type=, mtr=0x7f542e5dd6a0) at /usr/src/mysql-5.6./storage/innobase/fsp/fsp0fsp.cc:
# 0x0000000000ccb028 in btr_cur_pessimistic_delete (err=0x7f542e5ddb84, has_reserved_extents=, cursor=0x4943f78, flags=, rb_ctx=RB_NORMAL, mtr=0x7f542e5dd6a0) at /usr/src/mysql-5.6./storage/innobase/btr/btr0cur.cc:
# 0x0000000000d94dcc in row_undo_ins_remove_clust_rec (node=0x4943f08) at /usr/src/mysql-5.6./storage/innobase/row/row0uins.cc:
# 0x0000000000d950c8 in row_undo_ins (node=0x4943f08) at /usr/src/mysql-5.6./storage/innobase/row/row0uins.cc:
# 0x0000000000c4c9d1 in row_undo (node=0x4943f08, thr=0x486e500) at /usr/src/mysql-5.6./storage/innobase/row/row0undo.cc:
# 0x0000000000c4cb06 in row_undo_step (thr=0x486e500) at /usr/src/mysql-5.6./storage/innobase/row/row0undo.cc:
# 0x0000000000bd8a99 in que_thr_step (thr=0x486e500) at /usr/src/mysql-5.6./storage/innobase/que/que0que.cc:
# 0x0000000000bd8cb4 in que_run_threads_low (thr=0x486e500) at /usr/src/mysql-5.6./storage/innobase/que/que0que.cc:
# 0x0000000000bd8e5c in que_run_threads (thr=0x486e500) at /usr/src/mysql-5.6./storage/innobase/que/que0que.cc:
# 0x0000000000c8c5e4 in trx_rollback_to_savepoint_low (trx=0x495b098, savept=0x495b410) at /usr/src/mysql-5.6./storage/innobase/trx/trx0roll.cc:
# 0x0000000000c8cdea in trx_rollback_to_savepoint (trx=0x495b098, savept=0x495b410) at /usr/src/mysql-5.6./storage/innobase/trx/trx0roll.cc:
# 0x0000000000c8d33d in trx_rollback_last_sql_stat_for_mysql (trx=0x495b098) at /usr/src/mysql-5.6./storage/innobase/trx/trx0roll.cc:
# 0x0000000000b329de in innobase_rollback (hton=0x194f7c0, thd=0x1934550, rollback_trx=false) at /usr/src/mysql-5.6./storage/innobase/handler/ha_innodb.cc:
# 0x0000000000625cd2 in ha_rollback_low (thd=0x1934550, all=false) at /usr/src/mysql-5.6./sql/handler.cc:
# 0x0000000000a4bd26 in MYSQL_BIN_LOG::rollback (this=0x180f380 <mysql_bin_log>, thd=0x1934550, all=false) at /usr/src/mysql-5.6./sql/binlog.cc:
# 0x0000000000625b51 in ha_rollback_trans (thd=0x1934550, all=false) at /usr/src/mysql-5.6./sql/handler.cc:
# 0x000000000089eb79 in trans_rollback_stmt (thd=0x1934550) at /usr/src/mysql-5.6./sql/transaction.cc:
# 0x00000000007d6090 in mysql_execute_command (thd=0x1934550) at /usr/src/mysql-5.6./sql/sql_parse.cc:
# 0x00000000007d67c4 in mysql_parse (thd=0x1934550, rawbuf=0x49b8380 "insert into big_table select * from big_table", length=, parser_state=0x7f542e5e0910) at /usr/src/mysql-5.6./sql/sql_parse.cc:
# 0x00000000007d83f4 in dispatch_command (command=COM_QUERY, thd=0x1934550, packet=0x48e8fb1 "insert into big_table select * from big_table", packet_length=) at /usr/src/mysql-5.6./sql/sql_parse.cc:
# 0x00000000007d9c80 in do_command (thd=0x1934550) at /usr/src/mysql-5.6./sql/sql_parse.cc:
# 0x000000000078e3fb in do_handle_one_connection (thd_arg=0x1934550) at /usr/src/mysql-5.6./sql/sql_connect.cc:
# 0x000000000078e4c1 in handle_one_connection (arg=0x1934550) at /usr/src/mysql-5.6./sql/sql_connect.cc:
# 0x0000000000b11172 in pfs_spawn_thread (arg=0x47889a0) at /usr/src/mysql-5.6./storage/perfschema/pfs.cc:
# 0x00007f5497dac83d in start_thread () from /lib64/libpthread.so.
# 0x00007f5497259fdd in clone () from /lib64/libc.so.
# 0x0000000000000000 in ?? ()
Thread (Thread 0x7f542e5a0940 (LWP )):
# 0x00007f5497db1280 in pthread_cond_timedwait@@GLIBC_2.3.2 () from /lib64/libpthread.so.
# 0x0000000000abe163 in safe_cond_timedwait (cond=0x49523e8, mp=0x4952378, abstime=0x7f542e59dba0, file=0xf07240 "/usr/src/mysql-5.6.28/include/mysql/psi/mysql_thread.h", line=) at /usr/src/mysql-5.6./mysys/thr_mutex.c:
# 0x000000000070497e in inline_mysql_cond_timedwait (that=0x49523e8, mutex=0x4952378, abstime=0x7f542e59dba0, src_file=0xf070a8 "/usr/src/mysql-5.6.28/sql/mdl.cc", src_line=) at /usr/src/mysql-5.6./include/mysql/psi/mysql_thread.h:
# 0x0000000000704a42 in MDL_wait::timed_wait (this=0x4952378, owner=0x4952290, abs_timeout=0x7f542e59dba0, set_status_on_timeout=false, wait_state_name=0x14f4b30 <MDL_key::m_namespace_to_wait_state_name+>) at /usr/src/mysql-5.6./sql/mdl.cc:
#4 0x0000000000706a0d in MDL_context::acquire_lock (this=0x4952378, mdl_request=0x4891f90, lock_wait_timeout=31536000) at /usr/src/mysql-5.6.28/sql/mdl.cc:2246
#5 0x00000000007070d4 in MDL_context::acquire_locks (this=0x4952378, mdl_requests=0x7f542e59df20, lock_wait_timeout=) at /usr/src/mysql-5.6./sql/mdl.cc:
# 0x000000000075fd46 in lock_table_names (thd=0x4952290, tables_start=0x4891bf0, tables_end=0x0, lock_wait_timeout=, flags=) at /usr/src/mysql-5.6./sql/sql_base.cc:
# 0x0000000000843260 in mysql_rm_table (thd=0x4952290, tables=0x4891bf0, if_exists= '\000', drop_temporary= '\000') at /usr/src/mysql-5.6./sql/sql_table.cc:
# 0x00000000007d1e63 in mysql_execute_command (thd=0x4952290) at /usr/src/mysql-5.6./sql/sql_parse.cc:
#9 0x00000000007d67c4 in mysql_parse (thd=0x4952290, rawbuf=0x4891b00 "drop table big_table", length=20, parser_state=0x7f542e59f910) at /usr/src/mysql-5.6.28/sql/sql_parse.cc:6386
# 0x00000000007d83f4 in dispatch_command (command=COM_QUERY, thd=0x4952290, packet=0x49bc971 "drop table big_table", packet_length=) at /usr/src/mysql-5.6./sql/sql_parse.cc:
# 0x00000000007d9c80 in do_command (thd=0x4952290) at /usr/src/mysql-5.6./sql/sql_parse.cc:
# 0x000000000078e3fb in do_handle_one_connection (thd_arg=0x496bfa0) at /usr/src/mysql-5.6./sql/sql_connect.cc:
# 0x000000000078e4c1 in handle_one_connection (arg=0x496bfa0) at /usr/src/mysql-5.6./sql/sql_connect.cc:
# 0x0000000000b11172 in pfs_spawn_thread (arg=0x49200f0) at /usr/src/mysql-5.6./storage/perfschema/pfs.cc:
# 0x00007f5497dac83d in start_thread () from /lib64/libpthread.so.
# 0x00007f5497259fdd in clone () from /lib64/libc.so.
# 0x0000000000000000 in ?? ()
drop table big_table 调试的更多相关文章
- 利用硬链接和truncate降低drop table对线上环境的影响
众所周知drop table会严重的消耗服务器IO性能,如果被drop的table容量较大,甚至会影响到线上的正常. 首先,我们看一下为什么drop容量大的table会影响线上服务 直接执行drop ...
- Hive drop table batched
if the hive version not support drop table tablename purge. your drop table command will move data t ...
- DROP TABLE ** CASCADE CONSTRAINTS PURGE删除表的时候级联删除从表外键
1.关于 cascade constraints 假设A为主表(既含有某一主键的表),B为从表(即引用了A的主键作为外键). 则当删除A表时,如不特殊说明,则 drop table A 系统会出现错误 ...
- Truncate table、Delete与Drop table的区别
Truncate table.Delete与Drop table的区别 TRUNCATE TABLE 在功能上与不带 WHERE 子句的 DELETE 语句相同:二者均删除表中的全部行.但 TRUNC ...
- Oracle10g 回收站及彻底删除table : drop table xx purge
drop后的表被放在回收站(user_recyclebin)里,而不是直接删除掉.这样,回收站里的表信息就可以被恢复,或彻底清除. 1.通过查询回收站user_recyclebin获取被删除的表信息, ...
- oracle drop table and purge
一.drop表 执行drop table xx 语句 drop后的表被放在回收站(user_recyclebin)里,而不是直接删除掉.这样,回收站里的表信息就可以被恢复,或彻底清除. 通过查询回收站 ...
- drop table xx purge
drop table xx purge; 说明: 所有删除的表都会在回收站里面,只有后面加上purge才是彻底的清空表. (一般用于测试.练习数据表,所以最好不要带purge,要不误删就找不到了.)
- SQL Server数据库的存储过程中定义的临时表,真的有必要显式删除临时表(drop table #tableName)吗?
本文出处:http://www.cnblogs.com/wy123/p/6704619.html 问题背景 在写SQL Server存储过程中,如果存储过程中定义了临时表,有些人习惯在存储过程结束的时 ...
- Hive drop table卡住的问题
在hive中,show tables,create 等命令能正常执行,删除表drop table x时,会出现卡住的现象. 进入mysql, show variables like 'char%' 可 ...
随机推荐
- simplemodal — jquery弹出窗体插件
方式一:使用jquery-1.7.1.min.js(1.9.1的版本我试过了,不行) + jquery_modal.js的方式 文件: testModel.css: /* Overlay ...
- ANDROID_MARS学习笔记_S01原始版_017_绑定SERVICE
一.流程 1.编写service,重写onBind(Intent intent),返回自定义的Binder 2.自写义Binder,提供一个可访问的方法,以传递数据 3.点击界面按钮会开启servic ...
- hbase安装(zookeeper等)
文库:http://wenku.baidu.com/link?url=5mnYL7ZuxUBWZnrnmak4JRVF5fJquJmjgmZy788i7UW8lUk4QXD8Nc_haPz33vjt9 ...
- JDK版本更换后编译android系统出错
一:javac: 目标发行版 1.5 与默认的源发行版 1.7 冲突 1.设置jdk环境变量 编译android源码只支持jdk 1.6,所以如果需要编译源码必须下载jdk 1.6,不能下载最新的jd ...
- 对easyUI中课堂源码编辑改进建议
在孙宇老师讲得Easyui第10讲完后,基本的增删该查做出来了,但是编辑存在一个问题:行内样式编辑修改,如果当用户没有修改数据,孙宇老师讲得时候直接return,这样做是不合理的:第二次再使用右键编辑 ...
- CDN原理
要了解CDN的实现原理,首先让我们来回顾一下网站传统的访问过程,以便理解其与CDN访问方式之间的差别: 由上图可见,传统的网站访问过程为:1. 用户在浏览器中输入要访问的域名:2. 浏览器向域名解析服 ...
- spilt用法简介
//获取墓位位置 string MWFLMC = "和平区祥和园D组A碑11排"; //得到字符数组 ]; //分割字符数组 sArray1 = MWFLMC.Split(] { ...
- modsecookie
Cookie parsing added添加cookie解析 现在你可以使用新的可选的过滤器变量(COOKIE_name, COOKIE_NAMES, COOKIE_VALUES)分析cookies. ...
- Jmeter初步使用三--使用jmeter自身录制脚本
今日,小编在网上看到很多人使用badboy来录制,然后再把jmx脚本弄到Jmeter上做性能测试.这种方法在小编刚用Jmeter时也曾经用过,但是感觉太麻烦了,所以就找了下其它资料.结果,小编偶然发现 ...
- Android UI -- 内容简介
Android UI(User Interface) 是android学习的必要课程,在接下来的内容我们将主要介绍 Android UI 的基础知识.