Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Trying to know what makes the database non restorable
Message
From
24/03/2017 16:46:48
 
 
To
24/03/2017 16:45:04
General information
Forum:
ASP.NET
Category:
Databases
Environment versions
Environment:
VB 9.0
OS:
Windows 8.1
Network:
Windows Server 2012
Database:
Visual FoxPro
Application:
Web
Miscellaneous
Thread ID:
01649277
Message ID:
01649313
Views:
30
>If you have that many hits/sec then you probably need to take careful measures for everything to work. As I see it you have 2 main approaches:

In my local environment, there isn't. But, this is core code at the framework and it has to be as used for either environment.

>1. Graceful: work from the client side. Set a global flag e.g. "MaintenancePending". When that's set client apps stop trying to connect and users get some sort of "down for maintenance" message. Then clear existing connections (pooled or otherwise). Switching your data fill commands to non-pooled mode when the flag is set may help with this
>
>2. Brute force: work from the server side. The second approach at http://dba.stackexchange.com/questions/43802/how-to-block-user-access-to-perform-database-application-update looks interesting (not tested by me). If you need to force disconnects it can be done but it ROLLBACKs the connections it closes, which is inelegant and may cause users to lose work

Thanks
Michel Fournier
Level Extreme Inc.
Designer, architect, owner of the Level Extreme Platform
Subscribe to the site at https://www.levelextreme.com/Home/DataEntry?Activator=55&NoStore=303
Subscription benefits https://www.levelextreme.com/Home/ViewPage?Activator=7&ID=52
Previous
Reply
Map
View

Click here to load this message in the networking platform