Please take our Survey
logo       

Choosing A Webhost:
A web hosting service is a type of Internet hosting service that allows individuals and organizations to provide their own website accessible via the World Wide Web. Web hosts are companies that provide space on a server they own for use by their clients as well as providing Internet connectivity, typically in a data center. Web hosts can also provide data center space and connectivity to the Internet for servers they do not own to be located in their data center, called colocation. more...

Re: slowness around 3.4.1 and custom fields?: msg#00100

bug-tracking.request-tracker.devel

Subject: Re: slowness around 3.4.1 and custom fields?

sorry for the delay, it took me a couple days to find a test mysql.

Thank you for the index suggestions, they do seem to fix it.

> CREATE INDEX ObjectCustomFieldValues3
> ON ObjectCustomFieldValues( ObjectId, ObjectType, Disabled );

This shall be called index 1

> CREATE INDEX ObjectCustomFieldValues4
> ON ObjectCustomFieldValues( ObjectId, Disabled );

and this index 2

> CREATE INDEX Tickets7 ON Tickets( Type );

and this index 3


As a test case: I dropped the test db, restored from backup, applied
whichever of the indexes, than ran my slow query. I did this 5 times
for ever possible permutation of the indexes. Here are the averages
(in seconds):

none 164.28
1 0.324
2 0.322
3 164.212
1,2 0.36
1,3 0.184
2,3 0.19
1,2,3 0.184

> It creates a huge (261 byte) key because of ObjectType, which is a
> negative for IO reasons.

I don't think index maintaince really hurts me any, so I'm just going
to create all three. I assume whichever ones are proper will make it
into rt 3.4.2

thanks again

seph


<Prev in Thread] Current Thread [Next in Thread>
Google Custom Search

Recently Viewed:
drivers.mtd/200...    security.firewa...    java.openamf.cv...    rpm.yum/2003-08...    telephony.sipp....    file-systems.oc...    qnx.openqnx.dev...    voip.linphone.u...    hardware.sony/2...    network.simulat...    boot-loaders.gr...    ietf.usenet.for...    culture.languag...    emacs.latex.pre...    music.jamiroqua...    xfree86.neomagi...    user-groups.lin...    ltp/2006-08/msg...    kde.kst/2005-08...    programming.too...    os.freebsd.deve...    window-managers...    audio.cd-record...    gnu.fiasco.bugs...   
Home | advertise | OSDir is an inevitable website. super tiny logo

Free Magazines

Cisco News
Receive a free quarterly e-newsletter with exclusive articles on how Cisco IT uses its own products and solutions to enable the business.
subscribe

Systems Management News, the newspaper for IT systems administration and data center managers! Each issue of Systems Management News is chock-full of news and analysis to help you understand what's happening in your field.
subscribe

The Enterprise Newsweekly eWeek is the essential technology information source for builders of e-business.
subscribe

Oracle Magazine Oracle Magazine contains technology strategy articles, sample code, tips, Oracle and partner news, how to articles for developers and DBAs, and more. Oracle (NASDAQ: ORCL) is the world's largest enterprise software company.
subscribe

Total Telecom Total Telecom is "The Economist of the communications industry".
subscribe

Navigation