Urgent: How to Delete all Cards for a Crawler through SQL

Folks,
Good morning! I am trying to delete 2 million cards (should have been expired, and makes the search index rebuild take days) in a single folder in the Knowledge Directory in the 6.1 portal. The job to delete the folder ("Apply Later") has been running half of yesterday and then all night with nothing being logged in PTSpy or the joblog, little or no CPU activity.
Does someone have a DB query that can zap the cards for this crawler? I know how to select the cards for a particular crawler ID, but don't understand how to delete them properly such that all references to those cards in other tables also get removed.
Much appreciate !!!
Cheers!
Edited by: Plumtree on Jan 21, 2009 7:28 AM (fixed an 'oops')

You obviously are looking for someone who has done and tested this before, which I have not...but when I delete a folder the following happens for each card:
delete from:
PTFolderCards
PTCards
PTCardProperties
PTCardSecurity
PTCardStatistics
PTMigration
update:
PTInternalCardInfo (RefreshDate = null, ExpirationDate = null, RefreshRateUnits = null, RefreshRateNum = -1, MissingDeleteUnits = null, MissingDeleteNum = null)
PTCardStatus (indexing status set to 3)

Similar Messages

  • Urgent: How to list all alias for a server throw DNS query?

    Hi
    Is there anyone know how to list all alias for a server by asking the network DNS. Is that possible?
    It doesn't work with InetAddress it return a single result.
    Best regard

    InetAddress will not get you the aliases, but you can certainly find all the different IP addresses for a specific host name using the getAllByName() method.
    You won't be able to get the aliases since those IP addresses (assuming there are more than 1) will all be cached as mapping to the name you passed to the getAllByName() method and you can't clear the map cache until the JVM exits.
    So your best hope is to get a list of IP's and either exit your app and restart with a new mode, or save them to a file for another app to read.

  • How to delete all objects for one user from SE80

    Hi all,
    If i want to delete the customer objects defined in the customer space Y or Z from SE80. Object of one user is defined in one package, if i want to delete the pakcage it says, it contain the subobject. So can anybody help me how to delete the customer objects from SE80.
    Your response will be highly rewared.
    Tahnks,
    Salahuddin.

    hi
    good
    i think here you want to delege the development class, if you want to delete the particular development class you have to go for se09 where after selecting the particular development class you can select the delete button.
    thanks
    mrutyun

  • Does anyone know how to delete credit card details from an Apple account?

    Hi not sure if this is posted in the right place but i'll give it a go anyway.
    Would anyone know how to delete credit card details from an Apple account?
    Someone posted selecting 'none' in the payment section would work but i logged into my account online on a computer there aren't any options at all to do this.
    I tried hitting edit but there isn't a delete button.
    If anyone knows any help would be most appreciated!
    -F

    Answer should be here:
    https://discussions.apple.com/message/12832322#12832322

  • How to delete all messages in my inbox?

    How to delete all messages in my inbox?

    For messages, go to the conversation list (if viewing a conversation, tap Messages at the top left), tap the Edit button on the top left, tap the minus sign to the left of any of the conversations you want to delete, tap Done at the top.

  • How to delete all objects in a package?

    Hello,
    I've seen a similar question here. But is there a tool or a smart way to delete all objects in a dev class or a transport request?
    Best Regards
    Volker

    These are really 3 questions??
    1. To delete objects in a request there are a number of ways, here is one:
    Position cursor on modifiable request.
    Double click on request and choose 'Objects' tab
    Choose object line you want to delete and click 'Delete'
    Save your changes.
    2. To delete objects in a Dev Class:
    Go to work bench --> edit object, Class and give your class name, you will see delete option at the bottom of the screen.
    3. How to delete all objects in a package:
    here is a link with the steps you need for this: http://benxbrain.com/en/index.do?onInputProcessing(brai_object_thread)&001_threadid=0000161442&sysid=WP5&pgmid=R3TR&object=DOMA&obj_name=DEVCLASS&child_param=

  • How to delete all ALERTS in iCal at once?

    Over the years I have added repeating Events with Alerts to iCal on various devices (some of them passed on to my relatives). As a  result I get plenty of Alert emails or sounds. I find it onerous to go through all repeating events to delete the alert. Hence my question: how to delete all Alerts at once?
    Thanks for any suggestions/pointers/ideas. Cheers, Veit

    Hi John,
    Thanks so much for your help with this problem. I am trying to remove alerts for a couple of specific shared calendars (which I can edit) but am having some difficulty due to my inexperience with applescript! I am also not sure where else to go for help solving this problem.
    My plan is to run your script a couple of times specifying one calendar at a time by name.
    This is the modification I made to your script:
    tell application "Calendar"
      activate
              delay 0.5
              display alert "Removing all alarms from your editable calendars" message "This process may take some time and is permanent. Are you sure you want to do this?" buttons {"Yes", "No"} cancel button 2
              set calname to "Consultant_on_call"
      --- repeat with myCalendar in (calendars whose writable is true)
              repeat with myCalendar in (calendars whose name is calname)
                        repeat with myEvent in events of myCalendar
      delete display alarms of myEvent
      delete mail alarms of myEvent
      delete sound alarms of myEvent
      delete open file alarms of myEvent
                        end repeat
              end repeat
              display alert "Removing all alarms from your editable calendars" message "This process is complete." buttons {"OK"} default button 1
    end tell
    Are you able to tell me what I am doing wrong? Thanks again.
    Andrew

  • How to delete all bookmarks in iCloud ?

    Hi every body, could someone tell me how to delete all my bookmarks in iCloud ?
    Thanks for attention and answer, Vincent

    Hey mzhill78
    Remove you icloud contact information on all your IOS devices, go to the icloud setting on you ios device and turn off the addressbook syncing, when it asks you "do you want to remove keep the address on your ips device you say NO...  So now your MacBook is the only thing syncing too the icloud.
    Go to Addresbook and look for the menu option find duplicates.
    After that wait for your laptop to sync this too icloud.  to check give it about 2 min depending on how many changes log into your icloud account at www.icloud.com and check too see if the syncing has updated whats in the cloud.
    If it has then urn on your addressbook syncing in iclouud settings on your IOS devices and all should be back too normal.
    Hope it helps,
    If this has sloved your problem please mark it as Solved thank you..

  • How to delete all those images of an event "in one go" which were not used in a foto book of that event?

    How to delete all those images of an event "in one go"
    which were not used in a foto book of that event?

    To select multiple photos in an event for deletion hold down the Command key and click on those you want to delete.
    OT

  • How to delete all bookmarks and replace with backup?

    Trying to sync my new iPad with my MacBook Pro and iPhone via MobileMe has created some fun new problems. For starters: I now have a full set of duplicate Safari bookmarks. Two of everything.
    Fortunately, I (think) I made a safe backup before performing the fateful merge (suggested by Sync) that caused the duplicates. So now I'd like to delete ALL my bookmarks and re-import the saved backup bookmarks.
    But I can't figure out how to delete all my bookmarks at once. It looks like my only choice is to delete them one at a time. Is there some way to simply trash the entire bookmarks file and re-import the ones I saved?

    HI Adam,
    You can use Safari Prairiefire to find duplicate Safari Bookmarks.
    http://www.balooba.se/baloobasoftware/index.html
    After you install the software which you can use in demo version to do this click the Get Bookmarks tab. Then from the menu click: Tools / Check Duplicates.
    I've had the same thing happen using my MobileMe account also.
    Carolyn

  • How to delete all previous icloud data from current icloud after sighning in with the current icloud account

    so i sighned into someone elses device with the current icloud account and i sighned out. Some of the icloud data from the other device is now on mine. All i want to know is how to delete all the icloud data in my current icloud account from the other icloud account

    Hello ,
    I had the same problem and i have done everything manually.
    It's a shame that Apple doesn't put a "Reset to factory Settings" button or simply "Delete all data from iCloud.com". That way, it would be much simpler for everyone including myself.
    Winston Churchill is right unfortunately . Happy deleting !
    Kind Regards,
    Moonburn

  • How to delete all duplicate songs in Itunes in one step?

    How to delete all duplicate songs in Itunes in one step?

    Apple's official advice on duplicates is here: Find and remove duplicate items in your iTunes library. It is a manual process and the article fails to explain some of the potential pitfalls such as lost ratings and playlist membership, or that sometimes the same file can be represented by multiple entries in the library and that deleting one and recycling the file will break the other.
    Use Shift > View > Show Exact Duplicate Items to display duplicates as this is normally a more useful selection. You need to manually select all but one of each group to remove. Sorting the list by Date Added may make it easier to select the appropriate tracks, however this works best when performed immediately after the dupes have been created.  If you have multiple entries in iTunes connected to the same file on the hard drive then don't send to the recycle bin.
    Use my DeDuper script if you're not sure, don't want to do it by hand, or want to preserve ratings, play counts and playlist membership. See this thread for background, this post for detailed instructions, and please take note of the warning to backup your library before deduping.
    (If you don't see the menu bar press ALT to show it temporarily or CTRL+B to keep it displayed.)
    The most recent version of the script can tidy dead links as long as there is at least one live duplicate to merge stats and playlist membership to and should cope sensibly when the same file has been added via multiple paths.
    tt2

  • HOW TO DELETE ALL INFO OBJECTS IN A SYSTEM

    HI! gurus,
    I want to know how to delete all user created info objects in my laptop.the situation is while practicing SAP in my laptop ...creation of user info objects occured heavily resulting in degrading the system performance.so is there any procedure to delete all info objects(user created)making a system a newly SAP installed one....please help me....
    Regards
    Ravikanth Pinipolu

    Hi Ravi,
    u can try it manually to delete the User defined objects..
    or u can use the prg: RSDG_IOBJ_DELETE and in that u can give some selection of objects for the deletion..
    Give it a try..
    Thanks
    Hope this helps

  • How to delete all photos on iphone 4

    how do delete all photos on iphone 4 after you have imported them to iphoto and decide you do not want to keep them all?

    For those of you who cant seem to get the select and slide option to work... try these options...
    FOR MAC ONLY!!
    connect your idevice
    open preview
    select File > Import from (your Idevice name)
    then select all and choose the red circular symbol at the bottom
    this will delete all your photos and videos in one go
    FOR WINDOWS ONLY!!
    connect idevice
    open My Computer
    find your connected iDevice..open it
    go through to view all pics and vids
    select all and then delete.
    this will delete all in one go.

  • How to delete all content on a time capsule created by Time Machine, and begin again creating a new savings bundle

    How to delete all content on a time capsule created by Time Machine, and begin again creating a new savings bundle ?

    You make a sparse bundle.. but don't ask me how that is different to a bundle of savings. Sparsebundle is what the special TM backup is called. It is a kind of disk image I think.. what makes it sparse is unclear as well.
    Anyway.. you are on Lion I guess.. download 5.6 utility for Lion. http://support.apple.com/kb/DL1482
    So you can get a utility that does utilities.. and not pretty faces.
    And go to the disk page and erase the drive.. a quick erase is plenty and is pretty fast.

Maybe you are looking for

  • Print Module templates layouts do not update on the fly

    Print layouts do not update on the fly when attempting to choose between various Print Module>Template Browser> Lightroom or User templates. This occurs in all three Layout Styles. The very first layout chosen in Single Image/Contact Sheet, Picture P

  • Change accural key for condition type

    Hi,     The accural key for condition type " special addition custom duty" is maintained wrongly in our Prd system .As a result wrong GL is getting posted. We want to change the accural key for this condition type. Not sure of the implications.... Th

  • Skype for Windows Phone

    I signed into Skype on my desktop using my Windows Live Id. This works. Next, I'm trying to sign into Skype on my Windows 7.5 Mobile Phone. Entering my Skypename (= part of email address part before the @hotmail.com - I can see that on my desktop) an

  • Error reading table t77www_mnt in My First Day Iview

    Hi We get  "Error reading table t77www_mnt" on My First Day in our Production system, but it works fine in the DEV System. Config is the same is all systems, both in R/3 and the Portal. We even gave SAP_ALL to the user in PRD but still no affect. Has

  • Distributed destination with MQ as Foreign Provider

    Hi           Messages arrive in a set of clustered MQ Series Queues. MDBs process the messages (We use MQ as the Foreign JMS Provider). Can I set up a distributed destination (JMS Queues) in WebLogic and use those clustered MQ queues as the Foreign P