title: Is it necesary to shrink database then rebuild indexes and shrink database again and al this everyday?
body: <p>I have entered in a new company as a DBA. I have seen they have a maintenance SP that do these steps:</p>
  
  <p>1-Shrink database (this is bad!!)</p>
  
  <p>2- check the indexes and rebuild those that have high fragmentation (this is good)</p>
  
  <p>3- Create a script for those indexes and run it (not bad)</p>
  
  <p>4- Run a shrink of the log file  (is it a bad idea??)</p>
  
  <p>And all these steps everyday. I will suggest to remove the shrink part and run it every weekend. What do you think about it?</p>
  
  <p>Thank you very much...then I will ask you about the longs run queries.</p>
  
  <p>David.</p>