1answer.
Ask question
Login Signup
Ask question
All categories
  • English
  • Mathematics
  • Social Studies
  • Business
  • History
  • Health
  • Geography
  • Biology
  • Physics
  • Chemistry
  • Computers and Technology
  • Arts
  • World Languages
  • Spanish
  • French
  • German
  • Advanced Placement (AP)
  • SAT
  • Medicine
  • Law
  • Engineering
bonufazy [111]
3 years ago
7

A particular Table in a relational database contains 100,000 Data Records/rows, each of which Data Record/row requires 200 bytes

. A select statement returns all Data Records/rows in the Table that satisfy an equality search on an attribute. Estimate the time in milliseconds to complete the query when each of the following Indexes on that attribute is used.
A. No Index (Heap File of Data Records)
B. A Static Hash Index (with no overflow buckets/Pages). Assume the cost of applying the hash function is H, negligible.
Engineering
1 answer:
MrRa [10]3 years ago
3 0

The correct question is;

A particular table in a relational database contains 100,000 rows, each of which requires

200 bytes of memory. Estimate the time in milliseconds to to insert a new row into the

table when each of the following indices on the related attribute is used. Assume a page

size of 4K bytes and a page access time of 20 ms.

a. No index (heap file)

b. A clustered, non-integrated B+ tree index, with no node splitting

required. Assume that each index entry occupies 100 bytes. Assume that the

index is 75% occupied and the actual data pages are 100% occupied. Assume

that all matching entries are in a single page.

Answer:

A) 20 ms

B) 120 ms

Explanation:

A) Append (at the end of file). Just one IO, i.e., 20 ms

B) Now, when we assume that each entry in the index occupies 100 bytes, then an index page can thus hold 40 entries. Due to the fact that the data file occupies 5000 pages, the leaf level of the tree must contain at least 5000/40 pages which is 125 pages.

So, the number of levels in the tree (assuming page 75% occupancy in the

index) is (log_30 (125)) + 1 = 3. Now, if we assume that the index is clustered and not integrated with the data file and all matching entries are in a single

page, then 4 I/O operations and 80ms are required to retrieve all matching

records. Two additional I/O operations are required to update the leaf page

of the index and the data page. Hence, the time to do the insertion is

120ms.

You might be interested in
Ok there........................................................................
Juliette [100K]

Answer:

ok THERE

Explanation:

4 0
3 years ago
Air at 38°C and 97% relative humidity is to be cooled to 14°C and fed into a plant area at a rate of 510m3/min. (a) Calculate th
Katarina [22]

To develop the problem it is necessary to apply the concepts related to the ideal gas law, mass flow rate and total enthalpy.

The gas ideal law is given as,

PV=mRT

Where,

P = Pressure

V = Volume

m = mass

R = Gas Constant

T = Temperature

Our data are given by

T_1 = 38\°C

T_2 = 14\°C

\eta = 97\%

\dot{v} = 510m^3/kg

Note that the pressure to 38°C is 0.06626 bar

PART A) Using the ideal gas equation to calculate the mass flow,

PV = mRT

\dot{m} = \frac{PV}{RT}

\dot{m} = \frac{0.6626*10^{5}*510}{287*311}

\dot{m} = 37.85kg/min

Therfore the mass flow rate at which water condenses, then

\eta = \frac{\dot{m_v}}{\dot{m}}

Re-arrange to find \dot{m_v}

\dot{m_v} = \eta*\dot{m}

\dot{m_v} = 0.97*37.85

\dot{m_v} = 36.72 kg/min

PART B) Enthalpy is given by definition as,

H= H_a +H_v

Where,

H_a= Enthalpy of dry air

H_v= Enthalpy of water vapor

Replacing with our values we have that

H=m*0.0291(38-25)+2500m_v

H = 37.85*0.0291(38-25)-2500*36.72

H = 91814.318kJ/min

In the conversion system 1 ton is equal to 210kJ / min

H = 91814.318kJ/min(\frac{1ton}{210kJ/min})

H = 437.2tons

The cooling requeriment in tons of cooling is 437.2.

3 0
3 years ago
How might constraints and trade-offs affect the final design of a bridge?
Rainbow [258]

Answer:

It will limit the materials for your bridge which could cause damage to your bridge

Explanation:

4 0
3 years ago
Read 2 more answers
What are the relative volume requirements for a CM reactor compared to a PF reactor if first-order kinetics apply and treatment
Tanzania [10]

Answer:

look it up

Explanation:

6 0
3 years ago
At a high school science fair, Connor won first place for his replica of the Golden Gate Bridge. Connor liked the
PtichkaEL [24]

The correct answer is A. Earning a bachelor's degree in Civil Engineering from a four-year university, completing an internship, and seeking a job at a private firm.

Explanation:

In the U.S. and many countries, the best to start a career is to enroll in a formal educational program at a university or college. This helps students learn concepts, theories, methods, etc. they need for their profession. Moreover, a degree such as a bachelor's degree is required by employers. In this context, the first step for Connor is to earn a bachelor's degree in Civil Engineering.

Besides this, an internship is recommended after earning a degree because this is the way students can gain real-life work experience, which is considered positive by employers. This means the next step should be an internship.

Finally, Connor can seek a job to design bridges and other buildings because after the degree and internship he will have the experience and knowledge required by employers and by the job.

6 0
3 years ago
Other questions:
  • Open root weld coupons generally have an bevel angle of?
    7·1 answer
  • Water vapor at 10 MPa, 600°C enters a turbine operating at steady state with a volumetric flow rate of 0.36 m3/s and exits at 0.
    15·1 answer
  • Which of the following identifies a criterion needed to become a civil engineer?
    15·1 answer
  • The creation of designer drugs is outpacing the ability of society to enact laws to prohibit them. Many of these substances have
    11·1 answer
  • Energy is generated uniformly in a 6 cm thick wall. The steady-state temperature distribution
    11·1 answer
  • Which of these credit building options do you personally think is the easiest method that you can see yourself doing? Explain yo
    8·1 answer
  • Troy must keep track of the amount of refrigerant he uses from a 50-pound cylinder to ensure that accurate
    9·1 answer
  • An engine has been diagnosed with blowby.
    12·1 answer
  • 2. Technician A says that the torque converter and transmission change engine revolutions per minute into torque to move the veh
    6·1 answer
  • PLS HELP!!!
    5·2 answers
Add answer
Login
Not registered? Fast signup
Signup
Login Signup
Ask question!