I bet there is plenty of optimization possible in the way the database works.
Have you ever seen FreeDB?
#FILENAME=0a005502
# xmcd
#
# Track frame offsets:
# 150
# 600
#
# Disc length: 87 seconds
#
# Revision: 0
# Processed by: cddbd v1.4PL0 Copyright (c) Steve Scherf et al.
# Submitted via: dBpowerAMP V4.0
#
DISCID=0a005502
DTITLE=18 / DreamON
DYEAR=
DGENRE=Game
TTITLE0=DATA
TTITLE1=Game
EXTD=
EXTT0=
EXTT1=
PLAYORDER=
#FILENAME=0a00fc02
# xmcd
#
# Track frame offsets:
# 150
# 644
#
# Disc length: 254 seconds
#
# Revision: 4
# Processed by: cddbd v1.4PL0 Copyright (c) Steve Scherf et al.
# Submitted via: CDmax 1.8
#
DISCID=0a00fc02
DTITLE=Trzecia Godzina Dnia / Coolenda
DYEAR=2001
DGENRE=Soundtrack
TTITLE0=Intro
TTITLE1=Coolenda
EXTD=
EXTT0=
EXTT1=
PLAYORDER=
#FILENAME=0a012f02
# xmcd CD database file
#
# Track frame offsets:
# 150
# 11468
#
# Disc length: 305 seconds
#
# Revision: 0
# Processed by: cddbd v1.4PL0 Copyright (c) Steve Scherf et al.
# Submitted via: CD2WAV32(EN) R3.19
#
DISCID=0a012f02
DTITLE=miki / DAY DREAM ( by maple_Hotel ergriffen )
DYEAR=
DGENRE=
TTITLE0=DAY DREAM(Original)
TTITLE1=DAY DREAM(Fast Take)
EXTD=
EXTT0=
EXTT1=
PLAYORDER=
#FILENAME=0a019602
# xmcd
#
# Track frame offsets:
# 150
# 15458
#
# Disc length: 408 seconds
#
# Revision: 1
# Processed by: cddbd v1.4PL0 Copyright (c) Steve Scherf et al.
# Submitted via: ExactAudioCopy v0.90b4
#
DISCID=0a019602
DTITLE=K3 / De 3 Biggetjes (CD Single)
DYEAR=2003
DGENRE=National Folk
TTITLE0=De 3 Biggetjes
TTITLE1=De 3 Biggetjes (Instrumentaal)
EXTD=
EXTT0=
EXTT1=
PLAYORDER=