Please start any new threads on our new site at https://forums.sqlteam.com. We've got lots of great SQL Server experts to answer whatever question you can come up with.

 All Forums
 SQL Server 2008 Forums
 SQL Server Administration (2008)
 Is RAM linked with Data files

Author  Topic 

dbalearner
Constraint Violating Yak Guru

272 Posts

Posted - 2011-09-12 : 19:49:13
We have 2008 Server as
Microsoft SQL Server 2008 R2 (RTM) - 10.50.1600.1 (X64) Apr 2 2010 15:48:46 Copyright (c) Microsoft Corporation Enterprise Edition (64-bit) on Windows NT 6.1 <X64> (Build 7601: Service Pack 1) (Hypervisor)

just due to the LOW RAM Memory the server became little slow, but there were several DB's inside of which 1 db has more frequently transacted.

This DB has rose its LDF to almost 20 times to the MDF and (offcourse MDF to small extent) grows on daily basis.

Is there any connectivity with RAM to the rising of this Datafiles?

Can anyone explains.

Thanks.

tkizer
Almighty SQL Goddess

38200 Posts

Posted - 2011-09-12 : 19:51:16
What does this mean:

quote:

there were several DB's inside of which 1 db has more frequently transacted.



There's a small connection between memory and the mdf in that data pages are put in memory. The bigger your database gets and the need for the application to use it, the more memory it'll need/use. What makes you think that low memory availability is connected to your performance issues? Is this a dedicated database server?

It doesn't sound like you have proper database maintenance on your transaction log. I think we've been over this topic a few times with you, but please post exactly what you are doing with the tlog in regards to recovery model and backups.

Tara Kizer
Microsoft MVP for Windows Server System - SQL Server
http://weblogs.sqlteam.com/tarad/

Subscribe to my blog
Go to Top of Page

dbalearner
Constraint Violating Yak Guru

272 Posts

Posted - 2011-09-12 : 19:56:26
The DB's inside are SIMPLE in Recovery Mode and the backups were daily based.

What I want to know is the increase in the LDF as well as MDF (which is ok), but due to low RAM does this LDF increases so rapidly?
Go to Top of Page

dbalearner
Constraint Violating Yak Guru

272 Posts

Posted - 2011-09-12 : 19:57:57
Also this is Dedicated Server on 2008 Platform.
Go to Top of Page

tkizer
Almighty SQL Goddess

38200 Posts

Posted - 2011-09-12 : 19:58:04
They are unrelated.

You'll need to determine what is causing the transaction log growth. Here are some things that can do it:

1. Replication
2. Mirroring
3. Replication + mirroring
4. Large transactions
5. Index rebuilds

Tara Kizer
Microsoft MVP for Windows Server System - SQL Server
http://weblogs.sqlteam.com/tarad/

Subscribe to my blog
Go to Top of Page

dbalearner
Constraint Violating Yak Guru

272 Posts

Posted - 2011-09-12 : 20:00:17
Got clarified now as it seems not a big Change from 2005 to 2008 Platforms interms of this reasoning.

Absolutely I need to look into (4).

Go to Top of Page

dbalearner
Constraint Violating Yak Guru

272 Posts

Posted - 2011-09-12 : 20:05:48
Given the Thought under 2008 Platform not doing with INDEX REBUILDS.

is this a good or not?

Thanks
Go to Top of Page

tkizer
Almighty SQL Goddess

38200 Posts

Posted - 2011-09-12 : 20:18:09
I don't understand your question.

Tara Kizer
Microsoft MVP for Windows Server System - SQL Server
http://weblogs.sqlteam.com/tarad/

Subscribe to my blog
Go to Top of Page

dbalearner
Constraint Violating Yak Guru

272 Posts

Posted - 2011-09-12 : 20:48:59
No (Replication ; Mirroring; REPlication + Mirroring; Index Rebuild)

Only Large transactions coming onto Database which is in SIMPLE Recovery.

My Direct question is, whether with LOW RAM is anywhere is connected to grow any of the data files?

You replied NO.

Then obviously with Large transactions.

Currently we don't have any performace problems, but is slow; and end-user is not complaining.

Now is this large transactions interlinked with low RAM?

Go to Top of Page

tkizer
Almighty SQL Goddess

38200 Posts

Posted - 2011-09-12 : 20:50:25
What is slow?

Yes large transactions are related to memory. Please explain what you mean by low RAM. We need more details. How much memory do you have, what is SQL configured to use, 32-bit/64-bit, SQL and OS edition, lock pages in memory...?

Tara Kizer
Microsoft MVP for Windows Server System - SQL Server
http://weblogs.sqlteam.com/tarad/

Subscribe to my blog
Go to Top of Page

russell
Pyro-ma-ni-yak

5072 Posts

Posted - 2011-09-12 : 21:23:43
Queries might be slow because you aren't maintaining your indexes either.
Go to Top of Page
   

- Advertisement -