Re: FUD!! ODBC will not be supported by Microsoft in the future
Re: FUD!! ODBC will not be supported by Microsoft in the future
От:
"Steve Lutz" <slutz@alacritude.com>
Дата:
Hi Again Stephen, I've also had similar issues with Oracle and SQL Server. I don't use access as part of the system, but use it to link to tables for quick data checks, or quick data entry, especially during development. It's also great for import/export and initial data setup. I think that the problem may be more with the server and not especially with the ODBC driver, and possibly a little bit to do with access. I know that access simplifies things, and it doesn't alway do what I expected (especially queries with joined linked tables). One workaround I've found is that instead of opening the table directly, create an updatable query that includes the entire source table, (Select * from source_table) then use that query instead of the linked table directly. I think that the query will do a cursor, but opening a linked table doesn't. I'm posting this to the list in case other people have had similar issues. Steve -----Original Message----- From: Stephen Frost [mailto:sfrost@snowman.net] Sent: Wednesday, October 01, 2003 8:18 AM To: Steve Lutz Subject: Re: [ODBC] FUD!! ODBC will not be supported by Microsoft in the future * Steve Lutz (slutz@alacritude.com) wrote: > When you say open a table, what do you mean? Are you doing a SELECT * > from BIG_TABLE? Or are you just attempting to select individual rows? > (Select * FROM BIG_TABLE WHERE SOMECOLUMN=SOMEVALUE) > > We have many huge tables, but we never really select the entire table, > but if you are having problems with sub-sets of those tables, I'd like > to know. As I mentioned, we're using Access. When you link in a table with access and then 'open' it by double-clicking on the 'table' you get the table view. With Oracle, at least, it seems to do this alright, even for pretty big tables. With Postgres for the same tables it grinds the machine to a halt. My guess as to the reason would be that the postgres libraries will attempt to copy the entire table into local memory and then give it to access, which also tries to put it all in memory, so you end up with two copies of the data in memory. A cursor in the ODBC driver could help with this issue, or a change in the API to allow you to get things piecemeal, which is what Oracle does and what I would prefer personally. Stephen
Re: FUD!! ODBC will not be supported by Microsoft in the future
От:
Jeff Eckermann <jeff_eckermann@yahoo.com>
Дата:
Client-server brings up a bunch of issues that don't apply when using local data storage for applications such as MS Access: server load/performance, network performance, lack of support for certain application features etc. These issues require a higher level of awareness by the user/developer of what is going on. Some products are easy to use because they silently handle things that you would otherwise have to handle yourself. MS Access itself is a prime example of this. PostgreSQL requires more of the user, because you have to do more of the driving yourself. It's the old control vs. complexity tradeoff. The silently-manage-things-for-you approach is attractive, until you find that the behaviour you are getting is not what you want. Then it can be hard to change. Even people who work a lot with MS Access end up having to know a lot about how Access does things behind the scenes, because inevitably they run into cases where Access just doesn't do what they want. I am using Access as the example, but this refers just as much to the Oracle & SQL Server ODBC setups referred to in earlier posts. --- Steve Lutz wrote: > Hi Again Stephen, > > I've also had similar issues with Oracle and SQL > Server. I don't use > access as part of the system, but use it to link to > tables for quick > data checks, or quick data entry, especially during > development. It's > also great for import/export and initial data setup. > I think that the > problem may be more with the server and not > especially with the ODBC > driver, and possibly a little bit to do with access. > I know that access > simplifies things, and it doesn't alway do what I > expected (especially > queries with joined linked tables). > > One workaround I've found is that instead of opening > the table directly, > create an updatable query that includes the entire > source table, (Select > * from source_table) then use that query instead of > the linked table > directly. I think that the query will do a cursor, > but opening a linked > table doesn't. > > I'm posting this to the list in case other people > have had similar > issues. > > Steve > > > -----Original Message----- > From: Stephen Frost [mailto:sfrost@snowman.net] > Sent: Wednesday, October 01, 2003 8:18 AM > To: Steve Lutz > Subject: Re: [ODBC] FUD!! ODBC will not be supported > by Microsoft in the > future > > > * Steve Lutz (slutz@alacritude.com) wrote: > > When you say open a table, what do you mean? Are > you doing a SELECT * > > from BIG_TABLE? Or are you just attempting to > select individual rows? > > (Select * FROM BIG_TABLE WHERE > SOMECOLUMN=SOMEVALUE) > > > > We have many huge tables, but we never really > select the entire table, > > but if you are having problems with sub-sets of > those tables, I'd like > > to know. > > As I mentioned, we're using Access. When you link > in a table with > access and then 'open' it by double-clicking on the > 'table' you get the > table view. With Oracle, at least, it seems to do > this alright, even > for pretty big tables. With Postgres for the same > tables it grinds the > machine to a halt. My guess as to the reason would > be that the postgres > libraries will attempt to copy the entire table into > local memory and > then give it to access, which also tries to put it > all in memory, so > you end up with two copies of the data in memory. A > cursor in the ODBC > driver could help with this issue, or a change in > the API to allow you > to get things piecemeal, which is what Oracle does > and what I would > prefer personally. > > Stephen > > ---------------------------(end of > broadcast)--------------------------- > TIP 4: Don't 'kill -9' the postmaster __________________________________ Do you Yahoo!? The New Yahoo! Shopping - with improved product search http://shopping.yahoo.com
Re: FUD!! ODBC will not be supported by Microsoft in the future
От:
"Relaxin" <me@yourhouse.com>
Дата:
> Even people who work a lot with MS Access end up > having to know a lot about how Access does things > behind the scenes, because inevitably they run into > cases where Access just doesn't do what they want. > > I am using Access as the example, but this refers just > as much to the Oracle & SQL Server ODBC setups > referred to in earlier posts. > I disagree here about SQL Server. SQL Server allows forward and backwards capabilities thru ODBC and OLEDB without having to pull the entire resultset to the client. You have to set it to Server side cursors and use DYNAMIC or KEYSET rowset type. SQLServer is the only database that I have come across that adheres to the ODBC/ OLE DB standards (granted, they created the standard ), nearly 100%. Postgresql supports fetching backwards, but the ODBC driver fetches thru all of the records when you want to goto the end of the result set. This obviously can be fixed, but as it stands now, that amount of traffic is to heavy in a production environment when you could have many users connected to the system and their performance drops to near nothing because the network is saturated.