Showing posts with label servers. Show all posts
Showing posts with label servers. Show all posts

Wednesday, March 21, 2012

Number of databases on a virtual server

Is there a limit to the number of databases exposed through a virtual server?
I'm looking at porting over 200 databases from 12 different servers into a clustered environment and want to minimize the number of SQL Server installs that need to be performed on the cluster.
Thanks in advance.
The limits for standalone SQL Server holds true for virtual SQL Server.
Databases per instance of SQL Server --> 32,767
Database size --> 1,048,516 TB
Filegroups per database --> 256
Files per database --> 32,767
File size (data) --> 32 TB
File size (log) --> 32 TB
For more information, please refer to
Maximum Capacity Specifications
http://msdn.microsoft.com/library/de...ar_ts_8dbn.asp
Best Regards,
Uttam Parui
Microsoft Corporation
This posting is provided "AS IS" with no warranties, and confers no rights.
Are you secure? For information about the Strategic Technology Protection Program and to order your FREE Security Tool Kit, please visit
http://www.microsoft.com/security.
Microsoft highly recommends that users with Internet access update their Microsoft software to better protect against viruses and security vulnerabilities. The easiest way
to do this is to visit the following websites: http://www.microsoft.com/protect
http://www.microsoft.com/security/guidance/default.mspx
|||also check out the links below - which document well the potential issues
you may face when consolidating SQL Server .
http://www.microsoft.com/windows2000...ble/bpdcac.asp
http://www.microsoft.com/technet/pro...olidation.mspx
cheers,
Andy
"poul0004" <poul0004@.discussions.microsoft.com> wrote in message
news:BFAC1003-8F16-4EDD-AD15-7B6050E59B51@.microsoft.com...
> Is there a limit to the number of databases exposed through a virtual
server?
> I'm looking at porting over 200 databases from 12 different servers into a
clustered environment and want to minimize the number of SQL Server installs
that need to be performed on the cluster.
> Thanks in advance.
|||also slightly more detailed - more planning orientated
http://www.microsoft.com/technet/pro.../sql2kcon.mspx
"poul0004" <poul0004@.discussions.microsoft.com> wrote in message
news:BFAC1003-8F16-4EDD-AD15-7B6050E59B51@.microsoft.com...
> Is there a limit to the number of databases exposed through a virtual
server?
> I'm looking at porting over 200 databases from 12 different servers into a
clustered environment and want to minimize the number of SQL Server installs
that need to be performed on the cluster.
> Thanks in advance.
sql

number of databases in sql server 2005

Hello,

If I have a database of 5 GB with only 20 tables in it, how many of
those can we put in how many database servers on a high end machine
(Dual Xeon 8 GB on windows 2003)?
It is to maka a quotation and an estimation of the cost.

TIA

Mariosledge (Witdoek@.gmail.com) writes:

Quote:

Originally Posted by

If I have a database of 5 GB with only 20 tables in it, how many of
those can we put in how many database servers on a high end machine
(Dual Xeon 8 GB on windows 2003)?
It is to maka a quotation and an estimation of the cost.


The lowest of 32762 and (the available disk space/5GB).

If you mean the practical limit, before the machine suffocates under the
load, that's impossible to answer, without knowing the traffic per
database.

--
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

Saturday, February 25, 2012

Null User Problem

Here is what we have going on...

we have 2 servers, the web server (A), and a SQL cluster (B). When a user visits a website on A there is some stored procedures that get called on B. We would like those stored procedures to be executed using the "network users" login. We try to implement this by doing the following:


the connection string looks like this
<add key="ConnectionString" value="Workstation ID=UTMPLMDBT;Packet Size=4096;Integrated Security=SSPI;Data Source=XXX.XXX.XXX.XXX,xxxx;Persist Security Info=False;Initial Catalog=XXXX" /
we added this in the web.config
<authentication mode="Windows" />
<identity impersonate="true"/>

-The web server is running IIS 6 on windows 2003 server
-We currently do not used Active Directory
-SQL cluster is running SQL 2000 on windows 2003 server

The error we are currently getting is:
Login failed for user '(null)'. Reason: Not associated with a trusted SQL Server connection.

This error occurs when we try sqlConn.Open()

Any help would be greatly appreciated,
TreyHere is some other information...I wrote the following program...


Dim authUserName As String
Dim aspUserName As String
authUserName = User.Identity.Name
aspUserName = Principal.WindowsIdentity.GetCurrent.Name
authUserPrincipalLabel.Text = "You are: " & authUserName
aspPrincipalLabel.Text = "This page runs as: " & aspUserName

it displays:

You are:MYDomain\144205
This page runs as: MYDomain\144205

So I'm not sure what is going wrong|||This:

::We would like those stored procedures to be executed using the "network users" login

and this:

::<authentication mode="Windows" />
::<identity impersonate="true"/
contradicts. The statement will get executed using the identity of the user making the call, IF the page is protected, null (imho - am I correct here?) if anonymous access is allowed (or: the asp.net worker process identity, which is NOT network_users and a local account, unless reconfigured, which you did not say you did).|||When I said,
::We would like those stored procedures to be executed using the "network users" login
I mean I want to log into SQL using the users network username (ex) Mydomain\Trey
and password and execute the the procedure.

anonymous access is not allowed (not checked) in or IIS server.

I'm gettng kinda lost...how do I do this?

Thanks,
Trey|||OK after much reading...I was wondering if I can try the following

http://msdn.microsoft.com/library/default.asp?url=/library/en-us/secmod/html/secmod15.asp

without using active directory?

Thanks,
Trey|||::OK after much reading...

NOW you deserve a good answer :-) And this is not meant sarcastic. You proapbly learned a lot about how the WIndows Security System works, and this is sort of exactly what you need.

Could you describe the server side network setup?

Basically, what you can do is:

* One Server: create a custom asp.net account, give it rights in the database, do NOT use impersonation. Voila.
* Multiple Servers: no impersonation, no trusted connection, turn the server to "mixed mode", use username and password.

Unter 99% of the cases the real user should NOT map through to the database.|||Ok...what we did is created a minimum privileged domain account, "Me"

Added this to the web.config


<identity impersonate="true" userName="MyDomain\Me"password="Something" />

Just a note I am not going to leave the Username and Password in clear text.

And we connected successfully. Whoop!

So I tried something else... I changed the web.config file back to:


<identity impersonate="true" />

and logged in as the new "Me" account
I got the account null error again. I guess I'm getting lost on what is going on in the back end.

The reason I would like to use the real user is for auditing purposes. So we know who is doing every select, insert, ect. Would it be better just to pass the users info as a value in the stored procedure?

Thanks,
Trey