Indexorg/Re Indexing jobs in Primary server which has Logshipping

Hi All,
I have primary server(SQLServer 2008 R2) with 200 Database and 90 databases are configured in Log shipping(stand by).
We are planning for Indexing jobs on primary server.
Please some body advise us best practices to implement indexing jobs in primary server.
Thanks in advance

There is few consideration
1. To rebuild index online or to rebuild offline. Online produces less logs than offline  I proved this fact in below link. Online rebuild in Enterprise Only option
http://social.technet.microsoft.com/wiki/contents/articles/24420.curious-case-of-logging-in-online-and-offline-index-rebuild-in-full-recovery-model.aspx
Make sure your SQL server is patched to latest Service pack because Online index rebuild
MIGHT cause increase in database size after rebuild. Below is MS support article . This happens because extra 14 byte is added
http://support.microsoft.com/kb/2812884
2 You should only rebuild index whose fragmentation is > 40 and page_count is >1000 and reorganize if fragmentation is between 10 and 30 .
3. Are you using SORT_IN_TEMPDB option if yes make sure your tempdb has enough space if not make sure drive on which index resides has enough space.
4 Index rebuild is maintenance task so you also need to figure out how much time index rebuild would take. Ola script would surely be helpful if you use it.
5 Logs will be produced so you need to make sure just after rebuild when logs will be transferred to secondary the link must not be heavily utilized or else you will start receiving alerts from Log shipping 
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 Wiki Articles

Similar Messages

  • I try to mount or open backup of windows server which has VHDX extension on windows 8.1 but I get an error message!

     hi,
    when I try  to mount or open a back up of windows server which has VHDX extension on my windows 8.1 computer I get this error                                                                                                                                                                               
    the installation disk copy is not
    initialized,any partitions that are not
    recognizable or volumes that do not
    have drive letters assigned ,
    use the disk management moduleto check
    the disk partitions and volumes can
    be used.
    I went to disk management and tried to open from there but the error is the same ,I copied this back up on my C: drive the problem is still the same ,. now My question is can I not open backup of server which has VHDX exension on windows 8.1  to
    edit it?
    thanks
    johan
    <textarea autocapitalize="off" autocomplete="off" autocorrect="off" class="goog-textarea" dir="ltr" id="contribute-target" name="edit-text" rows="1" spellcheck="false"
    style="height:auto;padding-right:20px;-ms-overflow-x:auto;-ms-overflow-y:hidden;box-sizing:border-box;" tabindex="0" wrap="SOFT"></textarea>
    h.david

    Go back to disk manager, assign a drive letter, after the mount. The vhdx will show in disk manager, right click on the vhdx, to add a drive letter

  • I tried to use the Browse button on the left pane to go to a server which has my local copy so that I can FTP to ISP, but I get a window saying there is a permissions issue. How do I resolve?

    I tried to use the Browse button on the left pane to go to a server which has my local copy so that I can FTP to ISP, but I get a window saying there is a permissions issue. How do I resolve?

    If it has a cloud icon it means its no longer on your device.  Tapping on the cloud will effectively reinstall the App from scratch to your device. 
    There is no way to remove it from the cloud because its not yours to remove from there. Its the general App repository, you are just given access to it to download content you've already purchased.

  • Cloning the Oracle Database Server which has Grid 11.2.03 and DB 11.2.0.3

    Hi DBA's,
    Did anybody came across cloning a database servers? If i have the OFA for Grid and DB homes i.e /u01/app/oracle so after clone it will be the same across all servers. So the inventory structure will be same also. After cloning changing the listener.ora files to point to new IP/Hostname can bring up the listener. What else? Did anybody tried this things and what all issues have come or what all issues could come.
    Thanks,
    Bhushan Altekar

    Ok. I got the cloned VM . I did the same steps as we use for normal grid and db cloning. Below are the steps i did.
    1) change the ip address
    2) reboot
    3) after reboot wait for few minutes till the ASM comes up automatically
    4) as root run the below command
    /u01/app/oracle/product/11203/grid/crs/install/roothas.pl -deconfig –force
    5) Change the hostname with system-config-network-tui - Edit DNS Configuration and change the hostname here
    6) Edit the /etc/hosts file and enter the ip address and the hostname
    7)Reboot
    8) After the reboot as root run the command
    /u01/app/oracle/product/11203/grid/root.sh
    ================================
    #output of step 8
    [root@cat ~]# /u01/app/oracle/product/11203/grid/root.sh
    Performing root user operation for Oracle 11g
    The following environment variables are set as:
    ORACLE_OWNER= oracle
    ORACLE_HOME= /u01/app/oracle/product/11203/grid
    Enter the full pathname of the local bin directory: [usr/local/bin]:
    The contents of "dbhome" have not changed. No need to overwrite.
    The contents of "oraenv" have not changed. No need to overwrite.
    The contents of "coraenv" have not changed. No need to overwrite.
    Entries will be added to the /etc/oratab file as needed by
    Database Configuration Assistant when a database is created
    Finished running generic part of root script.
    Now product-specific root actions will be performed.
    Using configuration parameter file: /u01/app/oracle/product/11203/grid/crs/install/crsconfig_params
    LOCAL ADD MODE
    Creating OCR keys for user 'oracle', privgrp 'dba'..
    Operation successful.
    LOCAL ONLY MODE
    Successfully accumulated necessary OCR keys.
    Creating OCR keys for user 'root', privgrp 'root'..
    Operation successful.
    CRS-4664: Node cat successfully pinned.
    Adding Clusterware entries to inittab
    cat 2012/08/23 13:14:02 /u01/app/oracle/product/11203/grid/cdata/cat/backup_20120823_131402.olr
    Successfully configured Oracle Grid Infrastructure for a Standalone Serveror a Standalone Server
    ===============================
    9) stop the HAS service
    crsctl stop has
    10) Add the listener
    srvctl add listener
    11) Add the asm instance as new cloned grid don’t know about it. So we have to add it and see its added or not.
    12) srvctl add asm -d '/dev/oracleasm/disks/*' # Note here if you specify wrong diskstring. Your Oracle restart stack wont come up automatically after reboot. so please specify it correctly.
    13) crsctl status res # check all the resources are added or not
    14) edit the listener.ora file and change the hostname ( HOST = XXXX part of the file)
    15) crsctl enable has
    Congrats we have successfully cloned the database server itself.
    Please check the steps i did. And add if you think it should be added and taken care of.
    Thanks,
    Bhushan Altekar
    Edited by: user13368428 on Aug 23, 2012 3:13 PM
    Edited by: user13368428 on Aug 31, 2012 4:58 PM

  • Secondary DPM server does not show "protected server group" when attempting to protect primary server

    Hi Guys,
    I have a bit of a weird situation with DPM 2012(pre SP1). We have a primary server which is running quite happily(protects 8 SQL servers). I'm attempting to setup a secondary. When I've done this in the past with other DPM versions(this version included)
    all i have to do is this following:
    Install the same version of DPM on the "secondary machine"
    Attach the agent on the "primary server"
    Create a new protection group for everything
    The catch is that I only see the following:
    I can successfully protect the database of the primary server. However the secondary server cannot see any computers protected on the primary for some reason. Any ideas why this object doesn't show at all? 

    Hi,
    At any time, was the primary DPM Server rebuilt and it's database restored ?
    Can you verify that the DPMWriter service is running.
    Please remember to click “Mark as Answer” on the post that helps you, and to click “Unmark as Answer” if a marked post does not actually answer your question. This can be beneficial to other community members reading the thread. Regards, Mike J. [MSFT]
    This posting is provided "AS IS" with no warranties, and confers no rights.

  • Debugging timer job on a server

    This is something that has frustrated me the whole day. I am trying to debug a custom timer job on a development server which has visual studio installed locally. It worked only one time and after I updated the assembly, I cannot quite figure out how
    to load the symbols. It says cannot load symbols.
    1. How and where do I need to place the updated assemblies?
    2. When do I need to restart the timer service to pick up the updated assemblies?
    3. When and do I need an IIS reset?
    Thanks!

    Hi,
    1. Check latest WSP is deployed in the central admin. If not, Retract and deploy it again.
    2. Check latest assembly is installed in GAC otherwise uninstall and install the assembly using GACUTIL
    3. Do IISRESET
    4. Restart the SharePoint Timer job in services.msc
    5. In Visual Studio -> Select OWSTIMER.EXE
    6.In Central Admin -> Job Description (Refresh the Page) -> Go to your Timer Job ->Click Run Now.
    If you still can't debug then check the Logs in 14 hive folder and also EventViewer logs
    Thanks, Sures | MCTS SharePoint

  • How to download data which comes in back ground job to presentation server.

    HI ,
    I am creating one job which has to download data to presentation server.
    for back ground jobs gui_download will not work..
    plz sugest the alternative for this...
    thakns in advance,
    khasimsa

    there are so many posts in SCN , please search .
    write data to application server in background and then download to presentation server online.

  • Changing the index type of primary key

    Hi everyone,
    We have a table, which has one clustered index and one non clustered in index(primary). I want to drop the existing clustered index and make the primary key as clustered. Is there any easy way to do that. Will Drop_Existing help on this matter?
    Thanks
    A.G

    1. Drop index that is a clustered
    2. Drop PK consraint
    3. Create PK constraint on the col and make it clusteted
    4. create NCI index on the col which was a clustered before
    DROP INDEX IX_t1 ON dbo.t1
    GO
    ALTER TABLE dbo.t1
    DROP CONSTRAINT PK_t1
    GO
    ALTER TABLE dbo.t1 ADD CONSTRAINT
    PK_t1 PRIMARY KEY CLUSTERED 
    c
    ) WITH( STATISTICS_NORECOMPUTE = OFF, IGNORE_DUP_KEY = OFF, ALLOW_ROW_LOCKS = ON, ALLOW_PAGE_LOCKS = ON) ON [PRIMARY]
    GO
    CREATE NONCLUSTERED INDEX IX_t1 ON dbo.t1
    c2
    ) WITH( STATISTICS_NORECOMPUTE = OFF, IGNORE_DUP_KEY = OFF, ALLOW_ROW_LOCKS = ON, ALLOW_PAGE_LOCKS = ON) ON [PRIMARY]
    GO
    Best Regards,Uri Dimant SQL Server MVP,
    http://sqlblog.com/blogs/uri_dimant/
    MS SQL optimization: MS SQL Development and Optimization
    MS SQL Consulting:
    Large scale of database and data cleansing
    Remote DBA Services:
    Improves MS SQL Database Performance
    SQL Server Integration Services:
    Business Intelligence

  • I am unable to send mail on my IPad because the iPad ignores the single correctly configures outgoing server and instead looks for long since deleted outgoing server which is not listed in my settings at all.

    Some time ago I used to use an outgoing mail server, which I will call 'XYZ'.  However I changed email providers and now have a new outgoing server which I will call 'ABC'. I tried deleting that old outgoing server when I changed email providers but had problems doing so.  So what I did was completely delete all email accounts from my iPad and then reinstalled the two new email accounts from scratch, complete with the new outgoing server 'ABC'.  That appeared to be successful, and I can receive email OK.  Also the new server 'ABC' is the ONLY outgoing server listed in my settings on either account
    However despite the new server being the only one in my settings the iPad will not send mail and shows an error message saying that the settings for the OLD server 'XYZ' are incorrect.  I cannot amend or delete that server as it has already been deleted and is not listed in my settings.
    It is like the iPad is somehow still remembering that old server and thinks it's the primary one.  Or it's getting old server info fron iCloud or something.
    My iPhone has the same two email accounts and identical settings and does not have this issue.
    Any ideas, other than a complete factory reset?
    Many thanks
    Rob

    From the Mail menu bar, select
    Window ▹ Connection Doctor
    Click the Show Detail button. A drawer opens. Click Check Again and post the text that appears. Anonymize any personal information before posting.

  • BODS 3.1 : How to trigger an email alert for the jobs on BODS server ?

    Hi All.
    I have this request.
    BODS 3.1 : How to trigger an email alert for the jobs on BODS server ?
    We have jobs scheduled on BODS running smoothly and absolutely fine.
    But to check, i am logging into the admin console and check for the jobs status.
    I would like to have an email to be received from BODS after each job is finished.
    It could succuessful. Or it could fail.
    Whatsoever, i wish to receive an email alert as soon as a job is finished.
    Can anyone advise me as to whether this could be made possible.
    And if yes, how this could be done.
    Thanks for your help in advance.
    In BOE CMC / for webi / schedule / we find an option to send email for a job success or a job failure.
    Is there any option similar to that in BODS ?
    Also would like to know :
    how to use the smtp_to or mail_to functions ?
    how to set up the smtp server for this ?
    thanks
    REgards
    indu
    Edited by: Indumathy Narayanan on May 31, 2011 3:47 PM

    Hi.
    Since am new to this BODS. I need some help.
    I already have many jobs which are running absolutely fine.
    And when a job runs, and finishes, am able to see the trace saying
    e.g. :
    Job_abc is completed successfully.
    We got the smtp service activated for our test server.
    and we hae a group email id.
    I have put the details of the smtp server / ip address / and said apply restarted.
    The i created a simple test script as below :
    print (' Before email ' );
    smtp_to('abc@company_name.com', 'Job ' || job_name() ||' on ' || host_name() || ' has FAILED',
    ' the job has failed', 0, 0);
    print('After Email ');
    It does send a email to as per smtp_to whatever email is specified.
    But how to differentiate between a job success
    And a job which has failed.
    I wish to have a mail which says on the subject :
    'Job ' || job_name() ||' on ' || host_name() || ' has completed successfully'
    ==> IF it is a success
    OR
    'Job ' || job_name() ||' on ' || host_name() || ' has failed'
    ==> if it has failed
    How to make the system identify, whether
    to send a success message or a error message whatever
    Could anyone advise.
    thanks
    indu

  • Not able to cancel the indexing job in BO Explorer.

    Not able to cancel the indexing job in BO Explorer. When I clicked Cancel Indexing, Its still in processing mode. Please advise. Thanks!!

    Thanks Henry. Actually Indexing server was down, So it was not getting cancelled. I restarted the Explorer services and it worked fine afterwards.
    However, Could you please also let me know if there's any way in Explorer to show description of the Dimension/Measure Objects while exploring data in any information view.
    I have defined the object's descriptions in my underlying universe and they are also while confirguring the information space. But I am not able to see the while exploring data.
    Could you please advise on this. Thanks!!

  • INSERTING DATA INTO A SQL SERVER 2005 TABLE, WHICH HAS A IDENTITY COLUMN

    Hi All,
    I have to insert the data into a SQL SERVER 2005 Database table.
    I am able to insert the data into a normal SQL Server table.
    When I am trying to insert the data into a SQL Server table, which has a identity column (i.e. auto increment column in Oracle) I am getting error saying that can't insert value explicitly when IDENTITY_INSERT is set to OFF.
    Had anybody tried this??
    There are some SRs on this issue, Oracle agreed that it is a bug. I am wondering if there is any workaround from any one of you (refer Insert in MS-SQL database table with IDENTITY COLUMN
    Thanks
    V Kumar

    Even I had raised a SR on this in October 2008. But didn't get any solution for a long time, finally I had removed the identity column from the table. I can't to that now :).
    I am using 10.1.3.3.0 and MS SQL SERVER 2005, They said it is working for MS SQL SERVER TABLE, if the identity column is not a primary key and asked me to refer to note 744735.1.
    I had followed that note, but still it is not working for me.
    But my requirement is it should work for a MS SQL SERVER 2005 table, which has identity column as primary key.
    Thanks
    V Kumar

  • Indexing Schedule Manager on Server Failed!!!

    Hi All,
    Below is the error message from the ULS logs regarding the Indexing service. As a result of this, I'm unable to see the Content Sources and Crawl History on Central Admin. I further found out that one of the server in our farm is in Converging Status under
    NLB (Network Load Balancer). Could this be the issue? But why would it say access denied. The search service account has not been modified or the permissions have never changed. Thanks in advance for any pointers.
    Entering monitored scope (Timer Job Indexing Schedule Manager on WCRSPT02) 8a76f83b-9c75-48d4-8764-61fb0d93ca49
    executing job Indexing Schedule Manager on <Server> 8a76f83b-9c75-48d4-8764-61fb0d93ca49
    CContentSourceCollection::ValidateTrigger in m_pScheduler -> Activate or NewWorkItem, Error is 0x80070005  [contentsource.cxx:1126]  d:\office\source\search\native\gather\server\contentsource.cxx 
    <Exception><HR>0x80070005</HR><eip>000007FEE2929257</eip><module>d:\office\source\search\native\gather\server\contentsource.cxx</module><line>1127</line></Exception>   
    The Execute method of job definition Microsoft.Office.Server.Search.Administration.IndexingScheduleJobDefinition (ID 0141a0f4-9c0a-4aa3-901f-f0bd5bb7f51d) threw an exception. More information is included below.  Access is denied. (Exception from HRESULT:
    0x80070005 (E_ACCESSDENIED)) 8a76f83b-9c75-48d4-8764-61fb0d93ca49
    Exception stack trace:    at Microsoft.Office.Server.Search.Administration.SearchApi.RunOnServer[T](CodeToRun`1 remoteCode, CodeToRun`1 localCode, Boolean useCurrentSecurityContext, Int32 versionIn)     at Microsoft.Office.Server.Search.Administration.SearchApi.GetContentSources(Int32
    versionIn)     at Microsoft.Office.Server.Search.Administration.ContentSourceCollection..ctor(Content parent)     at Microsoft.Office.Server.Search.Administration.Content.get_ContentSources()    
    at Microsoft.Office.Server.Search.Administration.IndexingScheduleJobDefinition.Execute(Guid targetInstanceId)     at Microsoft.SharePoint.Administration.SPTimerJobInvokeInternal.Invoke(SPJobDefinition jd, Guid targetInstanceId, Boolean
    isTimerService, Int32& result) 8a76f83b-9c75-48d4-8764-61fb0d93ca49
    Leaving Monitored Scope (Timer Job Indexing Schedule Manager on WCRSPT02). Execution Time=50.1862666903196
    Regards, Kapil ***Please mark answer as Helpful or Answered after consideration***

    Hi,
    According to your post, my understanding is that Indexing Schedule Manager on Server Failed.
    I recommend to reset Index and have a full Crawl. Please refer to:
    Unable to view content sources or crawl history in Search server 2010 Central Administration: share point
    You need to check whether you have an additional Search Service Application and is stuck in an error state. If so, please run the configuration wizard to remove the previously mentioned Search Service Application that was corrupted.
    In addition, please follow the instructions to check whether it works:
    stsadm -o osearch -action stop 
    stsadm -o osearch -action start -role index 
    Open Central Admin - select your SSP
    Check / validate your search service configuration.
    Here are some similar articles for your reference:
    http://social.technet.microsoft.com/Forums/en-US/a2f749bf-5d8b-4c0e-8fdd-464bd21d0e0a/indexing-schedule-manager-failing?forum=sharepointadminprevious
    http://bruteforcesharepoint.blogspot.com/2009/04/event-log-errors-6481-and-6398.html
    Best Regards,
    Linda Li
    Linda Li
    TechNet Community Support

  • Script to redirect a Application to secondary server if primary server is not available in a .ini file

    Hi Team,
    I want to write a script in the .ini file of an excel add-in on the users windows system , where if the primary server is not available it should automatically redirect to the secondary server. 
    Can someone help me in this?

    Hi Jrv, 
    As I said its an Add-in (Twuploader) in excel which uses a ini file to connect to a server. I want the addin to connect to another available server when the primary is not available. This is the ini file content below:
    [TradeWeb]
    Host=Server1
    Port=8002
    User=abcd
    [Upload]
    AutoMode=N
    UserInt=5
    [Toolbar]
    Visible=Y
    Row=26
    Pos=1
    Top=-32000
    Left=-32000
    Let me know how to edit this ini file so that if Server1 is unavailable it should connect server2. 

  • ZCM 11.2 new primary server - How do I

    Hi,
    We currently have a ZCM 11.2 install sitting on a Windows Server 2003 32bit. I have a new server running Windows 2008 64bit which I want to move the ZCM install to. I have looked at the various disaster recover scenarios as provided by novells documentation 11.2 disaster recovery reference but dont see in "replacing the primary server with a secondary server" a supported option of going from Windows server 2003 32bit to Windows server 2008 64bit.
    I see this is supported in the replacing primary with a new server (eg same IP etc) but this is not the scenario I wish to follow.
    Is my direction to simply install another copy of 11.2 as a secondary primary? on my 2008 64bit, go into existing management zone, follow the directions in the above reference doc in section 2.1.
    I am wondering though with the secondary primary (2008 64bit) how do I go about moving the internal sybase from the old primary across to the new secondary. It has a reference to how to move the internal to and external sybase but I want the secondary primary (which will be the new primary) to have an internal sybase database like the old primary.
    Any help appreciated.

    Yes, that would Be ideal as it was / is my primary DSFW onsite & DNS. So the new ZCM Box would have a different name & IP.
    My thought was bring up a Second Primary in the exiting ZONE. Get it functioning / updated. (That's been an issue as well, but that will be another thread). Look at doing a DB /Content migration to the new server and shutting down the ZCM services on the old...I am sure I am missing some stuff....
    What other options do we have? I am all ears....I am assuming you / we can not do the "Import/Upgrade" routine to the OVA.
    Originally Posted by CRAIGDWILSON
    Will the OES Box Stay in production?
    If so, you will need to rename and change the IP address of one of them.
    We can think through different options.
    On 8/28/2014 7:16 PM, MCCFL MLA wrote:
    >
    > clarja;2320238 Wrote:
    >> Thanks Anders that would be appreciated.
    >>
    >> I may have to rethink how I`m going about this, possibly virtualise the
    >> server I am thinking of replacing and taking on the same name and IP as
    >> the existing ZCM primary.
    >
    > Where did you shake out with this? I have a similar scenario, as I have
    > a single Primary 11.2.4MU1 install on a OES11SP2 / SLES11SP3 box with
    > DSFW. But now keeping ZCM on an OES box is not supported... So what I
    > would like to do is bring up another server Possibly a Secondary Primary
    > (VM - OVA) patch to the equivalent level and then somehow
    > transfer.....the role as primary and remove the original.....
    >
    >
    Going to Brainshare 2014?
    http://www.brainshare.com
    Use Registration Code "nvlcwilson" for $300 off!
    Craig Wilson - MCNE, MCSE, CCNA
    Novell Technical Support Engineer
    Novell does not officially monitor these forums.
    Suggestions/Opinions/Statements made by me are solely my own.
    These thoughts may not be shared by either Novell or any rational human.

Maybe you are looking for

  • How to fetch the logged in user?

    Hi Friends, In my BSP application, I need to capture some data from the logged in user. For this I need to fetch the logged in user name, through my BSP application. Could you please let me know, whether there is any FM or API, which serve the purpos

  • Using stored proc with database control

    I have a beta copy of sp2 for wl8.1 and I see that you have added the ability to call stored procedures that return output variables from a database control. I am trying to figure out whether there is any way to return a ref cursor as an output varia

  • XI 3.0 Open Document and BEx variables (prompts)

    Can open document in Web Intelligence 3.0  be used to pass values to BEx variable/prompt (where the BEx variable is part of a query which populates the universe)? Thanks

  • SD Billing: Whether two invoices can be consolidated to one

    Hi experts, I'm wondering whether any functions currently in SD that can merge two invoices  under the same customer (like consolidated invoice). Please advice. Thanks in advance. Rgs, Michelle

  • OWB Installation -- *** URGENT ***

    Hi, For installing OWB (Oracle Warehouse Builder), do I need to have separate database for the repository database and the runtime repository database?? Thanks! Arthur