What are the major differences between MySQL and SQLite?

1 Answer

Answer :

answer:Okay, from what i’ve picked up from wikipedia and what I know, MySQL is a seperate server process and can be run standalone on a server and requires more resources then the likes of SQLite. It runs like Oracle and MS SQL would, you connect to the database via sockets and all this. However SQLite runs integrated with the program, as wikipedia puts it: “Unlike client-server database management systems, the SQLite engine is not a standalone process with which the program communicates. Instead, the SQLite library is linked in and thus becomes an integral part of the program.” Therefore it entirely depends on what your needs are. If it’s really simple and not going to get too big data wise and you don’t need a huge amount of functionality then maybe SQLite is the way to go, it’s quicker then MySQL for smaller things and would be more then ample for distributed apps that only store data locally (Think Firefox, Skype, iPhones etc.) whereas MySQL is better as a server process if lots of data needs to be stored and it’s going to be used by lots of people. I’d only use SQLite if you’re really strapped for resources, MySQL doesn’t take up many resources on small scale stuff but if stuff grows many companies have multiple MySQL servers (see: http://en.wikipedia.org/wiki/Image:Wikimedia-servers-2006–05-09.svg, all those green ones are database servers, but we’re talking large scale here hehe) It entirely depends on what you’re using the database for, I hope this helps :)

Related questions

Description : How many (Maximum)data storage capacity of SQLite?

Last Answer : I believe SQLite can handle more data than there is capacity on the iPhone. Now managing memory so that only the appropriate amount is ever faulted in at any given time is a much trickier issue. Are you using Core Data?

Description : What takes more computing power, serving HTTP or MySQL?

Last Answer : this is not exactly my field, but i would say http has much more to do that mysql. with http you are loading everything, where mysql is just loading data. i guess it could depend on the site and whats on it, but for the most part http will be doing most the work.

Description : Does MySQL have a native counter function for its results?

Last Answer : I know that with PHP when you query the database and it returns any results it'll provide an array of results I think so you can loop through them and get the data from them, however nativly I don't ... and report what I find, if anything at all :) what langauge are you programming in by the way?

Description : How do I check for the existence of a particular MySQL table using PHP? (Using an IF statement.)

Last Answer : answer:I don't know of a preexisting function, so here's one I wrote real quick (untested): function checkTable ($table_name, $database_name) { $my_tables [equal] mysql_list_tables($database_name); while (list($foo) ... , your_database )) { // Table exists } else { // Table does not exist }

Description : What MySQL database admin app should I be using?

Last Answer : I use CocoaMySQL

Description : Is there something wrong with my MySQL query?

Last Answer : answer:SELECT CONCAT_WS( ’ ’, first_name, last_name ) AS full_name, username, country, region, CONCAT_WS( ’, ’, region, country ) AS location FROM people HAVING full_name[equal]‘John Doe’ Damn! I’ve been awake for a long time. Silly me.

Description : MySQL help!

Last Answer : answer:You spelled “propeller” wrong, for one thing. Table SERVICE_REQUEST has a primary key, SERVICE_ID, which is a DECIMAL field. In your attempt to load the table with the error record, the secondary key value you attempted to insert for SERVICE_ID, ‘7’ is a CHAR value. That’s a show-stopper.

Description : Empty entries in a mysql/php5 site database,... why?

Last Answer : How are you migrating the database? What are you using to export and import?

Description : What are the best web sites to get help with Apache, PHP, and MySQL?

Last Answer : stackoverflow is the best site programming q & a site I know of. Looks like there is a fair amount of LAMP-related questions there.

Description : MySQL order by primary key, put one row on top.

Last Answer : answer:If you can guarantee that there is only one or zero active records select * from presets order by active asc, id asc

Description : As a specialist PHP/MySQL programmer at my (not so fun to work at) job, what's my future?

Last Answer : It depends if you want to continue doing programming or not. If you have good people skills, and good business sense, you could get PMP certified, or learn VersionOne and move to the business ... business side. We also prize business analysts with SQL knowledge in order to manage data and metrics.

Description : If I already know basic PHP/MySQL, what else should I learn to use Google App Engine?

Last Answer : answer:I am not an expert, I just started reading up on this myself, but here are a couple of starting points on data storage. Rather than a separately maintained SQL database, ... .com/appengine/articles/datastore/overview.html http://code.google.com/appengine/docs/python/datastore/overview.html

Description : What is apache or perl or php or mySQL?

Last Answer : Apache, Perl, PHP, MySQL Seriously, Wikipedia does wonders. Also try searching with Google.

Description : PHP/MySQL question.... (please read on)

Last Answer : Have you looked through these?

Description : What is a good book for learning PHP and MySQL?

Last Answer : I’d start here: http://www.php.net/manual/en/ Get a feel for PHP, then buy books to fill in the gaps or get deeper into particular areas.

Description : How long does it take to learn PHP & MySQL?

Last Answer : The O’Reilly Head First book on this is great.

Description : Add an ID column to an already existing MySQL table?

Last Answer : I’m not an expert on MySQL [@stewartwb?], but in SQLServer that works just fine. Add the column and set the identity property and it autogenerates. What happens when you try that in MySQL? Do you get an error? or does it just not populate?

Description : Do you know webhosting server including with these details: free, about 1-2 gigabytes, php script OK, mysql OK, no adds on site?

Last Answer : Hosting a free Wordpress blog. Interesting. Did you try wordpress.com? Most hosts aren’t going to offer those serviced ad-free for free. I can’t think of a single one. Everyone needs a business model. And even if I found one, I certainly wouldn’t trust it for stability and security.

Description : How can I create an ordered list of the most common substrings inside of a MySQL varchar column?

Last Answer : SQL is definitely not my specialty but you can use regular expressions within your select statement is this something you want to pull on the fly each time though? It seems like as your data set grows it ... ve got me wondering if I can write one SQL statement for it though, let me take a look.

Description : Can someone please explain to me exactly how PHP, mySQL, Javascript, and HTML/CSS are related?

Last Answer : PHP is a serverside language, while JavaScript and mySQL are clientside languages. I think the difference is that PHP/HTML is the language used by the server to encode instructions for the web browser, ... have no idea whether it's accurate or not. I just started learning this stuff this week.

Description : Is there any difference in terms of performance to build my website's database using PostGreSQL than to built it using MySQL?

Last Answer : A few years back, the choice was between raw speed, in which case you chose MySQL, and features and reliability, in which case you chose PostgreSQL. (If you needed speed, features, and reliability, ... is what databases are built to do, but in older versions of MySQL there was simply no alternative.

Description : MySQL Sort by every other row?

Last Answer : Couldn’t you just grab the males in a query and do the same for the females. Then loop through them in PHP. If that made any sense.

Description : Getting certified in PHP and MySQL?

Last Answer : I think Zend, the company behind PHP, has some kind of certification. Is this required for something? I’ve honestly never seen a job requiring a “certified” PHP programmer. Edit: This looks like it.

Description : How do I do a MySQL Insert statement into 2 different tables?

Last Answer : sounds to me like two separate insert statements... or maybe i don't understand the question...

Description : How can I search for a specific column name in MySQL?

Last Answer : SELECT table_name, column_name from information_schema.columns WHERE column_name LIKE 'Name';

Description : Anyone using Spry with PHP/MySQL in Dreamweaver CS3?

Last Answer : Why are you asking? Are you already using it, or wondering if it's a good choice of tools?

Description : Best tools to build a collaborative project site using only open-source Apache/Mysql/PHP tools

Last Answer : answer:We've used Trac for a few projects with success. Its not perfect but it is configurable and you can extend it. Of course its geared very much towards software development and I'm not sure ... a specific set of tracking and documenting and were glad we did later on in the development cycle.

Description : Is there a PHP library or API that would let me quickly build survey questionnaires and dump the captured data to MySQL?

Last Answer : If you are familiar with LAMP and PHP, why not build a little CRUD application?

Description : Good advanced MySQL tutorial?

Last Answer : I don’t know of a specific one but I know http://www.pixel2life.com/ has lots of web-related tutorials, I’ve always found it to be a great resource. Joining irritates me, covered it in SQL w/ Oracle, hated every minute of it! If I find anything in the mean time I’ll post it here.

Description : Approximately how many connections per second could a MySQL server with 64mb of memory handle?

Last Answer : Nevermind. The answer is between 1200/sec and 2000/sec, but obviously dependent on the load of the request.

Description : MySQL WHERE doesn't work.

Last Answer : answer:Try changing the WHERE clause to: WHERE LOWER(`Title`) LIKE '%trumpet%' (using LOWER makes the search case-insensitive) In SQL, % is a wildcard that matches any number of characters (even zero ... a space in a table name. I'd recommend a migration from `Methodes Walter` to `Methodes_Walter`.

Description : What MySQL engine would you recommend?

Last Answer : answer:I'm a big fan of the whole foreign key' concept, so I really only use InnoDB (since MyISAM doesn't support it). If I remember correctly, general statements run faster on InnoDB than ... a determining factor. Though if you plan on implementing a full-text search, go with MyISAM for sure.

Description : Error message when using PHP with MySQL.

Last Answer : Wow! Good luck with that!

Description : Are there any resources that you can recommend for me to learn LAMP (Linux Apache MySQL Perl/Python/PHP?

Last Answer : I’m not educated in this type of stuff, but I did a little research and got these. http://lamphowto.com http://onlamp.com

Description : What the hell is wrong when i create connection btw navicat and mysql?

Last Answer : answer:This probably isn’t a bug or issue with the MySQL server. The possibilities are: 1) Login password for root is wrong 2) The account doesn’t have a password Have you tried connecting without a password?

Description : How to import a html table into mysql?

Last Answer : Do you have a link to the table? Unless somebody is aware of a script that I haven’t come across, the script would be specific to the table and shouldn’t be too hard to write.

Description : What is your favorite PHP/MySQL ecommerce application and why?

Last Answer : answer:

Description : Ms. Archana, a class XI student has just started learning MySQL. Help her in understanding the basic difference between -Technology

Last Answer : ALTERUPDATEIt s a DDL command.It s a DML command.It can be used for the following purpose:To add a new column.To remove an existing column.To modify a column.To add/remove a constraint.It s ... Delhi ;suitable command:(i)Show Databases(ii) Use City(iii) Drop Database Clients(iv) Drop table Club

Description : is_connected() is the MYSQL function to : -Technology

Last Answer : (e)verify whether the python application is connected to mysql database.

Description : Shewani has recently started working in MySQL. Help her in understanding the difference between the following : -Technology

Last Answer : (i) Where clause is used to show data set for a table based on a condition and having clause is used to put condition on the result set that comes after using Group by clause.(ii) COUNT ... unique as single column or combined multiple columns to the table. They are all candidates for Primary Key.

Description : In a school, a database named “school” is created in mysql whose password is “cbse”. Smith is trying to add a new record of a student having details -Technology

Last Answer : import mysql.connectormydb = mysql.connector.connect{host='localhost',user='root',passwd='cbse',database='school'}mycursor = mydb.cursor()mycursor.execute('INSERT INTO student values(3,'Michelle', 'Agartala');')mydb.commit()

Description : Write the code in python to read the contents of “number.csv” file consisting of data from a mysql table and print the data of the table -Technology

Last Answer : f = open('numbers.csv', 'r') with f:reader = csv.reader(f)for row in reader:for e in row:print(e)

Description : What is MySQL used for? Abhay wants to start learning MySQL. From where can he obtain the MySQL software? -Technology

Last Answer : MySQL is a Relational Database Management System (RDBMS), used for adding, accessing and processing data in a database. Abhay can download the MySQL software setup from Internet.

Description : The avg() function in MySql is an example of ..... (a) Math function (b) Text function (c) Date Function (d) Aggregate Function -Technology

Last Answer : (d)Aggregate Function

Description : How to Find Greats Tools for MySQL SQL Performance Tuning?

Last Answer : Say goodbye to changing queries manually and tuning them for better performance. At Tosska Technologies, we offer efficient tools for MySQL SQL performance tuning that help you save time and resources. With ... explore our tools and make the right selection, visit our website, and get a free trial.

Description : Do you think there is free web hosting where you can use Mysql and PHP? Isn't that what?

Last Answer : Well you can use webzdarma.cz there you have both Mysql and PHP.

Description : Which database is the choice of yours: MYSQL vs POSTGRESQL vs SQL?

Last Answer : I think MYSQL is the best for me and I used it also it is so easy to use and very popular. I used it since January 2018, I recommend to you it to you

Description : What is an API Is MySQL an API?

Last Answer : MySQL is not an API MySQL is a database where you store data. An API is how you request information from another website.

Description : __________ is theclear leader for personal databases. A) Microsoft Access B) Microsoft FoxPro C) Borland dBase D) MySQL

Last Answer : Microsoft Access

Description : The most open source DBMS. A) Microsoft SQL Server B) Microsoft Access C) MySQL D) Oracle

Last Answer : MySQL