dbTalk Databases Forums  

How index table keeps index records

comp.databases comp.databases


Discuss How index table keeps index records in the comp.databases forum.



Reply
 
Thread Tools Display Modes
  #1  
Old   
falconsoon@gmail.com
 
Posts: n/a

Default How index table keeps index records - 02-19-2008 , 03:32 AM






I have a table with following columns:
division group email

Then, i create a non-unique index for:
division group

I insert the following data:
division group email
1 A a (AT) hotmail (DOT) com
1 A b (AT) hotmail (DOT) com

With this set of data in table, will the index table consist of 1
index record, i.e.
division group
1 A
or will it contains 2 index records, i.e.
division group
1 A
1 A

Thanks for prompt reply.

Reply With Quote
  #2  
Old   
Ed Prochak
 
Posts: n/a

Default Re: How index table keeps index records - 02-19-2008 , 07:22 AM






On Feb 19, 4:32*am, falcons... (AT) gmail (DOT) com wrote:
Quote:
I have a table with following columns:
division * group * email

Then, i create a non-unique index for:
division * group

I insert the following data:
division * group * email
1 * * * * * *A * * * * a... (AT) hotmail (DOT) com
1 * * * * * *A * * * * b... (AT) hotmail (DOT) com

With this set of data in table, will the index table consist of 1
index record, i.e.
division * group
1 * * * * * *A
or will it contains 2 index records, i.e.
division * group
1 * * * * * *A
1 * * * * * *A

Thanks for prompt reply.
You give No mention of what DBMS you are using so it is impossible to
answer directly.

But I do have to ask: Why do you care? What business need will this
knowledge serve?

Ed


Reply With Quote
  #3  
Old   
Ed Prochak
 
Posts: n/a

Default Re: How index table keeps index records - 02-19-2008 , 07:22 AM



On Feb 19, 4:32*am, falcons... (AT) gmail (DOT) com wrote:
Quote:
I have a table with following columns:
division * group * email

Then, i create a non-unique index for:
division * group

I insert the following data:
division * group * email
1 * * * * * *A * * * * a... (AT) hotmail (DOT) com
1 * * * * * *A * * * * b... (AT) hotmail (DOT) com

With this set of data in table, will the index table consist of 1
index record, i.e.
division * group
1 * * * * * *A
or will it contains 2 index records, i.e.
division * group
1 * * * * * *A
1 * * * * * *A

Thanks for prompt reply.
You give No mention of what DBMS you are using so it is impossible to
answer directly.

But I do have to ask: Why do you care? What business need will this
knowledge serve?

Ed


Reply With Quote
  #4  
Old   
Ed Prochak
 
Posts: n/a

Default Re: How index table keeps index records - 02-19-2008 , 07:22 AM



On Feb 19, 4:32*am, falcons... (AT) gmail (DOT) com wrote:
Quote:
I have a table with following columns:
division * group * email

Then, i create a non-unique index for:
division * group

I insert the following data:
division * group * email
1 * * * * * *A * * * * a... (AT) hotmail (DOT) com
1 * * * * * *A * * * * b... (AT) hotmail (DOT) com

With this set of data in table, will the index table consist of 1
index record, i.e.
division * group
1 * * * * * *A
or will it contains 2 index records, i.e.
division * group
1 * * * * * *A
1 * * * * * *A

Thanks for prompt reply.
You give No mention of what DBMS you are using so it is impossible to
answer directly.

But I do have to ask: Why do you care? What business need will this
knowledge serve?

Ed


Reply With Quote
  #5  
Old   
falconsoon@gmail.com
 
Posts: n/a

Default Re: How index table keeps index records - 02-19-2008 , 08:05 PM



On Feb 19, 9:22 pm, Ed Prochak <edproc... (AT) gmail (DOT) com> wrote:
Quote:
On Feb 19, 4:32 am, falcons... (AT) gmail (DOT) com wrote:



I have a table with following columns:
division group email

Then, i create a non-unique index for:
division group

I insert the following data:
division group email
1 A a... (AT) hotmail (DOT) com
1 A b... (AT) hotmail (DOT) com

With this set of data in table, will the index table consist of 1
index record, i.e.
division group
1 A
or will it contains 2 index records, i.e.
division group
1 A
1 A

Thanks for prompt reply.

You give No mention of what DBMS you are using so it is impossible to
answer directly.

But I do have to ask: Why do you care? What business need will this
knowledge serve?

Ed
the DBMS is Informix. Just want to know the structure only.


Reply With Quote
  #6  
Old   
falconsoon@gmail.com
 
Posts: n/a

Default Re: How index table keeps index records - 02-19-2008 , 08:05 PM



On Feb 19, 9:22 pm, Ed Prochak <edproc... (AT) gmail (DOT) com> wrote:
Quote:
On Feb 19, 4:32 am, falcons... (AT) gmail (DOT) com wrote:



I have a table with following columns:
division group email

Then, i create a non-unique index for:
division group

I insert the following data:
division group email
1 A a... (AT) hotmail (DOT) com
1 A b... (AT) hotmail (DOT) com

With this set of data in table, will the index table consist of 1
index record, i.e.
division group
1 A
or will it contains 2 index records, i.e.
division group
1 A
1 A

Thanks for prompt reply.

You give No mention of what DBMS you are using so it is impossible to
answer directly.

But I do have to ask: Why do you care? What business need will this
knowledge serve?

Ed
the DBMS is Informix. Just want to know the structure only.


Reply With Quote
  #7  
Old   
falconsoon@gmail.com
 
Posts: n/a

Default Re: How index table keeps index records - 02-19-2008 , 08:05 PM



On Feb 19, 9:22 pm, Ed Prochak <edproc... (AT) gmail (DOT) com> wrote:
Quote:
On Feb 19, 4:32 am, falcons... (AT) gmail (DOT) com wrote:



I have a table with following columns:
division group email

Then, i create a non-unique index for:
division group

I insert the following data:
division group email
1 A a... (AT) hotmail (DOT) com
1 A b... (AT) hotmail (DOT) com

With this set of data in table, will the index table consist of 1
index record, i.e.
division group
1 A
or will it contains 2 index records, i.e.
division group
1 A
1 A

Thanks for prompt reply.

You give No mention of what DBMS you are using so it is impossible to
answer directly.

But I do have to ask: Why do you care? What business need will this
knowledge serve?

Ed
the DBMS is Informix. Just want to know the structure only.


Reply With Quote
  #8  
Old   
Robert Klemme
 
Posts: n/a

Default Re: How index table keeps index records - 02-22-2008 , 03:54 PM



On 20.02.2008 03:05, falconsoon (AT) gmail (DOT) com wrote:
Quote:
On Feb 19, 9:22 pm, Ed Prochak <edproc... (AT) gmail (DOT) com> wrote:
On Feb 19, 4:32 am, falcons... (AT) gmail (DOT) com wrote:



I have a table with following columns:
division group email
Then, i create a non-unique index for:
division group
I insert the following data:
division group email
1 A a... (AT) hotmail (DOT) com
1 A b... (AT) hotmail (DOT) com
With this set of data in table, will the index table consist of 1
index record, i.e.
division group
1 A
or will it contains 2 index records, i.e.
division group
1 A
1 A
Thanks for prompt reply.
You give No mention of what DBMS you are using so it is impossible to
answer directly.

But I do have to ask: Why do you care? What business need will this
knowledge serve?

Ed

the DBMS is Informix. Just want to know the structure only.
There's plenty documentation online:

http://publib.boulder.ibm.com/infoce...v111/index.jsp
http://www-306.ibm.com/software/data/informix/pubs/

robert


Reply With Quote
  #9  
Old   
Robert Klemme
 
Posts: n/a

Default Re: How index table keeps index records - 02-22-2008 , 03:54 PM



On 20.02.2008 03:05, falconsoon (AT) gmail (DOT) com wrote:
Quote:
On Feb 19, 9:22 pm, Ed Prochak <edproc... (AT) gmail (DOT) com> wrote:
On Feb 19, 4:32 am, falcons... (AT) gmail (DOT) com wrote:



I have a table with following columns:
division group email
Then, i create a non-unique index for:
division group
I insert the following data:
division group email
1 A a... (AT) hotmail (DOT) com
1 A b... (AT) hotmail (DOT) com
With this set of data in table, will the index table consist of 1
index record, i.e.
division group
1 A
or will it contains 2 index records, i.e.
division group
1 A
1 A
Thanks for prompt reply.
You give No mention of what DBMS you are using so it is impossible to
answer directly.

But I do have to ask: Why do you care? What business need will this
knowledge serve?

Ed

the DBMS is Informix. Just want to know the structure only.
There's plenty documentation online:

http://publib.boulder.ibm.com/infoce...v111/index.jsp
http://www-306.ibm.com/software/data/informix/pubs/

robert


Reply With Quote
  #10  
Old   
Robert Klemme
 
Posts: n/a

Default Re: How index table keeps index records - 02-22-2008 , 03:54 PM



On 20.02.2008 03:05, falconsoon (AT) gmail (DOT) com wrote:
Quote:
On Feb 19, 9:22 pm, Ed Prochak <edproc... (AT) gmail (DOT) com> wrote:
On Feb 19, 4:32 am, falcons... (AT) gmail (DOT) com wrote:



I have a table with following columns:
division group email
Then, i create a non-unique index for:
division group
I insert the following data:
division group email
1 A a... (AT) hotmail (DOT) com
1 A b... (AT) hotmail (DOT) com
With this set of data in table, will the index table consist of 1
index record, i.e.
division group
1 A
or will it contains 2 index records, i.e.
division group
1 A
1 A
Thanks for prompt reply.
You give No mention of what DBMS you are using so it is impossible to
answer directly.

But I do have to ask: Why do you care? What business need will this
knowledge serve?

Ed

the DBMS is Informix. Just want to know the structure only.
There's plenty documentation online:

http://publib.boulder.ibm.com/infoce...v111/index.jsp
http://www-306.ibm.com/software/data/informix/pubs/

robert


Reply With Quote
Reply




Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off



Powered by vBulletin Version 3.5.3
Copyright ©2000 - 2012, Jelsoft Enterprises Ltd.