It's difficult to tell what is being asked here. This question is ambiguous, vague, incomplete, overly broad, or rhetorical and cannot be reasonably answered in its current form. For help clarifying this question so that it can be reopened, visit the help center.
Closed 10 years ago.
Imagine a situation when you have a table with 2 million rows and you wanted to delete a million rows. These rows are not bunched together. I might want to delete row1, and then row5, and then may be row7. But I want to deletes rows that may have age < 23 What is the best way to go about deleting these rows?
You will want to delete them in batches. This previous question provides some interesting answers.
Related
It's difficult to tell what is being asked here. This question is ambiguous, vague, incomplete, overly broad, or rhetorical and cannot be reasonably answered in its current form. For help clarifying this question so that it can be reopened, visit the help center.
Closed 9 years ago.
I would like to look for record among records of entities Leads, Opportunities, Accounts. That's mean I can select Leads from Sales and after that I can to find records from Leads, Opportunities and Accounts. Is it possible?
I interpret your question that you'd like to search across more than one entity in one search. That you would like your query to be searched in Leads, Opportunities and Accounts in the same time. In the OOTB functionality you cannot do this, however the guys over at PowerObjects has a third party solution for this kind of stuff called PowerGlobalSearch. You can read about it here and see if it's something that could help you: http://www.powerobjects.com/add-on-subscriptions/powerpack/powerglobalsearch/
It's difficult to tell what is being asked here. This question is ambiguous, vague, incomplete, overly broad, or rhetorical and cannot be reasonably answered in its current form. For help clarifying this question so that it can be reopened, visit the help center.
Closed 10 years ago.
How much time will it take to delete and truncate 43GB of data in oracle
Since TRUNCATE is a DDL command, it will complete almost instantly-- almost certainly less than a few seconds unless you have an exceptionally large number of extents. Of course, that assumes that truncating the table is a valid option-- TRUNCATE cannot be rolled back, you cannot apply a WHERE clause to delete data selectively, the table cannot have any foreign key constraints, etc.
How long it will take to DELETE every row in the table depends heavily on your system. As Alex Poole pointed out in the comments, it will depend on system load, the number of indexes, the number of triggers, the number of constraints, etc.
It's difficult to tell what is being asked here. This question is ambiguous, vague, incomplete, overly broad, or rhetorical and cannot be reasonably answered in its current form. For help clarifying this question so that it can be reopened, visit the help center.
Closed 10 years ago.
I am looking for an aggregated summary of comparison of popular data structures. Kind of one place where i can see all the data structures with their complexities, advantages and disadvantages.
http://en.wikipedia.org/wiki/Comparison_of_data_structures
It compares a few of them, but there are a lot of different structures.
It's difficult to tell what is being asked here. This question is ambiguous, vague, incomplete, overly broad, or rhetorical and cannot be reasonably answered in its current form. For help clarifying this question so that it can be reopened, visit the help center.
Closed 11 years ago.
I have large size of update query it is 320 Kb sql file. i can't execute that query/file.please help me i am using oracle 10g.only one column have that bulk data i used CLOB data type to the table.
I would try to execute it this way on Unix/Linux:
save the query to x.sql
sqlplus myuser/mypass#mydb
#x
If this does not work please include the relevant error codes and messages.
It's difficult to tell what is being asked here. This question is ambiguous, vague, incomplete, overly broad, or rhetorical and cannot be reasonably answered in its current form. For help clarifying this question so that it can be reopened, visit the help center.
Closed 13 years ago.
What are the main algorithms used in RDMBS ?
The most common is
B-Tree
http://en.wikipedia.org/wiki/B-tree
A very complex topic. B-tree is just one of the algorithms; it is a binary algorithm used to find records quickly.
Here are some others:
http://en.wikipedia.org/wiki/Category:Database_algorithms
SQLite is a good database to study because the code base is very small and much easier to understand than the bigger ones.