How can we help you today? How can we help you today?
EsioN
Hi Tilman. I'm sorry, I didn't undestand "schema panel". Is this QA Object Browser? If it is; yes I can my schema information there. Regards, Ésio / comments
Hi Tilman. I'm sorry, I didn't undestand "schema panel". Is this QA Object Browser? If it is; yes I can my schema information there. Regards, Ésio
0 votes
Tilman wrote: Hi Ésio, A tested SPv3 with some procs and functions, but, in a specifc database, when I try to alter some functions (ex. dbo.fuQ_Banco), when I start typing the clause, SPv3 completes the function name, but concatenet the function name again, and of couse, can generate the script: alter function dbo.fuQ_BancofuQ_Banco] cannot be scripted. The object may be encrypted. It's happing sometime wih procedures too. I've added an issue to our list. Part of the problem is that Prompt can't read the SQL definition of your function. This happens with system objects in SQL Server 2005, due to encryption. It can also happen when you don't have sufficient permissions. Esio wrote: Tilman, I'm using SQL 2000 and not SQL 2005 (just to precise your response). My user objects aren't encrypted. And my problem are occurring with user objects, not system objects. And, I have all previleges in databases. So I think this problem is really a bug. Are my procs/functions source code stored in memory? What happens if: I open my QA -> SPv3 reads my database schema. Anoter user change one proc souce I use alter proc -> SPv3 get the source from memory, or it go back in database to get the fresh source? The first time Prompt sees a database it reads the schema and stores it in a file. All subsequent times it reads the schema from that file to speed things up. You can refresh this file manually by using the Cache Management dialog (via the SQL Prompt menu). For example, if you add a new table to your database, you would want to update this file. In the final version we will provide some mechanism to automatically refresh the schema cache, aswell as a keyboard shortcut to refresh the current database. Esio wrote: Perfect!! I was worried about too much code in memroy Regards, Tilman / comments
Tilman wrote: Hi Ésio, A tested SPv3 with some procs and functions, but, in a specifc database, when I try to alter some functions (ex. dbo.fuQ_Banco), when I start typing the clause, SPv3 com...
0 votes
More details. Today morning I started QA, and all worked fine. I one of my initial windows I type some alter procs statements. During the day I opened other windows (not too much, only 3 or for, and always closing unused windows, please see this topic http://www.red-gate.com/messageboard/viewtopic.php?t=3884&highlight=). In some moment, in one of my older windows (that I used typing different statments and deleting these, to reuse the connection), I type again alter proc and ... SPv3 brings me the message "...cannot be scripted. The object may be encrypted.". But I used this window to edit these procs earlier!!!! And now it isn't working. No problem, I opened a new window, for brief moments I watched the message about SPv3 get the snapshots (from the memory I think) because I'm using the same database I used in oldier window. I typed the alter proc, and this time, it's worked, SPv3 brings me the proc code, BUT, it brings me the original code, not the code I changed in the morning. I confirmed with one sp_help and the code is changed in database. There is no other person editing my procs. So, SPv3 bring the code from another place other than database? Is from memory or cache? In the topic I mentioned, it was explained the procs text aren't in cache. Any ideia? Thanks Ésio Nunes / comments
More details. Today morning I started QA, and all worked fine. I one of my initial windows I type some alter procs statements. During the day I opened other windows (not too much, only 3 or for, an...
0 votes
Hi Tilman This values '450 mb im swap' I catch in Task Manager in column: Virtual Memory Size. And I picked these memory values from Task Manager now, for your information: Begin 1 - I minimized my QA yesterday nigth (with 8 windows), and still doesn't started working with this until now, I have these values: Memory Usage 28MB and Virtual Memory Size : 497MB. 2 - I maximized QA and starting a new window (9 in total now), the values growed: 231MB Memory Usage, 699MG Virtual Memory 3 - I closed 7 windows, the values didn't shrink a lot. End My machine has 1GB RAM, so it's not a bad physical memory value. I understand the memory SPv3 is using, is of course used to build the lists, but you must agree with me that 699MB RAM is a high value, and we need to consider I'm not opening only QA in my station. As I mentioned, I'm testing in a real production environment, with all task I do every day. About blocking some databases, I'm alredy done this, I'm using only that I really need. Maybe it be a good ideia, the system database come blocked by default... They are small, but maybe this helps. I understand SPv3 uses memory to do its job, but maybe it will be a good idea review this memory consumption use. I don't understand why it uses different candidate list for each query window, if that distinct windows use the same database/credentials. Thanks a lot Ésio Nunes / comments
Hi Tilman This values '450 mb im swap' I catch in Task Manager in column: Virtual Memory Size. And I picked these memory values from Task Manager now, for your information: Begin 1 - I minimized m...
0 votes