![]() | |
![]() |
| | Thread Tools | Display Modes |
#1
| |||
| |||
|
#2
| |||
| |||
|
#3
| |||
| |||
|
#4
| |||
| |||
|
|
1. I just want to know if informix store create index or alter table type of scripts in some table. I am assuming that informix stores them in tables otherwise how would dbschema get these ? Could you please let me know. 2. Also which is better enable indexes or create indexes. Does update stats work better on create indexes ? |
#5
| |||
| |||
|
|
1. I just want to know if informix store create index or alter table type of scripts in some table. I am assuming that informix stores them in tables otherwise how would dbschema get these ? Could you please let me know. 2. Also which is better enable indexes or create indexes. Does update stats work better on create indexes ? |
#6
| |||
| |||
|
|
mohitanch... (AT) gmail (DOT) com wrote: 1. I just want to know if informix storecreateindexor alter table type of scripts in some table. I am assuming that informix stores them in tables otherwise how would dbschema get these ? Could you please let me know. 2. Also which is betterenableindexes orcreateindexes. Does update stats work better oncreateindexes ? Enabling anindexis similar tocreatea new one. Disable indexes have the advantage of appearing in the schema... But to be honest I don't find them very useful... Update statistics may or may not be influenced by this... To be honest I don't know, but I assume that LOW stats are not collected for disabled indexes... It simply doesn't make sense, since these indexes are never used... If I didn't catch your idea completely please insist. Regards, -- Fernando Nunes Portugal http://informix-technology.blogspot.com My email works... but I don't check it frequently... |
#7
| |||
| |||
|
|
Thanks for the info. I've read some other comments and everybody suggests that dropping and creating indexes are better than disabling them, but haven't got explanation as to why is it like that. Why is creating index better than enabling them - is there something different between them that occurs underneath. On Jun 19, 2:49 pm, Fernando Nunes <s... (AT) domus (DOT) online.pt> wrote: mohitanch... (AT) gmail (DOT) com wrote: 1. I just want to know if informix storecreateindexor alter table type of scripts in some table. I am assuming that informix stores them in tables otherwise how would dbschema get these ? Could you please let me know. 2. Also which is betterenableindexes orcreateindexes. Does update stats work better oncreateindexes ? Enabling anindexis similar tocreatea new one. Disable indexes have the advantage of appearing in the schema... But to be honest I don't find them very useful... Update statistics may or may not be influenced by this... To be honest I don't know, but I assume that LOW stats are not collected for disabled indexes... It simply doesn't make sense, since these indexes are never used... |
![]() |
| Thread Tools | |
| Display Modes | |
| |