Friday, March 30, 2012

Increase in memory not working - Help Please

SqlServer2005 SE SP2 - Windows2003 EE SP2
Here's the facts:
Server has 8gb.
/PAE is in the boot.ini
Lock pages in memory option has been set to on with permissions for the SQL
login
Server was re-booted
Use AWE to allocate memory was set via SSMS
I can't increase the Max Server Memory via SSMS
Any help would be appreciated.
Thanks
Ron
Can you RUN the following and post the output of the max server memory
statement?
Is your concern that you can use SSMS? Or can't set the max memory?Not
trying to be obtuse, just wondering where your concern is.
sp_configure 'show advanced options', 1
RECONFIGURE
GO
sp_configure 'max server memory' ;
GO
sp_configure 'show advanced options', 0
RECONFIGURE
GO
"Ron" wrote:

> SqlServer2005 SE SP2 - Windows2003 EE SP2
> Here's the facts:
> Server has 8gb.
> /PAE is in the boot.ini
> Lock pages in memory option has been set to on with permissions for the SQL
> login
> Server was re-booted
> Use AWE to allocate memory was set via SSMS
> I can't increase the Max Server Memory via SSMS
> Any help would be appreciated.
> Thanks
> Ron
>
|||Do you need Enterprise Edition or will this work in Standard Edition?
"Joe" wrote:
[vbcol=seagreen]
> Can you RUN the following and post the output of the max server memory
> statement?
> Is your concern that you can use SSMS? Or can't set the max memory?Not
> trying to be obtuse, just wondering where your concern is.
> sp_configure 'show advanced options', 1
> RECONFIGURE
> GO
> sp_configure 'max server memory' ;
> GO
> sp_configure 'show advanced options', 0
> RECONFIGURE
> GO
> "Ron" wrote:
|||The Sql should be version independant.
If you are referring to the amount of memory that is supported in SQL 2005
that is generally controlled by the version of the OS.
Let's see how much is being consumed:
select counter_name, cntr_value / 1024.0 / 1024.0 as GB, *
from master..sysperfinfo
where object_name = 'SQLServer:Memory Manager'
and counter_name in ('Target Server Memory (KB)', 'Total
Server Memory (KB)')
Then post the max server memory result
"Ron" wrote:
[vbcol=seagreen]
> Do you need Enterprise Edition or will this work in Standard Edition?
> "Joe" wrote:
|||Joe,
Here's the results:
Target Server Memory (KB)
1.505187988281SQLServer:Memory Manager
Target
Server Memory (KB)
157830465792
SQL can only access 1.5gb out of 8gb on the server. The /PAE switch is in
boot.ini and lock pages set.
I tried using SSMS to check on AWE and bump up Max memory, but Max memory
won't go past 2gb and SQL still only takes 1.5GB.
Do I need to run sp_config instead of using SSMS? Also the server is now in
production, so would a recycle be required?
Thanks
Ron
"Joe" wrote:
[vbcol=seagreen]
> The Sql should be version independant.
> If you are referring to the amount of memory that is supported in SQL 2005
> that is generally controlled by the version of the OS.
> Let's see how much is being consumed:
> select counter_name, cntr_value / 1024.0 / 1024.0 as GB, *
> from master..sysperfinfo
> where object_name = 'SQLServer:Memory Manager'
> and counter_name in ('Target Server Memory (KB)', 'Total
> Server Memory (KB)')
> Then post the max server memory result
> "Ron" wrote:
|||On Apr 3, 6:45Xam, Ron <R...@.discussions.microsoft.com> wrote:
> Joe,
> Here's the results:
> Target Server Memory (KB) X X X X X X X X X X X X X X X X X X X X X X X X X X
> X X X X 1.505187988281 XSQLServer:Memory Manager X X X XX X X X X X X X X X X X X X X
> X X X X X X X X X X X X X X X X X X X X X X X X X X X X X X X X X X X X Target
> Server Memory (KB) X X X X X X X X X X X X X XX X X X X X X X X X X X X X X X
> X X X X X X X X X X X X 1578304 65792
> SQL can only access 1.5gb out of 8gb on the server. XThe /PAE switch is in
> boot.ini and lock pages set.
> I tried using SSMS to check on AWE and bump up Max memory, but Max memory
> won't go past 2gb and SQL still only takes 1.5GB.
> Do I need to run sp_config instead of using SSMS? XAlso the server is now in
> production, so would a recycle be required?
> Thanks
> Ron
>
> "Joe" wrote:
>
>
>
>
>
>
>
> - Show quoted text -
What do you mean when you say it won't go above 2GB? If you are
looking at the following number: 2147483647 in the option for Max
Memory - remember, that number is in MB which is 2097151.9990234375
GB, much larger than 2GB
If you want to use 6GB set it to: 6144 MB.
I would also include the /3GB switch in the boot.ini with only 8GB
available. The general rule is: more than 4GB but less than 12GB
include /3G - over 12GB don't include /3GB because the OS needs more
than 1GB of memory available when you have more than 12GB of memory
available.
HTH,
Jeff
|||All of my SQL Servers show a max memory of 2147483647, though by default non
go beyond 2gb.
This SQL Server can't seem to go past 1.5gb, thought the server has 8gb.
Do I need Enterprise Edition?
"Jeffrey Williams" wrote:

> On Apr 3, 6:45 am, Ron <R...@.discussions.microsoft.com> wrote:
> What do you mean when you say it won't go above 2GB? If you are
> looking at the following number: 2147483647 in the option for Max
> Memory - remember, that number is in MB which is 2097151.9990234375
> GB, much larger than 2GB
> If you want to use 6GB set it to: 6144 MB.
> I would also include the /3GB switch in the boot.ini with only 8GB
> available. The general rule is: more than 4GB but less than 12GB
> include /3G - over 12GB don't include /3GB because the OS needs more
> than 1GB of memory available when you have more than 12GB of memory
> available.
> HTH,
> Jeff
>
|||If this is SQL server 2005 you do not need EE. If it is 2000 you do.
You can use TSQL instead of the GUI.
To check for AWE you would run
sp_configure 'show advanced options', 1
RECONFIGURE
GO
sp_configure 'AWE enabled' ;
go
--if the above returns 1 then AWE is eanbled if 0 it is not
--to enable run
sp_configure 'AWE enabled', 1;
go
RECONFIGURE
GO
--now to set 6 gb ofr max ram
sp_configure 'max server memory', 6144 ;
GO
RECONFIGURE
GO
sp_configure 'show advanced options', 0
RECONFIGURE
GO
Need to ask some obvious questions you are in the system admin role on the
DB server ?
from this link:
http://msdn2.microsoft.com/en-us/library/ms190731.aspx
the following:
Windows Server 2003, Standard Edition supports physical memory up to 4
gigabytes (GB).
Windows Server 2003, Enterprise Edition supports physical memory up to 32 GB.
Windows Server 2003, Datacenter Edition supports physical memory up to 64 GB.
And finally
You must restart the instance of SQL Server for AWE to take effect.
"Ron" wrote:
[vbcol=seagreen]
> All of my SQL Servers show a max memory of 2147483647, though by default non
> go beyond 2gb.
> This SQL Server can't seem to go past 1.5gb, thought the server has 8gb.
> Do I need Enterprise Edition?
> "Jeffrey Williams" wrote:

Increase in memory not working - Help Please

SqlServer2005 SE SP2 - Windows2003 EE SP2
Here's the facts:
Server has 8gb.
/PAE is in the boot.ini
Lock pages in memory option has been set to on with permissions for the SQL
login
Server was re-booted
Use AWE to allocate memory was set via SSMS
I can't increase the Max Server Memory via SSMS
Any help would be appreciated.
Thanks
RonCan you RUN the following and post the output of the max server memory
statement?
Is your concern that you can use SSMS? Or can't set the max memory?Not
trying to be obtuse, just wondering where your concern is.
sp_configure 'show advanced options', 1
RECONFIGURE
GO
sp_configure 'max server memory' ;
GO
sp_configure 'show advanced options', 0
RECONFIGURE
GO
"Ron" wrote:
> SqlServer2005 SE SP2 - Windows2003 EE SP2
> Here's the facts:
> Server has 8gb.
> /PAE is in the boot.ini
> Lock pages in memory option has been set to on with permissions for the SQL
> login
> Server was re-booted
> Use AWE to allocate memory was set via SSMS
> I can't increase the Max Server Memory via SSMS
> Any help would be appreciated.
> Thanks
> Ron
>|||Do you need Enterprise Edition or will this work in Standard Edition?
"Joe" wrote:
> Can you RUN the following and post the output of the max server memory
> statement?
> Is your concern that you can use SSMS? Or can't set the max memory?Not
> trying to be obtuse, just wondering where your concern is.
> sp_configure 'show advanced options', 1
> RECONFIGURE
> GO
> sp_configure 'max server memory' ;
> GO
> sp_configure 'show advanced options', 0
> RECONFIGURE
> GO
> "Ron" wrote:
> > SqlServer2005 SE SP2 - Windows2003 EE SP2
> >
> > Here's the facts:
> >
> > Server has 8gb.
> > /PAE is in the boot.ini
> > Lock pages in memory option has been set to on with permissions for the SQL
> > login
> > Server was re-booted
> > Use AWE to allocate memory was set via SSMS
> >
> > I can't increase the Max Server Memory via SSMS
> >
> > Any help would be appreciated.
> >
> > Thanks
> >
> > Ron
> >|||The Sql should be version independant.
If you are referring to the amount of memory that is supported in SQL 2005
that is generally controlled by the version of the OS.
Let's see how much is being consumed:
select counter_name, cntr_value / 1024.0 / 1024.0 as GB, *
from master..sysperfinfo
where object_name = 'SQLServer:Memory Manager'
and counter_name in ('Target Server Memory (KB)', 'Total
Server Memory (KB)')
Then post the max server memory result
"Ron" wrote:
> Do you need Enterprise Edition or will this work in Standard Edition?
> "Joe" wrote:
> > Can you RUN the following and post the output of the max server memory
> > statement?
> > Is your concern that you can use SSMS? Or can't set the max memory?Not
> > trying to be obtuse, just wondering where your concern is.
> > sp_configure 'show advanced options', 1
> > RECONFIGURE
> > GO
> > sp_configure 'max server memory' ;
> > GO
> > sp_configure 'show advanced options', 0
> > RECONFIGURE
> > GO
> >
> > "Ron" wrote:
> >
> > > SqlServer2005 SE SP2 - Windows2003 EE SP2
> > >
> > > Here's the facts:
> > >
> > > Server has 8gb.
> > > /PAE is in the boot.ini
> > > Lock pages in memory option has been set to on with permissions for the SQL
> > > login
> > > Server was re-booted
> > > Use AWE to allocate memory was set via SSMS
> > >
> > > I can't increase the Max Server Memory via SSMS
> > >
> > > Any help would be appreciated.
> > >
> > > Thanks
> > >
> > > Ron
> > >|||Joe,
Here's the results:
Target Server Memory (KB)
1.505187988281 SQLServer:Memory Manager
Target
Server Memory (KB)
1578304 65792
SQL can only access 1.5gb out of 8gb on the server. The /PAE switch is in
boot.ini and lock pages set.
I tried using SSMS to check on AWE and bump up Max memory, but Max memory
won't go past 2gb and SQL still only takes 1.5GB.
Do I need to run sp_config instead of using SSMS? Also the server is now in
production, so would a recycle be required?
Thanks
Ron
"Joe" wrote:
> The Sql should be version independant.
> If you are referring to the amount of memory that is supported in SQL 2005
> that is generally controlled by the version of the OS.
> Let's see how much is being consumed:
> select counter_name, cntr_value / 1024.0 / 1024.0 as GB, *
> from master..sysperfinfo
> where object_name = 'SQLServer:Memory Manager'
> and counter_name in ('Target Server Memory (KB)', 'Total
> Server Memory (KB)')
> Then post the max server memory result
> "Ron" wrote:
> > Do you need Enterprise Edition or will this work in Standard Edition?
> >
> > "Joe" wrote:
> >
> > > Can you RUN the following and post the output of the max server memory
> > > statement?
> > > Is your concern that you can use SSMS? Or can't set the max memory?Not
> > > trying to be obtuse, just wondering where your concern is.
> > > sp_configure 'show advanced options', 1
> > > RECONFIGURE
> > > GO
> > > sp_configure 'max server memory' ;
> > > GO
> > > sp_configure 'show advanced options', 0
> > > RECONFIGURE
> > > GO
> > >
> > > "Ron" wrote:
> > >
> > > > SqlServer2005 SE SP2 - Windows2003 EE SP2
> > > >
> > > > Here's the facts:
> > > >
> > > > Server has 8gb.
> > > > /PAE is in the boot.ini
> > > > Lock pages in memory option has been set to on with permissions for the SQL
> > > > login
> > > > Server was re-booted
> > > > Use AWE to allocate memory was set via SSMS
> > > >
> > > > I can't increase the Max Server Memory via SSMS
> > > >
> > > > Any help would be appreciated.
> > > >
> > > > Thanks
> > > >
> > > > Ron
> > > >|||On Apr 3, 6:45=A0am, Ron <R...@.discussions.microsoft.com> wrote:
> Joe,
> Here's the results:
> Target Server Memory (KB) =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 ==A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0
> =A0 =A0 =A0 =A0 1.505187988281 =A0SQLServer:Memory Manager =A0 =A0 =A0 =A0= =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0
> =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 ==A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 Targ=et
> Server Memory (KB) =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0= =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0
> =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 1578304 65792
> SQL can only access 1.5gb out of 8gb on the server. =A0The /PAE switch is =in
> boot.ini and lock pages set.
> I tried using SSMS to check on AWE and bump up Max memory, but Max memory
> won't go past 2gb and SQL still only takes 1.5GB.
> Do I need to run sp_config instead of using SSMS? =A0Also the server is no=w in
> production, so would a recycle be required?
> Thanks
> Ron
>
> "Joe" wrote:
> > The Sql should be version independant. =A0
> > If you are referring to the amount of memory that is supported in SQL 20=05
> > that is generally controlled by the version of the OS.
> > Let's see how much is being consumed:
> > select counter_name, cntr_value / 1024.0 / 1024.0 as GB, *
> > =A0 =A0 =A0 =A0 from master..sysperfinfo
> > =A0 =A0 =A0 =A0 where object_name =3D 'SQLServer:Memory Manager'
> > =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 and counter_name in ('Target Server Memo=ry (KB)', 'Total
> > Server Memory (KB)')
> > Then post the max server memory result
> > "Ron" wrote:
> > > Do you need Enterprise Edition or will this work in Standard Edition?
> > > "Joe" wrote:
> > > > Can you RUN the following and post the output of the max server memo=ry
> > > > statement?
> > > > Is your concern that you can use SSMS? =A0Or can't set the max memor=y?Not
> > > > trying to be obtuse, just wondering where your concern is.
> > > > sp_configure 'show advanced options', 1
> > > > RECONFIGURE
> > > > GO
> > > > sp_configure 'max server memory' ;
> > > > GO
> > > > sp_configure 'show advanced options', 0
> > > > RECONFIGURE
> > > > GO
> > > > "Ron" wrote:
> > > > > SqlServer2005 SE SP2 - Windows2003 EE SP2
> > > > > Here's the facts:
> > > > > Server has 8gb. =A0
> > > > > /PAE is in the boot.ini
> > > > > Lock pages in memory option has been set to on with permissions fo=r the SQL
> > > > > login
> > > > > Server was re-booted
> > > > > Use AWE to allocate memory was set via SSMS
> > > > > I can't increase the Max Server Memory via SSMS
> > > > > Any help would be appreciated.
> > > > > Thanks
> > > > > Ron- Hide quoted text -
> - Show quoted text -
What do you mean when you say it won't go above 2GB? If you are
looking at the following number: 2147483647 in the option for Max
Memory - remember, that number is in MB which is 2097151.9990234375
GB, much larger than 2GB :)
If you want to use 6GB set it to: 6144 MB.
I would also include the /3GB switch in the boot.ini with only 8GB
available. The general rule is: more than 4GB but less than 12GB
include /3G - over 12GB don't include /3GB because the OS needs more
than 1GB of memory available when you have more than 12GB of memory
available.
HTH,
Jeff|||All of my SQL Servers show a max memory of 2147483647, though by default non
go beyond 2gb.
This SQL Server can't seem to go past 1.5gb, thought the server has 8gb.
Do I need Enterprise Edition?
"Jeffrey Williams" wrote:
> On Apr 3, 6:45 am, Ron <R...@.discussions.microsoft.com> wrote:
> > Joe,
> >
> > Here's the results:
> > Target Server Memory (KB)
> >
> > 1.505187988281 SQLServer:Memory Manager
> > Target
> > Server Memory (KB)
> >
> > 1578304 65792
> >
> > SQL can only access 1.5gb out of 8gb on the server. The /PAE switch is in
> > boot.ini and lock pages set.
> >
> > I tried using SSMS to check on AWE and bump up Max memory, but Max memory
> > won't go past 2gb and SQL still only takes 1.5GB.
> >
> > Do I need to run sp_config instead of using SSMS? Also the server is now in
> > production, so would a recycle be required?
> >
> > Thanks
> >
> > Ron
> >
> >
> >
> > "Joe" wrote:
> > > The Sql should be version independant.
> > > If you are referring to the amount of memory that is supported in SQL 2005
> > > that is generally controlled by the version of the OS.
> > > Let's see how much is being consumed:
> > > select counter_name, cntr_value / 1024.0 / 1024.0 as GB, *
> > > from master..sysperfinfo
> > > where object_name = 'SQLServer:Memory Manager'
> > > and counter_name in ('Target Server Memory (KB)', 'Total
> > > Server Memory (KB)')
> >
> > > Then post the max server memory result
> >
> > > "Ron" wrote:
> >
> > > > Do you need Enterprise Edition or will this work in Standard Edition?
> >
> > > > "Joe" wrote:
> >
> > > > > Can you RUN the following and post the output of the max server memory
> > > > > statement?
> > > > > Is your concern that you can use SSMS? Or can't set the max memory?Not
> > > > > trying to be obtuse, just wondering where your concern is.
> > > > > sp_configure 'show advanced options', 1
> > > > > RECONFIGURE
> > > > > GO
> > > > > sp_configure 'max server memory' ;
> > > > > GO
> > > > > sp_configure 'show advanced options', 0
> > > > > RECONFIGURE
> > > > > GO
> >
> > > > > "Ron" wrote:
> >
> > > > > > SqlServer2005 SE SP2 - Windows2003 EE SP2
> >
> > > > > > Here's the facts:
> >
> > > > > > Server has 8gb.
> > > > > > /PAE is in the boot.ini
> > > > > > Lock pages in memory option has been set to on with permissions for the SQL
> > > > > > login
> > > > > > Server was re-booted
> > > > > > Use AWE to allocate memory was set via SSMS
> >
> > > > > > I can't increase the Max Server Memory via SSMS
> >
> > > > > > Any help would be appreciated.
> >
> > > > > > Thanks
> >
> > > > > > Ron- Hide quoted text -
> >
> > - Show quoted text -
> What do you mean when you say it won't go above 2GB? If you are
> looking at the following number: 2147483647 in the option for Max
> Memory - remember, that number is in MB which is 2097151.9990234375
> GB, much larger than 2GB :)
> If you want to use 6GB set it to: 6144 MB.
> I would also include the /3GB switch in the boot.ini with only 8GB
> available. The general rule is: more than 4GB but less than 12GB
> include /3G - over 12GB don't include /3GB because the OS needs more
> than 1GB of memory available when you have more than 12GB of memory
> available.
> HTH,
> Jeff
>|||If this is SQL server 2005 you do not need EE. If it is 2000 you do.
You can use TSQL instead of the GUI.
To check for AWE you would run
sp_configure 'show advanced options', 1
RECONFIGURE
GO
sp_configure 'AWE enabled' ;
go
--if the above returns 1 then AWE is eanbled if 0 it is not
--to enable run
sp_configure 'AWE enabled', 1;
go
RECONFIGURE
GO
--now to set 6 gb ofr max ram
sp_configure 'max server memory', 6144 ;
GO
RECONFIGURE
GO
sp_configure 'show advanced options', 0
RECONFIGURE
GO
Need to ask some obvious questions you are in the system admin role on the
DB server ?
from this link:
http://msdn2.microsoft.com/en-us/library/ms190731.aspx
the following:
Windows Server 2003, Standard Edition supports physical memory up to 4
gigabytes (GB).
Windows Server 2003, Enterprise Edition supports physical memory up to 32 GB.
Windows Server 2003, Datacenter Edition supports physical memory up to 64 GB.
And finally
You must restart the instance of SQL Server for AWE to take effect.
"Ron" wrote:
> All of my SQL Servers show a max memory of 2147483647, though by default non
> go beyond 2gb.
> This SQL Server can't seem to go past 1.5gb, thought the server has 8gb.
> Do I need Enterprise Edition?
> "Jeffrey Williams" wrote:
> > On Apr 3, 6:45 am, Ron <R...@.discussions.microsoft.com> wrote:
> > > Joe,
> > >
> > > Here's the results:
> > > Target Server Memory (KB)
> > >
> > > 1.505187988281 SQLServer:Memory Manager
> > > Target
> > > Server Memory (KB)
> > >
> > > 1578304 65792
> > >
> > > SQL can only access 1.5gb out of 8gb on the server. The /PAE switch is in
> > > boot.ini and lock pages set.
> > >
> > > I tried using SSMS to check on AWE and bump up Max memory, but Max memory
> > > won't go past 2gb and SQL still only takes 1.5GB.
> > >
> > > Do I need to run sp_config instead of using SSMS? Also the server is now in
> > > production, so would a recycle be required?
> > >
> > > Thanks
> > >
> > > Ron
> > >
> > >
> > >
> > > "Joe" wrote:
> > > > The Sql should be version independant.
> > > > If you are referring to the amount of memory that is supported in SQL 2005
> > > > that is generally controlled by the version of the OS.
> > > > Let's see how much is being consumed:
> > > > select counter_name, cntr_value / 1024.0 / 1024.0 as GB, *
> > > > from master..sysperfinfo
> > > > where object_name = 'SQLServer:Memory Manager'
> > > > and counter_name in ('Target Server Memory (KB)', 'Total
> > > > Server Memory (KB)')
> > >
> > > > Then post the max server memory result
> > >
> > > > "Ron" wrote:
> > >
> > > > > Do you need Enterprise Edition or will this work in Standard Edition?
> > >
> > > > > "Joe" wrote:
> > >
> > > > > > Can you RUN the following and post the output of the max server memory
> > > > > > statement?
> > > > > > Is your concern that you can use SSMS? Or can't set the max memory?Not
> > > > > > trying to be obtuse, just wondering where your concern is.
> > > > > > sp_configure 'show advanced options', 1
> > > > > > RECONFIGURE
> > > > > > GO
> > > > > > sp_configure 'max server memory' ;
> > > > > > GO
> > > > > > sp_configure 'show advanced options', 0
> > > > > > RECONFIGURE
> > > > > > GO
> > >
> > > > > > "Ron" wrote:
> > >
> > > > > > > SqlServer2005 SE SP2 - Windows2003 EE SP2
> > >
> > > > > > > Here's the facts:
> > >
> > > > > > > Server has 8gb.
> > > > > > > /PAE is in the boot.ini
> > > > > > > Lock pages in memory option has been set to on with permissions for the SQL
> > > > > > > login
> > > > > > > Server was re-booted
> > > > > > > Use AWE to allocate memory was set via SSMS
> > >
> > > > > > > I can't increase the Max Server Memory via SSMS
> > >
> > > > > > > Any help would be appreciated.
> > >
> > > > > > > Thanks
> > >
> > > > > > > Ron- Hide quoted text -
> > >
> > > - Show quoted text -
> >
> > What do you mean when you say it won't go above 2GB? If you are
> > looking at the following number: 2147483647 in the option for Max
> > Memory - remember, that number is in MB which is 2097151.9990234375
> > GB, much larger than 2GB :)
> >
> > If you want to use 6GB set it to: 6144 MB.
> >
> > I would also include the /3GB switch in the boot.ini with only 8GB
> > available. The general rule is: more than 4GB but less than 12GB
> > include /3G - over 12GB don't include /3GB because the OS needs more
> > than 1GB of memory available when you have more than 12GB of memory
> > available.
> >
> > HTH,
> >
> > Jeff
> >sql

Increase in Database size after restoration

we have taken a production database back up of size 1.8 GB.
we restored the database on a standalone system and the size of the database
was same.
We executed some scripts through which some records got inserted.
After the inserts the database size has drasticallly increased to 5.8 GB.
The database whose size is 5.8 GB was due to the increase in reservedspace
and unused spaces of the tables where in the records got inserted.
Then we exported the database through DTS and imported the data and shruk
the database to which the size of the database got reduced to 2 GB.
I wanted to know what is the reason for the increase in database size when
we executed the insert scripts. And how to avoid it. Or any approach by which
we can find the solution.
Read this article
http://www.sql-server-performance.co...e_settings.asp
"CUBak_DBSize" <CUBak_DBSize@.discussions.microsoft.com> wrote in message
news:3D114A81-F276-4FB9-A878-6C6712058129@.microsoft.com...
> we have taken a production database back up of size 1.8 GB.
> we restored the database on a standalone system and the size of the
database
> was same.
> We executed some scripts through which some records got inserted.
> After the inserts the database size has drasticallly increased to 5.8 GB.
> The database whose size is 5.8 GB was due to the increase in
reservedspace
> and unused spaces of the tables where in the records got inserted.
> Then we exported the database through DTS and imported the data and shruk
> the database to which the size of the database got reduced to 2 GB.
> I wanted to know what is the reason for the increase in database size when
> we executed the insert scripts. And how to avoid it. Or any approach by
which
> we can find the solution.
>

Increase in Database size after restoration

we have taken a production database back up of size 1.8 GB.
we restored the database on a standalone system and the size of the database
was same.
We executed some scripts through which some records got inserted.
After the inserts the database size has drasticallly increased to 5.8 GB.
The database whose size is 5.8 GB was due to the increase in reservedspace
and unused spaces of the tables where in the records got inserted.
Then we exported the database through DTS and imported the data and shruk
the database to which the size of the database got reduced to 2 GB.
I wanted to know what is the reason for the increase in database size when
we executed the insert scripts. And how to avoid it. Or any approach by whic
h
we can find the solution.Read this article
http://www.sql-server-performance.c...se_settings.asp
"CUBak_DBSize" <CUBak_DBSize@.discussions.microsoft.com> wrote in message
news:3D114A81-F276-4FB9-A878-6C6712058129@.microsoft.com...
> we have taken a production database back up of size 1.8 GB.
> we restored the database on a standalone system and the size of the
database
> was same.
> We executed some scripts through which some records got inserted.
> After the inserts the database size has drasticallly increased to 5.8 GB.
> The database whose size is 5.8 GB was due to the increase in
reservedspace
> and unused spaces of the tables where in the records got inserted.
> Then we exported the database through DTS and imported the data and shruk
> the database to which the size of the database got reduced to 2 GB.
> I wanted to know what is the reason for the increase in database size when
> we executed the insert scripts. And how to avoid it. Or any approach by
which
> we can find the solution.
>

Increase in Database size after restoration

we have taken a production database back up of size 1.8 GB.
we restored the database on a standalone system and the size of the database
was same.
We executed some scripts through which some records got inserted.
After the inserts the database size has drasticallly increased to 5.8 GB.
The database whose size is 5.8 GB was due to the increase in reservedspace
and unused spaces of the tables where in the records got inserted.
Then we exported the database through DTS and imported the data and shruk
the database to which the size of the database got reduced to 2 GB.
I wanted to know what is the reason for the increase in database size when
we executed the insert scripts. And how to avoid it. Or any approach by which
we can find the solution.Read this article
http://www.sql-server-performance.com/database_settings.asp
"CUBak_DBSize" <CUBak_DBSize@.discussions.microsoft.com> wrote in message
news:3D114A81-F276-4FB9-A878-6C6712058129@.microsoft.com...
> we have taken a production database back up of size 1.8 GB.
> we restored the database on a standalone system and the size of the
database
> was same.
> We executed some scripts through which some records got inserted.
> After the inserts the database size has drasticallly increased to 5.8 GB.
> The database whose size is 5.8 GB was due to the increase in
reservedspace
> and unused spaces of the tables where in the records got inserted.
> Then we exported the database through DTS and imported the data and shruk
> the database to which the size of the database got reduced to 2 GB.
> I wanted to know what is the reason for the increase in database size when
> we executed the insert scripts. And how to avoid it. Or any approach by
which
> we can find the solution.
>

increase in CPU usage on lock and unlock of the system

Ours is a windows based application.
When we open the application the CPU usage is 0% and the Memory Usage
is 54,324Kb
When I open a specific form in a module, the CPU usage is 0% and the
Memory Usage increases accordingly (67,730 Kb).
Now when I lock and unlock the System the CPU usage increases to 50%
with the Memory Usage being 67,730 kb.
I have made use of a .Net memory profiler and had taken snapshots
before locking and unlocking the system.
The following is the result after comparing both the versions.
NameSpace Name Total New Removed Delta Total
Max Min Delta
System WeakRefrence 1681 613 0 613 26896
16 16 9808
System.Reflection RunTimeMethodInfo 1229 8
0 8 29496 24 24 192
System.Windows.Forms NativeMethods.TracKMOU.. 10
5 0 5 240 24 24 120
System Runtimetype 2725 4 0 4 4360
16 16 64
System String 37232 5 1 4 2256 102456
18 458
Can anybody let me know the reason for the increase in CPU usage and
how I can overcome this.
And why is there a drastic increase in the number of instances for
WeakReference class when the operation is just locking and unlocking
and nothing to do with the application.
Thanks in advance
sowmyaIs this question related to SQL Server?. If so, please explain what you
mean by locking/unlocking. Perhaps you intended to post to a .Net forum.
--
Hope this helps.
Dan Guzman
SQL Server MVP
<sowmya.rangineni@.gmail.com> wrote in message
news:1182142975.732292.25730@.m36g2000hse.googlegroups.com...
> Ours is a windows based application.
> When we open the application the CPU usage is 0% and the Memory Usage
> is 54,324Kb
> When I open a specific form in a module, the CPU usage is 0% and the
> Memory Usage increases accordingly (67,730 Kb).
>
> Now when I lock and unlock the System the CPU usage increases to 50%
> with the Memory Usage being 67,730 kb.
>
> I have made use of a .Net memory profiler and had taken snapshots
> before locking and unlocking the system.
>
> The following is the result after comparing both the versions.
>
> NameSpace Name Total New Removed Delta Total
> Max Min Delta
> System WeakRefrence 1681 613 0 613 26896
> 16 16 9808
> System.Reflection RunTimeMethodInfo 1229 8
> 0 8 29496 24 24 192
> System.Windows.Forms NativeMethods.TracKMOU.. 10
> 5 0 5 240 24 24 120
> System Runtimetype 2725 4 0 4 4360
> 16 16 64
> System String 37232 5 1 4 2256 102456
> 18 458
>
> Can anybody let me know the reason for the increase in CPU usage and
> how I can overcome this.
>
> And why is there a drastic increase in the number of instances for
> WeakReference class when the operation is just locking and unlocking
> and nothing to do with the application.
> Thanks in advance
> sowmya
>

Increase Identity value

How do I increase the current Identity value of an existing Identity column?
SELECT IDENT_CURRENT('Quote')
Returns: 16332
I want to increase it to, Returns: 99999
Thanks,
http://www.aspfaq.com/5007
http://www.aspfaq.com/
(Reverse address to reply.)
"KenL" <KenL@.discussions.microsoft.com> wrote in message
news:C5A7066B-D4E3-48C3-B1E2-54B7E8DC4A14@.microsoft.com...
> How do I increase the current Identity value of an existing Identity
column?
> SELECT IDENT_CURRENT('Quote')
> Returns: 16332
> I want to increase it to, Returns: 99999
> Thanks,