DBA面试题大全.doc
《DBA面试题大全.doc》由会员分享,可在线阅读,更多相关《DBA面试题大全.doc(68页珍藏版)》请在得力文库 - 分享文档赚钱的网站上搜索。
1、一份ORACLE DBA面试题一:SQL tuning 类1:列举几种表连接方式答:merge join,hash join,nested loop2:不借助第三方工具,怎样查看sql的执行计划答:sqlplusset autotrace .utlxplan.sql创建plan_table表3:如何使用CBO,CBO与RULE的区别答:在初始化参数里面设置optimizer_mode=choose/all_rows/first_row等可以使用cbo.rbo会选择不合适的索引,cbo需要统计信息。4:如何定位重要(消耗资源多)的SQL答:根据v$sqlarea 中的逻辑读/disk_read。
2、以及寻找CPU使用过量的session,查出当前session的当前SQL语句,或者:监控WIN平台Oracle的运行5:如何跟踪某个session的SQL答:先找出对应的sid,serial,然后调用system_system.set_sql_trace_in_session(sid,serial,true);参考:跟踪某个会话6:SQL调整最关注的是什么答:逻辑读。IO量7:说说你对索引的认识(索引的结构、对dml影响、对查询影响、为什么提高查询性能答:默认的索引是b-tree.对insert的影响.(分裂,要保证tree的平衡)对delete的影响.(删除行的时候要标记改节点为删除).对
3、update的影响,如果更新表中的索引字段,则要相应的更新索引中的键值。查询中包含索引字段的键值和行的物理地址。8:使用索引查询一定能提高查询的性能吗?为什么答:不能。如果返回的行数目较大,使用全表扫描的性能较好。9:绑定变量是什么?绑定变量有什么优缺点答:通俗的说,绑定变量就是变量的一个占位符,使用绑定变量可以减少只有变量值不同的语句的解析。10:如何稳定(固定)执行计划答:使用stored outline.11:和排序相关的内存在8i和9i分别怎样调整,临时表空间的作用是什么答i:使用sort_area_size,hash_area_size,每个session分配相同的值,不管有无使用。
4、9i: 使用pga_aggregate来统一管理。临时表空间的作用:在sort_area_size中不能完成的部分在临时表空间完成,临时表空间在重建索引,创建临时表等都要用到。还有hash join不能完成的也在临时表空间中做。12:存在表T(a,b,c,d),要根据字段c排序后取第2130条记录显示,请给出sqlselect a,b,c,d from (select a,b,c,d from T order by c) where rownum=30minusselect a,b,c,d from (select a,b,c,d from T order by c) where rownum
5、 1 otherwise 1 the order of this algorithm is .a. log (n) b. n c. n2 d. nn8. The number of 1s in the binary representation of 3*4096+ 15*256+5*16+ 3 are .a. 8 b. 9 c. 10 d. 12百威啤酒(武汉公司)1,为什么申请来百威?2,将来有什么打算?3,有没有社会活动经历?4,有没有当众演讲的经历?5,经常使用那些软件?6,喜欢哪些课程?7,你认为工作中的什么因素对你来说最重要?8,什么时候可以来上班?可以在这里工作多久?9,八点上班
6、,要加班和出差,能不能做到?星巴克1、 您是一家咖啡店的店经理,你发现店内同时出现下列状况:1)许多张桌子桌面上有客人离去后留下的空杯未清理,桌面不干净待整理。2)有客人正在询问店内卖哪些品种,他不知如何点咖啡菜单。3)已有客人点完成咖啡,正在收银机旁等待结帐。4)有厂商正准备要进货,需要店经理签收。请问,针对上述同时发生的情况,你要如何排定处理之先后顺序,为什么2、 有一位甲员工脾气不好以致在前三家店因为与店内其他同事相处不佳而屡屡调动,现在甲被调到你的店里面来,请问身为店经理的你,将如何应对?3、 你是店经理,本周五结帐后,发现门市总销售额较上周五减少30%,请问可能原因 会是哪几种,各原
7、因如何应对?凹凸电子软件笔试题1. Select ONE of the following projects to discuss:a. Signal Filtering: You are given a sampled real time waveform consisting of a sensor reading mixed with highly periodic impulses and high frequency noise. The desired output is the real time filtered sensor signal with the impulses
8、and noise removed, and a readout of the impulse period. The FFT may not be used.b. Interrupt Processing. A headware register consisting of eight independent edge triggered latches is used to record external asynchronous interrupt requests. When any of the request bits are latched, a software interru
9、pt is generated. The software may read the latch to see which interrupt(s) occurred. Writing a one to any latch bit will clear the latch. How does that software assure that no interrupt request is ever missed?c. User Interface: a prototype MP3 player interface consisting of a playlist display and a
10、few control buttons is given to you. How would you make the interface “skinnable”, with user selected graphics, options, and control button placement?Each project description is incomplete. What questions would you ask to completely specify the project? What development tools would you prefer to use
11、?What algorithm /data structures/design would you use?2. What program(s) have you coded for you own enjoyment (not part of a school project, not for pay). What type of software project would you most enjoy working on?3. Have you participated in a team programming project? What is the hardest part of
12、 programming as a team, as opposed to programming alone?友立资讯笔试题目1一堆鸡蛋,3个3个数剩余2个,5个5个数剩余1个,7个7个数剩余3个,问这堆鸡蛋 最少有多少个?并给出通解。2列举五岳,及其所在省份。3何为四书。4按顺序默写24节气。5默写于谦的吟石灰。6英语翻译约300字。7作文一篇:求职有感。普华永道PWC笔试题目(作文)1最近10年来中国媒体的变化。2你认为发展汽车产业和公共交通哪个更重要?3如何理解风险投资?4如何理解广告的消极作用和积极作用?Avant! 微电子EE笔试题1名词解释:VLSI,CMOS,EDA,VHDL,
- 配套讲稿:
如PPT文件的首页显示word图标,表示该PPT已包含配套word讲稿。双击word图标可打开word文档。
- 特殊限制:
部分文档作品中含有的国旗、国徽等图片,仅作为作品整体效果示例展示,禁止商用。设计者仅对作品中独创性部分享有著作权。
- 关 键 词:
- DBA 试题 大全
限制150内