ورود

View Full Version : سوال: سرعت پایین هنگام اتصال توسط VPN



arash6510
شنبه 10 مرداد 1388, 15:44 عصر
سلام دوستان.
من به وسیله vpn و مودم دیال آپ و به کمک map network drive تونستم از راه دو یه تیبل رو که به صورت لینک بود باز کنم. تا اینجا همه چیز هیجان انگیز خوب بود تا اینکه رسید به خوندن اطلاعات!! سرعت وحشتناک پایینه. جوری که یه تیبل با اطلاعات کم رو 2-3 دقیقه طول میکشه تا باز کنه. قبلا این کارو با mysql(و vb) انجام داده بودم سرعت خیلی خوب بود. دوستان میدونن مشکل از کجاست؟

bita_ziba77
شنبه 10 مرداد 1388, 15:56 عصر
سلام دوستان.
من به وسیله vpn و مودم دیال آپ و به کمک map network drive تونستم از راه دو یه تیبل رو که به صورت لینک بود باز کنم. تا اینجا همه چیز هیجان انگیز خوب بود تا اینکه رسید به خوندن اطلاعات!! سرعت وحشتناک پایینه. جوری که یه تیبل با اطلاعات کم رو 2-3 دقیقه طول میکشه تا باز کنه. قبلا این کارو با mysql(و vb) انجام داده بودم سرعت خیلی خوب بود. دوستان میدونن مشکل از کجاست؟


work with linked table

Although linked tables look just like your own tables when you use them in forms and
reports, they’re stored in another database file. Every time that you access a linked table,
Access must retrieve the records from that file, which takes time. If the linked table is on a
network or in a SQL database, this might take even more time because of network traffic.
You can reduce the time it takes to retrieve the records from a network or an SQL
database in these ways:
• If you don’t need to see all of the records from the linked table, use filters or queries
to limit the number of records and reduce the transfer time.
• Paging up and down among records causes Access to load the records into memory,
which takes time. If you want to add new records to the linked table, on the Home
tab’s Records group, click the New command. This avoids loading all the records
into memory, and then having to page through them to the end of the recordset to
add new records when the table first opens in Datasheet or Form view.
• If you usually add new records to the linked table, create a data entry form and set
the form’s Data Entry property to Yes. This also avoids loading and displaying all
the records from the linked table.
• When you need to query a linked table, don’t use functions in the criteria. And,
especially, don’t use domain aggregate functions, which require that Access load all
the data in the linked table before executing the query.
• You can also create problems for the other users on the network who want to use
the same data. Lock the records no longer than necessary.


Thanks

arash6510
شنبه 10 مرداد 1388, 16:03 عصر
مرسی بخاطر این مقاله. ولی راستش به من کمکی نمیکنه چون همون طور که گفتم حجم تیبل خیلی کمه. دو تا فیلد داره و 2-3 تا رکورد! این بیشتر برای دیتابیس های سنگین تر کاربرد داره.
ولی به هر حال مرسی، مقاله جالبی بود.

soroush_k12
شنبه 10 مرداد 1388, 17:24 عصر
سلام دوست عزیز
ممکنه یک نمونه کوچیک از برنامه تون رو اینجا قرار بدین