(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]二叉树的镜像

    树的镜像,这里的做法就是先序遍历的反过来呗. #include <iostream> #include <vector> using namespace std; void p ...

  2. ANDROID_MARS学习笔记_S01原始版_016_Service

    一.代码1.xml(1)main.xml <?xml version="1.0" encoding="utf-8"?> <LinearLayo ...

  3. 134. Gas Station

    题目: There are N gas stations along a circular route, where the amount of gas at station i is gas[i]. ...

  4. Android自定义属性时format选项可以取用的值

    1. reference:参考某一资源ID. (1)属性定义: <declare-styleable name="名称"> <attr format=" ...

  5. C#中如何生成矢量图

    主要的功能就是使用C#画矢量图,然后导出到Word.Excel.Powerpoint中,并且能够再次被编辑.以下是解决过程: 首先应该确定在Office文档中可编辑图形使用的格式:学习了相关资料,了解 ...

  6. 【HDOJ】1045 Fire Net

    经典深搜.注意满足条件. #include <stdio.h> #include <string.h> #define MAXNUM 5 char map[MAXNUM][MA ...

  7. DP录 (更新)

    补补弱项 全面发展.. 从最基础来 sdut1299最长上升子序 #include <iostream> #include<cstdio> #include<cstrin ...

  8. apache开源项目--Ignite

    Apache Ignite 内存数组组织框架是一个高性能.集成和分布式的内存计算和事务平台,用于大规模的数据集处理.Ignite 为应用和不同的数据源之间提供一个高性能.分布式内存中数据组织管理的框架 ...

  9. LR 录制时,web_link出现乱码

    在录制时,用到了web_link,但是web_link不能实别中文,因此在回放时,不能识别web_link,问题如下: web_link("??",   "Text=?? ...

  10. GTK+中的树状列表构件(GtkTreeView)

    GTK+中的树状列表构件(GtkTreeView) GTK+中的树状列表构件(GtkTreeView) 在本章的GTK+程序设计教程中,我们将向大家重点介绍非常常用也有点复杂的构件--GtkTreeV ...