POV-Ray : Newsgroups : povray.off-topic : ODBC Server Time
11 Oct 2024 23:12:38 EDT (-0400)
  ODBC (Message 9 to 18 of 98)  
<<< Previous 8 Messages Goto Latest 10 Messages Next 10 Messages >>>
From: Gilles Tran
Subject: Re: ODBC
Date: 13 Dec 2007 11:09:09
Message: <47615925$1@news.povray.org>

47614210$1@news.povray.org...
> Basically I want to develop a program that talks to a database. I was 
> going to use ODBC to do this. But I don't have a database set up right 
> now, so I was wondering if I could test it with a simple text file until I 
> get round to setting up a real database. [Obviously a CSV file isn't going 
> to even approach the speed of a half decent database engine. But I can 
> test whether data goes in and data comes out.]

You can do some limited database work with text files (or Excel files etc.), 
but that will mostly be limited to actions that can be done without 
requiring indexes, i.e. SELECT and INSERT statements rather than UPDATE and 
DELETE for instance. For testing a database, you'll need a database. MS 
Access will do, and MySQL takes a couple of minutes to install on a PC.

G.


Post a reply to this message

From: Invisible
Subject: Re: ODBC
Date: 13 Dec 2007 11:16:49
Message: <47615af1$1@news.povray.org>
Gilles Tran wrote:

> You can do some limited database work with text files (or Excel files etc.), 
> but that will mostly be limited to actions that can be done without 
> requiring indexes, i.e. SELECT and INSERT statements rather than UPDATE and 
> DELETE for instance. For testing a database, you'll need a database. MS 
> Access will do, and MySQL takes a couple of minutes to install on a PC.

PostreSQL also takes a couple of minutes to set up. Unforuntately, I 
can't make it do anything once it's installed.

MySQL isn't transactional = I'm not really interested.

Maybe I'll just use M$ Access. [Obviously that means I can only use 
computers which have M$ Access.]

-- 
http://blog.orphi.me.uk/
http://www.zazzle.com/MathematicalOrchid*


Post a reply to this message

From: Darren New
Subject: Re: ODBC
Date: 13 Dec 2007 11:30:17
Message: <47615e19$1@news.povray.org>
Invisible wrote:
> MySQL isn't transactional = I'm not really interested.

It is if you use InnoDB engine tables. Note, it's about five times 
slower, but it's transactional.

-- 
   Darren New / San Diego, CA, USA (PST)
     It's not feature creep if you put it
     at the end and adjust the release date.


Post a reply to this message

From: Invisible
Subject: Re: ODBC
Date: 13 Dec 2007 11:31:04
Message: <47615e48@news.povray.org>
Darren New wrote:
> Invisible wrote:
>> MySQL isn't transactional = I'm not really interested.
> 
> It is if you use InnoDB engine tables. Note, it's about five times 
> slower, but it's transactional.

Last I heard, it's transactional yet still not 100% ACID-compliant.

-- 
http://blog.orphi.me.uk/
http://www.zazzle.com/MathematicalOrchid*


Post a reply to this message

From: Gail Shaw
Subject: Re: ODBC
Date: 13 Dec 2007 11:38:24
Message: <47616000@news.povray.org>
"Invisible" <voi### [at] devnull> wrote in message
news:47615af1$1@news.povray.org...
>
> Maybe I'll just use M$ Access. [Obviously that means I can only use
> computers which have M$ Access.]
>

No, you just need the access ODBC driver (which comes with the standad MDAC
package) You'll need a copy of access to create the database, you don't to
access the file over ODBC (or OleDB).
Not sure about the licencing implications, but I'm guessing you aren't too
concerned about that either.

Other option you can try is to download SQL Server Express. It's limited in
size of DBs it can handle, but is fine for testing.
If you download the management studio pack as well, you get a nice GUI
frontend for it. Otherwise you'll have to access it through command line


Post a reply to this message

From: Invisible
Subject: Re: ODBC
Date: 13 Dec 2007 11:42:35
Message: <476160fb@news.povray.org>
Gail Shaw wrote:

>> Maybe I'll just use M$ Access. [Obviously that means I can only use
>> computers which have M$ Access.]
>>
> 
> No, you just need the access ODBC driver (which comes with the standad MDAC
> package) You'll need a copy of access to create the database, you don't to
> access the file over ODBC (or OleDB).
> Not sure about the licencing implications, but I'm guessing you aren't too
> concerned about that either.

Hmm, interesting.

So you're only paying for the GUI frontend, but the database engine? (If 
indeed it warrents the term "engine"...)

> Other option you can try is to download SQL Server Express. It's limited in
> size of DBs it can handle, but is fine for testing.
> If you download the management studio pack as well, you get a nice GUI
> frontend for it. Otherwise you'll have to access it through command line

Or, alternatively, you can apparently download the full version of 
Oracle for free - provided you promise to never ever use it "for real", 
only "for test purposes". Apparently. And I already know how to work 
Oracle...

But yes, Access would probably be much simpler just for test purposes.

-- 
http://blog.orphi.me.uk/
http://www.zazzle.com/MathematicalOrchid*


Post a reply to this message

From: Gail Shaw
Subject: Re: ODBC
Date: 13 Dec 2007 11:50:34
Message: <476162da@news.povray.org>
"Invisible" <voi### [at] devnull> wrote in message
news:476160fb@news.povray.org...
>
> > Other option you can try is to download SQL Server Express. It's limited
in
> > size of DBs it can handle, but is fine for testing.
> > If you download the management studio pack as well, you get a nice GUI
> > frontend for it. Otherwise you'll have to access it through command line
>
> Or, alternatively, you can apparently download the full version of
> Oracle for free - provided you promise to never ever use it "for real",
> only "for test purposes". Apparently. And I already know how to work
> Oracle...

You can get a full version of SQL server for $50, feature equivalent to
Enterprise edition, just not licenced for production usage. Only really
worthwhile for people who work with SQL a lot.

I know there's a free version of Oracle, wasn't aware it was all the
features of the top version..

SQL Express is a restricted feature set, but it can be used anywhere,
including on production systems, free.


Post a reply to this message

From: Orchid XP v7
Subject: Re: ODBC
Date: 13 Dec 2007 13:34:52
Message: <47617b4c@news.povray.org>
Gail Shaw wrote:

> I know there's a free version of Oracle, wasn't aware it was all the
> features of the top version..

Yeah. I was surprised too. But, apparently, when you "buy" Oracle they 
send you a "media kit" that contains all the products, but only license 
you to install the one you paid for. Hmm, I wonder how they can tell?

> SQL Express is a restricted feature set, but it can be used anywhere,
> including on production systems, free.

I plan to use PostgreSQL for the final thing, or maybe Oracle, but right 
now I just wanna test. ;-)

-- 
http://blog.orphi.me.uk/


Post a reply to this message

From: Darren New
Subject: Re: ODBC
Date: 13 Dec 2007 20:21:13
Message: <4761da89$1@news.povray.org>
Invisible wrote:
> Darren New wrote:
>> Invisible wrote:
>>> MySQL isn't transactional = I'm not really interested.
>>
>> It is if you use InnoDB engine tables. Note, it's about five times 
>> slower, but it's transactional.
> 
> Last I heard, it's transactional yet still not 100% ACID-compliant.

Well, no, but it's transactional. The A and I and D parts, I think.  I'm 
not sure whether it has support for the C part, since it insists on 
having defaults for every data type, so things like declaring a column 
"not null" and not providing a value isn't an error.

-- 
   Darren New / San Diego, CA, USA (PST)
     It's not feature creep if you put it
     at the end and adjust the release date.


Post a reply to this message

From: Darren New
Subject: Re: ODBC
Date: 13 Dec 2007 20:23:53
Message: <4761db29$1@news.povray.org>
Gail Shaw wrote:
> SQL Express is a restricted feature set, but it can be used anywhere,
> including on production systems, free.

I'll note that the features that are restricted are performance 
features, not SQL features as such. E.g., it'll only process one request 
at a time, only run on one core, won't do hot backups, stuff like that. 
But in theory anything you write on "real" SQL Server will run without 
change on SQL Express, as long as timing isn't an issue.

I used SQL Express in one project I did where other things (wireless 
bandwidth, primarily) kept us down to a couple of transactions a second, 
and it worked fine.

-- 
   Darren New / San Diego, CA, USA (PST)
     It's not feature creep if you put it
     at the end and adjust the release date.


Post a reply to this message

<<< Previous 8 Messages Goto Latest 10 Messages Next 10 Messages >>>

Copyright 2003-2023 Persistence of Vision Raytracer Pty. Ltd.