
January 22nd, 2013, 11:36 AM
|
|
Registered User
|
|
Join Date: Jan 2013
Posts: 3
Time spent in forums: 25 m 33 sec
Reputation Power: 0
|
|
Quote: | Originally Posted by abhisheksinghbi Actually in a project i got this issue.
In a table a column was there which keeps record of how much memory(in KBs) is released after deletion of some data from a other table.
So can u suggest any way through which i can do the same. |
You could calculate how much space the row that you are deleting is taking up but SQL server doesn't actually release memory that way. When you delete a row, it creates a space in the database that may or may not be filled up later on when you insert another row.
How if fills up the log file depends on what recovery model you are using. If you are using simple, as soon as the transaction is complete, it is removed from the transaction log file with the exception of the LSN [Log Sequence Number]. Also, this depends on what version of SQL you are using. SQL 2005+ handles this differently than SQL 2000
I agree with gk53, the question doesn't make a whole lot of sense
|