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 |
Which environment variables are absolutely critical in order to run the OUI?
how can you generate profile of pl/sql applications to identify performance bottlenecks?
From the database level, how can you tell under which time zone a database is operating?
What are the steps you will take, if you are tasked with securing an SQL Server?
What type of index should you use on a fact table?
Is it possible to update the multiple field values in a single query? If possible then write the actual query.
How would you edit your CRONTAB to schedule the running of /test/test.sh to run every other day at 2PM?
What is the importance of a recovery model? : sql server DBA
what is ora 24313?what is the procedure to exclude that error?
Explain what partitioning is and what its benefit is.
Compare and contrast TRUNCATE and DELETE for a table.
What background process refreshes materialized views?
2 Answers Accenture, FLSmidth,
Oracle (3259)
SQL Server (4518)
MS Access (429)
MySQL (1402)
Postgre (483)
Sybase (267)
DB Architecture (141)
DB Administration (291)
DB Development (113)
SQL PLSQL (3330)
MongoDB (502)
IBM Informix (50)
Neo4j (82)
InfluxDB (0)
Apache CouchDB (44)
Firebird (5)
Database Management (1411)
Databases AllOther (288)