Transaction log and tempdb

Collapse
This topic is closed.
X
X
 
  • Time
  • Show
Clear All
new posts
  • Kurt

    Transaction log and tempdb

    Hello

    I have questions about how works transaction log et the database
    tempdb in SQL Server and I hop you could help me
    - Is it possible to reduce the size of the transaction log fil during
    an execution ? Indeed, I have a script inserting a very large quantity
    of data (many Go) and during that process my transaction log file use
    all the space avaible on my hard drive. Is there any way to solve that
    problem ?
    - Is it possible to limit the size of the database tempdb ? I have an
    another script inserting data using a select joinning 2 tables of
    about 20 Go with group by. If I execute that script sql server seems
    to freeze and I must kill the process. What can I do ? Is the only
    solution is that I must make more avaible space on my hard drive ?

    Thanks in advance for your answers.


    K.

Working...