Searching for "ING"

Q:

What does cache and no cache options mean while creating a sequence?

Answer

The CACHE option means how many sequences will be stored in memory for access by the application objects. The performance is faster. However in case of the database is down the data is memory is lost for the sequence.


The NO CACHE option means values are not stored in memory. So there might be some performance issue. 

Report Error

View answer Workspace Report Error Discuss

Subject: Oracle

Q:

How can we read and write operating system files from PL/SQL program?

Answer

The UTL_FILE database package can be used to read and write operating system files. You need to have read /write access rights in that directory before the package can be used.


Example to write file:


Fhandler is a variable of type UTL_FILE.FILE_TYPE


UTL_FILE.PUTF(fHandler, 'Im writing to a file\n');


 


Example to read file:


UTL_FILE.GET_LINE(fHandler, buf);

Report Error

View answer Workspace Report Error Discuss

Subject: Oracle

Q:

How to Add a new column to an existing table?

Answer

New column can be added using the ALTER TABLE command as shown below:
Example:
ALTER TABLE employee ADD DateOfBirth date

Report Error

View answer Workspace Report Error Discuss

Subject: Oracle

Q:

What do you mean by Redo Log file mirroring ?

Answer

-  The process of having a copy of redo log files is called mirroring.
-  It is done by creating group of log files together. This ensures that LGWR automatically writes them to all the members of the current on-line redo log group.
-  In case a group fails, the database automatically switches over to the next group. It diminishes the performance.

Report Error

View answer Workspace Report Error Discuss

Subject: Oracle

Q:

How is mapreduce related to cloud computing?

Answer

The mapreduce framework contains most of the key architecture principles of cloud computing such as:


- Scale: The framework is able to expand itself in direct proportion to the number of machines available.


- Reliable: The framework is able to compensate for a lost node and restart the task on a different node.


- Affordable: A user can start small and over time can add more hardware.

Report Error

View answer Workspace Report Error Discuss

Subject: Cloud Computing

Q:

What is the use of multi-threaded fetching in Amazon S3?

Answer

- Multi-threading fetching in Amazon S3 is used to fetch the objects concurrently using the multiple threads and map the task so that fetching can be made simpler. 


- It is not a good practice to increase the threading for a particular object as every node on the server has some bandwidth constraints. 


- It provides user the ease with which they can upload the files and upload the threads in parallel. 


- It provides high speed of data transfer and easy maintenance of the sever as well.

Report Error

View answer Workspace Report Error Discuss

Subject: Cloud Computing

Q:

What is Hypervisor in Cloud Computing and its types?

Answer

The hypervisor is a virtual machine monitor (VMM) that manages resources for virtual machines. The name hypervisor is suggested as it is a supervisory tool for the virtual machines. There are mainly two types of hypervisors :


- Type-1: the guest Vm runs directly over the host hardware, e.g Xen, Hyper-V, VmWare ESXi


- Type-2: the guest Vm runs over hardware through a host OS, e.g Kvm, Oracle virtualbox

Report Error

View answer Workspace Report Error Discuss

Subject: Cloud Computing

Q:

What is the use of eucalyptus in cloud computing environment?

Answer

Eucalyptus stands for “Elastic Utility Computing Architecture for Linking Your Programs to Useful Systems” and provides an open source software infrastructure to implement clusters in cloud computing platform. It is used to build private, public and hybrid clouds. It can also produce your own datacenter into a private cloud and allow you to extend the functionality to many other organizations. Eucalyptus provides APIs to be used with the web services to cope up with the demand of resources used in the private clouds.

Report Error

View answer Workspace Report Error Discuss

Subject: Cloud Computing