Question

In: Computer Science

1. Explain why a transaction may have many cursors. Also, how is it possible that a...

1. Explain why a transaction may have many cursors. Also, how is it possible that a transaction may have more than one cursor on a given table? Support your answer with example.

2. After a DBMS has been selected, what is the DBA’s role in DBMS maintenance?

3. Do you think, splitting a table might improve performance? Why/why not.

Solutions

Expert Solution

1)

Multiple Cursors

A cursor is a pointer into a set or rows. A transaction can use two or more cursors either in sequence or at the same time to execute different query or a transaction. one or more cursor also uses considerably memory. It is possible to declare more cursors for a same table. The transaction table can open more than on cursor. When one cursor closes, another cursor opens or when both the cursor opens at a time they may close at the same time or different place.

Example:

DECLARE CURSOR1

OPEN CURSOR 1

SELECT ' FROM Employee

CLOSE CURSOR1

DECLARE CURSOR2

OPEN CURSOR2

SELECT ' FROM Employee WHERE Salary >1ooo

CLOSE CURSOR2

In the examples given above, two cursors such as CURSOR1 and CURSOR2 are declared.

Then CURSOR1 opens and fetch the rows from Employee table.

Now, CURSOR1 closed and CURSOR2 opens. CURSOR2 will fetch all the rows from the

Employee table whose salary is more than 1000.

2)

The DBA role’s in DBMS maintenance:

DBA is responsible for all the maintenance activity related to database.

DBA is basically an administrator who maintains the Database.

The DBA plays a major role in DBMS maintenance.

The DBA installs the DBMS as per the need of the organization.

The DBA Changes the DBMS configuration, installation as per the requirement.

DBA maintain the DBMS, installs update, review security threat, monitor the database provide

access and grants to the user.

Every time a new version or a DBMS is releases by the vendor, it is the responsibility or DBA

who reviews and determines whether the organization should upgrade to it or not.

The DBA also need to handle any fixes to the problems in the DBMS that is released by the

vendor. If a problem occurs to affecting the database; the DBA coordinates with the required

people to resolve the issue.


Related Solutions

please explain as many as possible and as clearly as possible : 1. Why 5G will...
please explain as many as possible and as clearly as possible : 1. Why 5G will be a rollout rather than a launch? 2. What are the concerns about 5G in terms of privacy?
1. Explain how it is possible for you to have so many different kinds of cells...
1. Explain how it is possible for you to have so many different kinds of cells in your body (e.g. muscle cells, skin cells, liver cells, etc.) when nearly all of the cells contain the same 46 molecules of DNA (chromosomes). 2. Explain in your own words your understanding of the central dogma of biology. Answer each of the following questions. What is the primary structure of a protein? Of what importance is the primary structure of a protein? What...
1. Explain how it is possible for you to have so many different kinds of cells...
1. Explain how it is possible for you to have so many different kinds of cells in your body (e.g. muscle cells, skin cells, liver cells, etc.) when nearly all of the cells contain the same 46 molecules of DNA (chromosomes). 2. Explain in your own words your understanding of the central dogma of biology. Answer each of the following questions. What is the primary structure of a protein? Of what importance is the primary structure of a protein? What...
explain how communication can develop and present possible solutions to the problem(s) presented. You may also...
explain how communication can develop and present possible solutions to the problem(s) presented. You may also use outside sources if you like, but cite the sources. Each scenario could have several different responses, so include as many of these as possible. A company that manufactures furniture increasingly finds that their workforce speaks Spanish fluently but not English. Management does not know Spanish and this creates communication problems. Should management learn Spanish? Should English classes be offered to the workers? Are...
Explain Transaction Exposure and why this may be a potential foreign exchange risk for an Australian...
Explain Transaction Exposure and why this may be a potential foreign exchange risk for an Australian business exporting internationally. Discuss how Leading and Lagging strategies could be appropriate for managing risk. Your answer should include three citations.
Explain Transaction Exposure and why this may be a potential foreign exchange risk for an Australian...
Explain Transaction Exposure and why this may be a potential foreign exchange risk for an Australian business exporting internationally. Discuss how Leading and Laggingstrategies could be appropriate for managing risk?
Explain Transaction Exposure and why this may be a potential foreign exchange risk for an Australian...
Explain Transaction Exposure and why this may be a potential foreign exchange risk for an Australian business exporting internationally. Discuss how Leading and Lagging strategies could be appropriate for managing risk. Your answer should include three citations.
If a couple has six boys and six girls, how many gender sequences are possible? (Also,...
If a couple has six boys and six girls, how many gender sequences are possible? (Also, is there a way to do this with a T-83 plus calculator?)
1. a) Exactly what is required for a barter transaction to occur? b) Why do many...
1. a) Exactly what is required for a barter transaction to occur? b) Why do many economists argue that a barter transaction is not as “efficient” as a money-based transaction? 2. Please describe the concept of “counterfeit” and give an example of a situation involving this concept. 3. What is “hyperinflation”, exactly? Why must every country’s government worry about it? Give an example of hyperinflation: why is it so harmful to a nation’s economy and its people? What is a...
state the four quantum numbers then explain the possible values they may have and what they...
state the four quantum numbers then explain the possible values they may have and what they actually represent
ADVERTISEMENT
ADVERTISEMENT
ADVERTISEMENT