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%' 可 ...
随机推荐
- Django单元测试(二)------测试工具
The test client test client是一个python类,来模拟一个简单的“哑”浏览器,允许你来测试你的view函数.你可以使用test client完成下列事情: 1.模拟&quo ...
- [译]GotW #6b Const-Correctness, Part 2
const和mutable对于书写安全代码来说是个很有利的工具,坚持使用它们. Problem Guru Question 在下面代码中,在只要合适的情况下,对const进行增加和删除(包括 ...
- 常用的SQL分页算法及对比
SQL Server 2005引入的新方法. SELECT * FROM (SELECT ROW_NUMBER() OVER(ORDER BY keyField DESC) AS rowNum, * ...
- C# MVC模式下商品抽奖
很久没有写博客,于是就把最近项目需求的一个抽奖功能给整理了下,语言表达能力不好,写的不好请勿吐槽,一笑而过就好.好了下面开始说说这个抽奖功能.因为涉及到公司的项目所以一些敏感的地方均已中文代替. 首先 ...
- 原生APP与移动Web App的比较
中国手机网民已超4.5亿,智能机用户超过3.8亿,中国移动互联网市场产值已超过712.5亿元,手机营销是未来必然趋势,而App恰恰是这个趋势下的一个强有力的营销工具: App已有两个主要的方向:原生A ...
- Java C# MD5 加密串一致性
Java C# MD5 加密串一致性 Java public final static String md5(String s) { char hexDigits[] = { '0', '1', ...
- 从零开始学习jQuery (九) jQuery工具函数
一.摘要 本系列文章将带您进入jQuery的精彩世界, 其中有很多作者具体的使用经验和解决方案, 即使你会使用jQuery也能在阅读中发现些许秘籍. 我们经常要使用脚本处理各种业务逻辑, 最常见的就 ...
- VC一些经验系列: 《分享泄漏检测工具:内存、DC、GDI、Handle... 》
分享下自己工作中用到的一些用于泄漏检测的工具 后面的是DC的一些定义和注意事项.(不喜勿看) //=================================================== ...
- 大数加法,A+B
A + B Problem II Time Limit: 2000/1000 MS (Java/Others) Memory Limit: 65536/32768 K (Java/Others) ...
- 使用页面对象模型(pageFactory)
页面对象模型可以使测试脚本有更高癿可维护性,减少了重复癿代码,把页面抽象出来. 页面对象设计模式提供了测试一个接口,测试可以像用户行为一样来操作页面. 通过隐藏页面元素定位,返有劣将测试代码和页面分离 ...