Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Track number of users for an app with FireBird backend
Message
De
09/03/2009 05:56:39
Dorin Vasilescu
ALL Trans Romania
Arad, Roumanie
 
Information générale
Forum:
Visual FoxPro
Catégorie:
Autre
Versions des environnements
Visual FoxPro:
VFP 9 SP1
OS:
Windows XP
Network:
Windows XP
Database:
Firebird
Application:
Desktop
Divers
Thread ID:
01386440
Message ID:
01386568
Vues:
35
>Hi dorin
>
>>Version 2.1 has virtual monitoring tables, you can query mon$attachments table for connections to database, or mon$statements for sql queries. But this feature need database structure upgrade to last version.
>
>Wow, that has helped!
>
>I believe I can look for unique MON$REMOTE_ADDRESS to know the number of users, becuase MON$REMOTE_PID generates one for each application instance even on the same computer.
>
>As for MON$STATEMENTS what is the logic behind it? I think I can see only SQL-PT made from VFP but not the RV sql statements of VFP. Please correct me if I am wrong.
>
>Thanks a lot.

I believe that only active statements are returned.
You can cancel long running sql queries by "DELETE FROM mon$statements"
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform