已阅读5页,还剩2页未读, 继续免费阅读
版权说明:本文档由用户提供并上传,收益归属内容提供方,若内容存在侵权,请进行举报或认领
文档简介
How to Test Oracle DatabasePosted In | Database TestingOracle Database Testing This shall be one of the 3 parts of Oracle Database testing series. We will cover following 3 parts in this database testing series:#1) Introduction to Oracle Database Testing#2) Testing the database with respect to Memory, Space and CPU processing#3) Real Database Application TestingLets start with the Introduction to Oracle Database Testing:We shall cover the following topics in this part:1. What is a database?2. Why Oracle?3. Why the need to test a database?4. How do you test one?#1) What is a database?Also read = All about Database testingA database is collection of data structured methodically which helps manage, manipulate and retrieve data as and when required.A database is managed by making use of database software named the Database Management System (DBMS) which provides an interface for end users to access the data stored in the database. We access, manipulate this data by SQL statements (Structured Query Language) which was designed for this specific purpose.For a layman who isnt aware of the term “database” consider this We have a desktop/laptop assuming most of us have windows software installed on it, we open a Microsoft excel sheet, store couple of names and addresses of individuals, save and close it. This data is stored on your hard disk of your desktop/laptop. Next time we want to look up the address of a person which we have in the excel sheet, we open this excel sheet and look it up. Consider this excel sheet as the “database” and the windows operating system as the “DBMS” software which knows how to access and open the file so that the requested piece of information is available to us.The DBMS software is much more complex, evolved and integrated and is responsible for performing various tasks and activities to ensure smooth functioning of the database.#2) Why Oracle?Oracle is the corporation which has built the software to manage a database. Oracle database is one of the most sophisticated, robust, scalable, secure databases available in the market due to the exquisite features all bundled and available to us.Data in this database is termed relational due to the fact that data is stored and sorted in tables and each of these tables has a relationship established among them. Hence the name- Relational Database Management System (RDBMS).Real example: Consider a class which consists of 50 students and each of them having residential address, class that they have opted, their phone numbers.Each students address could be grouped and stored in one table, phone numbers in an another table. If I have to query details of a particular student I look up each of these tables and get the respective information since each of these tables seem “related”.Managing data in Oracle is particularly favored due to simplicity in managing and creating them. Since todays competitive world demands uninterrupted availability, Oracle database helps deliver it at lower costs.You could skip the first two sections discussed above if you already have a faint idea about databases, relational models and Oracle. Now, comes the interesting part:#3) Why the need to test a database?Data is one of the most integral constituents of an organization which is deemed extremely sensitive and we demand the database which manages them to make sure they are highly impregnable.A Database can be considered as an application that runs among various other applications running on your server. Database does have to be installed just like any other application and interacts with the hardware through the operations system (windows, unix) that runs on your server.We have to make sure we get the optimal performance and benefits out of the Oracle database. The database will not manage itself and perform if you arent aware of its capability.We have various methods to test a database in terms of load, stress, I/O, performance.Functioning of a database depends on several parameters such as the memory, CPU processing speed, I/O subsystem, filesystem, hardware and applications that connect to the database.So, to make sure the database performs optimally and avoids the risk of instabilities we need to make sure all the above parameters are well tuned. Most importantly tune them with respect to your environment. Database in every organization is different handled, managed and backed up differently. A telecom industry will want a database which is highly responsive and accurate since millions of user might be making use of the database. A database for a chemical factory comparatively wouldnt need such a high responsive database since they would focus mostly in reporting and retrieving data as they would have much lesser traffic to handle.#4) How do you test your database?We usually have the following environments in an organization:1. UAT (User Acceptance Testing)2. DEV (Development environments)3. Pre-Prod or TEST environments4. ProductionWe usually perform testing on a considerable amount of data which we perceive to be eventually moved to production. This testing is performed in the pre-prod, test or UAT environments.-Before deploying a production database we need to validate the data to make sure that the production is not hampered with any adverse effects. We need to make sure that the database is tested with full workload just as you expect it to be run against the production database and monitor to ensure the operational and functional requirements are met. We need to test each of the SQL statements thoroughly before they would be deployed in production.Set a benchmark which you feel is acceptable; this again involves several cycles of testing. If there are any third party applications that might be part of the organizational infrastructure, make sure the third party vendors are involved and obtain their feedback regarding the licensing, functioning of their application with the database.If they do have certain parameters that need to be set to handle a particular amount of workload, set them and make sure they are accepted by the organization and the vendor. If they do have certain tools to test their application performance make sure they are validated since most databases, including Oracle, do not support third party applications and fixing an issue which creeps up after having the application deployed in production would be very tedious and could have a huge impact on the organization at which the database server resides.Points to Consider for Testing Oracle DB: Consider the amount of users SQL statements that they might execute The Memory used for each of the users for each of the statements The number of transactions that a user would normally execute to retrieve the desired information from the database Test if users are receiving the desired response from the database within the expected stipulated time.1) Memory TestIn terms of Memory, depends on the number of processes that are running in the database as the database system constitutes of user, server and background processes.User processes are the processes which service user requests from the application. Server processes interpret the request from the application users and processes the SQL statements sent from the user.Background processes help with the functioning of database and perform various tasks during the life of the database. The advantage of Oracle is that the memory can be automatically managed by database and it can tune it accordingly to the load. But, despite that we need to make sure we have enough memory on the server and certain amount of memory is always dedicated for the Oracle database.2) Space TestIn terms of Space, we need to consider the amount of data which would be worked on daily, weekly, monthly, yearly and how much of it would you want stored permanently or for a longer period of time.We should get this valuable piece of information from the Business intelligence who has designed the infrastructure. Another crucial piece of information is to know if we need to store unlimited amounts of data. Define “unlimited” should be your first question. We can have terabytes of data stored as long as you have enough resources to support it. We would have to manage them with data requirements which have been ever growing.3) Processing TestIn terms of Processing, how many CPU cores would we need? Remember a core is a physical entity and with the advent of CPU subsystem technology, we have various methods to employ and utilize multiple CPUs cores and multiple threads per core.Suppose you have 8 CPUs at your disposal,
温馨提示
- 1. 本站所有资源如无特殊说明,都需要本地电脑安装OFFICE2007和PDF阅读器。图纸软件为CAD,CAXA,PROE,UG,SolidWorks等.压缩文件请下载最新的WinRAR软件解压。
- 2. 本站的文档不包含任何第三方提供的附件图纸等,如果需要附件,请联系上传者。文件的所有权益归上传用户所有。
- 3. 本站RAR压缩包中若带图纸,网页内容里面会有图纸预览,若没有图纸预览就没有图纸。
- 4. 未经权益所有人同意不得将文件中的内容挪作商业或盈利用途。
- 5. 人人文库网仅提供信息存储空间,仅对用户上传内容的表现方式做保护处理,对用户上传分享的文档内容本身不做任何修改或编辑,并不能对任何下载内容负责。
- 6. 下载文件中如有侵权或不适当内容,请与我们联系,我们立即纠正。
- 7. 本站不保证下载资源的准确性、安全性和完整性, 同时也不承担用户因使用这些下载资源对自己和他人造成任何形式的伤害或损失。
最新文档
- 2026年安徽职业技术学院单招职业适应性测试题库必考题
- 2026年山西省临汾市单招职业适应性考试题库附答案
- 2026年大连装备制造职业技术学院单招职业技能考试必刷测试卷附答案
- 2026年贵州交通职业技术学院单招职业倾向性考试必刷测试卷必考题
- 2026年重庆青年职业技术学院单招职业倾向性测试题库新版
- 2026年湖南铁道职业技术学院单招职业倾向性考试题库必考题
- 2026年海南体育职业技术学院单招职业适应性考试题库及答案1套
- 2026年重庆城市职业学院单招职业技能考试题库及答案1套
- 2026年安徽新闻出版职业技术学院单招综合素质考试必刷测试卷必考题
- 2026年丽水职业技术学院单招综合素质考试题库附答案
- 脑卒中患者营养管理指南
- 上海市二级甲等综合医院评审标准(2024版)
- GB/T 44913-2024充填处理单晶体宝石鉴定与分类
- (高清版)DB41∕T 2137-2021 公路隧道监控量测技术规程
- 会计师事务所组织机构设置及工作职责
- 《废水生物处理技术》课件
- 《产业投资》课件
- 【MOOC】电工学-西北工业大学 中国大学慕课MOOC答案
- 喉癌放疗课件
- 中职班干部培训内容
- 信息检索与利用课件 第2章 信息检索
评论
0/150
提交评论