Jump to content

indexing gurus pls help me out


sangoku

Recommended Posts

Hy i have  a table which will have GIANT traffic on it like 400q+ in sec i can ease it up with query cashing but it will still have BIG load on it.

The table is made out of 2 int fields and one timestamp.

One stores ip addresses one rand generated numbers. So i am asking what is the best way to index the table... the access is totally random so i need single seek access mode. I was thinking of an hash index on it what do you think?

The table will be always half full and there will be double entry's in both colons because the primary key  are both columns what key block size should i set?

Link to comment
Share on other sites

sorry to ask... but why do you need to know the exact values??? :P 

 

because i am only asking if i should or should now use a hash index for it and what key size i should use for the hash index..... as for exact values the one is a cookie value and other one is to int converted IP value so

 

the table will have an index which is targeting the values in the ip and cookie value row so what key block size should i set...what is there more you need to know...

Link to comment
Share on other sites

Since you don't know the answer, you can't determine which pieces of information are relevant or not.

 

What makes you think you can even make a hash index? Why do you think you need to care about block size?

 

You haven't even explained what this table is for.

Link to comment
Share on other sites

This thread is more than a year old. Please don't revive it unless you have something important to add.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.