I have a table which keeps details of all cars along major highways. Each year, approximately 72 million rows are added. A query on particular county, station number, lane number and date, which is concatenated as mnth||day||yr takes a long time to retrieve a large result set. All the above are a part of PK, in addition to vehicle code, etc. An index on station number, filenum exists. I have tried a function-based index. This does not seem to help.

    Requires Free Membership to View

Depending on your DBMS, I recommend doing some searches within the vendor's devnet areas looking for hints on performance tuning. Also check out the InnerCore at www.coreintegration.com for ideas and/or post your query. But get specific on the installation. What DBMS, what version, size of the dimension tables, what is the query tool, etc.

This was first published in March 2005

There are Comments. Add yours.

 
TIP: Want to include a code block in your comment? Use <pre> or <code> tags around the desired text. Ex: <code>insert code</code>

REGISTER or login:

Forgot Password?
By submitting you agree to receive email from TechTarget and its partners. If you reside outside of the United States, you consent to having your personal data transferred to and processed in the United States. Privacy
Sort by: OldestNewest

Forgot Password?

No problem! Submit your e-mail address below. We'll send you an email containing your password.

Your password has been sent to: