Showing posts with label manager. Show all posts
Showing posts with label manager. Show all posts

Thursday, March 29, 2012

Database name not found in the Edit job step in SQL Server Enterprise Manager

Hi,

I need help. I transferred my database from one server to another by
using attach detach process.I created all the jobs which existed in the

old server in the new server. Everything looked fine but a couple of
jobs is a giving me some problems. When I try to edit the job step I
could see that the database dropdown list doesn't contain the database
name(which I transferred from the old server)

Does anyone have any idea about it.

Thanks
Arun(arunkumar_m2001@.yahoo.com) writes:
> I need help. I transferred my database from one server to another by
> using attach detach process.I created all the jobs which existed in the
> old server in the new server. Everything looked fine but a couple of
> jobs is a giving me some problems. When I try to edit the job step I
> could see that the database dropdown list doesn't contain the database
> name(which I transferred from the old server)
>
> Does anyone have any idea about it.

Have you tried simply closing down Enterprise Manager and starting it
again? I did a quick test, and it appears that the job-step dialogue
caches the database list, so it may not have seen the new database yet.

--
Erland Sommarskog, SQL Server MVP, esquel@.sommarskog.se

Books Online for SQL Server 2005 at
http://www.microsoft.com/technet/pr...oads/books.mspx
Books Online for SQL Server 2000 at
http://www.microsoft.com/sql/prodin...ions/books.mspx

Database move

i've got to move 37 SQL Server databases over to new server. My manager tells me that i have to conduct some "check totals" to make sure that the databases contained exactly the same data from what it was when it got moved.

Is there some stored_procedure to do this ? to make sure that all the stored procedures, views, tables got move across ????? Are you kidding me. You detach the databases, then attach them on the new server. There's nowhere for the little data bytes to run and hide. Buy your manager a SQL Server book. :)|||How about sanity testing procedures ?
Write Count scripts to total database records. Is there literature on these kind of topics in SQL Server ?

Sunday, March 25, 2012

database mirroring question

Is Asynchronous database mirroring support in the Standard Edition of
SQL 2005?
I've read some docs that say it isn't. However, my manager saids that
he was told it was (or would work), something about 'single stream'? I
have not been able to find any docs that talks about 'single stream'.
Can anyone advise or point me in the right direction?
thanks all,
JDJoeyD
If I remember well, database mirroring is supported only on Enterprise
Edition
"JoeyD" <joeydba@.gmail.com> wrote in message
news:1168635799.710707.324810@.51g2000cwl.googlegroups.com...
> Is Asynchronous database mirroring support in the Standard Edition of
> SQL 2005?
> I've read some docs that say it isn't. However, my manager saids that
> he was told it was (or would work), something about 'single stream'? I
> have not been able to find any docs that talks about 'single stream'.
> Can anyone advise or point me in the right direction?
> thanks all,
> JD
>|||Synchronous mirroring is supported on Standard and Enterprise editions.
Asynchronous mode is only supported on Enterprise edition.
--
Paul Randal
Principal Lead Program Manager
Core Storage Engine, Microsoft SQL Server Team
http://blogs.msdn.com/sqlserverstorageengine/default.aspx
"Uri Dimant" <urid@.iscar.co.il> wrote in message
news:uh6Amz7NHHA.3916@.TK2MSFTNGP02.phx.gbl...
> JoeyD
> If I remember well, database mirroring is supported only on Enterprise
> Edition
>
> "JoeyD" <joeydba@.gmail.com> wrote in message
> news:1168635799.710707.324810@.51g2000cwl.googlegroups.com...
>> Is Asynchronous database mirroring support in the Standard Edition of
>> SQL 2005?
>> I've read some docs that say it isn't. However, my manager saids that
>> he was told it was (or would work), something about 'single stream'? I
>> have not been able to find any docs that talks about 'single stream'.
>> Can anyone advise or point me in the right direction?
>> thanks all,
>> JD
>|||Thanks Paul for the reply. I've done some more testing on my own and
have found this to be true. Not sure what my manager had heard or where
he had heard it.
Joe
Paul S. Randal [MS] wrote:
> Synchronous mirroring is supported on Standard and Enterprise editions.
> Asynchronous mode is only supported on Enterprise edition.
> --
> Paul Randal
> Principal Lead Program Manager
> Core Storage Engine, Microsoft SQL Server Team
> http://blogs.msdn.com/sqlserverstorageengine/default.aspx
>
> "Uri Dimant" <urid@.iscar.co.il> wrote in message
> news:uh6Amz7NHHA.3916@.TK2MSFTNGP02.phx.gbl...
> > JoeyD
> > If I remember well, database mirroring is supported only on Enterprise
> > Edition
> >
> >
> >
> > "JoeyD" <joeydba@.gmail.com> wrote in message
> > news:1168635799.710707.324810@.51g2000cwl.googlegroups.com...
> >> Is Asynchronous database mirroring support in the Standard Edition of
> >> SQL 2005?
> >>
> >> I've read some docs that say it isn't. However, my manager saids that
> >> he was told it was (or would work), something about 'single stream'? I
> >> have not been able to find any docs that talks about 'single stream'.
> >> Can anyone advise or point me in the right direction?
> >>
> >> thanks all,
> >> JD
> >>
> >
> >

database mirroring question

Is Asynchronous database mirroring support in the Standard Edition of
SQL 2005?
I've read some docs that say it isn't. However, my manager saids that
he was told it was (or would work), something about 'single stream'? I
have not been able to find any docs that talks about 'single stream'.
Can anyone advise or point me in the right direction?
thanks all,
JD
JoeyD
If I remember well, database mirroring is supported only on Enterprise
Edition
"JoeyD" <joeydba@.gmail.com> wrote in message
news:1168635799.710707.324810@.51g2000cwl.googlegro ups.com...
> Is Asynchronous database mirroring support in the Standard Edition of
> SQL 2005?
> I've read some docs that say it isn't. However, my manager saids that
> he was told it was (or would work), something about 'single stream'? I
> have not been able to find any docs that talks about 'single stream'.
> Can anyone advise or point me in the right direction?
> thanks all,
> JD
>
|||Synchronous mirroring is supported on Standard and Enterprise editions.
Asynchronous mode is only supported on Enterprise edition.
Paul Randal
Principal Lead Program Manager
Core Storage Engine, Microsoft SQL Server Team
http://blogs.msdn.com/sqlserverstorageengine/default.aspx
"Uri Dimant" <urid@.iscar.co.il> wrote in message
news:uh6Amz7NHHA.3916@.TK2MSFTNGP02.phx.gbl...
> JoeyD
> If I remember well, database mirroring is supported only on Enterprise
> Edition
>
> "JoeyD" <joeydba@.gmail.com> wrote in message
> news:1168635799.710707.324810@.51g2000cwl.googlegro ups.com...
>
|||Thanks Paul for the reply. I've done some more testing on my own and
have found this to be true. Not sure what my manager had heard or where
he had heard it.
Joe
Paul S. Randal [MS] wrote:[vbcol=seagreen]
> Synchronous mirroring is supported on Standard and Enterprise editions.
> Asynchronous mode is only supported on Enterprise edition.
> --
> Paul Randal
> Principal Lead Program Manager
> Core Storage Engine, Microsoft SQL Server Team
> http://blogs.msdn.com/sqlserverstorageengine/default.aspx
>
> "Uri Dimant" <urid@.iscar.co.il> wrote in message
> news:uh6Amz7NHHA.3916@.TK2MSFTNGP02.phx.gbl...

database mirroring question

Is Asynchronous database mirroring support in the Standard Edition of
SQL 2005?
I've read some docs that say it isn't. However, my manager saids that
he was told it was (or would work), something about 'single stream'? I
have not been able to find any docs that talks about 'single stream'.
Can anyone advise or point me in the right direction?
thanks all,
JDJoeyD
If I remember well, database mirroring is supported only on Enterprise
Edition
"JoeyD" <joeydba@.gmail.com> wrote in message
news:1168635799.710707.324810@.51g2000cwl.googlegroups.com...
> Is Asynchronous database mirroring support in the Standard Edition of
> SQL 2005?
> I've read some docs that say it isn't. However, my manager saids that
> he was told it was (or would work), something about 'single stream'? I
> have not been able to find any docs that talks about 'single stream'.
> Can anyone advise or point me in the right direction?
> thanks all,
> JD
>|||Synchronous mirroring is supported on Standard and Enterprise editions.
Asynchronous mode is only supported on Enterprise edition.
Paul Randal
Principal Lead Program Manager
Core Storage Engine, Microsoft SQL Server Team
http://blogs.msdn.com/sqlserverstor...ne/default.aspx
"Uri Dimant" <urid@.iscar.co.il> wrote in message
news:uh6Amz7NHHA.3916@.TK2MSFTNGP02.phx.gbl...
> JoeyD
> If I remember well, database mirroring is supported only on Enterprise
> Edition
>
> "JoeyD" <joeydba@.gmail.com> wrote in message
> news:1168635799.710707.324810@.51g2000cwl.googlegroups.com...
>|||Thanks Paul for the reply. I've done some more testing on my own and
have found this to be true. Not sure what my manager had heard or where
he had heard it.
Joe
Paul S. Randal [MS] wrote:[vbcol=seagreen]
> Synchronous mirroring is supported on Standard and Enterprise editions.
> Asynchronous mode is only supported on Enterprise edition.
> --
> Paul Randal
> Principal Lead Program Manager
> Core Storage Engine, Microsoft SQL Server Team
> http://blogs.msdn.com/sqlserverstor...ne/default.aspx
>
> "Uri Dimant" <urid@.iscar.co.il> wrote in message
> news:uh6Amz7NHHA.3916@.TK2MSFTNGP02.phx.gbl...sql

Monday, March 19, 2012

DATABASE marked "SUSPECT" - How to restore?

Recently after I rebooted the MS SQL server, the "cdr"
database is marked with "Suspect" in the Enterprise
Manager,and when I try to access the database, the
Enterprise Manager prompted that the database is marked
as "Suspect" and inaccessible. When looked into the
MSSQL\data folder, the .MDB file and LDF is still there.
Strongly believe this is because there was a torn page
happened(because I restarted the server when the pc hung).
The cdr database contain our latest 3 months call records
and it is up to 22G of data. The bad new is, no backup had
been done to restore the data. I've tried to use
sp_attach_db, recreate database and all other method to
restore the data, still failed to restore the data. Since
the MDF file is preserved, hopefully there is a method to
restore the database.hey have a look at this website,
http://www.spaceprogram.com/knowledge/sqlserver_recover_fro
m_deleted_log.html
>--Original Message--
>Recently after I rebooted the MS SQL server, the "cdr"
>database is marked with "Suspect" in the Enterprise
>Manager,and when I try to access the database, the
>Enterprise Manager prompted that the database is marked
>as "Suspect" and inaccessible. When looked into the
>MSSQL\data folder, the .MDB file and LDF is still there.
>Strongly believe this is because there was a torn page
>happened(because I restarted the server when the pc
hung).
>The cdr database contain our latest 3 months call records
>and it is up to 22G of data. The bad new is, no backup
had
>been done to restore the data. I've tried to use
>sp_attach_db, recreate database and all other method to
>restore the data, still failed to restore the data. Since
>the MDF file is preserved, hopefully there is a method to
>restore the database.
>.
>|||Hi,
I got these from another newsgroup several months ago and
they have worked on three suspect databases since. I
generally only need to run the DBCC rebuild_log and then
run a DBCC CheckDB to make sure the database is not
corrupt. Hope they help.
1) Make sure you have a copy of your.MDF
2) Create a new database called fake (default file
locations)
3) Stop SQL Service
4) Delete the fake_Data.MDF and copy your.MDF to where
fake_Data.MDF used
to
be and rename the file to fake_Data.MDF
5) Start SQL Service
6) Database fake will appear as suspect in EM
7) Open Query Analyser and in master database run the
following :
sp_configure 'allow updates',1
go
reconfigure with override
go
update sysdatabases set
status=-32768 where dbid=DB_ID('fake')
go
sp_configure 'allow updates',0
go
reconfigure with override
go
This will put the database in emergency recovery mode
8) Stop SQL Service
9) Delete the fake_Log.LDF file
10) Restart SQL Service
11) In QA run the following (with correct path for log)
dbcc rebuild_log('fake','h:\fake_log.ldf')
go
dbcc checkdb('fake') -- to check for errors
go
12) Now we need to rename the files, run the following
(make sure there
are
no connections to it) in Query Analyzer (At this stage
you can actually
access the database so you could use DTS or bcp to move
the data to
another
database).
use master
go
sp_helpdb 'fake'
go
/* Make a note of the names of the files , you will
need them
in the next bit of the script to replace datafilename
and
logfilename - it might be that they have the right
names */
sp_renamedb 'fake','your'
go
alter database your
MODIFY FILE(NAME='datafilename', NEWNAME
= 'your_data')
go
alter database PowerDVD301
MODIFY FILE(NAME='logfilename', NEWNAME
= 'your_Log')
go
dbcc checkdb('your')
go
sp_dboption 'your','dbo use only','false'
go
use PowerDVD301
go
sp_updatestats
go
13) You should now have a working database. However the
log file will be
small so it will be worth increasing its size.
Unfortunately your files
will
be called fake_Data.MDF and fake_Log.LDF but you can get
round this by
detaching thedatabase properly and then renaming the
files and reattaching
it.
14) Run the following in QA
sp_detach_db your
--now rename the files then reattach
sp_attach_db 'your','your.mdf','your.ldf'
>--Original Message--
>Recently after I rebooted the MS SQL server, the "cdr"
>database is marked with "Suspect" in the Enterprise
>Manager,and when I try to access the database, the
>Enterprise Manager prompted that the database is marked
>as "Suspect" and inaccessible. When looked into the
>MSSQL\data folder, the .MDB file and LDF is still there.
>Strongly believe this is because there was a torn page
>happened(because I restarted the server when the pc
hung).
>The cdr database contain our latest 3 months call records
>and it is up to 22G of data. The bad new is, no backup
had
>been done to restore the data. I've tried to use
>sp_attach_db, recreate database and all other method to
>restore the data, still failed to restore the data. Since
>the MDF file is preserved, hopefully there is a method to
>restore the database.
>.
>|||Be warned - rebuilding your log is extremely dangerous and UNSUPPORTED (i.e.
you're on your own when it goes wrong - which it can very easily do).
This command commonly results in large amounts of lost data and, much more
seriously, loss of all transactional consistency in your database (i.e. did
that update transaction to a customer's bank account happen or not? there is
no way to tell).
If your business can cope with that, fine.
Microsoft strongly recommends that you DO NOT use this command or the
procedures documented below.
Regards,
Paul.
--
Paul Randal
DBCC Technical Lead, Microsoft SQL Server Storage Engine
This posting is provided "AS IS" with no warranties, and confers no rights.
"Wayne Antinore" <wantinore@.veramark.com> wrote in message
news:0e8601c38cc6$5092d840$a301280a@.phx.gbl...
> Hi,
> I got these from another newsgroup several months ago and
> they have worked on three suspect databases since. I
> generally only need to run the DBCC rebuild_log and then
> run a DBCC CheckDB to make sure the database is not
> corrupt. Hope they help.
> 1) Make sure you have a copy of your.MDF
> 2) Create a new database called fake (default file
> locations)
> 3) Stop SQL Service
> 4) Delete the fake_Data.MDF and copy your.MDF to where
> fake_Data.MDF used
> to
> be and rename the file to fake_Data.MDF
> 5) Start SQL Service
> 6) Database fake will appear as suspect in EM
> 7) Open Query Analyser and in master database run the
> following :
> sp_configure 'allow updates',1
> go
> reconfigure with override
> go
> update sysdatabases set
> status=-32768 where dbid=DB_ID('fake')
> go
> sp_configure 'allow updates',0
> go
> reconfigure with override
> go
> This will put the database in emergency recovery mode
> 8) Stop SQL Service
> 9) Delete the fake_Log.LDF file
> 10) Restart SQL Service
> 11) In QA run the following (with correct path for log)
> dbcc rebuild_log('fake','h:\fake_log.ldf')
> go
> dbcc checkdb('fake') -- to check for errors
> go
> 12) Now we need to rename the files, run the following
> (make sure there
> are
> no connections to it) in Query Analyzer (At this stage
> you can actually
> access the database so you could use DTS or bcp to move
> the data to
> another
> database).
> use master
> go
> sp_helpdb 'fake'
> go
> /* Make a note of the names of the files , you will
> need them
> in the next bit of the script to replace datafilename
> and
> logfilename - it might be that they have the right
> names */
> sp_renamedb 'fake','your'
> go
> alter database your
> MODIFY FILE(NAME='datafilename', NEWNAME
> = 'your_data')
> go
> alter database PowerDVD301
> MODIFY FILE(NAME='logfilename', NEWNAME
> = 'your_Log')
> go
> dbcc checkdb('your')
> go
> sp_dboption 'your','dbo use only','false'
> go
> use PowerDVD301
> go
> sp_updatestats
> go
> 13) You should now have a working database. However the
> log file will be
> small so it will be worth increasing its size.
> Unfortunately your files
> will
> be called fake_Data.MDF and fake_Log.LDF but you can get
> round this by
> detaching thedatabase properly and then renaming the
> files and reattaching
> it.
> 14) Run the following in QA
> sp_detach_db your
> --now rename the files then reattach
> sp_attach_db 'your','your.mdf','your.ldf'
>
> >--Original Message--
> >Recently after I rebooted the MS SQL server, the "cdr"
> >database is marked with "Suspect" in the Enterprise
> >Manager,and when I try to access the database, the
> >Enterprise Manager prompted that the database is marked
> >as "Suspect" and inaccessible. When looked into the
> >MSSQL\data folder, the .MDB file and LDF is still there.
> >Strongly believe this is because there was a torn page
> >happened(because I restarted the server when the pc
> hung).
> >The cdr database contain our latest 3 months call records
> >and it is up to 22G of data. The bad new is, no backup
> had
> >been done to restore the data. I've tried to use
> >sp_attach_db, recreate database and all other method to
> >restore the data, still failed to restore the data. Since
> >the MDF file is preserved, hopefully there is a method to
> >restore the database.
> >.
> >

Wednesday, March 7, 2012

Database Maintenance

I've set up a database maintenance plan in Enterprise
manager, but it seems none of the jobs are running. What
am I missing?
ThanksIn the jobs screen in EM.
Is the Job Enabled ?
Is the Schedule Enabled ?
Is it working but simply failed ?
How do you know/think it isn't running?
Is SQL Server Agent started ?
--
--
Allan Mitchell (Microsoft SQL Server MVP)
MCSE,MCDBA
www.SQLDTS.com
I support PASS - the definitive, global community
for SQL Server professionals - http://www.sqlpass.org
"Mike D" <anonymous@.discussions.microsoft.com> wrote in message
news:08f701c3c4a9$89412190$a501280a@.phx.gbl...
> I've set up a database maintenance plan in Enterprise
> manager, but it seems none of the jobs are running. What
> am I missing?
> Thanks|||Is SQL Server Agent started?
--
Tibor Karaszi, SQL Server MVP
Archive at: http://groups.google.com/groups?oi=djq&as_ugroup=microsoft.public.sqlserver
"Mike D" <anonymous@.discussions.microsoft.com> wrote in message
news:08f701c3c4a9$89412190$a501280a@.phx.gbl...
> I've set up a database maintenance plan in Enterprise
> manager, but it seems none of the jobs are running. What
> am I missing?
> Thanks|||Yes
Yes
No
I'm not finding updated database backups in the backups
directory
NO
>--Original Message--
>In the jobs screen in EM.
>Is the Job Enabled ?
>Is the Schedule Enabled ?
>Is it working but simply failed ?
>How do you know/think it isn't running?
>Is SQL Server Agent started ?
>--
>--
>Allan Mitchell (Microsoft SQL Server MVP)
>MCSE,MCDBA
>www.SQLDTS.com
>I support PASS - the definitive, global community
>for SQL Server professionals - http://www.sqlpass.org
>
>"Mike D" <anonymous@.discussions.microsoft.com> wrote in
message
>news:08f701c3c4a9$89412190$a501280a@.phx.gbl...
>> I've set up a database maintenance plan in Enterprise
>> manager, but it seems none of the jobs are running. What
>> am I missing?
>> Thanks
>
>.
>|||No, it wasn't running and when I try to start it I get the
message:
Could not start the sqlserveragent service on local
computer. The service did not return an error. This could
be an internal windows error or an internal service error.
>--Original Message--
>Is SQL Server Agent started?
>--
>Tibor Karaszi, SQL Server MVP
>Archive at: http://groups.google.com/groups?
oi=djq&as_ugroup=microsoft.public.sqlserver
>
>"Mike D" <anonymous@.discussions.microsoft.com> wrote in
message
>news:08f701c3c4a9$89412190$a501280a@.phx.gbl...
>> I've set up a database maintenance plan in Enterprise
>> manager, but it seems none of the jobs are running. What
>> am I missing?
>> Thanks
>
>.
>|||Check to ensure the login and password that the agent runs under is correct.
--
Andrew J. Kelly SQL MVP
"Mike D" <anonymous@.discussions.microsoft.com> wrote in message
news:000a01c3c4af$f3a9ac90$a101280a@.phx.gbl...
> No, it wasn't running and when I try to start it I get the
> message:
> Could not start the sqlserveragent service on local
> computer. The service did not return an error. This could
> be an internal windows error or an internal service error.
>
> >--Original Message--
> >Is SQL Server Agent started?
> >
> >--
> >Tibor Karaszi, SQL Server MVP
> >Archive at: http://groups.google.com/groups?
> oi=djq&as_ugroup=microsoft.public.sqlserver
> >
> >
> >"Mike D" <anonymous@.discussions.microsoft.com> wrote in
> message
> >news:08f701c3c4a9$89412190$a501280a@.phx.gbl...
> >> I've set up a database maintenance plan in Enterprise
> >> manager, but it seems none of the jobs are running. What
> >> am I missing?
> >>
> >> Thanks
> >
> >
> >.
> >|||It was under the Local System account. I switched it to an
admin account, but I got the same error when trying to
start it.
>--Original Message--
>Check to ensure the login and password that the agent
runs under is correct.
>--
>Andrew J. Kelly SQL MVP
>
>"Mike D" <anonymous@.discussions.microsoft.com> wrote in
message
>news:000a01c3c4af$f3a9ac90$a101280a@.phx.gbl...
>> No, it wasn't running and when I try to start it I get
the
>> message:
>> Could not start the sqlserveragent service on local
>> computer. The service did not return an error. This
could
>> be an internal windows error or an internal service
error.
>>
>> >--Original Message--
>> >Is SQL Server Agent started?
>> >
>> >--
>> >Tibor Karaszi, SQL Server MVP
>> >Archive at: http://groups.google.com/groups?
>> oi=djq&as_ugroup=microsoft.public.sqlserver
>> >
>> >
>> >"Mike D" <anonymous@.discussions.microsoft.com> wrote in
>> message
>> >news:08f701c3c4a9$89412190$a501280a@.phx.gbl...
>> >> I've set up a database maintenance plan in Enterprise
>> >> manager, but it seems none of the jobs are running.
What
>> >> am I missing?
>> >>
>> >> Thanks
>> >
>> >
>> >.
>> >
>
>.
>|||You might want to give MS PSS a call so they can work directly with you.
http://support.microsoft.com/default.aspx?scid=fh;EN-US;sql SQL Support
http://www.mssqlserver.com/faq/general-pss.asp MS PSS
--
Andrew J. Kelly SQL MVP
"Mike D" <anonymous@.discussions.microsoft.com> wrote in message
news:063801c3c4b9$4cd9ec90$a001280a@.phx.gbl...
> It was under the Local System account. I switched it to an
> admin account, but I got the same error when trying to
> start it.
> >--Original Message--
> >Check to ensure the login and password that the agent
> runs under is correct.
> >
> >--
> >Andrew J. Kelly SQL MVP
> >
> >
> >"Mike D" <anonymous@.discussions.microsoft.com> wrote in
> message
> >news:000a01c3c4af$f3a9ac90$a101280a@.phx.gbl...
> >> No, it wasn't running and when I try to start it I get
> the
> >> message:
> >> Could not start the sqlserveragent service on local
> >> computer. The service did not return an error. This
> could
> >> be an internal windows error or an internal service
> error.
> >>
> >>
> >> >--Original Message--
> >> >Is SQL Server Agent started?
> >> >
> >> >--
> >> >Tibor Karaszi, SQL Server MVP
> >> >Archive at: http://groups.google.com/groups?
> >> oi=djq&as_ugroup=microsoft.public.sqlserver
> >> >
> >> >
> >> >"Mike D" <anonymous@.discussions.microsoft.com> wrote in
> >> message
> >> >news:08f701c3c4a9$89412190$a501280a@.phx.gbl...
> >> >> I've set up a database maintenance plan in Enterprise
> >> >> manager, but it seems none of the jobs are running.
> What
> >> >> am I missing?
> >> >>
> >> >> Thanks
> >> >
> >> >
> >> >.
> >> >
> >
> >
> >.
> >

Tuesday, February 14, 2012

Database list comes slow, what tod o?

Hey there,

a question about my configuration.
We have a sql server 7, where all our database are. If i use enterprise manager from sql server 7, I get no problems with downloading the list of the db's. But when I connect with the EM of sql server 2000, it takes about 10 minutes to get the list. I got that with win2000 and with winXp.
My college doesn't has that problem.
Does anyone has a sollution for it?
Or is it better to use the EM 70?
ThanksHi,
Here it is in fact slow due to several reasons and one of these reasons could be the problem. Generally, and most of the time the low speed in the system could be caused by the small capacity on your hard disk drive and the small capacity of the memory. The more space you have the faster database you have as you know. I had the same problem one month back whenever select a large view table it takes long time to inquire about its fields. The server we have was running out of space and getting all the time with memory loading. A week ago we purchased a new server big performance and now I face no problem from this point of view, this could be one of the reasons.
There is another reason but I have no idea if this is applied on your case or not!! it is known that whenever migrating from SQL7 to SQL 2K SERVER we have to update the compatibility level by executing the following command EXEC sp_dbcmptlevel <your dbname>,80

I wish ya good luck.

Alzebdeh

Originally posted by Nux
Hey there,

a question about my configuration.
We have a sql server 7, where all our database are. If i use enterprise manager from sql server 7, I get no problems with downloading the list of the db's. But when I connect with the EM of sql server 2000, it takes about 10 minutes to get the list. I got that with win2000 and with winXp.
My college doesn't has that problem.
Does anyone has a sollution for it?
Or is it better to use the EM 70?
Thanks