<dfn id="w48us"></dfn><ul id="w48us"></ul>
  • <ul id="w48us"></ul>
  • <del id="w48us"></del>
    <ul id="w48us"></ul>
  • 數(shù)據(jù)管理員面試經(jīng)典問題

    時間:2020-11-15 14:47:33 Interview 我要投稿

    數(shù)據(jù)管理員面試經(jīng)典問題

      Seven Interview Questions for Data Base Administrators

    數(shù)據(jù)管理員面試經(jīng)典問題

      1. Why is a UNION ALL faster than a UNION?

      The union operation, you will recall, brings two sets of data together. It will not, however, produce duplicate or redundant rows. To perform this feat of magic, a SORT operation is done on both tables. This is obviously computationally

      intensive, and uses significant memory as well.

      A UNION ALL conversely just dumps collection of both sets together in random order, not worrying about duplicates.

      2. What are some advantages to using Oracle's CREATE DATABASE statement to create a new database manually?

      • You can script the process to include it in a set of install scripts you deliver with a product.

      • You can put your create database script in CVS for version control, so as you make changes or adjustments to it, you can track them like you do changes to software code.

      • You can log the output and review it for errors.

      • You learn more about the process of database creation, such as what options are available and why.

      3. What are three rules of thumb to create good passwords? How would a DBA enforce those rules in Oracle? What business challenges might you encounter?

      Typical password cracking software uses a dictionary in the local language, as well as a list of proper names, and combinations thereof to attempt to guess unknown passwords. Since computers can churn through tens of thousands of attempts quickly, this can be a very effective way to break into a database. A good password therefore should not be a dictionary word; it should not be a proper name, birthday, or other obvious guessable information. It should also be of sufficient length, such as eight to 10 characters, including upper and lowercase, special characters, and even alternate characters if possible.

      Oracle has a facility called password security profiles. When installed they can enforce complexity, and length rules as well as other password related security measures.

      In the security arena, passwords can be made better, and it is a fairly solvable problem. What about in the real world? Often the biggest challenge is in implementing a set of rules like this in the enterprise. There will likely be a lot of resistance to this, as it creates additional hassles for users of the system who may not be used to thinking about security seriously. Educating business folks about the real risks, by coming up with real stories of vulnerabilities and break-ins you've encountered on the job, or those discussed on the internet goes a long way towards emphasizing what is at stake.

      4. Describe the Oracle Wait Interface, how it works, and what it provides. What are some limitations? What do the db_file_sequential_read and db_file_scattered_read events indicate?

      The Oracle Wait Interface refers to Oracle's data dictionary for managing wait events. Selecting from tables such as v$system_event and v$session_event give you event totals through the life of the database (or session). The former are totals for the whole system, and latter on a per session basis. The event db_file_sequential_read refers to single block reads, and table accesses by rowid. db_file_scattered_read conversely refers to full table scans. It is so named because the blocks are read, and scattered into the buffer cache.

      5. How do you return the top-N results of a query in Oracle? Why doesn't the obvious method work?

      Most people think of using the ROWNUM pseudocolumn with ORDER BY. Unfortunately the ROWNUM is determined before the ORDER BY so you don't get the results you want. The answer is to use a subquery to do the ORDER BY first. For example to return the top five employees by salary: SELECT * FROM (SELECT * FROM employees ORDER BY salary) WHERE ROWNUM < 5;

      6. Can Oracle's Data Guard be used on Standard Edition, and if so how? How can you test that the standby database is in sync?

      Oracle's Data Guard technology is a layer of software and automation built on top of the standby database facility. In Oracle Standard Edition it is possible to be a standby database, and update it manually. Roughly, put your production database in archivelog mode. Create a hotbackup of the database and move it to the standby machine. Then create a standby controlfile on the production machine, and ship that file, along with all the archived redolog files to the standby server. Once you have all these files assembled, place them in their proper locations, recover the standby database, and you're ready to roll. From this point on, you must manually ship, and manually apply those archived redologs to stay in sync with production.

      To test your standby database, make a change to a table on the production server, and commit the change. Then manually switch a logfile so those changes are archived. Manually ship the newest archived redolog file, and manually apply it on the standby database. Then open your standby database in read-only mode, and select from your changed table to verify those changes are available. Once you're done, shutdown your standby and startup again in standby mode.

      7. What is a database link? What is the difference between a public and a private database link? What is a fixed user database link?

      A database link allows you to make a connection with a remote database, Oracle or not, and query tables from it, even incorporating those accesses with joins to local tables.

      A private database link only works for, and is accessible to the user/schema that owns it. Any user in the database can access a global one. A fixed user link specifies that you will connect to the remote db as one and only one user that is defined in the link. Alternatively, a current user database link will connect as the current user you are logged in as.

      As you prepare for your DBA Interview, or prepare to give one, we hope these questions provide some new ideas and directions for your study. Keep in mind that there are a lot of directions an interview can go. As a DBA, emphasize what you know, even if it is not the direct answer to the question, and as an interviewee, allow the interview to go in creative directions.

      In the end, what is important is potential or aptitude, not specific memorized answers. So listen for problem-solving ability, and thinking outside the box, and you will surely find or be the candidate for the job.

    【數(shù)據(jù)管理員面試經(jīng)典問題】相關(guān)文章:

    oracle數(shù)據(jù)庫面試問題08-18

    數(shù)據(jù)結(jié)構(gòu)面試常見問題10-18

    空姐面試經(jīng)典問題12-14

    面試經(jīng)典問題回答12-06

    面試常見經(jīng)典問題11-21

    2017面試常見問題100個面試經(jīng)典問題07-06

    面試經(jīng)典問題與回答12-06

    經(jīng)典空姐面試問題12-01

    面試的經(jīng)典英語問題12-13

    主站蜘蛛池模板: 亚洲AV日韩精品久久久久| 无码人妻精品一区二区三区夜夜嗨 | 国产精品涩涩涩视频网站| 精品国产热久久久福利| 国产伦精品一区二区三区女| 亚洲精品卡2卡3卡4卡5卡区| 国产专区日韩精品欧美色| 99在线热播精品免费99热| 亚洲精品卡2卡3卡4卡5卡区| 久久精品无码一区二区app| 免费精品一区二区三区第35 | 精品国产污污免费网站| 最新国产成人精品2024| 精品人妻少妇一区二区| 91精品国产麻豆国产自产在线 | 国产精品成人无码久久久久久| 国产办公室秘书无码精品99| 永久免费精品影视网站| 精品欧美一区二区在线看片| 成人一区二区三区精品| 精品国精品国产| 国产精品亚洲成在人线| 亚洲精品tv久久久久久久久| 欧美精品国产一区二区三区| 国产精品无码专区在线观看| 亚洲精品综合一二三区在线| 成人国产精品一区二区网站 | 97精品伊人久久久大香线蕉| 精品乱人伦一区二区三区| 99精品国产在热久久| 国内精品九九久久久精品| 久久精品欧美日韩精品| 亚洲AV无码国产精品麻豆天美| 久久精品国产99久久久| 国产高清在线精品一本大道| 久久夜色精品国产亚洲| 国产精品www| 精品免费视在线观看| 精品国产污污免费网站| 久久青青草原精品影院| 青青青青久久精品国产|