Best unofficial Apache Server developers community |
| |||||
| Feb 8, 2012 | |||||
|
Tjuer |
|
||||
| Tags: | |||||
|
difference between safe and sync options in PHP Driver August 26, 2010 02:06:15 PM Hi, Can anyone make me clear on following questions? http://us3.php.net/manual/en/mongocollection.remove.php http://us3.php.net/manual/en/mongocollection.insert.php http://us3.php.net/manual/en/mongocollection.update.php So does that mean safe… How safe is MongoDB's safe mode on inserts? August 11, 2011 08:55:13 AM I am working on a project which has some important data in it. This means we cannot to lose any of it if the light or server goes down. We are using MongoDB for the database. I'd like to be sure that my data is in the database after the insert and… about log safe with safe=True option December 5, 2011 10:30:58 PM hello everyone, I have some problem with dur safe . I use pymongo for some test script , and think that if I use "safe=True" option with insert , like : col_1.insert({"id":i,"char":txt_3},safe=True) , it will be a log safe… Is it safe ? September 18, 2011 12:51:09 PM Hi, In my web service (using tomcat 7.0) I use a datasource to MySql database configured under context.xml (in my WEB-INF directory) which looks like the following : <Context> <Resource name="jdbc/TestDB" auth="Container"… Safe October 10, 2011 11:43:44 AM is there a way to set "safe" across the application in the environment/configuration, instead of putting safe in every model. Basically, I want all save to be safe in development environment. thanks. New: get_content_preview should be safe May 7, 2011 08:25:31 AM https://issues.apache.org/SpamAssassin/show_bug.cgi?id=6583 Bug #: 6583 Summary: get_content_preview should be safe Product: Spamassassin Version: 3.3.1 Platform: All OS/Version: All … Journaling how safe? March 17, 2011 04:36:24 AM Hi, we want to use mongodb (the required replication hold us a bit back) how save is my data with journaling on a single mongod setup (no replication) is it as save as like a mysql database for situations like - db crash - sudden forced server… does safe block? June 22, 2011 09:50:25 AM We had an issue with servers freezing and I noticed that mongo had no free open connections What would the behavior of a save command be with safe = true? Does it block waiting for a connection? If so, is there a timeout? thanks, billy MongoDB NFS safe? January 4, 2011 09:27:03 AM Hi, I'm using MongoDB for archiving some log files and it does not exactly demand high performance. I was wondering if it's safe to host mongod's data files on a NAS (NFS filter) mount, as this is what is most easily available in my corporate… How big a jump is safe? August 3, 2011 01:36:08 PM We have been running 0.20.3 in fully distributed mode for almost a year now, and we are going to upgrade. How big a jump is safe, and would best practice going to 0.9x.y be to export, upgrade, format, import? Thanks Greg Safe updates August 4, 2011 08:04:45 PM Hi, by setting safe=True, safe updates can be performed. But does it mean that if I don't use safe updates, then I can't be sure if the value was actually stored in the database? If the value being stored is free from any erroneous data, does using… Re: Safe updates August 4, 2011 08:10:10 PM You can't be so sure. The update operation may fail from various issues as well such as server crash, disk full, network interruption etc. If you use update that change the size of doc, it may go larger than the size limit etc. ------Original… Safe inserts November 4, 2011 10:06:01 AM Hi guys, I'm working on a project where it's very important to make sure that saved data in the database can't be lost. I'm just wondering what's the best configuration in mongodb for protecting very sensitive data. Also, I'm trying to quantify… apr_socket_close thread safe? September 1, 2011 12:15:06 PM Hi all, I'm a little confused regarding apr_socket_close thread-safety and maybe someone can help me here. I'm building a small socket server. On the main thread (thread 1 below) I spawn different threads that run a function named… Journaling and Safe inserts August 15, 2011 08:45:29 PM Do I still need to use journaling if I'm using safe=true for all insert/update operations? I thought safe=True ensures that the data is written to the disk properly. If all the inserts/upserts/updates are done with safe=True, is journaling still… Safe to upgrade to Hive 0.7.0? December 8, 2010 08:56:25 AM Hey guys, We would like to experiment with some of the features in the current trunk (0.7) release. Do you think at this point it's nearing "production-ready" ? Are there any metastore migration scripts or anything like that before upgrading to… Is an ObservationManager safe to use across threads? October 15, 2010 04:46:57 AM Regarding the rule that says that a session should not be used by multiple threads, I wonder if the same applies to ObservationManager. Take the following example: public class SomeFactory { Map<String, SomeOtherClass> cache =… how to know if nodetool cleanup is safe? August 21, 2011 06:35:46 AM since "nodetool cleanup" could remove hinted handoff, will it cause the data loss? PHP] Safe command() execution? October 13, 2010 10:22:19 AM We're using the PHP driver and command() to rename collections, much like the first note in the PHP manual page [1] suggests. For whatever reason, we've seen that the rename is not always successfully replicated to the slave, leading to disaster… Solaris 10 - not thread safe July 25, 2011 01:01:12 PM Hello, I was compiling memcache 1.4.6 on Solaris 10 ( SunOS grom 5.10 Generic_141444-09 sun4v sparc SUNW,Sun-Fire-T200 ) with gcc version 3.4.3 (csl-sol210-3_4-branch+sol_rpath). In compilation there were warnings that parameter -pthread is… Safe use of HttpURLConnection January 22, 2011 When using HttpURLConnection does the InputStream need to be closed if we do not 'get' and use it? i.e. is this safe? HttpURLConnection conn =… Am I safe from SQL-injections? May 13, 2011 Hey guys, I'm using a simple cms as backend to my website where I'm able to update news and such. I want to be safe from SQL-injections, so I'm… Is mysql_real_escape_string is really safe to use? June 15, 2011 OK, I have one question before I start coding MySQL in my school project. Is mysql_real_escape_string is really safe to use? I've heard that it's… Allow safe FTP upload March 13, 2011 I'd like to allow my friend to upload some photos for me over FTP to my server (shared host). It's a trusted friend but I'd still like to block the… Is mysql_insert_id safe to use? February 21, 2011 According to the PHP documentation, mysql_insert_id takes the last inserted id from the mysql table. My question is, if I have a website that… Would this be safe enough against SQL injections? April 29, 2011 Would this be good enough against sql injection using php and mysql? strip away illegal characters using preg_match (only accept alphanumeric) use a… Is it ever safe to set innodb_flush_log_at_trx_commit=0? December 22, 2010 I have a server (Dell PE2950) with a battery-backed write cache on the raid controller. Is it safe for me to set innodb_flush_log_at_trx_commit=0 on… Is it safe to have "relational database?" April 24, 2011 I just want to know if it's safe to have two databases that are relational to one another, rather then the tables inside the database being… Is C3P0 thread-safe? February 16, 2011 An interruption exception (java.lang.InterruptedException) occurs as I'm trying to perform some simple read (SELECT) operations using C3P0 on a… When are nulls "safe" in a column? January 26, 2011 Is there a general rule of thumb for designing databases to allow the columns as nulls vs 3nf normalization? I have a table with a column that will… Fail-safe web hosting June 5, 2011 I work maintaining a SaaS software we have developed in-house, and it really can't be offline. Being offline will upset most of our clients and most… In mysql, is "explain ..." always safe? January 9, 2011 If I allow a group of users to submit "explain $whatever" to mysql (via Perl's DBI using DBD::mysql), is there anything that a user could put into… Is this a safe way to secure against sql injection? January 13, 2011 Is this code 100% safe from sql injection: $id = $_GET['id'] mysql_query('SELECT * FROM mytable WHERE id < ' . (int)$id); or do I have to do… Is $_SERVER['QUERY_STRING'] safe from XSS? January 2, 2011 I need to construct a form who's action takes you back to the exact same page - GET parameters included. I'm thinking I can say something to the… Would this regex be multibyte safe? March 20, 2011 I'm using the following regex to check an image filename only contains alphanumeric, underscore, hyphen, decimal point:… Generation of safe primes. March 21, 2011 I need to generate a safe prime which has the form 2p + 1 where p is also prime of a certain bit length (lets say 1024 bits). It is to be used in a… Is Magento thread-safe? May 26, 2011 Is anyone using Magento with Apache worker MPM? I've read conflicting reports of stability and security using worker instead of prefork, but have… Is this safe in terms of SQL injection?? April 20, 2011 hi. Currently getting more and more into MySQL. It's something i haven't been too fussed about but i want to write some scripts with it now. My… Php regex with safe delimiters February 8, 2011 I've thought that php's perl compatible regular expression (preg library) supports curly brackets as delimiters. This should be fine: {ello {world}i… Safe regexs to clean searialized DOM? February 5, 2011 Hi there, I'm after several, really safe regex patterns for JavaScript's .replace method. The input is a serialized DOM string, and I am wanting to… | |||||