HPE GreenLake Administration
- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Could an Index cause any damage on srv/app
Operating System - HP-UX
1825711
Members
3182
Online
109686
Solutions
Forums
Categories
Company
Local Language
back
Forums
Discussions
Forums
- Data Protection and Retention
- Entry Storage Systems
- Legacy
- Midrange and Enterprise Storage
- Storage Networking
- HPE Nimble Storage
Discussions
Forums
Discussions
Discussions
Discussions
Forums
Discussions
back
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
- BladeSystem Infrastructure and Application Solutions
- Appliance Servers
- Alpha Servers
- BackOffice Products
- Internet Products
- HPE 9000 and HPE e3000 Servers
- Networking
- Netservers
- Secure OS Software for Linux
- Server Management (Insight Manager 7)
- Windows Server 2003
- Operating System - Tru64 Unix
- ProLiant Deployment and Provisioning
- Linux-Based Community / Regional
- Microsoft System Center Integration
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Blogs
Information
Community
Resources
Community Language
Language
Forums
Blogs
Topic Options
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-17-2005 03:22 AM
06-17-2005 03:22 AM
Could an Index cause any damage on srv/app
A user is trying to get some data running Crystal but the field she's using as a reference has no index at all and the searching takes long time to display the results.
We want to set an index for this field (Table: itsm_ser_custom_fields, Field: scf_scdate1), Could this cause any harm to our server and/or application?.
We want to set an index for this field (Table: itsm_ser_custom_fields, Field: scf_scdate1), Could this cause any harm to our server and/or application?.
2 REPLIES 2
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-17-2005 03:47 AM
06-17-2005 03:47 AM
Re: Could an Index cause any damage on srv/app
Well, if you don't have the disk space for the index you wish to add, your application will grind to a halt when you add it.
If you have the disk space for the index there will obviously be some disk i/o on the index but you might find performance actually improves.
SEP
If you have the disk space for the index there will obviously be some disk i/o on the index but you might find performance actually improves.
SEP
Steven E Protter
Owner of ISN Corporation
http://isnamerica.com
http://hpuxconsulting.com
Sponsor: http://hpux.ws
Twitter: http://twitter.com/hpuxlinux
Founder http://newdatacloud.com
Owner of ISN Corporation
http://isnamerica.com
http://hpuxconsulting.com
Sponsor: http://hpux.ws
Twitter: http://twitter.com/hpuxlinux
Founder http://newdatacloud.com
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-17-2005 05:22 AM
06-17-2005 05:22 AM
Re: Could an Index cause any damage on srv/app
In general, the answer to your question is no. You will, add some overhead to insertions and updates but that should be minimal. Depending upon what database you are using and the underlying B-trees there is one aspect of indices of which you should be aware. Values that are highly duplicate (ie, if the scf_scdate1 column has many, many identical values) can cause performance problems especially on delete operations. You should note that an update of this column triggers a delete and an insertion. Some implementations put the duplicate entries in a linked-list and the list has to be traversed until the matching rowid is found. If you experience this kind of performance hit on deletions, a common workaround is to create a composite index that will be unique (ie your scf_scdate1 column and rowid). In this case, there would be no linked list and all operations would occur in the B-trees directly -- at the expense of additional disk space. The selects should still be smart enough to use the most significant part of the index. Of course, if this field is seldom updated, then the highly duplicate problem can be ignored.
If it ain't broke, I can fix that.
The opinions expressed above are the personal opinions of the authors, not of Hewlett Packard Enterprise. By using this site, you accept the Terms of Use and Rules of Participation.
Company
Support
Events and news
Customer resources
© Copyright 2025 Hewlett Packard Enterprise Development LP