If this is your first visit, be sure to check out the FAQ by clicking the link above. You may have to register before you can post: click the register link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below.

 
Go Back  dBforums > Database Server Software > Microsoft SQL Server > Problems with ~large~ table

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1 (permalink)  
Old 12-04-02, 05:04
coroner coroner is offline
Registered User
 
Join Date: Jul 2002
Posts: 87
Problems with ~large~ table

Hello everyone,
I have a little problem with a Table im using to store notes on articles:
Design:
id - int - identity (auto)
Title - varchar(50)

currently the table is containing ~12000 datasets (not much if you ask me).

Problem:
If I try to edit/add recordsets, I get a timeout.
In Access:
'ODBC Error adding recordset'

In SQL
- None - Timeout (I Quit after 2.5 minutes of INSERT query)

does anybody know a solution to this problem?

Thanks for helpin'!
Reply With Quote
  #2 (permalink)  
Old 12-04-02, 07:41
coroner coroner is offline
Registered User
 
Join Date: Jul 2002
Posts: 87
In Addition to the upper text:

Strangely it works sometimes - I know that this should be that slow, the textfield is indexed - w/o duplicates - but i have used the same structure for other tables (with over 5 times as much data) and there it works..

Is it possible that indexing w/o duplicates causes this problems?
Reply With Quote
  #3 (permalink)  
Old 12-04-02, 08:32
Coolberg Coolberg is offline
Registered User
 
Join Date: Jul 2002
Posts: 229
Have you tried inserting via Enterprise Mgr to see if you get the same error?

Have you seen what's happening through, for instance, SQL Profiler?
Reply With Quote
  #4 (permalink)  
Old 12-04-02, 12:38
coroner coroner is offline
Registered User
 
Join Date: Jul 2002
Posts: 87
I've tried trough Access, Acced direct table edit, SQL Query Analyzer - all have the same problem (except that QA doesn't have a set timeout)...
Reply With Quote
  #5 (permalink)  
Old 12-04-02, 12:55
rnealejr rnealejr is offline
Registered User
 
Join Date: Feb 2002
Posts: 2,232
Which type of index are you using ? In your previous instances where you had no problems, did you have the index using the "without duplicates" option ?
Reply With Quote
  #6 (permalink)  
Old 12-05-02, 05:59
coroner coroner is offline
Registered User
 
Join Date: Jul 2002
Posts: 87
Quote:
Originally posted by rnealejr
Which type of index are you using ? In your previous instances where you had no problems, did you have the index using the "without duplicates" option ?
In the troubled table i'm using index: w/o duplicates - in the not troubled table the row is indexed but with duplicates...
another problem is - I currently cannot change this, because I dont have enough space for the transaction log to save 15000-50000 rows (indexes)
Reply With Quote
Reply

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On