Firebird SQL Development
 
Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
User Name:
Password:
Remember me
Go Back   Dev Shed ForumsDatabasesFirebird SQL Development

Reply
Add This Thread To:
  Del.icio.us   Digg   Google   Spurl   Blink   Furl   Simpy   Y! MyWeb 
Thread Tools Search this Thread Rate Thread Display Modes
 
Unread Dev Shed Forums Sponsor:
  #1  
Old May 4th, 2005, 10:30 AM
be-dot be-dot is offline
Registered User
Dev Shed Newbie (0 - 499 posts)
 
Join Date: May 2005
Posts: 2 be-dot User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: 16 m 54 sec
Reputation Power: 0
firebird and win XP

can someone tell me how to speed my firebird under windows xp ?
i'm making a program using mysql ...it was fast. now, i've put it with firebird, and it'a really slow ( with the same fields , table ...)

thx

Reply With Quote
  #2  
Old May 4th, 2005, 10:34 AM
pabloj's Avatar
pabloj pabloj is offline
Modding: Oracle MsSQL Firebird
Dev Shed God 6th Plane (7500 - 7999 posts)
 
Join Date: Jun 2001
Location: Outside US
Posts: 7,907 pabloj User rank is Captain (20000 - 30000 Reputation Level)pabloj User rank is Captain (20000 - 30000 Reputation Level)pabloj User rank is Captain (20000 - 30000 Reputation Level)pabloj User rank is Captain (20000 - 30000 Reputation Level)pabloj User rank is Captain (20000 - 30000 Reputation Level)pabloj User rank is Captain (20000 - 30000 Reputation Level)pabloj User rank is Captain (20000 - 30000 Reputation Level)pabloj User rank is Captain (20000 - 30000 Reputation Level)pabloj User rank is Captain (20000 - 30000 Reputation Level) 
Time spent in forums: 2 Months 3 Weeks 3 Days 9 h 21 m 6 sec
Reputation Power: 279
How much RAM do you have?

Reply With Quote
  #3  
Old May 4th, 2005, 10:40 AM
be-dot be-dot is offline
Registered User
Dev Shed Newbie (0 - 499 posts)
 
Join Date: May 2005
Posts: 2 be-dot User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: 16 m 54 sec
Reputation Power: 0
Quote:
Originally Posted by pabloj
How much RAM do you have?

1024

Reply With Quote
  #4  
Old May 4th, 2005, 11:06 AM
pabloj's Avatar
pabloj pabloj is offline
Modding: Oracle MsSQL Firebird
Dev Shed God 6th Plane (7500 - 7999 posts)
 
Join Date: Jun 2001
Location: Outside US
Posts: 7,907 pabloj User rank is Captain (20000 - 30000 Reputation Level)pabloj User rank is Captain (20000 - 30000 Reputation Level)pabloj User rank is Captain (20000 - 30000 Reputation Level)pabloj User rank is Captain (20000 - 30000 Reputation Level)pabloj User rank is Captain (20000 - 30000 Reputation Level)pabloj User rank is Captain (20000 - 30000 Reputation Level)pabloj User rank is Captain (20000 - 30000 Reputation Level)pabloj User rank is Captain (20000 - 30000 Reputation Level)pabloj User rank is Captain (20000 - 30000 Reputation Level) 
Time spent in forums: 2 Months 3 Weeks 3 Days 9 h 21 m 6 sec
Reputation Power: 279
1Gb? That's fine, start editing your firebird.conf (located in c:\program files\firebird\firebird_1_5) and double every memory related value .... sort of, increment:

- number of pages from any one database that can be held in cache at once:
DefaultDbCachePages

- The amount of memory allocated for each sort block:
SortMemBlockSize

- The maximum amount of memory to be allocated by the in-memory sorting module, the value applies to each client
connection/server instance and thus consumes a lot of memory
SortMemUpperLimit

(be careful and check the number of connections).

You can also install a RAMDisk (there are some free ones also) and put the temporary files on it.
You can achieve this by changing the TMP and TEMP environment variables (this way you'll move ALL temporary files there, the best option) or by setting the FIREBIRD_TMP env var or the TempDirectories parameter (Firebird temp files only).

Once I did some benchmarking on Firebird and it was slower than MySQL but in that case I didn't apply any optimization, do you plan to collect such data?

Reply With Quote
  #5  
Old May 5th, 2005, 12:57 AM
SilverDB's Avatar
SilverDB SilverDB is offline
Contributing User
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Sep 2004
Location: Romania
Posts: 173 SilverDB User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: 1 Day 45 m 53 sec
Reputation Power: 5
Send a message via Yahoo to SilverDB
I would also recommend:
Use the "index", Luke !
__________________
If i've been helpful, please add to my reputation.
My unfinished site: http://www.dever.ro

Reply With Quote
Reply

Viewing: Dev Shed ForumsDatabasesFirebird SQL Development > firebird and win XP


Thread Tools  Search this Thread 
Search this Thread:

Advanced Search
Display Modes  Rate This Thread 
Rate This Thread:


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

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
View Your Warnings | New Posts | Latest News | Latest Threads | Shoutbox
Forum Jump


Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
  
 





© 2003-2008 by Developer Shed. All rights reserved. DS Cluster 5 hosted by Hostway
Stay green...Green IT