purge stale data to MySQL DB

Hi all

Would deleting only outdated data management objects remove obsolete data from MySQL DB? Pretty much confused how the mapping is on...

Y at - it a script to run to remove obsolete data from FMS DB?

Please suggest me in this regard.

Kind regards

Shiva

Hey Shiva

Have you had a look at http://en.community.dell.com/techcenter/performance-monitoring/foglight-administrators/f/4788/t/19553869.aspx and http://en.community.dell.com/techcenter/virtualization/infrastructure/w/fog-virt-wiki/5732.stale-objects-script ?  There is also http://en.community.dell.com/techcenter/performance-monitoring/foglight-administrators/f/4788/t/19560731.aspx

Hope this helps

Brian

Tags: Dell Tech

Similar Questions

  • "Purge stale data ECX

    How to purge stale data of Ecx in EBS R12. Kindly let me know the name of the program

    904632 wrote:

    I can't find program simultaneous to purge stale data Ecx in EBS R12

    I can find it-system administrator > simultaneous > program > Define > purge stale data ECX

    If you do not the responsibility so you must add it to the application group.

    Thank you

    Hussein

  • migration of data from mysql to sql server

    Hi all

    I would like to import the database MySQL in SQL Server 2008 and export MySQL database into a ".sql" file to import data in SQL Server.

    Whenever I try to import data from MySQL, I get the error attached like a screenshot below.

    Please let me know what can be done and how can I import data with all the tables in the order.

    Kind regards

    Shiva

    Please check this answer of the dev, unfortunately migration of Foglight backend database between different types of databases only is not supported

    http://en.community.Dell.com/TechCenter/performance-monitoring/Foglight-administrators/f/4788/t/19559675.aspx#78924

    There are solutions to help you get the same types of a Foglight backend databases

    https://support.quest.com/SolutionDetail.aspx?ID=SOL42249

    Golan

  • How can I update the data in mysql using the button defined in the table?

    Hello

    right now I am doing my project for the online election system using dreamweaver cc14. I create a table using php code to bind the data to mysql, and in this painting, I create also a button "vote" for voters to vote. My question is, how can I update my polling data in the mysql database when voters push button "vote" based on the id of the candidates? Here is my code I try:

    <form method="post" id="form1">
          <?php
    $servername = "localhost";
    $username = "root";
    $password = "pass";
    $dbname = "ses";
    
    
    // Create connection
    $conn = new mysqli($servername, $username, $password, $dbname);
    // Check connection
    if ($conn->connect_error) {
         die("Connection failed: " . $conn->connect_error);
    } 
    
    
    $sql = "SELECT No, Calon, ID, Jurusan, Image FROM candidates";
    $result = $conn->query($sql);
    
    
    if ($result->num_rows > 0) {
         echo "<table >
      <tr>
      <th>NO</th>
      <th>Candidate</th>
      <th>INFO</th>
      <th>Vote</th>
      </tr>";
         // output data of each row
         while($row = $result->fetch_assoc()) {
             echo "<tr>
      <td>" . $row["No"]. "</td>
      <td><img src=" . $row['Image'] . "></td>
      <td><br/>-" . $row["Calon"]. " <br/>-" . $row["ID"]. " <br/>-" . $row["Jurusan"]. "<br/></td>
      <td><input type="."submit"." name=".$row["Calon"]." id=".$row["No"]. " value="."Vote"."></td>
    
      </tr>";
      if(isset($_POST["".$row['No'].""])){
    
      $vote_sachin = "UPDATE candidates SET Undi=Undi+1 WHERE No=".$row["No"]. "";
    
      $run_sachin = mysqli_query($conn, $vote_sachin);
    
    
    }
        }
      echo "</table>";
    } else {
         echo "0 results";
    }
    
    
    
    
    
    
    $conn->close();
    ?>
    
    
    
    
        </form>
    

    I hope someone can help me in this area, because I'm still new in this programming language.

    Thank you.

    Youre probably going to insert a 'radio button' next to the names of candidates and recover the database ID of that (I guess that the ID is the primary key in your database that uniquely identifies each record.

    His great confusion because you seem to update the database to aid WHERE no = "." $row ["no"]. so I don't know that ID is the primary key?

    IF "No" IS your master database key, you need to change the code below:

    TO:

    Here's the complete code based on the ID of your primary database key.

    <>

    $servername = "localhost";

    $username = 'root ';

    $password = "pass";

    $dbname = 'his ';

    Create the connection

    $conn = new mysqli ($dbname, $servername, $username, $password);

    Check the connection

    If {($conn-> connect_error)

    Die ("connection failed:".) $conn-> connect_error);

    }

    $sql = "SELECT No, Calon, ID, Jurusan, Image OF candidates";

    $result = $conn-> Query;

    If you click on the button "vote" form run the code to update the database below

    {if (isset($_POST['vote']))}

    Get the value of the ID of the radio button form field and store it in a table.

    $update_vote = $_POST ['candidate_id'];

    loop in the table and update the database

    foreach ($update_vote as $value) {}

    $vote_sachin = ' candidates UPDATE SET Undi = Undi + 1 WHERE ID = ".". " $value. » « ;"

    $run_sachin = mysqli_query ($conn, $vote_sachin);

    }

    }

    ?>

    <>

    If ($result-> num_rows > 0) {}

    ECHO '.

    ";

    each line output

    While ($row = {$result-> fetch_assoc())}

    ECHO '.

    ";

    }

    ECHO '.

    ";

    ECHO '.

    NO. Candidate INFO To the vote
    " . $row ["no"]. "
    -" . $row ["Calon"]. "
    -" . $row ['ID']. "
    -" . $row ["Jurusan"]. "
    ";

    } else {}

    echo "0 results."

    }

    $conn-> close();

    ?>

  • create form to load data to mysql with a logic of file download option

    Hello

    I have a question of logic:

    I was trying to create a form to upload data to mysql with a download of optional file (for a photo).

    The logic that I'm struggling with is that I can not understand how to deal with a failed validation. I can upload a photo to mysql with data (personal information) if the validation is ok. This part works fine. What does not work is I can't wrap my head around how code if lets say that the image is too big or bad format.  As I am I eventually save personal info and set a warning message that tells the user that there was a problem loading the file.  Let's say that the user wants to try again with the right type of file this time. the form won't let him try again because it would create a duplicate of the same user.  Should I code another query below my code that find the tis user and update the image instead? What is the best logic to process the download errors during the data already stored on mysql?

    I use the following to get rid of the spaces and symbols from the file names:

    ([preg_replace (' #[\s\&\@\#\$\%\(\)------[\] \ &] #', ", $imagename);

    I also use strtolower() change all characters to lowercase.

    My actual code would not help you because I use a PHP class to handle downloads.

    It's also a good idea to check the spirit of mime typesh FILEINFO_MIME_TYPE

    If your form processing is on the same page as the form (usually it would be at the top), what you can do is, after the insertion of the record, have the database to return the new identification number. Something like:

    $employee_id = mysqli_insert_id ($connection);

    Then you may have a hidden field in your form for the employee id:

    Then, when the form is displayed, check to see if $employee_id has a value and use an if/else statement to decide whether to INSERT or update.

    If (is_numeric($_REQUEST['employee_id']) {}

    UPDATE

    } else {}

    INSERT

    }

    For security on the data in the form, I use striptags() and bound parameters

  • Stale data error solved only by selecting "use update batching".

    Hello

    I'm having a problem after you create a page to update in the OPS.  The page works that when I select update, batch processing in my OE.  The problem with this is that my page uses a column type of the BLOB that gray on the possibility of using batch update.  I have tried everything I can think as well as on all possible subjects of research on the internet for this problem.  Can't seem to understand.  It has become very frustrating as to why I can only update the table by selecting the batch update.  Does anyone know how to fix this?

    Thank you

    The f

    I solved this problem.  The reason why I was getting stale data error was due to a custom table that get damaged when adding primary key through SQL Developer rather than do this coding, I created.  After that I recreated the stale data error table stopped display.  Hope this helps people in the future.  Remember to encode the creation of the table instead of creating through SQL Developer.

  • Store binary data in mySql

    Hello

    I want to store the user's preferences in a database. To avoid creating multiple lines in a table for each user, or to avoid too many fields in a table, I want to create a client-side, serialize and then store this string serialized on the server.

    I could do this as follows:

    var t:Object = {id: 1, color: 0 x 567834};
    var b:ByteArray = new ByteArray();
    b.writeObject (t);
    b.position = 0;
    var s:String = b.toString ();

    Now I can store s in my database.

    What should I do to convert s to an object?

    Help appreciated!

    Dany

    Hello

    If you use amfphp you just send the binary result to the db and retrieve it in binary form, is thus no need for conversion.

    Flex and remoteobject methods

    ====================

    Launch of the private function: void

    {

    var BA: byteArray = new ByteArray();

    .. .populate ba

    clients.uploadConfig (ba);

    }

    getConfig() private function: void

    {

    clients.downloadConfig (UserID);

    }

    private void qryUserConfig(res:ResultEvent): void

    {

    var result: ByteArray = res.result as ByteArray;

    }

    php

    =====

    function uploadconfig ($ba) {}

    $data = $ba-> data;

    $mysql = mysql_connect(localhost,"root","");

    $data = mysql_real_escape_string ($data);

    @mysql_select_db ("catalog");

    $Query = "INSERT INTO users (ID, data) VALUES(0,'$data');

    $Result = mysql_query ($Query);

    return $Result;

    }

    function downloadconfig ($id) {}

    $mysql = mysql_connect(localhost,"root","");

    @mysql_select_db ("catalog");

    $Result = mysql_query ("SELECT data FROM identification of user WHERE = $id");

    $row = mysql_fetch_object ($Result);

    mysql_close();

    $config = new ByteArray ($row-> data);

    return $config;

    }

  • Connection verification failed for data source - mysql.jdbc.Driver

    I get this message when you try to add a mySQL (don't ask) database in CF Admin checking the connection failed for data source: shownets java.sql.SQLException: no suitable driver available for shownets, please don't check the configuration in the file resources, pilot error: com.mysql.jdbc.Driver


    The root cause was that: java.sql.SQLException: no suitable driver available for shownets, please don't check the configuration in the file resources, pilot error: com.mysql.jdbc.Driver I tried all sorts of messages instructions and nothing seems to work.  It's on my 32-bit platform. Tryng to get out all the bugs before I installed the 64-bit version.

    TNX a

    It seems that you have recently installed Coldfusion. I say this because recent versions of Coldfusion no longer ships with JDBC to MySQL driver. You must therefore download and install it yourself.

    To do this, go to the download page of the MySQL JDBC driver. Select the platform independent as a platform connector. Download the ZIP file independent of the platform mysql-connector-java - x.x.xx.zip. (x.x.xx represents the version number)

    Extract the ZIP file. Open the folder that results and search for the driver. It is a JAR file called mysql-connector-java - x.x.xx - bin.jar (x.x.xx represents the version number). Copy the file in the directory lib to Coldfusion.

    Restart Coldfusion. Voila - you're ready to go.

  • retrieve a row of data from mysql database

    Hello

    I extract data from a database.  Use of then in a Web page as <? php echo $row ['product'];? >

    However, if there is an apostrophe in 'product', he displays like a diamond with a question mark.

    Data stored in the database looks like this, 'pearls of Mary. "

    Is the problem when I have the data stored in the database or when it was recovered?

    Thanks, Dan

    This happens usually if you paste from another application like Word or Xpress directly in the database.

    To work around the problem:

    If you are still using the old mysql extension insert the line below before any other query mysql on your page:

    mysql_query("SET NAMES UTF8");

    If you uisng the new mysqli extension then use the variable of connection string (in this case $conn) as below:

    $conn-> query ("SET NAMES UTF8");

  • Audit purge signon data scheduling

    Hi all

    I have R12.1.3. I want to program 'Purge the Signon check data' to run once a month. Purge the Signon audit data the default date that is displayed is the current date. but I want to replace it with the current date less than 2 months. It's easy to do that when I run it manually, but in the planning of it, the only option I can think replaces the value set FND_STANDARD_DATE with custom value defined in the parameter check date. Is there a way to better/more easy to change the default date to the date of the day less than 2 months?

    Thank you

    DBA_EBiz_EBS wrote:
    Hi all

    I have R12.1.3. I want to program 'Purge the Signon check data' to run once a month. Purge the Signon audit data the default date that is displayed is the current date. but I want to replace it with the current date less than 2 months. It's easy to do that when I run it manually, but in the planning of it, the only option I can think replaces the value set FND_STANDARD_DATE with custom value defined in the parameter check date. Is there a way to better/more easy to change the default date to the date of the day less than 2 months?

    Thank you

    Plan the query to run once per month (re-run each month) from two months ago and activate "not date setting each run.

    If your query contains date parameters, you can select ' Increment date settings each run "so that the value for this parameter is necessary to adapt the new submission interval. For example, if the value of the parameter is 25 July 1997 07:00 and your interval is monthly, is set to August 25, 1997 07:00 for the next presentation.

    http://docs.Oracle.com/CD/A60725_05/HTML/comnls/us/FND/10gch606.htm

    Thank you
    Hussein

  • Request simultaneous purge or data manager

    Hi all

    I have a question about this program.
    EBS r12 12.1.3 db OUL5x64 11 GR 2
    We have set age = 30 for this program 'purge the concomitant application and/or Manager Data' and it works all the time, but the table
    FND_CONCURRENT_REQUESTS always grow big (70 MB). the recommendation is to keep it under 50K means that I must reduce the parameter of age for this program in (age = 10)
    so the question is:
    What is the recommendation to keep this small FND_CONCURRENT_REQUESTS table and user still able to retrieve the information of up to 30 days.

    Thanks in advance.
    Kind regards

    the idea is to have a record of database for users can go back and check their data or reports.
    I can set the age = 10 to maintain the system smoothly and meet the recommendation for the size of the FND_CONCURRENT_REQUEST table<>

    by setting the age = 30 on my system, this FND_CONCURRENT_REQUESTS table size = 70 MB
    I know that it depends on the policy of each company.
    can you let me know how to deal with the FND_CONCURRENT_REQUEST recommendation< 50k="" or="" your="" company="" does="" not="" care="" to="" keep="" a="">
    history of FND_CONCURRENT_REQUESTS.

    You can take a backup of this table before you run the simultaneous purge of the program, simply create a new table in the same schema (FND_CONCURRENT_REQUESTS_BKUP). Don't forget to backup the files of applications simultaneous/output of the newspaper under $APPLCSF / $APPLOUT and $APPLCSF / $APPLLOG directories.

    If execution of the simultaneous program with the age = 30 does not reduce the number of records less than 50 K, then I believe that you can live with that (as long as the number of records is not very high, and performance are acceptable).

    Thank you
    Hussein

  • Composites purge stale

    We have some composites that have State 9.
    Even after purging, there are a lot of them left.


    SQL > select status, count (*) of the Group of cube_instance by the State;



    COUNT (*) STATE
    ---------- ----------
    1 100
    5 108
    8 4
    9 50944
    10 491


    How can I find out why these stale instances cannot be purged?
    What could be the reason for this?

    Regaqrds,
    Jon Petter

    The current purge scripts handle only purging the State of 'Done' bodies and if you should remove other States as well, so you will need to modify the scripts to purge. State = 9 means that the instances are "closed/fade" and this is the reason why they are more and more? Modify the scripts to purge to include the State to purge these bodies are probably running with older versions of code.

    I hope this helps!

    See you soon,.
    NJ

  • Insert data in mysql database

    Hello world

    I searched all over the internet for solutions to my problems, but it is not easy to find good explanations of how things work with databases.

    So, here's the situation:

    I had a (built with LC designer 8.0) form with a button of HTTPsubmit linked to a php script which would address all communications to my mySQL database. Everything works very well for that.

    now, I have a second form and wanted to do the same. But on this new form, I have a few paintings repeated data with the same name (each row has the same nodes), and the HTTP POST method will give me only one of the data. I could change the name of each node to make it unique, but 1. It takes some time and 2. It is not a very clean solution

    So, I tried to set up the famous "DataConnection" I've tried to avoid in the first instance. I've successfully installed mySQL ODBC connector and communication between the form and the database is perfectly fine. But I understand that, in the 'method' of DataConnection each field of the form corresponds to a field in the database. While I would like to insert a new section of mySQL for each line of my paintings.

    This is where I am stuck. I thought of two methods:

    1. I am a newbie with DataConnection so maybe there's a way to do what I want, but I don't know. Ideally, I guess something like this: "OK, there is good communication with the mySQL database. When I click on the "submit" button, move forward with javascript code that collects information from the form and gives a request for INSERTION in the mySQLdatabase; "and that for each row in the table. Collection of information is no problem, but how should I handle these multiple query "INSERT"?

    2. perhaps, it is also a way to change the submit button, so that the data is sent to a php server side or a js script, but instead of having urlencoded method or the HTTP POST method, send the code over XML data and the script will deal with it. In fact, I know that this change is possible; but I have no idea on how to manage the data from the form, if this isn't HTTP POST (or GET). If I choose a shipment to a php script, and I send XML or XDP, what is sent to the script?

    Well, thank you in advance if I finally find a solution!

    tguiot.

    OK nevermind, I found the solution with an appropriate method. Here is the link where I found what I needed: http://blogs.adobe.com/formbuilder/2006/12/databases_ins_upd_del.html

    That's exactly what I planned to do, but it is indeed a more advanced manipulation of the database connection object. Here's the idea:

    • create a DataConnection to your database, using the standard method (in my case, using the mySQL ODBC connector)
    • create a copy of the DataConnection object and clean it (to remove all unnecessary nodes)
    • Change the value of the
    • Run the SQL with the method 'Open'

    in the link provided, you will find the pdf file to open it with livecycle designer. There is a "Database" variable which contains the functions, and the code is commented pretty precisely.

    All I now need to do is navigate in my table and execute an insert sql for each line.

    So good to finally have a solution!

    Thanks anyway for your help pguerett.

  • Loading data from MySQL in ListComponent-help!

    Hello world

    Complete newbie to this forum, but I heard that you are the best for help and advice, so here I am!

    So I have a MySQL database and a Flash Document with a list item. I need to import (parts) of records to fill my List component.

    For starters, I don't know what language I use - I was thinking about PHP?

    Anyway, I searched the net for help and found none, where the post. Here is the code I have:

    AS3:

    var options: XML = new XML();

    options.ignoreWhitespace = true;

    var loader2:URLLoader = new URLLoader (new URLRequest ("http://localhost/list_1.xml"));

    {loader2.addEventListener ("Complete", Function (Event)}

    options = new XML (loader.data);

    var options.brand = product;

    for (var I produced) {;}

    home_holder. AddItem ({label: product [i] .name});

    }

    });

    PHP:

    <? PHP



    $link = mysql_connect ("localhost: 3306", "root", "");

    @mysql_select_db ("test");



    $query = "SELECT * LIMITED STOCK 1';"

    $results = mysql_query ($query);



    While ($line = {mysql_fetch_array ($results))}

    echo $line ["Brand"];

    echo $line ['Style'];

    echo $line ['store name'];

    echo $line ['Image'];

    }



    mysql_close ($Link);


    ? >

    (Please note: the php file returns correct results, if I run it in my browser)

    I also had a go at an XML version:

    <? PHP

    Header ("Content-type: text/xml");

    $host = "localhost";

    $user = 'root ';

    $pass = "";

    $database = "test";

    $linkID = mysql_connect ($host, $user, $pass) or die ("cannot connect to the host.");

    @mysql_select_db ($database, $linkID) or die ("cannot find database.");

    $query = "SELECT * STOCK ORDER BY stock_ID DESC";

    $resultID = mysql_query ($query, $linkID) or die ("no data found.");

    $xml_output = ' <? XML version=\"1.0\"? " "> \n";

    $xml_output. = "< entries > \n";

    for ($x = 0; $x < mysql_num_rows ($resultID); $x ++) {}

    $row = mysql_fetch_assoc ($resultID);

    $xml_output. = '\t < entry > \n ";

    $xml_output. = "\t\t < text >". $row ['style']. "< / text > \n";

    $xml_output. = "\t\t < text >". $row ["info"]. "< / text > \n";

    $xml_output. = "\t < / entry > \n";

    }

    $xml_output. = "< / entry > ';

    echo $xml_output;

    ? >

    Please send me some tips! Even if you suggest a completely different way to reach loading MySQL records into the list!

    Thank you very much

    Vicky

    It is not really clear where a problem from what you say in your ad and you seem to be looking for guidance. But even in this case you seem to have an understanding of what you need to do.  If you have a handle on using PHP to interact with the database, and you intend to use XML as the data streams in Flash, then you want PHP to use the data in xml format.  Using this approach is common.

    If you have a problem, understand how to deal with parsing the xml, you have to use Google for a tutorial using search terms such as "AS3 XML tutorial.

    When you arrive to the filling of the list item, the help documents should help you determine what property (dataProvider) or (addItem) method you can use to do it and what data structure is required in both cases.

    If/when you have an issue specific to obtaining the actionscript by working, then mail it with the corresponding code.

  • Send data to MySQL localhost

    Hello

    Is there a way to create a submit button to submit the data to the MySQL database on localhost - not via HTML, XML, or another web method. I created a form to fill out on the local client system - each form is properly installed in the binding to the right MySQL table (work of connections). When I looked the submit button, it is XML, XML, PDF, URL. Also in the meantime each field, I could create only the mandatory defauly, the Import/Export link (Execute), as it would allow only a connection of WSDL, not a DB OLEDB connection files, like I did in the default value for each field. In the view data, I can see the correct field and assignment - so I know it would work if I could send the data.

    .... How to create a submit button to send data ffrom the PDF to the local MySQL database? \

    Thanks a lot guys.

    Your attachment has not come through. You can join only through the user interface on the forum, he'll go get no attachments in the mail.

    You would have good orders to assign to each data connection that you want to order. So you can have 4 commands on the button, each maintaining a different database. Don't forget the format indicates that you are dealing with the dataconnection name:

    xfa.sourceSet.dataconnectionName.operation)

    Hope that helps

    Paul

Maybe you are looking for

  • Trying to import IE Favorites, but only shows Opera option

    Following the instructions for importing Internet Explorer favorites into Firefox, select history, the history, and then import them from another browser.Only opera shows optional. How can I get IE to display? In collaboration with LinuxMint 11 on Co

  • Satellite L500: Revovery Vista needs more than 8 - Win 7 takes about 10 h

    Hello in my Toshiba Satellite L500 with Vista 64 bit after bad start has not started.I try to choose recovery, but his departure +/-7 h and nothing. I try to install win 7, but it takes about 10 hours. Then W7 starting about 40 minutes.I have no idea

  • Y560 switchable graphics do not work

    Hi all I have the model of i5 y560 WITH switchable graphics, however, sometimes it does not. Basically when I try to switch from graphics using the switch of the money up front, there is no response. I even tried to right click on desktop and try to

  • Mistakes repeated during the installation of updates

    I am running Windows Vista and I prey repeatedly with 646 error!  Here is my update history: Update of security for Microsoft Office Excel 2007 (KB2345035) Update of security for Microsoft Office System 2007 (KB2344875) Update of security for Microso

  • Windows 7 reports that it is not valid.

    I upgrade my computer vista laptop to windows 7 about 6 weeks ago, everything ok up to now start today say invalid windows. Hello to your desktop for years bought a copy of windows 7 upgrade to upgrade xp to windows7 in February 2011 this work ok no