Topic:Access to SQL backend
Remainpoint:0
Ranarok
PostTime:12/16/2008 7:27:11 PM
Top
Level:
1
Professional point:
66
Experience:
1
Thread:
278
Post:
1007
Total online time:
1M
Joined date:
4/28/2007 11:31:00 PM
Last Visit:
12/16/2008 11:35:07 PM
Status:
Try our remote PC help service to fix your PC instantly(Only cost
$19.95
)
Register to make Ads free
I have a database which is connecting to a SQL server backend. At the moment it is generating reports very slowly e.g. 5-10mins. The tables on the SQL server seem to have already been indexed which I thought may be a solution. Is there anything else that I can try. Also I want to monitor the amount of data being transferred between the Access frontend and the SQL server, can anyone suggest any way to do this.
Thanks in advance
CompyGuy
PostTime:12/16/2008 8:50:29 PM
Point:0
|
# 1
Level:
1
Professional point:
83
Experience:
2
Thread:
242
Post:
980
Total online time:
2M
Joined date:
4/28/2007 10:38:00 PM
Last Visit:
12/16/2008 11:40:24 PM
Status:
are there any sql command line tools that will check and compress the db?
Twisteddso
PostTime:12/16/2008 9:08:02 PM
Point:0
|
# 2
Level:
1
Professional point:
94
Experience:
11
Thread:
294
Post:
1009
Total online time:
11M
Joined date:
4/29/2007 2:38:00 AM
Last Visit:
12/17/2008 12:46:59 AM
Status:
The main table on the SQL Server has aroung 26,000,000 records stored on it.
Are there any software programs that would allow me to track the amount of data being transferred over the network.
Ranarok
PostTime:12/16/2008 9:40:01 PM
Point:0
|
# 3
Level:
1
Professional point:
66
Experience:
1
Thread:
278
Post:
1007
Total online time:
1M
Joined date:
4/28/2007 11:31:00 PM
Last Visit:
12/16/2008 11:35:07 PM
Status:
You could de-normalize the back end if this is a commonly run report. For example, instead of using a running total on the report, keep a calculated attribute for the table. I wouldn't recommend this in many cases, but it might be a simpler and safer solution than trying to migrate large amounts of data just to run reports.
I dunno, just a suggestion.
chris.
ADE
PostTime:12/16/2008 9:56:53 PM
Point:0
|
# 4
Level:
1
Professional point:
46
Experience:
6
Thread:
265
Post:
966
Total online time:
6M
Joined date:
4/29/2007 12:00:00 AM
Last Visit:
12/17/2008 12:21:04 AM
Status:
I was thinking of creating a database maintenance plan to try and free up some space, but I am a bit wary in case it makes changes to the database which might cause data to be lost.
Another option I was considering was archiving some of the data in the largest table, I know this might solve the problem, but this might cause problems in the long term. If I did use this option can anyone advise me as to how to go about this, also is there any way to copy the data to be archived to another table before removing it from the orginal table as I want to see how may records will be removed before I change the orginal table.
Thanks
sundaysad
PostTime:12/16/2008 10:22:15 PM
Point:0
|
# 5
Level:
1
Professional point:
5
Experience:
28
Thread:
261
Post:
1005
Total online time:
28M
Joined date:
4/29/2007 2:32:00 AM
Last Visit:
12/17/2008 12:22:50 AM
Status:
Write some stored procedures on your SQL server for the queries that are used often and only use the front end to call them. Large looping recordsets or large nested queries tend to run very slow when linking to SQL tables. There was a performance analyzer you used to be able to dl from MS, but I am sure there is something similar out there now. 26K records is nothing for SQL, it is more than likely your front end.
vovk
PostTime:12/16/2008 10:27:58 PM
Point:0
|
# 6
Level:
1
Professional point:
0
Experience:
14
Thread:
314
Post:
924
Total online time:
14M
Joined date:
4/24/2007 6:51:00 AM
Last Visit:
12/17/2008 12:02:44 AM
Status:
I still haven't found a solution to this. I have archived some of the records and reduced the transaction log but there has still been no improvement in the database performance.
I don't think it is going to be possible to create stored procedres on the sql server and link to them as some of the queries are creating and deleting temporary tables, also the frontend is developed by an external organisation.
I think that it is a problem with the frontend (as mentioned by Rockn), but I am not sure what I could try to speed it up. Are there any alternatives to using ODBC as I was wondering if this was causing the problems.
I have also tried running the database on the server using the ODBC connection and the ms access frontend but it still experienced the same problems.
Any advice or suggestions would be appreciated.
Thanks
Love my life!!
ryandg
PostTime:12/16/2008 11:41:10 PM
Point:0
|
# 7
Level:
1
Professional point:
78
Experience:
9
Thread:
286
Post:
947
Total online time:
9M
Joined date:
4/29/2007 12:17:00 AM
Last Visit:
12/16/2008 11:26:07 PM
Status:
Rockn, isn't it 26meg records?
tthoke
PostTime:12/16/2008 11:46:20 PM
Point:0
|
# 8
Level:
1
Professional point:
0
Experience:
16
Thread:
298
Post:
931
Total online time:
16M
Joined date:
4/24/2007 7:00:00 AM
Last Visit:
12/17/2008 12:27:05 AM
Status:
ODBC is generally slow. What MDAC level and version of Access are you at? Ugrading to a newer version of MDAC will also update the Access ODBC drivers if they aren't already. Is it jsut the reports that are slow or are the queries running at the same speed? Try running your queries in the Query Analyzer directly in SQL to see if there is a speed difference between them and the queries directly from Access. Just some thoughts.
1
Sorry, you are not login,
click here
to login
About us
|
Advertise
|
Contact us
|
Partner
|
Bug Report
|
Suggesting box
|
Donation
Home
|
Forum
|
Affiliate program
|
Remote help
|
Setting
|
Search
|
Document
|
Help
|
Download
|
Message
Home
Affiliate program
Remote PC repair
MySpace tool
Forum
Download
Document
Help
Welcome, Guest
[Login]
[Register]
Great news:
Original price:
30$
| Now
Only cost $19.95!!!
(Promotion)
Your location:
Database
->
Access