Tracking Forums, Newsgroups, Maling Lists
Home Scripts Tutorials Tracker Forums
 
  HOME    TRACKER    MYSQL




Recommended System Specs?


I was wondering if anybody could point me to any documentation or could suggest some info on a small MySQL server that I'm setting up.

This will be running Windows and IIS (i know, i know) and be for a maximum of 20 users; nothing special.

Any suggestions for processor and RAM or things to look out for? It will be running the MySQL Community Server 5.0.




View Complete Forum Thread with Replies

See Related Forum Messages: Follow the Links Below to View Complete Thread
Size Of DB In Relation To System Specs
i'm running a server with two dual core processors at 3 Ghz and 8 GB RAM. The size of the MySQL-DB on this server is 1.5 GB. Most of these 1.5 GB (70%) are not processed during normal usage.

At the moment everything is running fine, but i'm expecting the DB to grow during the next month, so I ask myself at which size the system speed will start to noticeable slow down.

XML Specs For Database Tables
Is there any program that takes database schema in some decent format
like XML (or html or plain-text) and generates the following:

1. C++ classes that represent each table.
2. C++ methods that let me get/set database records of each table.

Effect Of Increased Users On Query Time - Rec Specs
I have just started my first big project and I am having trouble predicting
the system specs that will be required. At present during trials the site
has around 15 users, although this will go to 350 when it is launched.

Most of the pages execution time should not scale with the increase in users
but there are a few report pages which calculate and order the information
entered by the users.

Measuring the page on my development machine (Duron 1.2, 768MB PC133, WinXP,
running apache 1.3.22, mysql 4.0.15and php4.3.4)...

One page I am currently getting 0.2-0.3 seconds. It uses phplib templates
and it executes 9 queries at present, 1 of which I predict will scale. It
calculates the mean, standard deviation and total of around 90 measures
using results from 15 users.

I do have a few nightmare pages for the regular users which execute 150+
queries (mixture of selects and updates).

Can anyone predict what will happen with 300+ users?

I am thinking max load being 20 regular users logged in with 2 users viewing
reports.

The machine I am currently looking at is P4 2.4, 512DDR with Linux. Will
this be suitable?

Recommended Structure?
Okay before I dive in I just wanted to get some input anyways.

I want to have various categories.. unlimited of course
I MIGHT use sub-categories...

then items under each category. IF i want sub-categories then I will probably want items for categories AND sub-categories

If it isn't MUCH harder to accomplish... items appearing under multiple categories...

Recommended Book(s)
What book(s) do you guys recommend I read to start comfortably using mySQL? At my work I've been requested upon to create an inventory system for tracking all the hardware and computer parts we recieve and making sure there's documentation on it. Our budget is tight so I figured that I could use mySQL with PHP Myadmin to design/create the database. What do you guys recommend for this type of task?

Can Anyone Recommended Learning Material?
I am hoping that someone can recommend some learning resource, a book/website/diagram (anything really) to help me with picking up a well rounded overview of as many of the possibilities of MySQL please? As well as perhaps introducing some of the theory and 'best practices' of DB design.
I've had a look out there and the amount of information available is vast and somewhat daunting so any advice that can be offered would be greatly appreciated.
As far as the level required... i'm a relative beginner to MySQL having only dabbled in single tables and basic php functions, although i'm not a stranger to programming languages in general - so something that provided a quick intro/overview and then progressed relatively swiftly would be OK. (Although despite how it sounds i'm not really picky )


How Many Fields Of A Table Are Recommended?
May be a stupid question, but just want to know, how many fields/columns are recommended ? I know, it depends how many someone needs, but incase if a person needs alot of fields, then for example, is it okay to make 200 fields of a table of mysql database? or its not good to add so many fields ?

Recommended Number Of Queries
im running a complete CMS, and was wondering what the recommnded number of queries would be per page.. i know it's hard to say since it depends on what it can do, how many users etc., but use your own experience.. cause im getting a little worried that mine is too heavy

Recommended For Moderate Seeking Advanced Skills
I am ok with most queries but looking to advance my skills to advanced level.

Most books, it seems, focus on basic skills without much real life queries where there are 7 tables involved to get your data and throw in a LEFT OUTER join on one of those tables and it gets ugly fast.

Any real life difficult queries to read and learn or books you would recommend?

How Do I Get System Date
I have a Timestamp which shows the Date and Time. I would like to change it to just show the Date. How do I do this using phpMyAdmin?

Getting System Date
I was wondering how to set up table to column to get the system date for a date stamp. Could someone help me with this.

I tried
date date SYSDATE

with no luck

Best Way To Set Up Membership System
My site will have users that sign up and can then become part of multiple groups (think similar to Yahoo Groups or something like that). How would be the best way to set up the database/table structure so queries could be run to find both all the groups that a user is a member of and also get membership lists for each individual group?

System Tables?
Is there documentation on the system tables? I couldn't seem to find anything when I did a search on system tables.

I know about the information schema, but I want to know about the tables the information schema uses to build the views it contains.

Registration System
I have my database and HTML forms made. When I click submit to submit the registration it doesnt go to to the database it comes to a page with all of my database stuff on it. Can someone help? I have the page register.html made with the forms on it. When you click on submit its supposed to go to register.php which will send the info to the database. But is doesnt. Here is the register.php code:

System Tables
When I create a new DB it's empty. Are there a base set of system tables / functions and so forth created?

Privilege System
Is there a way to limit update access for a user to a single record? I have a database table that contains various information about people. That information is contained in a record for each person. I want people to have read access to the whole table but update access only to their own record. Is  this possible and if so how would I set it up?

System Log For Triggers
Is there a system log file which can be checked to see the histroy of triggers. I am trying to debug a trigger that is not executing when it should.


Rating System
i want to do a rating system like youtube's where it averages out the total ratings. i'd store each of the ratings per each row and have them seperated by comma's then in my code put them in to an array.

i also wanted to store the usernames of the voters in the database in the same fashion (without displaying them though) as above say instead of using cookies (as they can be deleted). would method this be feasible? or would this say overload the database and cause slow down?

Booking System
Hi, does anyone know of a site (tutorialised / open source) that offers a PHP-MySQL Online Booking System (similar to a Hotel Booking System)

Privilege System
Can I change structure on "mysql" database to implement new Privilege System?
Views named "user", "host" etc will return old structure style.

System Variable
i am connected to the server and
i build some tables etc etc. everything is fine.

i run the command "show variables". it executes fine and shows me the values
of all the variables on the server. now if i try and change the value of the
variable tmpdir using the set command, it tells me unknown "error 1193:
system variable tmpdir". help needed here........

another point, the variable "tmpdir", points to the dir c:/windows/temp. i
put a text file in that dir and try to load some data from that file into a
table, and i get an error "file not found".

Ranking System
I've made a forum and i want to have a ranking system with it. I managed to display a postcount but i also want a few images to be displayed, like if you have made more then 50 posts, it displays 50.jpg or something, how can i accomplish this, in another way then just str_replace()ing all the number of posts?
And how do i display 2, like if you have 50 posts, 50.jpg and if you have 60 posts, 60.jpg.

System Variable.
i am running mysql version 4.0.16-nt. now, i am connected to the server and
i build some tables etc etc. everything is fine.

i run the command "show variables". it executes fine and shows me the values
of all the variables on the server. now if i try and change the value of the
variable tmpdir using the set command, it tells me unknown "error 1193:
system variable tmpdir". help needed here........

another point, the variable "tmpdir", points to the dir c:/windows/temp. i
put a text file in that dir and try to load some data from that file into a
table, and i get an error "file not found".

System.OutOfMemoryException
sql 2 error: Exception of type 'System.OutOfMemoryException' was thrown.

this is the error I am getting using Mysql connect and Visual Studio.

My program is set on a loop and after the program has opened and closed around a million connections in my error logs i see this error about 80 or 90 times then it gives me a timeout error until I stop the loop. If i try to restart it it will continue to fail unless I restart the computer containing the database. Does anyone know what is causing this or how I can fix it?



Edited 1 time(s). Last edit at 07/18/2007 12:39PM by Joe Gates.

Voting System
***********************
| game_id | discussion_id |
***********************

SELECT game_id, discussion_id, count( * ) FROM `games_voting` AS votes
GROUP BY votes.game_id, votes.discussion_id


using the above query to generate a count of votes grouped by game and then user who got the votes
right now it returns all the users that received votes for each game, i'd like to only receive the user with the top vote count

Scoring System
Im sure some of you have come across 'neave' games?

The scoring system is setup as below:
CREATE TABLE games_pacman (
name VARCHAR(20) PRIMARY KEY NOT NULL,
score INT(11) DEFAULT '0' NOT NULL,
ip VARCHAR(15)
);

CREATE TABLE games_banned_ip (
ip VARCHAR(15) PRIMARY KEY NOT NULL
);

Clearly, it is possible to ban ip addresses from using the score system.

But, can anyone tell me please if it is possible to set it up to ban certain names from being used?

System Configuration
I'm currently rebuilding my home system - a couple of linux boxes with Debian.
Although I don't have a high load on any of my systems, I am going to set up a separate box with my mail server and another for my web services. I'm wondering if there is an arguement for or against putting MySQL over on the mail box or even putting it on its own box?Assuming the arguement is for putting MySQL on a different box, are there any pitfalls, tips, tricks I should consider before starting this project?

Heavy Traffic System
I am developing a very heavy traffic site. It may happen that at same time (exactly same) two user will try to register with the same username. What will be the approach to prevent this situation. Which user will be able to register and which one will be denied? Do I need to use any locking facility? If so is it a wise decision to lock entire table?

How To Get Today System Date?
Can anyone tell me how to fire a query in MySQL to get todays system Date.
I want to Subtract yesterday's date from Today's date.I want to check that if todays date is greater than yesterdays date i have to delete yesterdays date.

What Is The Best Content Managment System?
I'd like to speed up queries of the form...

SELECT ... WHERE lower(mytable.name)=?

...by using an index.

Online Booking System
Im working on a dog walking site for my girlfriend and she wants to have an online booking system for walks.

Can i use MySQL & PHP to create this or is the a language more suited to this form of application.

Song Request System
I'm new to MySQL and have been racking my brains at this for hours, studying the MySQL documentation, etc, and have given up.

All I want is some form of PHP/MySQL integration on my website that allows visitors to Reuqest Songs, and my DJ's be able to view all the reuqests in a page.

It'd just involve adding values to a database (song name and song title) then getting a page to query them out and display them again.

Would someone be so kind to write me a very very basic script that will do what I require?

Standardized Naming System ?
is there a common naming system for db objects ?

Like:

1) Tables: mytable, tblmytable, tbl_mytable

2) Indices: idx_anindex

3) Columns: int_somenumber, date_lastupdate

4) id for the numerical primary key e.g. table customers.id
and then for referencing foreign keys
table addresses : addresses.customer_id or addresses.customer_fk

OK, I know I could name them the way I want but perhaps there is some
kind of common sense in this regard ?

System Variable Tx_isolation
The System Variable tx_isolation is used for what? What this actually means,

Development Server

System Variable Value
tx_isolation READ-COMMITTED

Production Server
trx_isolation REPEATABLE-READ

What will be the difference between these two thing?

System Requirements Of MySQL
I need minimum system requirements for installing MySQL server. This is for
service definition. Please provide me the info/link from where I can get the
info.

How Do I Set Up My System As A Testing Server
I work on a Windows XP Pro. Platform and I am having trouble setting my system up as a Testing Server for PHP pages. I want to be able to test scripts and build my database. I tried downloading and installing MYSQL and PHP but it still does not work. Is there some kind of Configuration I need to do in the PHP.ini file?

System Error 1067
I am just starting mysql and when I go to "net start mysql" I receive this System Error 1067, and that the system could be not started.

Client Login System
I am working on making a client login system. I would like client's to be able to login on my site and just basically see their individual invoices, pay with Paypal, see site progress, that kind of thing. I have some ideas as how to do it, but I was wondering if anyone had some suggestions?

ASP And MySQL Membership System?
I'm trying to set up an ASP and mySQL (or Microsoft Access if absolutely necessary).

It needs to allow users to register, certain pages to be "members only," and it needs to have an email password reminder system.

I have a good deal of beginning experience with coding (I've studied the beginnings of C++, VB, javascript, CSS, and have sort of worked with PHP on a discussion board).

Anyone have a GOOD and somewhat UPDATED and RECENT tutorial?

External System Call
Is it possible to trigger external system calls from mysql db? I want to start an external script after a certain value has been set in DB?

Unkown System Variable
I try to code a store proc. but I always get compiler error:

"unkown system variable 'no_more_data' ".....

Posting System With Time
I need to build a system that posts a message on a given time.
Example

I write a message -> it goes into a db with al the messages posted for the day -> the next day al the messages will be posted in another db for the frontpage at a given time.

So you get msg 1 at 12.00 at the fp
msg2 at 14.00 at 14.00 at the fp
etc.

Operation System Command
How I can execute an operation system command using MySQL connector?

Request Tracker System
I am trying to develop a simple request tracker system. I am just wondering if php/mysql is a good idea. Can you point me to a sample on the web?

Disable Privilege System
If I set skip-networking, what is the security risk if I also skip-grant-tables? Is there any performance benefit that might justify leaving the privilege system disabled?

This is a dedicated database that runs on the same machine that hosts the application that it supports.

Standardized Naming System
is there a common naming system for db objects ?

Like:

1) Tables: mytable, tblmytable, tbl_mytable

2) Indices: idx_anindex

3) Columns: int_somenumber, date_lastupdate

4) id for the numerical primary key e.g. table customers.id
and then for referencing foreign keys
table addresses : addresses.customer_id or addresses.customer_fk

OK, I know I could name them the way I want but perhaps there is some
kind of common sense in this regard ?

MySQLdump Crippling System
I'm trying to backup a 3 GB MySQL database on a production web server. I started working on this server the other day and it is quite old and is running ancient packaged in FreeBSD, etc.

I also had a look at the backup system and it didn't appear to be working as intended. Can someone with experience just verify for me that I can use mysqldump --flush-logs --all-databases > backup.sql in order to backup all of my databases into that file? And is there a better way of doing this? It seems to take up a lot of system resources on this server.

Operating System Error
I have inherited some linux servers running mysql at my company from a prior administrator and have ran into a few problems.

For some reason my mysql server daemon stopped running unexpectedly. I attempted to start the daemon with the mysqld command a recieved the following error.

070917 10:22:33 InnoDB: Operating system error number 13 in a file operation.
InnoDB: The error means mysqld does not have the access rights to
InnoDB: the directory.
InnoDB: File name ./ibdata1
InnoDB: File operation call: 'open'.
InnoDB: Cannot continue operation.

I also found another command to start the daemon in some sort of safe mode and it shows the followin error:

Starting mysqld daemon with databases from /var/lib/mysql
STOPPING server from pid file /var/lib/mysql/mysqlsrvr.pid
070917 10:20:46 mysqld ended

I have checked permissions on pretty much every directory I could think of but still I get this error. Can someone please help?

Topic Rating System
I have a rating system on a forum I'm building. Users can rate a topic either good or bad. For each Good rating, one point is added to the topic's score. For every Bad rating, one point is subtracted to the topic's score.

Each time a rating is made, several things are inputted into a MySQL table called ratings

rating_id
rating_date
rating_username
rating_topic
rating_value

What I want to be able to do is query this table to grab the highest rated topics and lowest rated topics in a given time period. My MySQL knowledge is pretty limited right now.


Copyright © 2005-08 www.BigResource.com, All rights reserved