Showing posts with label instance. Show all posts
Showing posts with label instance. Show all posts

Monday, March 26, 2012

Multi-Server Instance

What is the effect of deploying Multi-Server instance on performance?

Can you explain a bit more what you mean by a 'multi server instance'..?

/Kenneth

|||

Each host machine (server) can host (virtually) any number of SQL Server instances. Each instance has its own master, model and other support databases along with the user databases. Each instance consumes RAM and CPU cycles and while many of the SQL Server code DLLs are shared, there are instance memory allocations that cannot be shared. Each instance has its own cache to hold procedures, query plans and data--these cannot be shared. That is, each SQL Server instance competes with all other instances, the OS and all other running processes for RAM, disk and CPU resources. Does this tell you something about performance? It should.

See chapter 2 of my book "Hitchhiker's Guide to Visual Studio and SQL Server (7th Edition)" for more details.

Multi-Server Instance

What is the effect of deploying Multi-Server instance on performance?

Can you explain a bit more what you mean by a 'multi server instance'..?

/Kenneth

|||

Each host machine (server) can host (virtually) any number of SQL Server instances. Each instance has its own master, model and other support databases along with the user databases. Each instance consumes RAM and CPU cycles and while many of the SQL Server code DLLs are shared, there are instance memory allocations that cannot be shared. Each instance has its own cache to hold procedures, query plans and data--these cannot be shared. That is, each SQL Server instance competes with all other instances, the OS and all other running processes for RAM, disk and CPU resources. Does this tell you something about performance? It should.

See chapter 2 of my book "Hitchhiker's Guide to Visual Studio and SQL Server (7th Edition)" for more details.

Friday, March 23, 2012

Multiples Instance of SQL server 2000/SQL server 7.0 on Windows server 2003

Hi,

Is it possible to install on a Windows server 2003,
SQL SERVER 2000 in the folowing configuration :

SQL server 7.0 as a default Instance

and

SQL server 2000 as a named instance.

Thanks for your answer.riless (g.carali@.voila.fr) writes:
> Is it possible to install on a Windows server 2003,
> SQL SERVER 2000 in the folowing configuration :
> SQL server 7.0 as a default Instance
> and
> SQL server 2000 as a named instance.

If SQL 7 can be installed on Win2003, yes. But I would not really
expect SQL 7 to be welcome on Windows 2003, although I don't know
for sure. If it installs, it may still noe be supported.

For SQL 2000 you need SP3 to run on Win 2003. That I know.

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

Books Online for SQL Server SP3 at
http://www.microsoft.com/sql/techin.../2000/books.asp

Wednesday, March 7, 2012

multiple SQL Servers on one server

I need to have a second instance of SQL Server 2000 put on a server and I'm
wondering if there is anything I need to do to the existing instance of SQL
Server so it will work fine with the second installation? Thanks.You may want to limit the amount of memory used by the first instance. =
Other than that, nothing really comes to mind.
--=20
Keith
"tanner" <anonymous@.discussions.microsoft.com> wrote in message =
news:1A132C7D-538F-4566-A0AE-22541E919802@.microsoft.com...
> I need to have a second instance of SQL Server 2000 put on a server =
and I'm wondering if there is anything I need to do to the existing =
instance of SQL Server so it will work fine with the second =
installation? Thanks.|||have you thought through the question of whether a new instance is needed,
or can you simply get by with additional db's. You may very well need a new
instance, but... I've seen a number of customers use new instances in cases
when multiple db's on the same server might have been well suited.
If you have security or mgmt reasons for splitting the instances then of
course it's probably a good idea...
Brian Moran
Principal Mentor
Solid Quality Learning
SQL Server MVP
http://www.solidqualitylearning.com
"tanner" <anonymous@.discussions.microsoft.com> wrote in message
news:1A132C7D-538F-4566-A0AE-22541E919802@.microsoft.com...
> I need to have a second instance of SQL Server 2000 put on a server and
I'm wondering if there is anything I need to do to the existing instance of
SQL Server so it will work fine with the second installation? Thanks.

Monday, February 20, 2012

Multiple RS Instances

Can i have multiple Report Server 05 instances on one machine conneting to
one remote Sql Database instance. Each Report Server will have its own
database in the SQL instanceOn Aug 14, 12:58 pm, Marvin <Mar...@.discussions.microsoft.com> wrote:
> Can i have multiple Report Server 05 instances on one machine conneting to
> one remote Sql Database instance. Each Report Server will have its own
> database in the SQL instance
This link should be helpful.
http://technet.microsoft.com/en-us/library/ms403426.aspx
Regards,
Enrique Martinez
Sr. Software Consultant|||i read through the documentatation, but its not clear to me if 2 RS 05
standard ed on one machine can share the same database server but separate
databases. Unless i'm misunderstading it... any ideas?
"EMartinez" wrote:
> On Aug 14, 12:58 pm, Marvin <Mar...@.discussions.microsoft.com> wrote:
> > Can i have multiple Report Server 05 instances on one machine conneting to
> > one remote Sql Database instance. Each Report Server will have its own
> > database in the SQL instance
>
> This link should be helpful.
> http://technet.microsoft.com/en-us/library/ms403426.aspx
> Regards,
> Enrique Martinez
> Sr. Software Consultant
>|||On Aug 16, 7:45 pm, Marvin <Mar...@.discussions.microsoft.com> wrote:
> i read through the documentatation, but its not clear to me if 2 RS 05
> standard ed on one machine can share the same database server but separate
> databases. Unless i'm misunderstading it... any ideas?
> "EMartinez" wrote:
> > On Aug 14, 12:58 pm, Marvin <Mar...@.discussions.microsoft.com> wrote:
> > > Can i have multiple Report Server 05 instances on one machine conneting to
> > > one remote Sql Database instance. Each Report Server will have its own
> > > database in the SQL instance
> > This link should be helpful.
> >http://technet.microsoft.com/en-us/library/ms403426.aspx
> > Regards,
> > Enrique Martinez
> > Sr. Software Consultant
As far as I know, this should be fine as long as your virtual
directories for Reports and ReportServer are physically separate for
both SQL instances. Also, you will want to make sure that you have at
least one default SQL Server Instance and one named SQL Server
Instance local to SSRS. As long as your SQL Servers are not mixed
(i.e., one SQL Server 2000 and one SQL Server 2005), it should be ok.
Regards,
Enrique Martinez
Sr. Software Consultant|||So am I understanding you correctly that each RS (standard ed) instance will
need to have their own SQL Server Database Instance?
Here is what my environment looks like:
WebServer has RSSite1(default) AND RSSite2(Named)
DatabaseServer has one Instance Of Sql Server called DBServ
DBServ has four databases:
RSSite1_ReportServer
RSSite1_ReportServerTempDb
RSSite2_ReportServer
RSSite2_ReportServerTempDb
I'm doing this right now, but i'm running into some issues. Just want to
know if this is supported so i can stop troubleshooting this.
Thanks
"EMartinez" wrote:
> On Aug 16, 7:45 pm, Marvin <Mar...@.discussions.microsoft.com> wrote:
> > i read through the documentatation, but its not clear to me if 2 RS 05
> > standard ed on one machine can share the same database server but separate
> > databases. Unless i'm misunderstading it... any ideas?
> >
> > "EMartinez" wrote:
> > > On Aug 14, 12:58 pm, Marvin <Mar...@.discussions.microsoft.com> wrote:
> > > > Can i have multiple Report Server 05 instances on one machine conneting to
> > > > one remote Sql Database instance. Each Report Server will have its own
> > > > database in the SQL instance
> >
> > > This link should be helpful.
> > >http://technet.microsoft.com/en-us/library/ms403426.aspx
> >
> > > Regards,
> >
> > > Enrique Martinez
> > > Sr. Software Consultant
>
> As far as I know, this should be fine as long as your virtual
> directories for Reports and ReportServer are physically separate for
> both SQL instances. Also, you will want to make sure that you have at
> least one default SQL Server Instance and one named SQL Server
> Instance local to SSRS. As long as your SQL Servers are not mixed
> (i.e., one SQL Server 2000 and one SQL Server 2005), it should be ok.
> Regards,
> Enrique Martinez
> Sr. Software Consultant
>|||They need their own databases, not their own instance. RS 2005 should have
no problem with this at all.
From the article that Enrique provided a link to:"You can install multiple
instances of Reporting Services on the same computer. Installing multiple
instances is useful if you want to host different content for specific
sites. Each instance will have its own report server database, configuration
files, and virtual directories. "
Note it says report server database NOT instance.
--
Bruce Loehle-Conger
MVP SQL Server Reporting Services
"Marvin" <Marvin@.discussions.microsoft.com> wrote in message
news:06567929-6302-4508-8B96-80D7A02B439E@.microsoft.com...
> So am I understanding you correctly that each RS (standard ed) instance
> will
> need to have their own SQL Server Database Instance?
> Here is what my environment looks like:
> WebServer has RSSite1(default) AND RSSite2(Named)
> DatabaseServer has one Instance Of Sql Server called DBServ
> DBServ has four databases:
> RSSite1_ReportServer
> RSSite1_ReportServerTempDb
> RSSite2_ReportServer
> RSSite2_ReportServerTempDb
> I'm doing this right now, but i'm running into some issues. Just want to
> know if this is supported so i can stop troubleshooting this.
> Thanks
> "EMartinez" wrote:
>> On Aug 16, 7:45 pm, Marvin <Mar...@.discussions.microsoft.com> wrote:
>> > i read through the documentatation, but its not clear to me if 2 RS 05
>> > standard ed on one machine can share the same database server but
>> > separate
>> > databases. Unless i'm misunderstading it... any ideas?
>> >
>> > "EMartinez" wrote:
>> > > On Aug 14, 12:58 pm, Marvin <Mar...@.discussions.microsoft.com> wrote:
>> > > > Can i have multiple Report Server 05 instances on one machine
>> > > > conneting to
>> > > > one remote Sql Database instance. Each Report Server will have its
>> > > > own
>> > > > database in the SQL instance
>> >
>> > > This link should be helpful.
>> > >http://technet.microsoft.com/en-us/library/ms403426.aspx
>> >
>> > > Regards,
>> >
>> > > Enrique Martinez
>> > > Sr. Software Consultant
>>
>> As far as I know, this should be fine as long as your virtual
>> directories for Reports and ReportServer are physically separate for
>> both SQL instances. Also, you will want to make sure that you have at
>> least one default SQL Server Instance and one named SQL Server
>> Instance local to SSRS. As long as your SQL Servers are not mixed
>> (i.e., one SQL Server 2000 and one SQL Server 2005), it should be ok.
>> Regards,
>> Enrique Martinez
>> Sr. Software Consultant
>>|||Thank You for the clarification...I've been trying that configuration with no
luck. I'll look more into it then. Thanks.
"Marvin" wrote:
> Can i have multiple Report Server 05 instances on one machine conneting to
> one remote Sql Database instance. Each Report Server will have its own
> database in the SQL instance|||Thank you for clarifying...so here's my issue.
I installed a default instance of Report Services Std on a Non-Default
Website with Sql Server on a remote machine. I implemented custom security.
No problems so far. I am able to log-in using Forms Auth and add a Folder.
Then I would install a named instance on the same webserver. Without even
touching it after install (choosing to configure later), the DEFAULT instance
returns a "Bad Request" error when trying to log in. I planned to set up the
named instance on another Website.
Any Ideas?
"Bruce L-C [MVP]" wrote:
> They need their own databases, not their own instance. RS 2005 should have
> no problem with this at all.
> From the article that Enrique provided a link to:"You can install multiple
> instances of Reporting Services on the same computer. Installing multiple
> instances is useful if you want to host different content for specific
> sites. Each instance will have its own report server database, configuration
> files, and virtual directories. "
> Note it says report server database NOT instance.
> --
> Bruce Loehle-Conger
> MVP SQL Server Reporting Services
> "Marvin" <Marvin@.discussions.microsoft.com> wrote in message
> news:06567929-6302-4508-8B96-80D7A02B439E@.microsoft.com...
> > So am I understanding you correctly that each RS (standard ed) instance
> > will
> > need to have their own SQL Server Database Instance?
> >
> > Here is what my environment looks like:
> > WebServer has RSSite1(default) AND RSSite2(Named)
> > DatabaseServer has one Instance Of Sql Server called DBServ
> > DBServ has four databases:
> > RSSite1_ReportServer
> > RSSite1_ReportServerTempDb
> > RSSite2_ReportServer
> > RSSite2_ReportServerTempDb
> >
> > I'm doing this right now, but i'm running into some issues. Just want to
> > know if this is supported so i can stop troubleshooting this.
> >
> > Thanks
> >
> > "EMartinez" wrote:
> >
> >> On Aug 16, 7:45 pm, Marvin <Mar...@.discussions.microsoft.com> wrote:
> >> > i read through the documentatation, but its not clear to me if 2 RS 05
> >> > standard ed on one machine can share the same database server but
> >> > separate
> >> > databases. Unless i'm misunderstading it... any ideas?
> >> >
> >> > "EMartinez" wrote:
> >> > > On Aug 14, 12:58 pm, Marvin <Mar...@.discussions.microsoft.com> wrote:
> >> > > > Can i have multiple Report Server 05 instances on one machine
> >> > > > conneting to
> >> > > > one remote Sql Database instance. Each Report Server will have its
> >> > > > own
> >> > > > database in the SQL instance
> >> >
> >> > > This link should be helpful.
> >> > >http://technet.microsoft.com/en-us/library/ms403426.aspx
> >> >
> >> > > Regards,
> >> >
> >> > > Enrique Martinez
> >> > > Sr. Software Consultant
> >>
> >>
> >> As far as I know, this should be fine as long as your virtual
> >> directories for Reports and ReportServer are physically separate for
> >> both SQL instances. Also, you will want to make sure that you have at
> >> least one default SQL Server Instance and one named SQL Server
> >> Instance local to SSRS. As long as your SQL Servers are not mixed
> >> (i.e., one SQL Server 2000 and one SQL Server 2005), it should be ok.
> >>
> >> Regards,
> >>
> >> Enrique Martinez
> >> Sr. Software Consultant
> >>
> >>
>
>|||Did you use different databases for the second install of RS?
Have you checked to see what the default website is? Could it have changed
to the second installation of RS?
--
Bruce Loehle-Conger
MVP SQL Server Reporting Services
"Marvin" <Marvin@.discussions.microsoft.com> wrote in message
news:7CA5523E-B6D7-4524-A3C2-DA30939B3F2B@.microsoft.com...
> Thank you for clarifying...so here's my issue.
> I installed a default instance of Report Services Std on a Non-Default
> Website with Sql Server on a remote machine. I implemented custom
> security.
> No problems so far. I am able to log-in using Forms Auth and add a Folder.
> Then I would install a named instance on the same webserver. Without even
> touching it after install (choosing to configure later), the DEFAULT
> instance
> returns a "Bad Request" error when trying to log in. I planned to set up
> the
> named instance on another Website.
> Any Ideas?
> "Bruce L-C [MVP]" wrote:
>> They need their own databases, not their own instance. RS 2005 should
>> have
>> no problem with this at all.
>> From the article that Enrique provided a link to:"You can install
>> multiple
>> instances of Reporting Services on the same computer. Installing multiple
>> instances is useful if you want to host different content for specific
>> sites. Each instance will have its own report server database,
>> configuration
>> files, and virtual directories. "
>> Note it says report server database NOT instance.
>> --
>> Bruce Loehle-Conger
>> MVP SQL Server Reporting Services
>> "Marvin" <Marvin@.discussions.microsoft.com> wrote in message
>> news:06567929-6302-4508-8B96-80D7A02B439E@.microsoft.com...
>> > So am I understanding you correctly that each RS (standard ed) instance
>> > will
>> > need to have their own SQL Server Database Instance?
>> >
>> > Here is what my environment looks like:
>> > WebServer has RSSite1(default) AND RSSite2(Named)
>> > DatabaseServer has one Instance Of Sql Server called DBServ
>> > DBServ has four databases:
>> > RSSite1_ReportServer
>> > RSSite1_ReportServerTempDb
>> > RSSite2_ReportServer
>> > RSSite2_ReportServerTempDb
>> >
>> > I'm doing this right now, but i'm running into some issues. Just want
>> > to
>> > know if this is supported so i can stop troubleshooting this.
>> >
>> > Thanks
>> >
>> > "EMartinez" wrote:
>> >
>> >> On Aug 16, 7:45 pm, Marvin <Mar...@.discussions.microsoft.com> wrote:
>> >> > i read through the documentatation, but its not clear to me if 2 RS
>> >> > 05
>> >> > standard ed on one machine can share the same database server but
>> >> > separate
>> >> > databases. Unless i'm misunderstading it... any ideas?
>> >> >
>> >> > "EMartinez" wrote:
>> >> > > On Aug 14, 12:58 pm, Marvin <Mar...@.discussions.microsoft.com>
>> >> > > wrote:
>> >> > > > Can i have multiple Report Server 05 instances on one machine
>> >> > > > conneting to
>> >> > > > one remote Sql Database instance. Each Report Server will have
>> >> > > > its
>> >> > > > own
>> >> > > > database in the SQL instance
>> >> >
>> >> > > This link should be helpful.
>> >> > >http://technet.microsoft.com/en-us/library/ms403426.aspx
>> >> >
>> >> > > Regards,
>> >> >
>> >> > > Enrique Martinez
>> >> > > Sr. Software Consultant
>> >>
>> >>
>> >> As far as I know, this should be fine as long as your virtual
>> >> directories for Reports and ReportServer are physically separate for
>> >> both SQL instances. Also, you will want to make sure that you have at
>> >> least one default SQL Server Instance and one named SQL Server
>> >> Instance local to SSRS. As long as your SQL Servers are not mixed
>> >> (i.e., one SQL Server 2000 and one SQL Server 2005), it should be ok.
>> >>
>> >> Regards,
>> >>
>> >> Enrique Martinez
>> >> Sr. Software Consultant
>> >>
>> >>
>>|||i was able to figure out my problem...i used the custom security extention
sample and during login it was returning the wrong url from one of the
methods (using WMI for some reason to get the url). i just overrid that and
got the correct value from web.config. all is well. thank you for taking the
time to help me.
"Bruce L-C [MVP]" wrote:
> Did you use different databases for the second install of RS?
> Have you checked to see what the default website is? Could it have changed
> to the second installation of RS?
> --
> Bruce Loehle-Conger
> MVP SQL Server Reporting Services
> "Marvin" <Marvin@.discussions.microsoft.com> wrote in message
> news:7CA5523E-B6D7-4524-A3C2-DA30939B3F2B@.microsoft.com...
> > Thank you for clarifying...so here's my issue.
> > I installed a default instance of Report Services Std on a Non-Default
> > Website with Sql Server on a remote machine. I implemented custom
> > security.
> > No problems so far. I am able to log-in using Forms Auth and add a Folder.
> >
> > Then I would install a named instance on the same webserver. Without even
> > touching it after install (choosing to configure later), the DEFAULT
> > instance
> > returns a "Bad Request" error when trying to log in. I planned to set up
> > the
> > named instance on another Website.
> >
> > Any Ideas?
> >
> > "Bruce L-C [MVP]" wrote:
> >
> >> They need their own databases, not their own instance. RS 2005 should
> >> have
> >> no problem with this at all.
> >> From the article that Enrique provided a link to:"You can install
> >> multiple
> >> instances of Reporting Services on the same computer. Installing multiple
> >> instances is useful if you want to host different content for specific
> >> sites. Each instance will have its own report server database,
> >> configuration
> >> files, and virtual directories. "
> >>
> >> Note it says report server database NOT instance.
> >>
> >> --
> >> Bruce Loehle-Conger
> >> MVP SQL Server Reporting Services
> >>
> >> "Marvin" <Marvin@.discussions.microsoft.com> wrote in message
> >> news:06567929-6302-4508-8B96-80D7A02B439E@.microsoft.com...
> >> > So am I understanding you correctly that each RS (standard ed) instance
> >> > will
> >> > need to have their own SQL Server Database Instance?
> >> >
> >> > Here is what my environment looks like:
> >> > WebServer has RSSite1(default) AND RSSite2(Named)
> >> > DatabaseServer has one Instance Of Sql Server called DBServ
> >> > DBServ has four databases:
> >> > RSSite1_ReportServer
> >> > RSSite1_ReportServerTempDb
> >> > RSSite2_ReportServer
> >> > RSSite2_ReportServerTempDb
> >> >
> >> > I'm doing this right now, but i'm running into some issues. Just want
> >> > to
> >> > know if this is supported so i can stop troubleshooting this.
> >> >
> >> > Thanks
> >> >
> >> > "EMartinez" wrote:
> >> >
> >> >> On Aug 16, 7:45 pm, Marvin <Mar...@.discussions.microsoft.com> wrote:
> >> >> > i read through the documentatation, but its not clear to me if 2 RS
> >> >> > 05
> >> >> > standard ed on one machine can share the same database server but
> >> >> > separate
> >> >> > databases. Unless i'm misunderstading it... any ideas?
> >> >> >
> >> >> > "EMartinez" wrote:
> >> >> > > On Aug 14, 12:58 pm, Marvin <Mar...@.discussions.microsoft.com>
> >> >> > > wrote:
> >> >> > > > Can i have multiple Report Server 05 instances on one machine
> >> >> > > > conneting to
> >> >> > > > one remote Sql Database instance. Each Report Server will have
> >> >> > > > its
> >> >> > > > own
> >> >> > > > database in the SQL instance
> >> >> >
> >> >> > > This link should be helpful.
> >> >> > >http://technet.microsoft.com/en-us/library/ms403426.aspx
> >> >> >
> >> >> > > Regards,
> >> >> >
> >> >> > > Enrique Martinez
> >> >> > > Sr. Software Consultant
> >> >>
> >> >>
> >> >> As far as I know, this should be fine as long as your virtual
> >> >> directories for Reports and ReportServer are physically separate for
> >> >> both SQL instances. Also, you will want to make sure that you have at
> >> >> least one default SQL Server Instance and one named SQL Server
> >> >> Instance local to SSRS. As long as your SQL Servers are not mixed
> >> >> (i.e., one SQL Server 2000 and one SQL Server 2005), it should be ok.
> >> >>
> >> >> Regards,
> >> >>
> >> >> Enrique Martinez
> >> >> Sr. Software Consultant
> >> >>
> >> >>
> >>
> >>
> >>
>
>

Multiple rows into one query result row...

I have an abstract relational database underneath some business objects... For instance, say I have two tables...

TABLE 1: A simple list of people...

ID USER
---
1 Mike
2 John

TABLE 2: Name/Value pairs of attributes linked to table 1 by ID...

ID NAME VALUE
------
1 Hair Brown
1 Eyes Blue
2 Weight 200

So you can see from this that Mike has brown hair and blue eyes, and that John weighs 200 lbs.

I want a query that selects a person and all their attributes (whatever they may be), and returns the results on one row like this (when run with a WHERE clause that selects user Mike).

USER HAIR EYES
------
Mike Brown Blue

And returns this when run with a WHERE clause that selects user John...

USER WEIGHT
-----
John 200

Any ideas? Thanks in advance!Wow! Talk about stuff that will give you nightmares!

-PatP|||This question has been asked and anwered hundreds of times in all forums. Do some research!
Hint: Search for PIVOT TABLE, CROSSTAB QUERY, etc... :mad:|||This question has been asked and anwered hundreds of times in all forums. Do some research!
Hint: Search for PIVOT TABLE, CROSSTAB QUERY, etc...I think this one is a twist on the usual cross tab... It looks like they want the query schema to change from row to row, which goes way beyond a cross-tab in my mind. It makes my head hurt just thinking about it. A cross-tab seems simple to code and use in comparison to this request.

-PatP|||Thanks, Pat. I'm being bludgeoned on a few boards over this. People keep saying cross-tab, which is not what I'm after here...

It does indeed make the head hurt...|||I would classify this as a candidate for a recursive query. Search through this forum for some good ideas.|||candidate for dynamic sql

step 1: select distinct name from table2 where id=n

if you don't know n, do a join and use WHERE table1.name = 'fred'

step 2: construct multiple LEFT OUTER JOIN query, from table1 to table2 as many times as there are attributes that fred has (from step1), aliasing each table2.value to the corresponding column name

step 3: execute the dynamic query

easy peasy|||I think that Rudy's suggestion is a good one, if you can allow all of the rows in a given result set to have the same schema. This is probably the closest answer possible to what you want using standard SQL tools. Supporting irregularly shaped result sets is possible using some tools, but not using standard recordset-oriented tools.

As Fibber used to say: "T'ain't pretty, McGee!"

-PatP