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 November 16th, 2004, 05:12 AM
_Lins_ _Lins_ is offline
Registered User
Dev Shed Newbie (0 - 499 posts)
 
Join Date: May 2004
Posts: 3 _Lins_ User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 0
Question Tuning Firebird Database for large DB on DualXeon with 2GB Ram

Hi,

I've a Compaql server with Dual Xeon and 2GB Ram
It's used for Firebird DB server with 6 database of 60-120 MB
I've just tuned the os fedora core 1 with:

1) 250 32000 288 128 on /proc/sys/kernel/sem
2) shmall = 2097152
3) shmmax = 1900000000

On normal condition (40 persons) it's more stable and efficient but when on full load (120 persons) the firebird process are 60 and it don't accept new connection on DB
I've tryed also to connect on localhost without success.
Can i improve performance of my server?

p.s. Firebird is used as classic server and the version is 1.5.1

Thanks

The firebird.conf file is this :

Quote:
#######################################
#
# Firebird configuration file
#
#######################################

# ==================================
# Settings for all platforms/engines
# ==================================
#
#RootDirectory =


# ----------------------------
# Database Paths/Directories
#
#DatabaseAccess = Full


# ----------------------------
# External File Paths/Directories
#
ExternalFileAccess = /opt/db-firebird


# ----------------------------
# External Function (UDF) Paths/Directories
#
#UdfAccess = Restrict UDF


# ----------------------------
# Temporary directories
#
#TempDirectories =


# ----------------------------
# Number of cached database pages
#
DefaultDbCachePages = 75


# ----------------------------
# In-memory sorting module
#
#SortMemBlockSize = 1048576
#
#SortMemUpperLimit = 67108864


# ----------------------------
# Backward-compatible parameter ordering as it was in FB v1/IB
#
#OldParameterOrdering = 0


# ----------------------------
# Boolean evaluation method (complete or shortcut)
#
#CompleteBooleanEvaluation = 0


# ----------------------------
#
#DeadlockTimeout = 10


# ----------------------------
#
MaxUnflushedWrites = -1
#
MaxUnflushedWriteTime = -1


# ----------------------------
#
#BugcheckAbort = 0


# ----------------------------
# Client Connection Settings (Basic)
#
ConnectionTimeout = 120


#
#DummyPacketInterval = 0


# ----------------------------
# TCP Protocol Settings
#
#RemoteServiceName = gds_db
#RemoteServicePort = 3050

#
#RemoteAuxPort = 0

#
#TcpRemoteBufferSize = 8192

#
#TcpNoNagle = 0

#
#RemoteBindAddress =


# ----------------------------
# Locking and shared memory parameters
#
#LockMemSize = 262144

#
LockSemCount = 128

#
#LockGrantOrder = 1

#
#LockAcquireSpins = 0

#
#LockHashSlots = 101

# ----------------------------
#
#EventMemSize = 65536


# ==============================
# Classic Server Engine Settings
# ==============================
#


#
# ----------------------------
# Priority level/class for the server process.
#
#ProcessPriorityLevel = 0


# ----------------------------
# Local Connection Settings
#
#IpcMapSize= 4096

#
#IpcName = FirebirdIPI

#
#RemotePipeName = interbas

#
#CreateInternalWindow = 1


# ============================
# Settings for Unix/Linux platforms
# ============================
#
#LockSignal = 16


# ----------------------------
# Remove protection against opening databases on NFS mounted volumes
#
#RemoteFileOpenAbility = 0

Reply With Quote
  #2  
Old November 16th, 2004, 03:18 PM
mariuz's Avatar
mariuz mariuz is offline
Bug Hunter
Dev Shed Newbie (0 - 499 posts)
 
Join Date: May 2003
Location: Transylvania (Romania)
Posts: 274 mariuz User rank is Corporal (100 - 500 Reputation Level)mariuz User rank is Corporal (100 - 500 Reputation Level)mariuz User rank is Corporal (100 - 500 Reputation Level)mariuz User rank is Corporal (100 - 500 Reputation Level) 
Time spent in forums: 20 h 12 m 34 sec
Reputation Power: 9
Lightbulb maybe the xinetd is limiting you

__________________
My home page: http://www.firebirdsql.org and work place :http://www.reea.net

Reply With Quote
  #3  
Old November 17th, 2004, 03:35 AM
_Lins_ _Lins_ is offline
Registered User
Dev Shed Newbie (0 - 499 posts)
 
Join Date: May 2004
Posts: 3 _Lins_ User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 0
Ohhhhhhhh thanks

Some suggestion for optimizing access on 100MB+ DB ?

Bye

Reply With Quote
Reply

Viewing: Dev Shed ForumsDatabasesFirebird SQL Development > Tuning Firebird Database for large DB on DualXeon with 2GB Ram


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 4 hosted by Hostway
Stay green...Green IT