How sql server datbase handles more than 50,000 Conccurrent connection at a time
there is any feature of sql server 2008 r2 database that can handles more than 50,000 concurrent connection at a time with high availability. That can do " insert/update/delete/select " anything.
SQL server cannot accommodate 50k update statements simultaneously from 50k sessions. As others have stated, the physical active session limit of the platform is ~32k, and if you genuinely want that out of the box with load balancing on a single db at that
kind of scale then sql server 2008 r2 is the wrong platform.
For what it's worth, Minimum memory overhead per connection will help you work out what your minimum memory requirements are. Note that it's variable dependent
upon the network packet size, which is partially a configuration question, partly one of instruction (byte size of actual db interactions) and finally the size of the actual workload being generated by the session.
Number of processors, and indeed what their capabilities are, that's entirely up to you. To facilitate such a high number of connections concurrently in all honesty I think your network stack is a bigger concern. There is no single golden configuration
for SQL Server, certainly not something that could win a pub quiz with the details provided. While it would be possible to design a theoretical configuration on paper without resorting to building the tin, I can imagine the numbers you come up with might be
a little difficult to build. Just ask Amazon!
Similar Messages
-
Unable To Select From SQL Server table with more than 42 columns
I have set up a link between a Microsoft SQL Server 2003 database and an Oracle 9i database using Heterogeneous Services (HSODBC). It's working well with most of the schema I'm selecting from except for 3 tables. I don't know why. The common denominator between all the tables is that they all have at least 42 columns each, two have 42 columns, one has 56, and the other one, 66. Two of the tables are empty, one has almost 100k records, one has has 170k records. So I don't think the size of the table matters.
Is there a limitation on the number of table columns you can select from through a dblink? Even the following statement errors out:
select 1
from "Table_With_42_Cols"@sqlserver_db
The error message I get is:
ORA-28500: connection from ORACLE to a non-Oracle system returned this message [Generic Connectivity Using ODBC]
ORA-02063: preceding 2 lines from sqlserver_db
Any assistance would be greatly appreciated. Thanks!Not a very efficient and space friendly design to do name-value pairs like that.
Other methods to consider is splitting those 1500 parameters up into groupings of similar parameters, and then have a table per group.
Another option would be to use "vertical table partitioning" (as oppose to the more standard horizontal partitionining provided by the Oracle partition option) - this can be achieved (kind of) in Oracle using clusters.
Sooner or later this name-value design is going to bite you hard. It has 1500 rows where there should be only 1 row. It is not scalable.. and as you're discovering, it is unnatural to use. I would rather change that table and design sooner than later. -
SQL Server 2012 taking more memory
I have sql server 2012 it taking more memory. for example i allocate 100 GB but it's taking 250GB and above. while
i checking in resource monitor it's showing and there is no process is running (sp_who2)I have sql server 2012 it taking more memory. for example i allocate 100 GB but it's taking 250GB and above.
while i checking in resource monitor it's showing and there is no process is running (sp_who2)
I guess you allocated 100 G(arbitrary value) to buffer pool. Even though in SQL Server 2012 buffer pool was changed to cater to memory requests for many processes which were previously satisfied by Windows API directly (not from buffer pool) still there
are processes which can cause memory allocation outside buffer pool and thus increase SQL server memory consumption more than what is assigned to buffer pool so what you are seeing IS NORMAL BEHAVIOR.
http://blogs.msdn.com/b/sqlosteam/archive/2012/07/12/memory-manager-configuration-changes-in-sql-server-2012.aspx
Can you please post output of below query
select
(physical_memory_in_use_kb/1024)Memory_usedby_Sqlserver_MB,
(locked_page_allocations_kb/1024 )Locked_pages_used_Sqlserver_MB,
(total_virtual_address_space_kb/1024 )Total_VAS_in_MB,
process_physical_memory_low,
process_virtual_memory_low
from sys. dm_os_process_memory
How much RAM does your system has and what is Max server memory ?
SQL server once taken memory will not release until SQLOS asks it to do so upon seeing low memory notification flag. Memory is managed dynamically and SQL Server by default caches as much as possible to avoid I/O reads which is time taking an costly
Please mark this reply as answer if it solved your issue or vote as helpful if it helped so that other forum members can benefit from it.
My TechNet Wiki Articles -
Connect more than 3 ATV's at the same time to one iTunes Library.
Seriously! Im about to go nuts on this!
I have a big problem, I have 13 ATV's, 1 x MacMini witch has two external drives on 1TB containing film attached to it.
I want to be able to connect all the ATV's to the same iTunes library, I know that you cant stream to 13 ATV's simultaneously. I just want them to be connected to the library so i dont have to run to the computer to connect another one just because you change location inside the boat.
I have been in contact with Apple Pro support numerous of times regarding this and the only answer you get it pretty much.. this is the way it is.. like it or not..
Have contacted Royal Caribbean Cruise ships yard down in Miami to try getting hold of the guy who had to do with the 1400 iMacs the had installed on their vessels. Not received a reply from him yet..
Does anyone else have any tips on how I can approach or try to contact?
I know that me with my few ATV's is a man with no voice when it comes to speak to Apple about this problem.. But the thing is that i am working as an IT Officer on a private owned yacht 70m+ and have allot of contact with other IT guys from other private owned vessels (read hundreds of hundreds private owned yacht around the globe) how was like me.. looking for a nice, quiet good looking pice of equipment with a nice, easy to use interface that isn't going to cost 100 000€.. If you start looking at it in that way, my 13 ATV' all of a sudden could been 1300? or maby even 13 000? when you start counting on potential yachts around the globe..
I mean i understand why Apple have limited their iTunes to not be able to handle more than 3 ATV's at the same time.. but i still think its wrong to cut all possible changes to make it able to connect more than 3 external medias to the same library. They could have made a solution like what they have done with the Quicktime for example.. the player that comes standard in OSX is the basic one.. go online pay "what ever amount" and whips you have a pro version.. could have done exactly the same thing when it comes to iTunes.. basic pre installed.. buy a code in apple store and whips you have pro features..
It cant just be me in the hole world ho has this problem?!?!
Incredibly grateful for answers or thoughts.
Best regards TimposAC, Thank you for you reply.
Even though it is supposed to be a 'simple' home video system it has so much potential!
And i mean i know there is an solution since i know the Caribbean cruises are using apple as media centers onboard their ships. have to admit that i do not know if they are using frontrow or some other application created buy some other company.. i just know that some one must know how to get around it all and make it work..
Just wish i had someone to get in contact with that is working hands on every day with this product, and get strait, good, final answers.. no "pro support" since im not happy with their answers anymore..
I know i start to sound desperate.. but thats because i am.. -
What if i need more than one prepareStatements per connection
hi all!!
Please take some time to look into this scenario.
On the front end: User enters/ updates his/her records and submits. An ArrayList of object goes to backend.
On back end: i have to loop for the size of the ArrayList submitted and see if some record is to be updated or inserted.
Now at back end i do following steps:
I have only one Connection object named connection.
Step 1:
query (say query1 )to see if the record in DB exists for the primary key as extracted from the element from ArrayList. So one prepareStatment ( say prepareStatement1) for this. I write a query and execute :
prepareStatment1= connection.prepareStatement(query1);
Step2 :
A query ( say query2) to update Data in DB. And i have a separtae prepareStatement for this and i execute
prepareStatment2 = connection.prepareStatement(query2);
Sep3
A query (say query3 )to insert Data in DB. And i have a separtae prepareStatement for this and i execute
prepareStatment3 = connection.prepareStatement(query3);
Step4:
for: size of arraylist:
1. take out the element at ith index from the list.
2. see if the record exists i.e execute step1 and see if resultSet.next() is true.
3. if record exists step2 applies so execute update query
4. if record doesnot exist then go to step3 and execute insert query
A weird thing happened .. insert was running fine but update was not. May be i was not checking appropriately. BUT the error that occurrd was that
[Microsoft][ODBC SQL Server Driver]Connection is busy with
results for another hstmt.
So i changed my path and in loop i prepareStatement and execute query to see if record exists or not and store the result in some boolean variable and then close this prepareStatement. and if the result existed again prepare a statement for update or else prepare a statement for insert and execute the respective.
and then again close this prepareStatement and go for next iteration of loop
so each iteration i am preparing statement and then closing it BECAUSE Connection doesnot allow more than one statement per connection at one time. Am i right.??
what should i do.? Although i have solved problem by closing and preparing in loop but that is so inefficient. Is there some elegant way???
please reply.
PS: I am using ms sql server 8.0 as my DBMS. I am developing web application using Sun Creator.No, you can use as many PreparedStatements as you like, all from one Connection, and you can keep them open as long as you like. (I do this with no problems.) Where you will run into problems is when you are trying to use two ResultSets at the same time. That's what the error message means, it just doesn't use JDBC terminology.
-
I am handling logistics department in a company, i am handling more than 100 calls in a day. But my iPhone 4 have only 100 number call history. How to increase my call log size or kindly suggest a better app for storing 1 month call history..
Here's one:
https://itunes.apple.com/us/app/callog/id327883585?mt=8 -
How application server will take more database connection than specified
Hi,
While configure the datasource we have specification's/properties for
1)Initial Connection (for ex. 1)
2)Maximum Connection(for ex. 120)
But we donot know how the SAP Server will take the connection after it reached to maximum connection, There is not propery which tell us to to create new connection.
Can anyone tell me the process to increment the connection's or how the server behave after it will reach to maximum connection.
Thanks,
Nitin UikeySQL server cannot accommodate 50k update statements simultaneously from 50k sessions. As others have stated, the physical active session limit of the platform is ~32k, and if you genuinely want that out of the box with load balancing on a single db at that
kind of scale then sql server 2008 r2 is the wrong platform.
For what it's worth, Minimum memory overhead per connection will help you work out what your minimum memory requirements are. Note that it's variable dependent
upon the network packet size, which is partially a configuration question, partly one of instruction (byte size of actual db interactions) and finally the size of the actual workload being generated by the session.
Number of processors, and indeed what their capabilities are, that's entirely up to you. To facilitate such a high number of connections concurrently in all honesty I think your network stack is a bigger concern. There is no single golden configuration
for SQL Server, certainly not something that could win a pub quiz with the details provided. While it would be possible to design a theoretical configuration on paper without resorting to building the tin, I can imagine the numbers you come up with might be
a little difficult to build. Just ask Amazon! -
How to create hierarchy across more than one dimesion
Hi experts,
How to create hierarchy on more than one dimension in SSAS.please guide me.
ThanksHi ,
This is not Possible without making changes in the cube design .i.e;
Using Join for have to create one dimension with all attributes that you require in dimension .
Lets say you have
Dim1
att1
att2
att3
Dim2
F1
F2
You need Hierarchy as below;
Hier
att1
att3
F2
1. Add one Table in DSV using Join between both the tables.
2.Create Dimension using this newly added table.
3. Create hierarchy
https://www.simple-talk.com/sql/reporting-services/implementing-user-defined-hierarchies-in-sql-server-analysis-services/
Thanks
Please Mark This As Answer or vote for Helpful Post if this helps you to solve your question/problem. http://techequation.com -
I just got my passport yesterday ,could someone teach me how to run my passport more than one day.
please see the picture, I just received some calls and surf the internet less than 1h today.
thank you a lot.press both volume keys down for 30 seconds and see if it persists after
Click here to Backup the data on your BlackBerry Device! It's important, and FREE!
Click "Accept as Solution" if your problem is solved. To give thanks, click thumbs up
Click to search the Knowledge Base at BTSC and click to Read The Fabulous Manuals
BESAdmin's, please make a signature with your BES environment info.
SIM Free BlackBerry Unlocking FAQ
Follow me on Twitter @knottyrope
Want to thank me? Buy my KnottyRope App here
BES 12 and BES 5.0.4 with Exchange 2010 and SQL 2012 Hyper V -
How to load and unload more than one external swf files in different frames?
I do not have much experience on Adobe Flash or Action Script 3, but I know the basics.
I am Arabic language teacher, and I design an application to teach Arabic, I just would like to learn how to load and unload more than one external swf files in different frames.
ThanksLook into using the Loader class to load the swf files. If you want to have it happen in different frames then you can put the code into the different frames.
-
How to exclude one or more than one member on report?
Post Author: izhar
CA Forum: WebIntelligence Reporting
Hi all group members, I am working on BOXI R2. I have to ask that, How to exclude one or more than one member from the report. I know there is function of filter, through which we can see our desired members and other remaining will be excluded, but that's filter. In some of tools i have seen just do right click on a specific member and click on "Exclude" option to exclude the member. Suppose i have placed a Time dimension on the report and standing on "Month Level" which has data from 1, 2, ... 7,8, ... 11, 12 Now i just have to exclude member 7 from the report. Can any member guide me here. Regards, IzharPost Author: jsanzone
CA Forum: WebIntelligence Reporting
Izhar,
If you run the report in "modify" mode, then you have two options
1) You can click on the "Show/Hide Filter Pane" button which opens up the "apply filter" pane. From there you go to your Data panel and grab, drag, and drop an item from the Data panel into the apply filter pane and provide a constant or select a value to filter in or out from your report.
2) You can highlight the column of data that you want to filter on, then click on the "Add Quick Filter" button. Using the List of Values menu you either select one or multiple items that you want to include in the report. -
How can you set up more than one device on iTunes? I have an iPad, iPod, itouch and iPhone. I don't want the same on all devices. I have all my music/videos on iTunes on my mac book pro. Can you set up separate folders for each device and drop in what ever music/videos from the main iTunes library?
In itunes it is called syncing and you can choose exactly what content to sync to all devices and it can be different for all of them
How to sync -
How do people register for more than one person on a form?
We had a lot of complaints last year from organizations who sent several employees to our training. It took a long time for them to process these one at a time. How do people register for more than one person on a form?
Hi thearcca,
This entirely depends on the form you create, you can add multiple choice button and ask for the no. of employees the organization wants to register.
Also, you can add corresponding text field for the names.
Thanks,
Vikrantt Singh -
How can I see if my program is for more than one user? We think we have bought in design for more users, but can not find out how to get in for more than one?
If you bought a CC for team, you can log in at http://adobe.com and insert the e-mail that you gave at the moment at the purchase and than you can manage and see you product/plan/team.
If I was not clear you can use the following link to help you solving your issue:
Creative Cloud Help | Manage your Creative Cloud for teams membership
If your not clear about this situation, contact with an agent of Adobe, by chat or phone. Use the following link to see the type of support you have on this matter:
http://adobe.com/getsupport
I think this will help you.
Regards -
JDBC-XI-FILE scenario. How to extract data from more than one table in JDBC
Hi,
I was asked a question like in JDBC-XI-FILE scenario........ How to extract data from more than one tables (i.e from JDBC system) ?? What is the logic to do the same ??
I am not sure whether this is a valid question..........but any help in this regards is highly appreciated.
Regards
KumarHI,
Yes it can be possible ,please see the following links
JDBC Receiver with Oracle Stored Procedures
configuring jdbc adapter with multiple tables
RFC -> XI -> JDBC Scenario Updating Multiple Tables
/people/alessandro.berta/blog/2005/10/04/save-time-with-generalized-jdbc-datatypes
JDBC Adapter multiple Selects
https://www.sdn.sap.com/irj/sdn/advancedsearch?query=jdbc%20with%20multiple%20tables&cat=sdn_all
Regards
Chilla..
Maybe you are looking for
-
Mass change Tcode for status of multiple projects
Dear All, Any SAP Standard t code for mass Status change for multiple Projects (like TECO,AALK). Thanks. Arun
-
af:statusIndicator how does it work?
<af:statusIndicator> how does it work? i want, call a function javascript when <af:statusIndicator> changed icon from ""reconnecting"" to "connected". where do javascript functions change icons? please help me Edited by: Mehdi Jalali on Dec 31, 2012
-
Accessing status bar text in codedUI test
I need to get the text from status bar. I tried statusbar.text and statusbar.name, both didn't work. So suggest any method to get the text from it?
-
I lost my safari browser how do i get it back?
i lost my safari browser how do i get it back? I was reverted to firefox and my safari is no longer in my dock...it just disapaered about a week ago off both my dock and my screen...? Please advise. Thanks!
-
Windows Server 2008R2 profile unload impossible due to Temp "Z@.." files
Hi, We are supporting many environments for different customers. Unfortunately they all share the same issue, which is caused by the combination of Windows Server 2008R2 and Adobe Reader 11. The files are located in "C:\Users\Some-User\AppData\Local\