what is the differnce between process and thread ?
Answer / santosh kumar
1.Threads share the address space of the process that created it; processes have their own address.
2.Threads have direct access to the data segment of its process; processes have their own copy of the data segment of the parent process.
3.Threads can directly communicate with other threads of its process; processes must use interprocess communication to communicate with sibling processes.
4.Threads have almost no overhead; processes have considerable overhead.
5.New threads are easily created; new processes require duplication of the parent process.
6.Threads can exercise considerable control over threads of the same process; processes can only exercise control over child processes.
7.Changes to the main thread (cancellation, priority change, etc.) may affect the behavior of the other threads of the process; changes to the parent process does not affect child processes.
Is This Answer Correct ? | 1 Yes | 0 No |
Explain the difference between ARCHIVELOG mode and NOARCHIVELOG mode and the benefits and disadvantages to each.
Other than making use of the statspack utility, what would you check when you are monitoring or running a health check on an Oracle 8i or 9i database?
how can you implement fine-grained auditing?
If you are given access to a sql server, how do you find if the sql instance is a named instance or a default instance? : sql server DBA
i had backup last manday.now i need back monday to now ..how do get backup?
How many files can a database contain in sql server?how many types of data files exists in sql server? How many of those files can exist for a single database? : sql server DBA
how to copy(migrate) the database one server to another server without using expdp/impdp how it is possible.
What the different topologies in which replication can be configured? : sql server DBA
How to determine the service pack currently installed on SQL Server?
How would you edit your CRONTAB to schedule the running of /test/test.sh to run every other day at 2PM?
Should you place Recovery Catalog in the Same DB? . Can you use RMAN without Recovery catalog
What are the operating modes in which database mirroring runs? : sql server DBA