GetDotted Domains

Viewing Thread:
"MySQL query"

The "Freeola Customer Forum" forum, which includes Retro Game Reviews, has been archived and is now read-only. You cannot post here or create a new thread or review on this forum.

Tue 22/10/02 at 14:21
Regular
Posts: 787
I'm just having a play about with MySQL, and have a question about the types for the fields.

Which 'type' would be best for a field where the maximum about of characters could be stored?? Such as with this Forum, what type of field is this post stored in??

Thank you.
Thu 24/10/02 at 00:59
Regular
"Eff, you see, kay?"
Posts: 14,156
Oh yeah, sorry, 65,536 characters.

However, you could go for 4,294,967,296 if you use LONGTEXT. That's 4gb of text, heh, in case you were wondering.
Wed 23/10/02 at 22:34
Regular
"Jim Jam Jim"
Posts: 5,626
Thanks for the info ajg. I am sticking with Oracle 9i as its the same enviroment as they have at Uni. I only need the simple SQL Plus editor, but I have Oracle working now and really it doesnt slow the system down at all. The Commit charge is alot higher but the CPU isnt used any more than usual.

I know Oracle is a bit overkill for what I need, but it works and its familar to me. I only need it up until mid Jan, so I can un-install it then.
Wed 23/10/02 at 10:51
Regular
""
Posts: 303
Although there is no comparison between Oracle and MySQL, unless you want a fully loaded transactional database server Oracle seems a bit of an overkill for a home system.

Oracle is capable of millions of transactions a second, is fully multitreaded, scaleable and tuneable and as a result is the worlds number one database server.

But all this comes at a price and obviously it will eat system resources. My previous contracts have been DBA roles, as part of teams designing and building databases and wouldnt dream of putting this on a home system unless there was a real need. Its like driving your ferrari to visit your nextdoor neighbour. Obviously its great to do, but is it really necessary?

Its capable of number-crunching its way through millions of transactions a second and and therefore is the backbone to most banks and such with its own server and several CPUs dedicated to it.

MySQL is a great idea. It takes up very little space, its free, takes up little system resources (compared to Oracle). But at the same time is easy to install and fully relational; a great place to start with database learning.

If you are deadset on using Oracle, there is a version called Oracle Lite available free from their website. Haven't used it much, so I don't know how 'Lite' it is, but I'd imagine its more geared towards home use. I know its only about 200meg to download.



>> Is there a limit to how many characters 'TEXT' can hold?
> Nope.

I was pretty sure there was an upper limit, although I cant remember what it is offhand. The database cant just allocate infinate storage space. Someone?
Wed 23/10/02 at 09:15
Regular
"Jim Jam Jim"
Posts: 5,626
cjh wrote:
> I havn't used MySQL a hell of a lot on my machine, but when I tried it
> a while back, it never slowed my system down, or took longer to load
> up or anything like that.

I might give MySQL a go then, as Oracle 9i makes my system load up slower. As once its in XP Oracle then starts to load up all its stuff which takes about 30-60 seconds.
Wed 23/10/02 at 01:02
Regular
"Eff, you see, kay?"
Posts: 14,156
cjh wrote:
> Sorry, doesn't say.
>
> Turbonutter wrote:
> TEXT. Or BLOB, but that just causes complications.
>
> Is there a limit to how many characters 'TEXT' can hold?


Nope.
Tue 22/10/02 at 23:51
Regular
"It goes so quickly"
Posts: 4,083
I havn't used MySQL a hell of a lot on my machine, but when I tried it a while back, it never slowed my system down, or took longer to load up or anything like that.
Tue 22/10/02 at 23:47
Regular
"Jim Jam Jim"
Posts: 5,626
Just wondering how much resources does MySQL use? Oracle needs alot of resources and makes my commit charge go from a 90 to over 400 on the reboot. I dont need to be using SQL all the time when my system is on so I only really need a basic package. If MySQL used alot less resources than Oracle I may think about giving it a go.
Tue 22/10/02 at 23:35
Regular
"Jim Jam Jim"
Posts: 5,626
cjh wrote:
> I got MYSQL from mysql.com
>
> However, at this time I'm using the one from my Host, and am unsure as
> to the version they are using.... hold on I'll go see.

Ok thanks. But I have finally installed Oracle 9i. 2.73Gb and nearly 64,000 files later it finally works on my system. Its about the 6th install I have done and I am now happy it works. I only need a simple SQL program so that I can put a database in it and store it, and then run some queries through it. Most of Oracle I wont need, but I needed SQL. I have had to make do without any form of SQL at home for a few weeks and couldnt go on, as I could write queries but had no way of testing them at home.

I'll have a look at mysql.com and see whats on there.
Tue 22/10/02 at 23:25
Regular
"It goes so quickly"
Posts: 4,083
Sorry, doesn't say.

Turbonutter wrote:
> TEXT. Or BLOB, but that just causes complications.

Is there a limit to how many characters 'TEXT' can hold?
Tue 22/10/02 at 23:24
Regular
"It goes so quickly"
Posts: 4,083
I got MYSQL from mysql.com

However, at this time I'm using the one from my Host, and am unsure as to the version they are using.... hold on I'll go see.

Freeola & GetDotted are rated 5 Stars

Check out some of our customer reviews below:

Continue this excellent work...
Brilliant! As usual the careful and intuitive production that Freeola puts into everything it sets out to do, I am delighted.
Many thanks!!
Registered my website with Freeola Sites on Tuesday. Now have full and comprehensive Google coverage for my site. Great stuff!!
John Shepherd

View More Reviews

Need some help? Give us a call on 01376 55 60 60

Go to Support Centre
Feedback Close Feedback

It appears you are using an old browser, as such, some parts of the Freeola and Getdotted site will not work as intended. Using the latest version of your browser, or another browser such as Google Chrome, Mozilla Firefox, or Opera will provide a better, safer browsing experience for you.