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 > PC based Database Applications > Corel Paradox > SQL Problems

Reply
 
LinkBack Thread Tools Display Modes
  #1 (permalink)  
Old 04-28-08, 14:06
majicm majicm is offline
Registered User
 
Join Date: Aug 2004
Location: UK
Posts: 9
SQL Problems

We've had a Paradox 9 system running using SQL 2000 for years. We only write to SQL for Intermediate tables for other systems.

It's always been a tad slow writing to SQL mainly because the server not just ran SQL but also File and Print.

We've moved the SQL databases to a new dedicated SQL server which is fast as hell.... However, when Paradox is accessing the server it hangs for like 20 minutes

Any ideas as to why this would be? We can query with SQL Enterprise Manager no problem, it's only when Paradox is accessing the records. We've never come across anything like this before and it's causing some major grief on the system!

If you have any ideas, I'd be really grateful!

Thanks!
Reply With Quote
  #2 (permalink)  
Old 04-28-08, 14:12
Steve Green Steve Green is offline
Registered User
 
Join Date: Dec 2007
Posts: 273
We've moved the SQL databases to a new dedicated SQL server

many possible issues.. more details needed.. SQL Server? MS-SQL? what version? what hardware? what Paradox queries? etc, etc..

as always, most of the remaining Paradox support experts are found on the community newsgroup, not here.. see my Links page..
__________________
--
Steven Green - Myrtle Beach, South Carolina USA

http://www.OasisTradingPost.com

Oasis Trading Post
- Collectibles and Memorabilia
- Vintage Lego Sets and Supplies
Reply With Quote
  #3 (permalink)  
Old 04-28-08, 15:02
majicm majicm is offline
Registered User
 
Join Date: Aug 2004
Location: UK
Posts: 9
SQL 2000, it's not just Paradox Queries that fail / lock up but also Tcursors, especially when doing a locate.

The strange thing is this worked for years on the old box, but this super duper new piece of kit (Dell Server, 2 x 2.8 GHZ CPU's)

We have other apps conversing with SQL and it's perfectly fine, the server never really breaks a sweat so I know its running great. It's just Paradox.

Can't think of anything else and it's doing my head in!
Reply With Quote
  #4 (permalink)  
Old 04-28-08, 15:11
Steve Green Steve Green is offline
Registered User
 
Join Date: Dec 2007
Posts: 273
it's not just Paradox Queries that fail / lock up but also Tcursors, especially when doing a locate

tcursors on the paradox tables?.. I thought you meant you were having problems accessing the SQL data..

well, the timing could be a coincidence, if the following is the source:

paradox indexes become problematic when the table size gets past 1/2 of the potential max size, for the current block size.. i.e. 2K blocks allow max table size of 128 meg, and issues start at 64 meg of data.. and with heavy fragmentation, that point could come sooner..
__________________
--
Steven Green - Myrtle Beach, South Carolina USA

http://www.OasisTradingPost.com

Oasis Trading Post
- Collectibles and Memorabilia
- Vintage Lego Sets and Supplies
Reply With Quote
  #5 (permalink)  
Old 04-29-08, 04:50
majicm majicm is offline
Registered User
 
Join Date: Aug 2004
Location: UK
Posts: 9
Tcursors on the SQL tables Steve.

We've never had any major issues accessing them on the old SQL Server, which was Windows 2000 SP4.

This new box is Windows 2003, fully patched to the hilt.

That's the only major difference we can spot is the OS. Would this make any sense?
Reply With Quote
  #6 (permalink)  
Old 04-29-08, 05:07
majicm majicm is offline
Registered User
 
Join Date: Aug 2004
Location: UK
Posts: 9
Could it be ODBC issue causing this?
Reply With Quote
  #7 (permalink)  
Old 04-29-08, 07:34
Steve Green Steve Green is offline
Registered User
 
Join Date: Dec 2007
Posts: 273
Tcursors on the SQL tables

that's generally not recommended.. you should post this on the web forum of the community newsgroup, as suggested yesterday..
__________________
--
Steven Green - Myrtle Beach, South Carolina USA

http://www.OasisTradingPost.com

Oasis Trading Post
- Collectibles and Memorabilia
- Vintage Lego Sets and Supplies
Reply With Quote
  #8 (permalink)  
Old 04-29-08, 07:47
majicm majicm is offline
Registered User
 
Join Date: Aug 2004
Location: UK
Posts: 9
Will do!

Thanks, as ever
Reply With Quote
Reply

Thread Tools
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