I have only read permission to the database I'm querying in. The same query was working for since yesterday but today I am encountering the below error in sql server management studio.
The transaction log for database 'tempdb' is full. To find out why space in the log cannot be reused, see the log_reuse_wait_desc column in sys.databases
Any thoughts or suggestions are much appreciated. Thanks in advance!!
tempdb support operations like sort or temporary tables.
If a big select with a huge sort operation happens, tempdb might increase unexpectedly.
First make sure that kind of operations are exceptionals, if not fix it or make sure users are sensitive about this subject.
Then restart the instance and shrink the tempdb data file to reduce it to a proper size.
Restarting the instance will produce a service stop, so make sure users are aware of the restart
Edit :
Also if the given ETL cannot or won't be changed, then this is considered as normal behavior and the server has to be properly configured/sized in order to support such transactions.