Is it possible to set a priority to a SP or an event?

Hello, all
I have a background background process (a stored procedure), which is lengthy and sometimes resource consuming.
However, it is nowhere near critical for speed, so if it were a regular windows process, I would have launched it with low priority.
My question is, can I start a process in SQL Anywhere, which would clear itself from CPU if other request come in?
Thank you
Arcady

Hi Arcady,
You can execute
SET TEMPORARY OPTION priority = 'BACKGROUND';
as the first line of the stored procedure. This will mark entire connection as a background priority task (similar to setting a processes priority in Windows).
When the stored procedure is completed, you'll want to make sure you set the priority back to a normal level. If the procedure is triggered in an event, this method will still be effective. When an event is fired it has an internal connection created for it.
Although we do not completely remove the task from the CPU (I imagine this could lead to some deadlocks), we ensure it gets significantly less CPU time then other connections.
Hope this helps,
Mikel

Similar Messages

  • Set Bandwidth Priority by MAC Addresses on RV016 is it possible?

    Hi everybody,
    Thank you to take some of your time to read me and maybe answer me.
    I currently have the following network structure, which work fine:
    The only bandwidth management configuration I did in the Cisco E1000 router is to set the QOS, giving high priority to the 5 SIP Phones mac addresses.
    The problem:
    I purchased a Small Business Cisco router RV016 because the company keep expanding so they will add more SIP Phones and PCs.
    In the new router configurations, there is no way to do like I did on the E1000 I just want to be able to set high priority to the SIP Phones mac addresses.
    What happens when I use the new router (RV016) is that, sometime you dial a number and the phone do a busy signal and indicate "Call failed" or sometime people call in and there is only 3 phones ringing.
    I tried port forwarding.. disabling firewall.. SPI.. I tried access rule.. whatever I do doesn't fix the issue.
    When I put the Cisco E1000 back everything goes well.
    Is there something I should know?
    I'm using the latest firmware: RV0XX-v4.1.1.01-sp.bin
    Can't wait to hear from you, thank you
    -Nick

    I'm pretty new to the VOIP.. I didn't install the phones myself and the company who did, changed the admin password on the phones so I can't connect to them(admin/22222). I just sent an email to the company who did install initially the voip system to request for PBX information.
    I'm pretty sure it is an external PBX since I can't locate any piece of hardware that could be it.. Or maybe one of these phones can have a PBX internally is that something possible?
    I'm configurated with only 1 WAN.
    Devices are:
    -5 Aastral SIP Phones
    -5 Computers 1 Laptop
    -2 HP Printer
    -1x switch Asus GX-D1081
    -1x WRT54G (using as switch and wireless)
    Thank you very much for your fast reply Jasbryan.
    EDIT:  Anybody can give me direction to information on how to allow good communication for my VOIP to work correctly with my Cisco RV016 router?
    What method I need to use on rv016 to set bandwidth priority on my phones. Like QoS..I tried bandwidth management type priority. It didn't solve my problem.
    Also I need to know the right way to allow the ports to communicate. there is access rule.. port forwarding.. I'm lost!..
    It is so simple with the E1000.. I just had to activate the QOS and set high priority to the phone mac addresses..I wish we had that option with the RV016

  • How to set send priority in code

    Hi,
    In Thunderbird, I know how to (using code) create an email, and add an attachment to it, and send it, but I want to be able to set the priority to "high" using code. Is this possible?
    TIA.

    Priority is ignored in almost all mail clients, so why set it? Delivery does not get any faster

  • Hi I have two questions. I am using NAS 4.1 and was wondering is it possible to set a different session timeout for different users? How is the session timeout set? Thanks, YS

     

    <i>I am using NAS 4.1 and was wondering is it possible to set a different session timeout for different users?</i>
    Um, there is no such thing as NAS4.1.
    I'm assuming that you mean NAS4.0 (maybe NAS4.0sp1?). If so, then the session timeouts are specified in the session section of the NTV configuration files.
    AFAIK, you can specify session timeouts on a per user basis.

  • Is it possible to set up multiple iTunes accounts on a single computer?

    is it possible to set up multiple iTunes accounts on a single computer?

    If you do it with a single user account, you will receive update notifications for purchase made on both IDs regardless of which one you're using at the time.  That's slightly frustrating as you get the notification BUT you can't actually update!  In any event, separate user accounts on the computer is the cleaner way to go.

  • My daughter and I have separate iCloud accounts set up on out desktop PCs and our iPhones and iPads. We want to share the usage of a Win 8 laptop and will log in using using separate user accounts. Is it possible to set up our own iCloud accounts?

    My daughter and I have separate iCloud accounts set up on out desktop PCs and our iPhones and iPads. We want to share the usage of a Win 8 laptop and will log in using using separate user accounts. Is it possible to set up our own iCloud accounts in each of those separate user accounts?

    No it is not possible.  Content purchased from the iTunes Store is permanently tied to the account from which it was originally purchased, and Apple does not provide a way to change it.

  • Is it possible to set up a HP Scanjet 8200 series (8290 with ADF) Intel Mac

    Is it possible to set up a HP Scanjet 8200 series (8290 with automatic document feeder) on the new Intel based Mac Pro desktop computer (nehalem 2.93 dual processors, 8 core)? Can anyone please steer me in the right direction -- I tried one of the drivers from the HP website and the install reflected that it does not work on intel based computers. Does OS X Leopard come with some type of utility to help me set up the scanner (I don't see where to set it up)? Thanks.

    Hi Nicky,
    Yes,  you can download and install the software.  Yay!
    HP Deskjet 3050A e-All-in-One Printer series - J611
    Select your printer from the list ...
    Find and open the pdf document titled:
    Install Full Feature Software - Printer
    Good Luck!
    Click the Kudos Star!
    It is a great “Thank You” for the Experts who offer to help!
    Kind Regards,
    Dragon-Fur

  • Is it possible to set up a backup between two external drives

    Is it possible to set up a backup between two external drives?
    i use time machine to back up my imac onto an external 2T.
    i also have two external 3T drives.  i am looking for redundancy of data, tried software RAID and it failed.  i also see some limitations with RAID that a backup would avoid.
    thanks for sharing your expertise.
    be well,
    tony

    so thanks to all of you, particularly rkaufmann87 i have decided to stop the plan of setting up a software RAID set.  instead i have downloaded ccc and am in the process of setting up the secone 3t external drive as a clone.  i will use time machine to back up the internal hard drive only and if possible see if i can clone that as well onto one of the 3t's.
    this gives me the peace of mind i sounght and avoids the problem of total corruption that exists with the raid solution i was exploring.
    thank you all for making this an enjoyable and informative experience.  what a powerful community.
    be well
    tony

  • ThreadOpt values - is it possible to set them and what are the ranges?

    Hi there,
    I have a problem on my TestStand 4.2 platform, with test step result, formed and received from called external sequences results. In my Main sequence, in Post-Expression I defined condition, according to which the "Step.Result.Status" is passed or failed, and it works. But the problem is that in Status Expression field there is following statement: "(Step.Result.Status == "Done" && (Step.TS.SData.ThreadOpt == 0 || Step.TS.SData.ThreadOpt == 3)) ? "Passed" : Step.Result.Status". After deep search in the user manual, I found that (Note from "Expression Tab - Step Properties Dialog Box"): "Certain types of steps, such as Numeric Limit Tests, Multiple Numeric Limit Tests, String Value Tests, Pass/Fail Tests, and Statement steps, reserve one or more of these expressions to perform operations specific to the type of step or a substep performs the operation. In these cases, you cannot use the expressions the step type reserves, which appear dimmed on the tab." 
    Now, my problem is that at this specific step I call to an external sequence, which returns results and it is correct, but if these results, compared to expected are not the same, my step in the main sequence fails. Which is OK. But when the final report is generated I see there "Number of Tests Failed: 0", which is not OK. Since I can't change the "Step.Result.Status == Done", which comes from the external sequence, I thought that may be there is a place to change the "Step.TS.SData.ThreadOpt" and this way to cause to main sequence to correctly report "Failed Tests <> 0"??? 
    Does anyone has an idea whether it is possible to set this the ThreadOpt value and what is the accepted range?
    Your feedbacks and inputs are highly appreciated.
    Stephan

    GSinMN wrote:
    Hello Doug,
      I didn't think I was modifying any hidden properties.  It's just configuring a sequence call step when you add it to the sequence.  The "Execution Options" are clearly shown in a dropdown menu on the Module tab.  I was just pointing out that this seems to be what sets the ThreadOpt variable.  
    GSinMN
    Maybe I misunderstood. When you said "My normal process is to set it to 1, but based on this info, it needs to be either set to None or Use Remote Computer if you want anything other than "Done" to be returned." I thought you meant that you were setting the property directly rather than setting your sequence call steps to "New Thread" with the combobox.
    -Doug

  • Possible to set a default column value to an expression?

    Hi,
    Is it possible to set a default column name to an expression when creating a table?
    For example, I wish to set the default value of a column to read from another table's column and do some arithmetic....is this possible?
    Thanks.

    Yes, you can, with trigger Before Insert for Each row
    But be carefull, you can hit the mutating table problem...

  • Is it possible to set a default music player for the music on my external hard drive while still keeping my iTunes the default player on my Mac ?

    Is it possible to set a default music player for the music on my external while still keeping my iTunes the default player on my Mac ?
    Message was edited by: Pellseidon

    There is no setting in the iPhone to set another default music player. The default is Music. If you are using another application, you are at the mercy of how that application operates as far as what occurs when it stops or errors out. The car is looking for music to play.

  • Is it possible to set up a bootable external hard drive

    Is it possible to set up an external hard drive by copying my system folders, etc from my Ibook to my firewire drive??? If not is there a way to do it w./o the system DVD

    Hi matthew,
    first of all: WELCOME TO THE DISCUSSIONS!
    Yes, it is possible, but you need certain devices and software. You cannot create a bootable external device with drag&drop only.
    In order to get a bootable hard disk you have to buy a firewire disk (USB is not a bootable inteerface with MacOS X). Then you have to make a bootable clone from your internal hard disk to the external. You can use backup utilities such as Carbon Copy Cloner to achieve this.
    If this answered your question please consider granting some stars: Why reward points?

  • Is it possible to set default path and filename to the upload UI element  ?

    Hello All,
       Can some advise on if its possible to set a default path and filename to the upload ui element ? I will like to set a default path and filename to be uploaded to the upload UI. The user will then have the option of using that path or clicking on the browse to set another location.
      Any suggestions or advise ? Thank you very much.
    from
    Kwok Wei

    Hello VS,
      So to confirm, from your opinion, you feel that its not possible to have my upload UI elememt to be displyed on the screen with the path and filename preloaded ?
    Btw, do you have an email that I can reach you at ?
    from
    Kwok Wei

  • When saving a PDF from a FrameMaker book, is it possible to set document filenames as bookmarks in the PDF?

    When saving a PDF from a FrameMaker book, is it possible to set document filenames as bookmarks in the PDF? Currently when I have a Framemaker book that I want to save as a PDF, I choose Save Book As and then choose PDF for the file format. A dialog box comes up in which I can choose the Bookmarks tab and choose which tagged content I want to be made into bookmarks in the PDF file. What if I would rather have the filename of a document rather than the chapter title be a bookmark in the PDF? Is that possible? Where would I choose that option? Thanks!

    There are two ways that you could do this. You can either use postscript text frames and enter the correct pdfmark entries to show the file name with the corresponding actions (i.e. where to go in the PDF) or you can use hidden text in FM and the "Filename (Short) " variable in a unique paratag to be picked up by FM's bookmark creation.
    To go the pdfmark route, see http://www.pdflib.com/fileadmin/pdflib/pdf/pdfmark_primer.pdf for details and also consult the Adobe Pdfmark Reference manual (http://www.adobe.com/content/dam/Adobe/en/devnet/acrobat/pdfs/pdfmark_reference.pdf).
    The hidden text route would use FM's Color Views to specify a colour as Invisible. This will make the content visually disappear from the screen (and any output), but FM will still be able to read the contents of any text that is coloured with the Invisible colour(s).
    1. Pick or create a colour that you want to be invisible. [Magenta is usually a good bet and stands out visually].
    2. Set that colour to be invisible in View 1 and visible in View 6. [you can use the shortcut <esc> v 1 and <esc> v 6 to toggle between the views.]
    3. Create a paratag to use for the filename and set the font colour to use the invisible colour.
    3. In the title of each chapter file, drop an anchored frame that is set to be outside of the text frame [so it won't interfere with any other content].
    4. In that AFrame, insert a text frame and use the invisible paratag defined in step 3.
    5. Insert the Filename (Short) variable in that text frame.
    6. Repeat steps for all files to be included in the bookmarks.
    When creating the PDF bookmarks, select only the paratag used for the invisible colour.
    Don't forget to toggle the View to be invisible (i.e. <esc> v 1  - this also works at the book level for all files in the book).

  • It should be possible to set default behavior for all file types

    It should be possible to set a default action for all file types. I'm so tired of having to manually sit and say "save this file" because Firefail always defaults to "open with" and has disabled the "Do this automatically for files like this from now on."
    And spare me the zealotry religious excuses for why its the fault of websites and not Firefail
    ''edited to remove swearing''

    I do want users to have full control to be able to set any folder view they want by using Apply to Folders; I just want to set the initial/default view to Detail because that matches what the majority of my users want.
    That is, what registry setting changes when I go to a picture folder, change the view to Detail, and click Apply to Folders? Having done that, I still retain the ability to change it to some other view and apply that to folders. But what registry setting
    represents the change I just made when applying Detail view to all Picture folders.?
    This settings is simple via GUI, but it is related a lot of registry keys, I made a test in my machine, capture the "Apply to Folders" process using Regshot tool (this is a small tool which can compare the regsitry changes after you change some
    settings), and this is the result:
    this is part of the registry changes, a plenty of registry keys and values need to be changed. hard to list them here. if you have interests, I recommend the tool Regshot, it can help you capture the regsitry changes.
    NOTE: Please Note: The third-party product discussed here is manufactured by a company that is
    independent of Microsoft. We make no warranty, implied or otherwise, regarding this product's
    performance or reliability.
    Yolanda Zhu
    TechNet Community Support

Maybe you are looking for

  • TS1398 Home network for library sharing no longer works. Help!!

    Home network does not route Internet access (long story, irrelevant to the issue). I use my network to connect my devices & share iTunes library. Since upgrading to iOS 6, my iPhone 4 & wife's 4S will not connect. Old 3rd gen iPod with iOS 4.2) & Mac

  • Loud speaker on Iphone 5 not working

    hi my loud speaker does not seem to be working on my iphone 5, it wont ring loud or play music through the speaker but when headphones are in it rings through those and plays through those, any suggestions please, i have reset through itunes after ba

  • Weird Behavior on my Airport Network and iTunes

    This will be a bit long. Set up a wifi network with a AP Extreme downstairs wired to my desktop, and an Express upstairs for my laptop and Airtunes. Worked great for awhilw but then kept getting kicked off. After searching the forum I tried to disabl

  • RandomAccessFile on Server..  Where is File Located???

    Hello Professionals: I have created an oracle trigger on a table on insert that passes the column contents to a java procedure that is intended to write this data to a RandomAccessFile. I am not sure where the file will be created on the Server. I cr

  • View files at true screen size?

    Hello... I have been creating a simple web banner in Indesign. Indesign's 100% view is shown on the left. But then when I double checked the exported jpg in Photoshop, it appeared significantly smaller at 100%. I'm guessing this is the true represent