I need a response in your opinion, from this answer
Q1.
Any user accessing the database is more interested in quick and correct result than how a database is designed. Hence if we introduce redundancy in the table and if the performance of the query increases, then we can ignore 3NF. This is known as denormalization. In this process, a normalized table will be rejoined to have the redundancy in the table to increase the performance of the query. Denormalization need not be true in all cases. It all depends on the data. In addition, it also depends on the redundant column which we are re-introducing into the table and frequency of this column update.
Advantages:
1.The data is present in the same table so there is no need for any joins, hence the selects are very fast.
2.A single table with all the required data allows much more efficient index usage. If the columns are indexed properly, then results can be filtered and sorted by utilizing the same index. While in the case of a normalized table, since the data would be spread out in different tables, this would not be possible.
Disadvantages:
1.It usually speeds retrieval but can slow updates
2.It is always application-specific and needs to be re-evaluated if the application changes
3.Cost of disk space will be more as we are keeping duplicate records
4.In some instances, denormalization simplifies coding; in others, it makes it more complex.
5.Data anomalies, as It allows duplicate data, so at any modification of data, it should modification of every piece of its duplicate data which led to large computation and complex report.
Q2.
First let's see what is materialized view :
The concrete view is a chart object, where you store query results in a separate chart object (for example, occupy storage space and contain data). This indicates that the concrete view returns a physically separate copy of the table data.
materialized view is good when you want to aggregate data and get this summary information from large tables frequently and quickly. This thing can be also achieved by denormalization where deonormalize some of your tables and maintain the aggregates via code or repeatedly scan large sets of rows. If you keep the results in a separate tables, you complicate your application code, you will be in charge of making sure that the manually aggregated data is in synch with the original table's data.
An example would be if you need to answer the question "how many
employees are in departements ( x, y, z )" frequently. You could
have a table of DEPT's and EMP's and join them and count. OR -- you
could store in the DEPT table a count of the number of employees in
that department -- an EMP_COUNT column -- and every time you
added/removed an employee detail record, you would have to maintain
this column. Here materialized view can be used for such an
operation.
Denormalization TYPICALLY involves "pre-joining" frequently joined
data to avoid having to do that at runtime. This typically results
in redudant data they either the system (via materialized views) or
you must remember to maintain in addition to the raw detail
data.
Q:1
/* Any user accessing the database is more interested in quick and correct result than how a database is designed. Hence if we introduce redundancy in the table and if the performance of the query increases, then we can ignore 3NF */
instead of above sentence you can write, Denormalization is a database optimization technique in which we add redundant data to one or more tables .Which will decrease the cost of query which was due to heavy joins between tables. This is done to speed up database access by moving from higher to lower form of normalization.
Other part of answer is Ok.
Q.2
in Materialized view you can write definition as following .
we can the frequently used query and store it under some name! This is similar to view but here we are executing the query and storing the results of query under name. This type of view is called materialized view .
I need a response in your opinion, from this answer Q1. Any user accessing the database is more i...
I need a response in your opinion, from this answer// i need your opinion if you agree with it or not DENORMALIZATION:- Denormalization is defined as a strategy which is being used for normalizing a database which in turn would increase the performance and also helps in improving the read performance of the database process. This technique helps in improving the scalability of the Web applications and also includes the following There are four following parts is there , they...
You will develop an E-Commerce database used to maintain
customers, products and sales information. You are required to 1)
gather and analyze requirements 2) design logical structure of the
database 3) create stored procedures to develop the tables and
insert the data 4) write SQL statements for data extraction and
reporting.
Throughout the course of this semester you have analyzed the
requirements for an eCommerce database, designed and developed your
database. As a class we have gone through the process...
erms Matching Match the key terms with their definitions. Write the key term letter by the appropriate numbered definition k. Foreign key 1. Multitable query m. Nul a. AND condition b. Auto Number c. Caption property d. Cascade Delete Related Records e. Cascade Update Related fields f. Comparison Operator 8. Criteria row h. Data redundancy i. Data type 1. Field property o. OR condition p. Query q. Referential Integrity r. Simple Query Wizard 5. Wildcard Special character that can represent...
Using mySQL, tables at the end... This assignment uses the tables from the vets database. The goal of the assignment is to get you to think about joins- inner join and outer joins. If you do a join, where you have the names of two or more tables in the From clause, then you must use the condition join syntax or the column name join. Take care that you do not accidentally do a Cartesian product. If your result set...
Someone please answer all of these. I need these badly. The
submission date is knocking at the door.
Experiment 1: SQL data definition and data insertion 46 hours) 1. CREATE TABLE. The database schema consists of the three relations, whose schemas are: S (Spa, Sname. Sgender, Sage, Sdert? // students(SID, name, gender, age, department) SC (Spa, Cne. Grade) //Course(SID, CID, grade) C (One Cname Crno. Ceredit) l/courses (CID, course name, prerequisite courses, credit) 2. DROP TABLE, ALTER TABLE, CREATE INDEX,...
If the focus in a form moves from left to right and you want the focus to move from top to bottom, change the _____. . a. . sort order . b. . tab order . c. . form layout . d. . focus grouping What do you change when you drag the right border of a form in Form Design view? . a. . the layout of the form . b. . the width of the form ....
SUBJECT: INFORMATION TECHNOLOGY, CLASS: ADVANCE DATABASE MANAGEMENT Hello Everyone, I need help on a project for my ITD 256 Class. These are the questions I am suppose to answer: Project: The project should include designing a database deals with making a proposal for the database implementation. You can either try to fix an existing problem in your business or create a new database for the new projects or new clients. Please define the objective, scope, and time frame of your...
Hospital Patient Reglstration System Hospltal Patient Registration System Part 2: Relational Schema: Description of Tables 1) 2) Patient Table: Contains detail information about patients. Patient Address: Contains list of patients addresses. Each Patient can have more than one Address. However, an address can belong to only one patient. DOD DATETM 3) Provider Table: Contains detail information about Service Provider's, 4) Provider Address: Contains list of provider's addresses. 5) Provider Department: Contains information about which provider are in which department. Provider...
QUESTION 8 Which layer of the TCP/IP hierarchy presents incoming messages to the computer user? a. Network b. Link c. Transport d. Application 2.5 points QUESTION 9 A relational database is a collection of one or more tables that are related by key values. True False 2.5 points QUESTION 10 Which standards organization produced the OSI reference model for internet communication? a. IEEE b. ISO c. ANSI 2.5 points QUESTION 11 Which of the following is used...
Overview: Database management plays an integral role in nearly every area of business. Databases house customer, accounting, and employee data, and these different data sets must all be efficiently managed in order to make the data accessible. Companies rely on database engineers to ensure that their records are accurate, updated, and tracked in real time. This course covers structured query language (SQL) and how it can be used to manage database schemas, manipulate data, and analyze data. For your final...