Log On
Embarcadero Home
Watch, Follow, &
Connect with Us
Share This
QualityCentral
Communities
Articles
Blogs
Resources
Downloads
Help
QualityCentral
InterBase
Server
16-bit
BlobFilters
Inet
Internal
International
Performance
Pipe
Security
Shadowing
UDFs
Unsupported
You are not logged in.
Help
Print
Public Report
Report From:
InterBase/Server/Performance
[ Add a report in this area ]
Report #:
42798
Status:
Reported
No index on table RDB$RELATION_CONSTRAINTS, field C.RDB$RELATION_NAME
Project:
InterBase
Build #:
WI-V7.5.1.162
Version:
7.5
Submitted By:
Andrej Vidmar
Report Type:
Suggestion / Enhancement Request
Date Reported:
3/19/2007 7:35:06 AM
Severity:
Commonly encountered problem
Last Updated:
Platform:
All platforms
Internal Tracking #:
Resolution:
None
Resolved in Build:
:
None
Duplicate of:
None
Voting and Rating
Overall Rating:
No Ratings Yet
0.00 out of 5
Total Votes:
None
Description
When searching for constraints in system table RDB$RELATION_CONSTRAINTS for a given table name no index is used, which hinders performance.
Steps to Reproduce:
1. Run IBConsole. Connect to any database (like employee.gdb example).
2. run query:
select *
from RDB$RELATION_CONSTRAINTS
where RDB$RELATION_NAME='MYTABLE'
and observe the execution plan. Natural acces to table RDB$RELATION_CONSTRAINTS is used
Workarounds
Create index manually on any new database.
create index RDB$INDEX_CUSTOM1 on RDB$RELATION_CONSTRAINTS (RDB$RELATION_NAME)
Attachment
None
Comments
None
View Your Reports
Search
Server Response from: ETNACODE01
Developer Tools
Blackfish SQL
C++Builder
Delphi
FireMonkey
Prism
InterBase
JBuilder
J Optimizer
HTML5 Builder
3rdRail & TurboRuby
Database Tools
Change Manager
DBArtisan
DB Optimizer
ER/Studio
Performance Center
Rapid SQL
Technical Articles
Tutorials
White Papers
Press Releases
Newsletters
Add Content (GetPublished)
Audio
Audio & Video
Video
Bugs & Suggestions (QualityCentral)
Discussion Forums
Examples (CodeCentral)
Tags
Technology Partners
Downloads
Free Trials
Registered User Downloads
Beta Programs
Add Content (GetPublished)
Articles
Blogs
Bugs & Suggestions (QualityCentral)
Discussion Forums
Examples (CodeCentral)
Member Services
About
Connect with Us