473,405 Members | 2,167 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,405 software developers and data experts.

indexs, primary and such

I have a very small db of only like 15 files, and with 120 records.

If I do a query from the page, via a php file it seems to take 2-3 seconds
for the results to come up.
I'm anticipating having a lot more records, upwards of 300-800 records.

I'm looking for the best way to create my indexes for fast response times. I
think right now that the performance isn't that slow.

My primate key is presently set to ID which is an autoincremting field with
a length of 6.

I do have queries that call for records that match a state also.

Any suggestions? thanks for your time!
Jul 19 '05 #1
9 1773
EnToone -
basically any column that I would use as part of the record selection
criteria -
i.e. WHERE clauses
JOIN criteria
would be a good column to index on. So map out what you want to do, on
paper, with your select statements and study your where clauses and join
criteria - then index those columns.

let me know how it goes for you .
mondo regards [Bill]

--
William Sanders / Electronic Filing Group Remove the DOT BOB to reply via
email.
FREE LONG DISTANCE -> mailto:ex********@efgroup.net
mySql / VFP / MS-SQL
"entoone" <en*****@pacbell.net> wrote in message
news:BM******************@newssvr21.news.prodigy.c om...
I have a very small db of only like 15 files, and with 120 records.

If I do a query from the page, via a php file it seems to take 2-3 seconds
for the results to come up.
I'm anticipating having a lot more records, upwards of 300-800 records.

I'm looking for the best way to create my indexes for fast response times. I think right now that the performance isn't that slow.

My primate key is presently set to ID which is an autoincremting field with a length of 6.

I do have queries that call for records that match a state also.

Any suggestions? thanks for your time!

Jul 19 '05 #2
EnToone -
basically any column that I would use as part of the record selection
criteria -
i.e. WHERE clauses
JOIN criteria
would be a good column to index on. So map out what you want to do, on
paper, with your select statements and study your where clauses and join
criteria - then index those columns.

let me know how it goes for you .
mondo regards [Bill]

--
William Sanders / Electronic Filing Group Remove the DOT BOB to reply via
email.
FREE LONG DISTANCE -> mailto:ex********@efgroup.net
mySql / VFP / MS-SQL
"entoone" <en*****@pacbell.net> wrote in message
news:BM******************@newssvr21.news.prodigy.c om...
I have a very small db of only like 15 files, and with 120 records.

If I do a query from the page, via a php file it seems to take 2-3 seconds
for the results to come up.
I'm anticipating having a lot more records, upwards of 300-800 records.

I'm looking for the best way to create my indexes for fast response times. I think right now that the performance isn't that slow.

My primate key is presently set to ID which is an autoincremting field with a length of 6.

I do have queries that call for records that match a state also.

Any suggestions? thanks for your time!

Jul 19 '05 #3
EnToone -
basically any column that I would use as part of the record selection
criteria -
i.e. WHERE clauses
JOIN criteria
would be a good column to index on. So map out what you want to do, on
paper, with your select statements and study your where clauses and join
criteria - then index those columns.

let me know how it goes for you .
mondo regards [Bill]

--
William Sanders / Electronic Filing Group Remove the DOT BOB to reply via
email.
FREE LONG DISTANCE -> mailto:ex********@efgroup.net
mySql / VFP / MS-SQL
"entoone" <en*****@pacbell.net> wrote in message
news:BM******************@newssvr21.news.prodigy.c om...
I have a very small db of only like 15 files, and with 120 records.

If I do a query from the page, via a php file it seems to take 2-3 seconds
for the results to come up.
I'm anticipating having a lot more records, upwards of 300-800 records.

I'm looking for the best way to create my indexes for fast response times. I think right now that the performance isn't that slow.

My primate key is presently set to ID which is an autoincremting field with a length of 6.

I do have queries that call for records that match a state also.

Any suggestions? thanks for your time!

Jul 19 '05 #4
Thanks much for the post. I heard ya, and have done that. Thanks!
"swdev1" <ws**********@advmed.com> wrote in message
news:Ng****************@newssvr24.news.prodigy.com ...
EnToone -
basically any column that I would use as part of the record selection
criteria -
i.e. WHERE clauses
JOIN criteria
would be a good column to index on. So map out what you want to do, on
paper, with your select statements and study your where clauses and join
criteria - then index those columns.

let me know how it goes for you .
mondo regards [Bill]

--
William Sanders / Electronic Filing Group Remove the DOT BOB to reply via
email.
FREE LONG DISTANCE -> mailto:ex********@efgroup.net
mySql / VFP / MS-SQL
"entoone" <en*****@pacbell.net> wrote in message
news:BM******************@newssvr21.news.prodigy.c om...
I have a very small db of only like 15 files, and with 120 records.

If I do a query from the page, via a php file it seems to take 2-3 seconds for the results to come up.
I'm anticipating having a lot more records, upwards of 300-800 records.

I'm looking for the best way to create my indexes for fast response
times. I
think right now that the performance isn't that slow.

My primate key is presently set to ID which is an autoincremting field

with
a length of 6.

I do have queries that call for records that match a state also.

Any suggestions? thanks for your time!


Jul 19 '05 #5
Thanks much for the post. I heard ya, and have done that. Thanks!
"swdev1" <ws**********@advmed.com> wrote in message
news:Ng****************@newssvr24.news.prodigy.com ...
EnToone -
basically any column that I would use as part of the record selection
criteria -
i.e. WHERE clauses
JOIN criteria
would be a good column to index on. So map out what you want to do, on
paper, with your select statements and study your where clauses and join
criteria - then index those columns.

let me know how it goes for you .
mondo regards [Bill]

--
William Sanders / Electronic Filing Group Remove the DOT BOB to reply via
email.
FREE LONG DISTANCE -> mailto:ex********@efgroup.net
mySql / VFP / MS-SQL
"entoone" <en*****@pacbell.net> wrote in message
news:BM******************@newssvr21.news.prodigy.c om...
I have a very small db of only like 15 files, and with 120 records.

If I do a query from the page, via a php file it seems to take 2-3 seconds for the results to come up.
I'm anticipating having a lot more records, upwards of 300-800 records.

I'm looking for the best way to create my indexes for fast response
times. I
think right now that the performance isn't that slow.

My primate key is presently set to ID which is an autoincremting field

with
a length of 6.

I do have queries that call for records that match a state also.

Any suggestions? thanks for your time!


Jul 19 '05 #6
Thanks much for the post. I heard ya, and have done that. Thanks!
"swdev1" <ws**********@advmed.com> wrote in message
news:Ng****************@newssvr24.news.prodigy.com ...
EnToone -
basically any column that I would use as part of the record selection
criteria -
i.e. WHERE clauses
JOIN criteria
would be a good column to index on. So map out what you want to do, on
paper, with your select statements and study your where clauses and join
criteria - then index those columns.

let me know how it goes for you .
mondo regards [Bill]

--
William Sanders / Electronic Filing Group Remove the DOT BOB to reply via
email.
FREE LONG DISTANCE -> mailto:ex********@efgroup.net
mySql / VFP / MS-SQL
"entoone" <en*****@pacbell.net> wrote in message
news:BM******************@newssvr21.news.prodigy.c om...
I have a very small db of only like 15 files, and with 120 records.

If I do a query from the page, via a php file it seems to take 2-3 seconds for the results to come up.
I'm anticipating having a lot more records, upwards of 300-800 records.

I'm looking for the best way to create my indexes for fast response
times. I
think right now that the performance isn't that slow.

My primate key is presently set to ID which is an autoincremting field

with
a length of 6.

I do have queries that call for records that match a state also.

Any suggestions? thanks for your time!


Jul 19 '05 #7
EnToonE -
great - did you see any performance change ???
lemme know [though its hard for 200 records to time it accurately]
mondo regards [Bill]
--
William Sanders / Electronic Filing Group Remove the DOT BOB to reply via
email.
FREE LONG DISTANCE -> mailto:ex********@efgroup.net
mySql / VFP / MS-SQL
"entoone" <en*****@pacbell.net> wrote in message
news:m1**********************@newssvr13.news.prodi gy.com...
Thanks much for the post. I heard ya, and have done that. Thanks!
"swdev1" <ws**********@advmed.com> wrote in message
news:Ng****************@newssvr24.news.prodigy.com ...
EnToone -
basically any column that I would use as part of the record selection
criteria -
i.e. WHERE clauses
JOIN criteria
would be a good column to index on. So map out what you want to do, on
paper, with your select statements and study your where clauses and join
criteria - then index those columns.

let me know how it goes for you .
mondo regards [Bill]

--
William Sanders / Electronic Filing Group Remove the DOT BOB to reply via
email.
FREE LONG DISTANCE -> mailto:ex********@efgroup.net
mySql / VFP / MS-SQL
"entoone" <en*****@pacbell.net> wrote in message
news:BM******************@newssvr21.news.prodigy.c om...
I have a very small db of only like 15 files, and with 120 records.

If I do a query from the page, via a php file it seems to take 2-3

seconds for the results to come up.
I'm anticipating having a lot more records, upwards of 300-800 records.
I'm looking for the best way to create my indexes for fast response

times.
I
think right now that the performance isn't that slow.

My primate key is presently set to ID which is an autoincremting field

with
a length of 6.

I do have queries that call for records that match a state also.

Any suggestions? thanks for your time!



Jul 19 '05 #8
EnToonE -
great - did you see any performance change ???
lemme know [though its hard for 200 records to time it accurately]
mondo regards [Bill]
--
William Sanders / Electronic Filing Group Remove the DOT BOB to reply via
email.
FREE LONG DISTANCE -> mailto:ex********@efgroup.net
mySql / VFP / MS-SQL
"entoone" <en*****@pacbell.net> wrote in message
news:m1**********************@newssvr13.news.prodi gy.com...
Thanks much for the post. I heard ya, and have done that. Thanks!
"swdev1" <ws**********@advmed.com> wrote in message
news:Ng****************@newssvr24.news.prodigy.com ...
EnToone -
basically any column that I would use as part of the record selection
criteria -
i.e. WHERE clauses
JOIN criteria
would be a good column to index on. So map out what you want to do, on
paper, with your select statements and study your where clauses and join
criteria - then index those columns.

let me know how it goes for you .
mondo regards [Bill]

--
William Sanders / Electronic Filing Group Remove the DOT BOB to reply via
email.
FREE LONG DISTANCE -> mailto:ex********@efgroup.net
mySql / VFP / MS-SQL
"entoone" <en*****@pacbell.net> wrote in message
news:BM******************@newssvr21.news.prodigy.c om...
I have a very small db of only like 15 files, and with 120 records.

If I do a query from the page, via a php file it seems to take 2-3

seconds for the results to come up.
I'm anticipating having a lot more records, upwards of 300-800 records.
I'm looking for the best way to create my indexes for fast response

times.
I
think right now that the performance isn't that slow.

My primate key is presently set to ID which is an autoincremting field

with
a length of 6.

I do have queries that call for records that match a state also.

Any suggestions? thanks for your time!



Jul 19 '05 #9
EnToonE -
great - did you see any performance change ???
lemme know [though its hard for 200 records to time it accurately]
mondo regards [Bill]
--
William Sanders / Electronic Filing Group Remove the DOT BOB to reply via
email.
FREE LONG DISTANCE -> mailto:ex********@efgroup.net
mySql / VFP / MS-SQL
"entoone" <en*****@pacbell.net> wrote in message
news:m1**********************@newssvr13.news.prodi gy.com...
Thanks much for the post. I heard ya, and have done that. Thanks!
"swdev1" <ws**********@advmed.com> wrote in message
news:Ng****************@newssvr24.news.prodigy.com ...
EnToone -
basically any column that I would use as part of the record selection
criteria -
i.e. WHERE clauses
JOIN criteria
would be a good column to index on. So map out what you want to do, on
paper, with your select statements and study your where clauses and join
criteria - then index those columns.

let me know how it goes for you .
mondo regards [Bill]

--
William Sanders / Electronic Filing Group Remove the DOT BOB to reply via
email.
FREE LONG DISTANCE -> mailto:ex********@efgroup.net
mySql / VFP / MS-SQL
"entoone" <en*****@pacbell.net> wrote in message
news:BM******************@newssvr21.news.prodigy.c om...
I have a very small db of only like 15 files, and with 120 records.

If I do a query from the page, via a php file it seems to take 2-3

seconds for the results to come up.
I'm anticipating having a lot more records, upwards of 300-800 records.
I'm looking for the best way to create my indexes for fast response

times.
I
think right now that the performance isn't that slow.

My primate key is presently set to ID which is an autoincremting field

with
a length of 6.

I do have queries that call for records that match a state also.

Any suggestions? thanks for your time!



Jul 19 '05 #10

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

0
by: Cecil Brand | last post by:
Hi, I was wandering is there an easy way to rebuild indexs on tables I have the .frm and .MYD files. I read in the mysql manuals about backup_tables and Restore_table that rebuild the index...
0
by: Cecil Brand | last post by:
Hi, I was wandering is there an easy way to rebuild indexs on tables I have the .frm and .MYD files. I read in the mysql manuals about backup_tables and Restore_table that rebuild the index...
4
by: Mavis Tilden | last post by:
Hi all, So I've been reading the newsgroups, and reading a few books trying to learn SQL and SQL Server 2000. The books tell me I need a Primary Key, and that every table should have one. I know...
2
by: naveen322 | last post by:
what is the use of views, indexs and view and materialized view & index and bit map index
4
by: codefragment | last post by:
Hi I thought that given a table with an index, primary key and clustered index any non clustered index look ups would go via the clustered index and the primary key is irrelevant? (sql server...
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...
0
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...
0
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing,...
0
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.