(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 调试的更多相关文章

  1. 利用硬链接和truncate降低drop table对线上环境的影响

    众所周知drop table会严重的消耗服务器IO性能,如果被drop的table容量较大,甚至会影响到线上的正常. 首先,我们看一下为什么drop容量大的table会影响线上服务 直接执行drop ...

  2. Hive drop table batched

    if the hive version not support drop table tablename purge. your drop table command will move data t ...

  3. DROP TABLE ** CASCADE CONSTRAINTS PURGE删除表的时候级联删除从表外键

    1.关于 cascade constraints 假设A为主表(既含有某一主键的表),B为从表(即引用了A的主键作为外键). 则当删除A表时,如不特殊说明,则 drop table A 系统会出现错误 ...

  4. Truncate table、Delete与Drop table的区别

    Truncate table.Delete与Drop table的区别 TRUNCATE TABLE 在功能上与不带 WHERE 子句的 DELETE 语句相同:二者均删除表中的全部行.但 TRUNC ...

  5. Oracle10g 回收站及彻底删除table : drop table xx purge

    drop后的表被放在回收站(user_recyclebin)里,而不是直接删除掉.这样,回收站里的表信息就可以被恢复,或彻底清除. 1.通过查询回收站user_recyclebin获取被删除的表信息, ...

  6. oracle drop table and purge

    一.drop表 执行drop table xx 语句 drop后的表被放在回收站(user_recyclebin)里,而不是直接删除掉.这样,回收站里的表信息就可以被恢复,或彻底清除. 通过查询回收站 ...

  7. drop table xx purge

    drop table xx purge; 说明: 所有删除的表都会在回收站里面,只有后面加上purge才是彻底的清空表. (一般用于测试.练习数据表,所以最好不要带purge,要不误删就找不到了.)

  8. SQL Server数据库的存储过程中定义的临时表,真的有必要显式删除临时表(drop table #tableName)吗?

    本文出处:http://www.cnblogs.com/wy123/p/6704619.html 问题背景 在写SQL Server存储过程中,如果存储过程中定义了临时表,有些人习惯在存储过程结束的时 ...

  9. Hive drop table卡住的问题

    在hive中,show tables,create 等命令能正常执行,删除表drop table x时,会出现卡住的现象. 进入mysql, show variables like 'char%' 可 ...

随机推荐

  1. [jobdu]树中两个结点的最低公共祖先

    http://ac.jobdu.com/problem.php?pid=1509 此题最直观的方法是两次DFS,分别找到这两个节点的path,然后遍历path1和path2做比较,找到最后一个共同的元 ...

  2. 坑爹的UICollectionView

    最近用UICoolectionView的时候遇到一个很DT的问题,我往VC里加12个视图,结果显示成这样(右边是期待的样子):       研究了一下午,终于发现了问题: @interface FpL ...

  3. c/c++ void 指针

    原文 : http://blog.csdn.net/yyyuhan/article/details/3153290 1.概述 许多初学者对C/C++语言中的void及void指针类型不甚理解,因此在使 ...

  4. bzoj1103

    其实这道题和以前在poj上做过的将树映射到树状数组的题目很像 首先不难想到,将一条边从土路修成公路,只对以这条边连接的孩子结点为根的子树有影响: 于是和之前那道poj的题目很像,后序遍历树,对每个节点 ...

  5. 按CTRL,SHIFT,ALT等键扩展easyui的datagrid多选实现

    //------------------------------------------------------------------------------- // 当然页面文件中还需要引入的文件 ...

  6. C#图片处理之: 另存为压缩质量可自己控制的JPEG

    处理图片时常用的过程是:读入图片文件并转化为Bitmap -> 处理此Bitmap的每个点以得到需要的效果 -> 保存新的Bitmap到文件使用C#很方便的就可以把多种格式的图片文件读到B ...

  7. app图片规格

    我们定义的app图片规格 app图标需要分iphone和android两套 iphone: 名称 Iphone4 Iphone5 手机尺寸 960*640(高*宽) 1136*640 (高*宽) 电池 ...

  8. [liu yanling]常用的测试工具

    常用的测试工具 1. 功能测试工具——QTP 2. 性能测试工具——LoadRunner 3. 测试管理工具——TestDirector 4. 白盒测试工具——Nunit,Junit,C++Test, ...

  9. 编译 skia

    0.准备工作 在 https://android.googlesource.com/ 用 git 代码,当然也可以从skia的官方https://code.google.com/p/skia/ 中获取 ...

  10. 2015年10月22日CSS学习笔记

    XHTML1.0对HTML4.0的改进 借鉴了XML的写法,语法更加严格. 把页面的内容和样式分离了,废弃了html4中的表示样式的标签和属性.推荐使用css来描述页面的样式. CSS样式的优先级 ! ...