Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
SQL server vs Foxpro table
Message
 
To
22/10/2003 13:25:47
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Miscellaneous
Thread ID:
00840975
Message ID:
00841413
Views:
25
An English message will follow <g>

French:

Michel,

Faites simplement une copie locale du data sur la machine qui fait le traitement avant de commencer.
Le traffic va être intense pendant quelques minutes seulement, ensuite tout sera fait localement.

Si le traitement est encore aussi long après ce changement, regardez le code pour l'optimiser...

English:

Michel,

Copy the data on the computer before the start of the process.
The network traffic should be high for a some minutes, but after this, the process will run locally.

If this not work, optimize the code...

HTH :-)

>Ok in French
>
>Nous avons des personnes qui travaille à l'extérieur de nos bureaux. Il nous envoient des demandes de données concernant un client par courrier électronique. Chaque jours nous recevons entre 100 et 300 demandes. Notre réseau est seulement à 10 mbs et est déjà passablement occupé par les employés qui travaillent dans notre batisse. Toutes les demandes recus sont traité sur un poste dédié uniquement à cette tache. Le processeur du poste lors du traitement de ces taches est occupé entre 10 et 15 % par contre le transfert réseau lui est constamment à 100%. Autrement dit le poste de travail attend après le réseau. Tous les programmes ont été optimisés, les index sont bon, les requête sql sont optimisé. Par exemple lors de scan nous ne parcouront que les records dont nous avons besoins (seek and after scan while). Nous avons aussi utilisé l'outil coverage pour trouver les endroits ou les programmes pouvait prendre plus de temps et optimiser ces parties. Pour chaque demande recu des fichiers
>(table dbf) sont produit et compressé avec un utilitaire puis expédié par courrier au demandeur.
>
>Nos tables sont entre 1 et 1.5 gig. Et présentement nous somme dans la période ou nous avons le plus de demande, hier nous avions plus de 500 demande et ce matin les demandes n'étaient pas tous traité. Un responsable du réseau nos a dit que le réseau était surchargé parce que foxpro travaille avec des flat file et que nous devrions migrer vers un vrai serveur de données.
>
>Est-il possible qu'en migrant vers SQL server nous soyons capable d'améliorer le temps de traitement.
>
>Merci
>
>Michel
>
>>Michel
>>
>>Please write in French if it's easier for you. I will reply in English however.
>>
>>From what you describe, it lok slike you are returning all the rows to the client side.
>>
>>Can you create a stored proc that returns only the data you wish? This would likely solve your issues.
>>
>>- Val
>>
>>
>>>I will try to explain but because I am frech I have some difficulty to find the right word.
>>>
>>>People who work for our company (outside of the office and doing auditing) ask for some data about client (they send us a email with a request). When we receive the request a task is launch on a computer doing only this task to extract data from the main tables (about 12 tables and some of them are 1 to 1.5 gig ).
>>>From those table we are extracting data using scan, select sql and other code to result table that are compress into a zip file and send to the person who have make the request by email. We can receive from 100 to 300 request on one day. During the process we are not locking table
>>>
>>>
>>>Michel
>>>
>>>>Michel,
>>>>
>>>>We have a lot experience in this regard so we'll try to help out. That said, you did not provide any information on which to base an intelligent reply.
>>>>
>>>>What are you doing with the data?
>>>>Can filter conditions apply?
>>>>Are you locking any data?
>>>>How large is the data?
>>>>How are you returning to the client station?
>>>>
>>>>- Val Matison
>>>>
>>>>>Hi
>>>>>
>>>>>We have some heavy task using table that are on a server on the basement. The network speed is 10 mb. These task is taking more than 12 hours. In these task we are extracting some data, scanning table.......
>>>>>
>>>>>Foxpro table are flat file and someone told me that in this case this is doing lot of traffic on the network. In fact the processor of the computer doing these task is used about 2 to 14 % and the graphic about the network traffic is about 80 to 100%. The same person told me that using sql server for data will really make a big difference for the traffic on the network and the time for these task.
>>>>>
>>>>>I wish the have the advice from people who move to sql server and if this is true.
>>>>>
>>>>>Michel
If we exchange an apple, we both get an apple.
But if we exchange an idea, we both get 2 ideas, cool...


Gérald Santerre
Independant programmer - internet or intranet stuff - always looking for contracts big or small :)
http://www.siteintranet.qc.ca
Previous
Reply
Map
View

Click here to load this message in the networking platform