Rebuild Indexes question - What is better?

Is there an advantage of running this via a maintenance task in ConfigMgr. vs. SQL maintenace plan? What about the Fill Factor and other options?

hi,
well...that depends on your sql maintainance plan :)
afaik sccm rebuilds an index if fragmentation rate is above 30% and reorganizes it for any value below this threshold.
stevethompson provided some useful information on fragmentation on his blog and how to determine wheter the maintainance task does his job.
http://stevethompsonmvp.wordpress.com/2013/04/19/how-to-determine-if-the-configmgr-rebuild-indexes-site-maintenance-task-is-running/
kind regards

Similar Messages

  • "analyze index"  vs  "rebuild index"

    Hi,
    I don't undestand the difference between "analyze index" and "rebuild index".
    I have a table where I do a lot of "insert" and "update" and "query", What is the best thing to do ??
    thanks
    Giordano

    When you use dbms_stats.gather_schema_stats package with cascade=>true option, you are also collecting stats for the indexes, no need to collects stats separately using dbms_stats.gather_index_stats.Of course, but I refered to the rebuild index question. Therefore I only mentioned the GATHER_INDEX_STATS.
    Auto_sample_size has many problems/bugs in 9iOk didn't know that - I'm using 10gR2.
    But this discussion made me curious. So I tried something (10gR2):
    CREATE TABLE BIG NOLOGGING AS
    WITH GEN AS (
    SELECT ROWNUM ID FROM ALL_OBJECTS WHERE ROWNUM <=10000)
    SELECT V1.ID,RPAD('A',10) C FROM GEN V1,GEN V2
    WHERE ROWNUM <=10000000;
    SELECT COUNT(*) FROM BIG;
    COUNT(*)
    10000000
    So I had a Table containing 10 Million rows. Now I indexed ID:
    CREATE INDEX BIG_IDX ON BIG(ID)
    I tested two different methods:
    1.) GATHER_TABLE_STATS with estimate 10%
    EXEC DBMS_STATS.GATHER_TABLE_STATS(TABNAME=>'BIG',OWNNAME=>'DIMITRI',CASCADE=>TRUE,ESTIMATE_PERCENT=>10);
    It took about 6 seconds (I only set timing on in sqlplus, no 10046 trace) Now I checked the estimated values:
    SELECT NUM_ROWS,SAMPLE_SIZE,ABS(10000000-NUM_ROWS)/100000 VARIANCE,'TABLE' OBJECT FROM USER_TABLES WHERE TABLE_NAME='BIG'
    UNION ALL
    SELECT NUM_ROWS,SAMPLE_SIZE,ABS(10000000-NUM_ROWS)/100000 VARIANCE,'INDEX' OBJECT FROM USER_INDEXES WHERE INDEX_NAME='BIG_IDX';
    NUM_ROWS SAMPLE_SIZE VARIANCE OBJEC
    9985220 998522 ,1478 TABLE
    9996210 999621 ,0379 INDEX
    2.) GATHER_TABLE_STATS with DBMS_STATS.AUTO_SAMPLE_SIZE
    EXEC DBMS_STATS.DELETE_TABLE_STATS(OWNNAME=>'DIMITRI',TABNAME=>'BIG');
    EXEC DBMS_STATS.GATHER_TABLE_STATS(TABNAME=>'BIG',OWNNAME=>'DIMITRI',CASCADE=>TRUE,ESTIMATE_PERCENT=>DBMS_STATS.AUTO_SAMPLE_SIZE);
    It took about 1,5 seconds. Now the results:
    NUM_ROWS SAMPLE_SIZE VARIANCE OBJEC
    9826851 4715 1,73149 TABLE
    10262432 561326 2,62432 INDEX
    The estimate 10% was more exact - also a 1,7 and 2,6 percent variance is still ok. It's also very interesting, that using AUTO_SAMPLE_SIZE
    causes oracle to execute a estimate 5% for the index and a estimate 0.5 for the table.
    I tried again with a table containing only 1 Million records and oracle did an estimate with 100% for the index.
    So for me I will continue using AUTO_SAMPLE_SIZE. Its very flexible, fast and accurate.
    Dim
    PS: Is there a way to format code like one can do in HTML using <code> or <pre>?

  • What's better than Illustrator?

    I've been using Illustrator for many years and several versions.  My usage is nominal and occasional/once a week, and I don't get very sophisticated for my needs, so it has been OK so far. I do not do commercial work but know Ai is the "de-facto std".
    But I read this forum often and see many criticisms of Ai and I do have occasional issues with Illy with tools and UI....just not as easy or robust as it could/should be...cumbersome at times.
    I see JET and others here make great use of Illy but also criticize (justifiably) it for not being as good as other vector tools.
    I know there are competitors, Inkscape is free, others less costly than Illy; and seemingly better/easier/faster to use...at least for some things.
    So my question: What is better than Illustrator (I'm using CS5) and why? What can they do better than Ai?  Is it worth having a second program and learning (tho I suspect the learning curve should be easy as they do similar things but have different GUI).  Or replacing Illy with something?
    Pro's/Con's that would make one make the effort to try/use something else?  I don't even know what out there is better than Illy.  I've searched www and got a few hints but nothing very significant.
    Am I wasting my time looking?
    Your feedback welcomed to help me decide whether to explore/trial other programs.

    I see JET and others here...criticize (justifiably) it for not being as good as other vector tools.
    I can't speak for "and others", but since I'm the only one you mention by name:
    If you've already deemed the criticism justifiable, then you must already know what that criticism says. When I criticize Illustrator, I don't just say "Illustrator is crap" and leave it at that, unsupported. I'm careful to explain myself with facts pertinent to the context of the discussion. I actually own and know how to use the other programs to which I compare. I've often posted lists of comparitive features.
    I've always used my real name here and sign all my posts with my initials. So finding my comments is not difficult.
    I know there are competitors, Inkscape is free, others less costly than Illy; and seemingly better/easier/faster to use...at least for some things. So my question: What is better than Illustrator (I'm using CS5) and why? What can they do better than Ai?
    Didn't you just answer your own question? Other than the broadly general things you just mentioned, what program do you want to compare, and for doing what? Surely you're not asking someone to do an exhaustive feature-by-feature comparison between Illustrator and all similar programs in this one thread?
    All you've said about what you use Illustrator for is that your use is nominal, occasional, unsophisticated, and non-commerical. Mine isn't. Commerical graphics has been my livelihood for over 40 years. Vector-based illustration is both a speciality and a passion.
    I...knowAi is the "de-facto std"
    "Defacto standard" is self-fulfilling. It's effectively equivalent to saying "More people use Illustrator because more people use Illustrator."
    So what? More people ride Vespa scooters than KTM motorcycles. But which one would you call "professional quality"? You can use either one to pick up a gallon of orange juice at the corner store. But if you enter an enduro, the KTM will get the job done with alot less stress.
    The myth is that most software buyers choose the best. That's as naive as the faith that most voters do.
    Illustrator has been slothfully resting on its "defacto standard" haunches since the dark ages (AKA the 80s). "Defacto standard" be hanged.
    I do have occasional issues with Illy with tools and UI....just not as easy or robust as it could/should be...cumbersome at times.
    Okay. What issues? State something specific and users actually familiar with other programs can compare.
    This is the 21st century. There's really little new under the sun here. A 2D drawing program is just an interface pasted on top of mostly the same old geometric functionality. The competitive advantage goes to the offering that best (easy) and most fully (robust) empowers the user. The multiplication of easy and robust yields elegance. That's a term I've never applied to Illustrator. Illustrator is one of the oldest of the bunch, lounging under the sun for so long it's at risk of skin cancer. Yet it still fails to provide basic functionality users of other drawing programs have taken for granted for decades.
    Examples that may be germane to your casual, non-commerical use? Try these things in Illustrator:
    Star Tool: Draw a star. Now change the number of points it has.
    Arc Tool: Draw 36 degrees of a circular arc.
    Label that star with a dimension.
    Distribute a group of different objects along a curve.
    Uniformly space Blend steps along a non-uniform curve.
    Attach a Blend to a closed path and have the first/last instances properly positioned.
    Knife Tool: Cut across an open unfilled path.
    Connect a text label to an object that stays connected when you move it.
    Paste a simple graphic into a text string so that it flows with the text.
    Perform a Find/Replace on carriage returns.
    Round Corners: Apply it to an accute or obtuse angle and have it actually yield the radius you specify.
    Crop a raster image.
    Rotate something. Go back later and find out what its rotation angle is.
    Pathfinders: Use them without wrecking existing fills/strokes.
    I could go on (and have). How long a list do you want? All the features/functions associated with the above basic operations (and many more) are substandard, half-baked, or even non-existent in Illustrator. This is "professional"-grade software? No, it's largely consumerish rubbish sold at exhorbitant prices just because it's the "defacto standard."
    Is it worth having a second program and learning...
    Obviously, it is to me (and a third, and a fourth, and...). As I've said many times in this forum, I don't know how anyone can legitimately claim to compare two programs if they've only got workaday familiarity with one.
    As with any other endeavor, the more drawing programs you're comfortable with, the less arduous it is to pick up another, because you tend to pick up on the underlying principles involved, as opposed to just becomming habituated to a particular program's command locations and procedures by rote.
    But you've been using AI for "many years" and find it to be "OK". So if you're happy with it, use it.
    I have a cheap, consumerish Ryobi table saw and it's "OK." But I didn't pay a professional-grade price for it, either. And I'm sure not going to write glorious reviews on it, call it "professional," and get all fearfully brand-loyal defensive about it if someone dares suggest I might ought to learn to use a different one. My use of it, like yours, is merely occasional. But I also presently need to build a TV cabinet, and I'm dreading it. If I were to open a cabinet shop, I'd be much more discriminating, and would do my own homework to make an informed decision.
    Or replacing Illy with something?
    One doesn't have to "replace." There's nothing any more wrong with using more than one 2D drawing program than there is with using more than one 3D modeling program, or raster imaging program, or page layout program, or word processor, or video edting program, or....
    Pro's/Con's that would make one make the effort to try/use something else?
    That depends on what one is doing with it. Not knowing that, I can again only offer generalities that matter to me: If you've only ever used one program of a particulat kind, you're rather in the dark regarding functionality that you may be missing that may be important to you. (Second-degree ignorance: You don't know what you don't know.) If you're mission-dependent upon that one program, you're also kind of captive to the whims and agenda of its vendor.
    That very well may not matter to you, given your nominal, occasional, unsophisticated, and non-commerical use. And if so, that's fine.
    I don't even know what out there is better than Illy. I've searched www and got a few hints but nothing very significant.
    But you just said you've been reading a bunch of posts here which mention other programs.
    Am I wasting my time looking?
    Only you can answer that about your time. Time is all any of us have.
    Your feedback welcomed to help me decide whether to explore/trial other programs.
    No offense, but frankly it sounds like you're just not motivated enough to do your own homework. If you are  sufficiently motivated, visit the websites of other drawing program vendors. Read the features lists. Dowload the demos, read the documentation, and try them out. Visit the programs' user forums. Or, if it's really not that important to you, don't.
    If you've got questions about specific functionality and/or specific programs, be more specific about what you do (or want to do).
    JET

  • What is the difference between the drop and create the index and rebuild index ?

    Hi All,
    what is the difference between drop and create index & rebuild index ? i think both are same...Please clarify if both are same or any difference...
    Thanks in Advance,
    rup

    Both are same. Rebuilding an index drops and re-creates the index. 
    Ref:
    SSMS - https://technet.microsoft.com/en-us/library/ms187874(v=sql.105).aspx
    TSQL - https://msdn.microsoft.com/en-us/library/ms188388.aspx
    I would suggest you to also refer one of the best index maintenance script as below:
    https://ola.hallengren.com/sql-server-index-and-statistics-maintenance.html

  • What is better???--sockets question

    I have a server that receives one client (one thread of them) per socket.
    Is it better to have all in the same socket?
    where is the bottle�s neck? in the processor or in the bandwith?

    ok
    and what is better for my server:
    1) receive each client in a different socket
    2)receive all clients in one socketAFAIK you would need a new port for each server socket. How then can your clients know which port to connect too? Therefore I think (2) is the proper solution.
    For a general implementation of a tcp server, have a look at my solution at http://www.ebi.ac.uk/~kirsch/monq-doc/monq/net/TcpServer.html . You can download the code by following the link at the bottom of that page. Comments/questions welcome.
    Harald.

  • Rebuild Index VS Drop and Rebuild?

    Hey all,
    I am currently redesigning a weekly process (weekly coz we pre determined the rate of index fragmentation) for specific indexes that get massive updates. The old process has proved to be able to fix and maintain reports performance.
    In this process we rebuild specific indexes using the below command:
    Alter index index_name rebuild online;
    This command takes around 10 min for selected indexes.
    Testing the below took 2 min for 6 or 7 indexes.
    Drop Index Index_Name;
    Create Index Index_Name on Table_name (Col1, col, ..);
    I know that indexes might not be used, and the application performance would be degraded with stale or non-existent stats. But our production and all our test DBs have procedures that daily gather stats on them.
    I tested the below script to make sure that execution plan does not change:
    SELECT ProductID, ProductName, MfrID FROM PRODUCT WHERE MFRID = 'Mfr1';
    | Id | Operation | Name | Rows | Bytes | Cost (%CPU)|
    | 0 | SELECT STATEMENT | | 37 | 3737 | 13 (0)|
    | 1 | TABLE ACCESS BY INDEX ROWID| PRODUCT | 37 | 3737 | 13 (0)|
    | 2 | INDEX RANGE SCAN | PRODUCT_X1 | 37 | | 3 (0)|
    dropping PRODUCT_X1 and recreating it only changed the cost to 12.
    Gathering the stats again took the cost to 14.
    No performance issues were faced and index was still used.
    My question is: Is there any oracle recommendation that requires rebuilding the index instead of dropping and recreating it?
    Is there any side effect to my approach that I did not consider?
    Thank you

    Charlov wrote:
    I am currently redesigning a weekly process (weekly coz we pre determined the rate of index fragmentation)Nice. Not only have you defined and located index fragmentation but have also measured the rate at which it occurs.
    Could you please share your definition of index fragmentation, how you detect it, and how you measure the rate of change of this fragmentation.
    I am curious about all this since it can be repeatedly shown that Oracle btree indexes are never fragmented.
    http://richardfoote.files.wordpress.com/2007/12/index-internals-rebuilding-the-truth-ii.pdf
    The old process has proved to be able to fix and maintain reports performance.Great so you have traces and run time statistics from before and after the rebuild that highlight this mysterious fragmentation and show how the fragmentation caused the report to be slow, details what effects the rebuild had that caused the reports to perform better.
    Please share them as these would be an interesting discussion point since no one has been able to show previously how an index rebuild caused a report to run faster or even show the fragmentation that caused it to be slow in the first place.
    I mean it would be a pity if the report was just slow because of an inefficient plan and compressing an index or two that probably shouldn't be used in teh first place appears to temporarily speed it up. Could you imagine rebuilding indexes every week, because some developer put the wrong hint in a query? That would be pretty funny.

  • SCCM database Modified date doesn't change / rebuild indexes

    Hi all,
    I have 2 questions
    1)
    We have a month ago upgraded our SCCM environment from SCCM 2012 RTM -> SCCM 2012 SP1 (no CU), and we have upgraded SQL 2008 R2 (CU6) to SQL 2008 R2 SP2.
    We have a SCCM 2012 primary site and an SCCM 2012 CAS site from both these sites its database file has not changed its modified date since the data of upgrade (SQL is installed on the same server so the database is local). However the WSUS database and the
    reporting DB that exist on the same server updates its modified date.
     SCCM is running and all status messages are OK. All component status's are updating and have correct dates based on when e.g. the last backup ran (that is at 6 pm every night) with no errors. To make a long story short, everything works
    as it should. Deployments and advertisements and OSD arrive, collections get updated, no errors appear in the log files or in the component or site status, but the database on these servers (CAS and Primary) does not modify its date. SCCM backup of these servers
    is running and the database file in that backup also contains the same modified date.
    Anyone knows why this happens , or do we have an issue ?
     2)
    Maintenance task rebuild indexes
    Is there a best practice according to the maintenance task rebuild indexes?
    In our environment we have not enabled this maintenance task, both sites run for over one year.
    Can we enable this task without disturbing or is it a better idea to enable this task in the weekend when there is less workload , and afterwards schedule this task once a week
    regards and thx in advance
    Johan

    As stated “The time stamp will also change if the database files size are expanded as well when the database grow”
    does that mean that after our upgrade a month ago the database has not grown with new data??
    It depends. Data might have been added to the database (which it was fur sure with ConfigMgr), but the timestamp will only change if the file size was increased too. That has something to do with the initial and max file size settings in SQL and the autogrowth
    settings.
    Torsten Meringer | http://www.mssccmfaq.de

  • Recommeded way to rebuild Indexes in EBS 11.5.10.2

    What is the recommended way to rebuild all the possible indexes for better performance in EBS 11.5.10.2?
    Is there any seeded script / concurrent program, that which could be made use of?

    I have been using bde_rebuild.sql (available from Metalink) with pretty good success. It seems to work better doing it schema by schema rather than supplying % for schema name (gets hung up and never completes).
    bde_rebuild.sql - Validates and rebuilds indexes occupying more space than needed
    http://metalink.oracle.com/metalink/plsql/ml2_documents.showDocument?p_database_id=NOT&p_id=182699.1
    How to Rebuild All Indexes in a Database
    http://metalink.oracle.com/metalink/plsql/ml2_documents.showDocument?p_database_id=NOT&p_id=300327.1

  • Addendum to David's rebuild index solution

    David (from Barcelona) posted some great info on fixing a fault that can prevent you from searching mail properly.
    http://discussions.apple.com/thread.jspa?threadID=447915#2157235
    My addendum to this is that you can view the progress of the indexing (my drive is fairly silent or my room is fairly loud)
    by clicking on Spotlight. Spotlight will show progress percentage.

    Okay, thx.  That actually answered my question.  I could be wrong but I thought back in 2000 you had to drop and rebuild indexes in a certain order in order to eliminate fragmentation and compress pages, etc.  But, anyway, history doesn't matter
    so I will just do ALTER INDEX ALL REBUILD.  Thx...
    About how non clustred indexes are affected when CI is rebuilt Erland is correct but just for information you should read below link. Behavior was
    little different in SQL Server 2000
    http://blogs.msdn.com/b/sqlserverstorageengine/archive/2007/06/07/what-happens-to-non-clustered-indexes-when-the-table-structure-is-changed.aspx
    Please mark this reply as answer if it solved your issue or vote as helpful if it helped so that other forum members can benefit from it
    My Technet Articles

  • REBUILD INDEXES IN OFFLINE MODE

    hi all
    we got SQL 2012 enterprise edition on our production server, As our frag levels are more we are planning to do defragmentation but when we scheduled rebuild indexs last time this ran for 7-8hrs and drive spaces decreased rapidly so we have killed
    the process in the middle. I heard that offline indexes will be the better solution as it will be done quickly and keeping in simple recovery prevents the log file increase. could some one tell me how to schedule maintenance plan  for rebuild  with
    offline mode in sql 2012 enterprise edtion or some other efficient way.
    proposed plan for rebuilding->take full backup for DB
    change recovery model to simple
    configure m plan with offline mode
    change to full after the plan finished
    run dbcc update usage
    take full backup after all done
    could you please help me in this by letting me know is this correct way to do and how to configure plan which rebuils in offline mode
    with regards,
    ram.

    ->setting recovery model from full to simple is to save the disk space, as log will not increase
    ->As of now we are not taking any T-log backup due to some internal issues so there will be no issue with log chain break
    Frankly, I get scared. OK, I don't know what your system is doing, and what your SLA is saying, but someone is paying a lot of money to use Enterprise Edition. But you are not taking log backups? I can only hope that your system does not have a disaster,
    because if you have and you are not able to restart the business, you need to be in a country with very high labour security to not lose your job.
    ->won't the DB files size increase wen we do this bulk logged
    Obviously, if you are not taking log backups, the log file file will keep growing, but it will grow less in bulk-logged recovery. On the other hand, the log backups - had you taken any - will be larger.
    Please correct me If iam wrong, could you please tell me the procedure for REBUILD IN OFFLINE MODE through maintenance plan.
    If you are talking about the maintenance plans you see in SSMS, I only have one advice: don't use them. Instead go to
    http://ola.hallengren.com
    for an enterprise solution.
    Erland Sommarskog, SQL Server MVP, [email protected]

  • REBUILD INDEX vs DROP/CREATE INDEX

    Hi there,
    Does anyone has already got some performance degradation after REBUILD INDEXes ? Would it be better to perform DROP/CREATE INDEX instead ?
    Thank you very much for anu reply.
    Best regards,
    Helena

    Hi,
    >>so is it then better to DROP/CREATE them ?
    Well, In fact I learned that when you rebuild an index, Oracle creates a new index from the old index and does not perform sorting while building the new index, which results in performance enhancement. In this case, depending of the size of your data it's necessary sufficient space on a tablespace for storing the old as well as the new index (while creating the new index). Other advantage, is that Oracle can use the old index for answering queries while it builds the new index too using [alter index <index_name> rebuild online].
    Cheers

  • Rebuild index vs Analyze index

    Hi All,
    I am realy confused about rebuilding index versus Analyzing index.
    Could anyone plz help me out what is the diffrence between them.
    How to Perform analyze of indexes and Rebuld of Indexes for both Oracle 9i and 10g databases.
    Thanks a lot

    CKPT wrote:
    You can see the posts of experts by jonathan
    I am realy confused about rebuilding index versus Analyzing index. tell us you are getting confused why we need to ananlyze before reubild index? if so
    if index analyzed the whole statistics of index will be gathered.... then you can check what is the hieght of the index.. according to the height of the index you need to take step is index need to be really rebuild or not...
    lets see furhter posts from experts if not clear..Thanks OK, so you determine the height of an index is (say) 4. What then ? If you decide to rebuild the index and the index remains at a height of 4, what now ? Was it really worth doing and do you rebuild it again as the index height is still 4 and still within your index rebuild criteria ? At what point do you decide that rebuilding the index just because it has a height of 4 is a total waste of time in this case ?
    OK, so you determine the index only has a height of (say) 3, does that mean you don't rebuild the index ? But what if by rebuilding the index, the index now reduces to a height of just 1 ? Perhaps not rebuilding the index even though it has just a height of 3 and doesn't currently meet your index rebuild criteria is totally the wrong thing to do and a rebuild would result in a significantly leaner and more efficient index structure ?
    So what if it's pointless rebuilding an index with a height of 4 but another index with a height of 3 is a perfect candidate to be rebuilt ?
    Perhaps knowing just the height of an index leaves one totally clueless after all as to whether the index might benefit from an index rebuild ...
    Cheers
    Richard Foote
    http://richardfoote.wordpress.com/

  • Q/s on rebuilding index

    Hi All
    in one of our applications we want to rebuild index which his craete as below, this is on 11G 11.2.0.3.0 Solaris 64bit
    CREATE INDEX idx_id ON scott.branch(bank_id)
    INDEXTYPE IS CTXSYS.CONTEXT PARAMETERS
    ('FILTER CTXSYS.NULL_FILTER SECTION GROUP CTXSYS.HTML_SECTION_GROUP');
    Is rebuilding the index a reasonable option or will that be much slower than a sync ?
    secondly is ctx_ddl package installed by default
    thanks

    hi,
    you should ask this question to: Text for get answers faster.
    by the way, if you installed Oracle Text (which is default on installation) ctx_ddl package is also comming too.

  • Multiple objects with same name when rebuilding index online

    I am looking for advice on how to handle a race-condition in sql server, related to reading metadata while an online index rebuild is being performed.
    The problem is as follows:
    At some point we execute the following statement:
    SELECT 
    obj.object_id AS id, 
    scm.name AS scm, 
    obj.name AS name, 
    obj.type AS type, 
    ds.name AS dataspace_name, 
    prop.value AS description, 
    part.data_compression_desc as compression_desc
    FROM sys.objects AS obj
    INNER JOIN sys.schemas AS scm ON obj.schema_id = scm.schema_id
    INNER JOIN sys.indexes AS idx ON obj.object_id = idx.object_id AND idx.type IN (0,1)
    INNER JOIN sys.data_spaces AS ds ON idx.data_space_id = ds.data_space_id
    INNER JOIN (SELECT object_id, data_compression_desc FROM sys.partitions WHERE index_id IN (0,1) /*Heap, Clustered*/) AS part ON part.object_id = obj.object_id
    LEFT OUTER JOIN sys.extended_properties AS prop ON obj.object_id = prop.major_id AND prop.minor_id = 0 AND prop.class = 1 AND prop.name = 'Description'
    WHERE obj.type = 'U' OR obj.type = 'S'";
    The statement returns some metadata for indexes (indices?), the purpose of wich is not the subject.
    When executed while an online index rebuild is running, a race condition occurs: When the rebuilding enters the final phase, the new index, which have the same name, becomes visible and thus results in two rows with the same name (from sys.object). I am unaware
    if this only occurs for clustered index (which is what we have observed).
    We became aware of this behaviour, as we added the metadata to a .Net Dictionary using name as key, and received a duplicate key exception. We have, hoewever, not been able to reproduce the situation, due to the nature of the race condition, and we found very
    little documentation on the subject.
    What we would like to do now, is to differentiate between the two. We see two options:
    1) We could just use the first of the rows and ignore the second. This solution would require that the metadata for both rows are identical.
    2) We could discern the "real" index from the "rebuilding" index. This requires some kind of extension of the Where-part.
    We have not been able to determine if the requirements for either option is present, as we havent found any documentation, nor have we been able to test for differences, as we cannot reproduce the situation.
    We would also like some way of reproducing the situation, so ideas as to how to do that is welcome.
    Can anyone direct me to relevant documentation, or alternate solutions.
    HRP

    1. Use the index with the lower fragmentation to identify the newly rebuilt index (as it almost always will have lower fragmentation)
    2. To reproduce, block the online index rebuild process by trying to alter the table's definition in a transaction (and don't commit, which will place schema lock on the table)
    Satish Kartan http://www.sqlfood.com/

  • What is better: Builder 2 oder Plug In

    Hi guys!
    As i couldn't find much about that, here is my question.
    Maybe it is interesting enough for some experts to have smal
    discussion.
    What is better to use: builder or th plug-in.?
    I don''t really need the to have a design view, so pure code
    would be enough for me. And what I hate about the builder is the
    performance when compiling large projects. Is this better if you
    use Eclipse (which version) together with the plugin. Can you have
    both installed and use the same project workplace to "share" the
    projects, depending on what you want to do?
    What gives me the best performance for writing, compiling,
    debugging?
    THX

    See iPhone. See iPhone charged to 100%. See user using iPhone. User opens an app and uses it. When done user goes into recently used list and "closes" app. User does this each time when using an app. User gets 145 texts. 71 hours later iPhone only has 8% battery charge. See the battery in red. User charges it.
    See iPhone. iPhone is charged to 100% See user using iPhone. See user opening apps and never closing them on the recently used app list. See recently used list grow to 66. User gets 141 texts. User gets 2 more phone calls than last time. 71 hours and 1 minute later iPhone has 8% battery charge. See the battery in red. User charges it.
    See user get only 1 minute difference in battery life. See user not bother to close apps anymore. See user also explain this is not exactly scientific. See user release Spot to chase down Dah-veed. See user and Jane get busy now.

Maybe you are looking for

  • Color Laserjet 2600n: only red not printing properly, washed out on the left side

    Hello, Our HP2600 Color Laser printer does not print well whatever includes the color red. On a portrait layout the 2" from the left are washed out in red. We only use new HP cartridges, clean the machine regularly. Error happens with different compu

  • How to creat commitment for PO PR but not creat statistical cost for GR

    Hi, Quantities and Values in Valuated Project Stock: Example - Material - SAP Library Planning Material FIN-M is assigned to network activity V10 and is managed in the project stock for WBS element P/4711.1. The network type is flagged as appended an

  • Problems with APP World

    Just got back into the Curve from a WM phone and I forgot how easy this phone is to use!!! Having a problem with App world though. I;m receiving an error message stating I'm unable to connect to the server. Anyone have any suggestions on how to recti

  • Why firefox is saving files of ms office in ashx format ?

    Whenever i am saving any files of Microsoft office and pdf files , they are saved in attachment.ashx format which is very difficult to identify after downloading the file..pls help

  • WM stock does not match IM stock

    I got a case and would like to seek advice.  I got a storage location 0010 not managed by WM previously but with stock. Later, user request to manage the location with WM. I forgot to clear the stock before the customizing. Now after the transportati